[Solar-general] Código rechazado (q idea)
Gerardo Diaz
gerardo.diaz en gmail.com
Sab Abr 7 16:16:36 CEST 2012
__
+54(9) 3489 677396
---------- Mensaje reenviado ----------
De: "Java mon amour" <noreply en blogger.com>
Fecha: 06/04/2012 23:41
Asunto: Java mon amour dot org
Para: <gerardo.diaz en gmail.com>
**
Java mon amour dot org <http://www.javamonamour.org/>
<http://fusion.google.com/add?source=atgs&feedurl=http://feeds.feedburner.com/javamonamour/igvG>
------------------------------
- Inheriting code and Software Organ Transplant
rejection<#1368aadf37f75f43_1>
- "Test Console" service is not running. Contact administrator to start
this service. <#1368aadf37f75f43_2>
- Uninstalling Eclipse SVN Subversive Plugin <#1368aadf37f75f43_3>
Inheriting code and Software Organ Transplant
rejection<http://feedproxy.google.com/~r/javamonamour/igvG/~3/oMO4o1qbkbk/inheriting-code-and-software-organ.html?utm_source=feedburner&utm_medium=email>
Posted: 06 Apr 2012 02:40 PM PDT
http://en.wikipedia.org/wiki/Transplant_rejection
it's a well know fact that organ transplant can be very problematic, or
fail, if donor and receiver have a different immune system - or something
like that.
Same thing happens with code that you inherit from another developer
leaving the project.
First reaction is "oh my God, what a pile of unreadable crap"
<http://3.bp.blogspot.com/-rzDdbCwU-W0/T39iTVhwzTI/AAAAAAAAA6k/CstfKF_vq_U/s1600/quality-control-rejected-md1.png>
And off you go, plugging your nose and refactoring away everything,
javadocking, commenting, eliminating those childish static methods (have
you noticed that people who have no clue of OO programming make everything
static? It's called procedural syndrome...)
The disgust towards the injected (organ) code is so huge that you can't
even read the code until you haven't properly formatted it, inserted spaces
(also, have you noticed that shell script monkey adore NOT putting spaces
between operators and operands?), eliminated the tons of duplicated code,
put hardcoded constants in a property file etc...
The brain rejects that crap, just like your body would reject an alien
organism.
Immune system
That's why adhering to universal coding practices is so important.
"Test Console" service is not running. Contact administrator to start this
service.<http://feedproxy.google.com/~r/javamonamour/igvG/~3/Q94fcOPheo0/test-console-service-is-not-running.html?utm_source=feedburner&utm_medium=email>
Posted: 06 Apr 2012 06:26 AM PDT
The "culprit" thread (take a Thread Dump on the Admin) is:
"[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default
(self-tuning)'" RUNNABLE native
java.net.PlainSocketImpl.socketConnect(Native Method)
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
java.net.Socket.connect(Socket.java:529)
weblogic.socket.SocketMuxer.newSocket(SocketMuxer.java:373)
weblogic.socket.SocketMuxer.newClientSocket(SocketMuxer.java:383)
weblogic.socket.ChannelSocketFactory.createSocket(ChannelSocketFactory.java:86)
weblogic.socket.BaseAbstractMuxableSocket.createSocket(BaseAbstractMuxableSocket.java:133)
weblogic.rjvm.t3.MuxableSocketT3.newSocketWithRetry(MuxableSocketT3.java:214)
weblogic.rjvm.t3.MuxableSocketT3.connect(MuxableSocketT3.java:383)
weblogic.rjvm.t3.ConnectionFactoryT3.createConnection(ConnectionFactoryT3.java:34)
weblogic.rjvm.ConnectionManager.createConnection(ConnectionManager.java:1784)
weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.java:1424)
weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:443)
weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321)
weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:254)
weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:353)
weblogic.jndi.Environment.getContext(Environment.java:315)
weblogic.jndi.Environment.getContext(Environment.java:285)
weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
javax.naming.InitialContext.init(InitialContext.java:223)
javax.naming.InitialContext.**(InitialContext.java:197)
com.bea.alsb.console.test.TestServiceClient.getService(TestServiceClient.java:242)
com.bea.alsb.console.test.TestServiceClient.getConfiguration(TestServiceClient.java:68)
com.bea.alsb.console.test.actions.OpenTestDialogAction.execute(OpenTestDialogAction.java:121)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:91)
org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116)
com.bea.alsb.console.common.base.SBConsoleRequestProcessor.processActionPerform(SBConsoleRequestProcessor.java:91)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
com.bea.alsb.console.common.base.SBConsoleRequestProcessor.process(SBConsoleRequestProcessor.java:191)
org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:262)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:134)
com.bea.alsb.console.common.base.SBConsoleActionServlet.doGet(SBConsoleActionServlet.java:49)
org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)
org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1129)
com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:687)
com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142)
com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.processAction(StrutsStubImpl.java:76)
com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111)
com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181)
com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167)
com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225)
com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:211)
com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:196)
com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
java.security.AccessController.doPrivileged(Native Method)
oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
weblogic.servlet.internal.WebAppServle
tContext.securedExecute(WebAppServletContext.java:2277)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
I suspect that the cluster address is not properly set:
There are some Articles on My Oracle Support (1250190.1, ID 973431.1)
and a thread
https://forums.oracle.com/forums/messageview.jspa?messageID=10257847&stqc=true
my advice is to avoid using a DNS cluster address with Unicas (maybe, no
clue really, talk to support)
Uninstalling Eclipse SVN Subversive
Plugin<http://feedproxy.google.com/~r/javamonamour/igvG/~3/cmZqNT7VGKw/uninstalling-eclipse-svn-subversive.html?utm_source=feedburner&utm_medium=email>
Posted: 06 Apr 2012 05:43 AM PDT
Here http://www.wisdomandwonder.com/article/1216/uninstall-subversive they
say you must manually remove some jars, but in a comment they also say to
do "Help/About Eclipse Platform/ Installation Details/ " and look for
Subversive
I get
"Subversive SVN Connectors" cannot be fully uninstalled because other
installed software requires it. The parts that are not required will be
uninstalled."
and also
"Subversive SVN Team Provider (Incubation)" cannot be fully uninstalled
because other installed software requires it. The parts that are not
required will be uninstalled.
Of course telling you WHICH other software requires it would be overkill :o(
I also uninstall SVNKit1.3.5 (it's polarion, so die!
SVN Kit http://www.svnkit.com connector for the Eclipse Subversive.
Compatible with SVN 1.6.x.)
At the end I am left with:
org.polarion.eclipse.team.svn.connector.svnkit16_2.2.2.I20110124-1700.jar
org.polarion.eclipse.team.svn.connector_2.2.2.I20110124-1700.jar
I move them to a c:/tmp directory and I restart Eclipse.
I hope I got rid of all the Subversive plugin.
Now, Help/Install new Software/ http://subclipse.tigris.org/update_1.6.x
and I select everything, and here comes the Tigris tribe.
You are subscribed to email updates from Java mon
amour<http://www.javamonamour.org/>
To stop receiving these emails, you may unsubscribe
now<http://feedburner.google.com/fb/a/mailunsubscribe?k=ZeTh_GY6KwM_YriWzUBY0INQzaA>
. Email delivery powered by Google Google Inc., 20 West Kinzie, Chicago IL
USA 60610
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: https://lists.ourproject.org/pipermail/solar-general/attachments/20120407/c56fe484/attachment.htm
Más información sobre la lista de distribución Solar-general