| View previous topic :: View next topic |
| Author |
Message |
harishseh
Joined: 16 Apr 2009 Posts: 3
|
Posted: Thu Apr 16, 2009 10:02 pm Post subject: Tomcat not starting |
|
|
Hello All
I am using netbeans profiler and while connecting to remote tomcat server on Linux machine from windows machine I am getting following trace:
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
***Profiler agent warning: could not get .class file for a synthetic class $Proxy0 in ClassBytesLoader.getClassFileBytes
***Profiler agent warning: could not get .class file for a synthetic class $Proxy1 in ClassBytesLoader.getClassFileBytes
***Profiler agent warning: could not get .class file for a synthetic class $Proxy2 in ClassBytesLoader.getClassFileBytes
***Profiler agent warning: could not get .class file for a synthetic class $Proxy4 in ClassBytesLoader.getClassFileBytes
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
***Profiler agent warning: could not get .class file for a synthetic class $Proxy5 in ClassBytesLoader.getClassFileBytes
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: Connection with agent closed
Profiler Agent Error: Exception when trying to send response or command to client:
java.net.SocketException: Socket closed
java.net.SocketException: Socket closed
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:105)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at java.io.ObjectOutputStream$BlockDataOutputStream.writeBlockHeader(ObjectOutputStream.java:1695)
at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1680)
at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1627)
at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:666)
at org.netbeans.lib.profiler.wireprotocol.WireIO.sendComplexCommand(WireIO.java:299)
at org.netbeans.lib.profiler.server.ProfilerServer.sendComplexCmdToClient(ProfilerServer.java:699)
at org.netbeans.lib.profiler.server.ProfilerServer.sendEventBufferDumpedCommand(ProfilerServer.java:720)
at org.netbeans.lib.profiler.server.EventBufferManager.eventBufferDumpHook(EventBufferManager.java:107)
at org.netbeans.lib.profiler.server.ProfilerInterface$1.handleEventBufferDump(ProfilerInterface.java:520)
at org.netbeans.lib.profiler.server.ProfilerRuntime.dumpEventBuffer(ProfilerRuntime.java:133)
at org.netbeans.lib.profiler.server.ProfilerInterface.dumpExistingResults(ProfilerInterface.java:458)
at org.netbeans.lib.profiler.server.ProfilerServer$SeparateCmdExecutionThread.run(ProfilerServer.java:310)
Profiler Agent: Connection with agent closed
Profiler Agent Error: error writing collected data to the socket: Socket closed
Profiler Agent: Connection with agent closed
Tomcat server is not coming up.
Please let me know what could be possible reasons for this.
Let me know if you need any other information in this regards.
Thanks
Harish Kumar |
|
| Back to top |
|
 |
harishseh
Joined: 16 Apr 2009 Posts: 3
|
Posted: Fri Apr 17, 2009 2:36 am Post subject: |
|
|
| Same Behavior is observed on Windows XP to |
|
| Back to top |
|
 |
Tomas Hurka Posted via mailing list.
|
Posted: Fri Apr 17, 2009 9:53 am Post subject: Tomcat not starting |
|
|
Hi,
On 17 Apr 2009, at 00:02, harishseh wrote:
| Quote: |
I am using netbeans profiler and while connecting to remote tomcat
server on Linux machine from windows machine I am getting following
trace:
| [..]
| Quote: | Profiler Agent: Connection with agent closed
Profiler Agent Error: error writing collected data to the socket:
Socket closed
Profiler Agent: Connection with agent closed
Tomcat server is not coming up.
| It looks like the connection to remote application was somehow broken.
Can you please take a look at Tomcat log file. This should give us
some information, why Tomcat was not started and why the connection
was broken.
Bye,
--
Tomas Hurka <mailto:address-removed>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic
---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed |
|
| Back to top |
|
 |
harishseh
Joined: 16 Apr 2009 Posts: 3
|
Posted: Fri Apr 17, 2009 1:51 pm Post subject: |
|
|
Thanks for your reply Tomas javascript:emoticon(' '). I took this trace from Catalina.out only. Apart from following is the full trace that goes on. I have removed the name of app but trace is complete.:
Profiler Agent: Initializing...
Profiler Agent: Options: >/home/<app Dir>/temp/test/lib,5140<
Profiler Agent: Initialized succesfully
Profiler Agent: Waiting for connection on port 5140 (Protocol version:
Profiler Agent: Established remote connection with the tool
Profiler Agent: Redefining 100 classes at idx 0, out of total 286
Profiler Agent: Redefining 100 classes at idx 100, out of total 286
Profiler Agent: Redefining 86 classes at idx 200, out of total 286
Apr 16, 2009 4:51:51 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Apr 16, 2009 4:51:51 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
Apr 16, 2009 4:51:51 PM com.gs.security.tomcat55.NonRealm start
INFO: starting NonRealm (gsauthn-j version 3.6)
Apr 16, 2009 4:51:51 PM com.gs.security.tomcat55.NonRealm start
INFO: done starting NonRealm
Apr 16, 2009 4:51:52 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Apr 16, 2009 4:51:52 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive <app>.war
Apr 16, 2009 4:51:54 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/home/<app Dir>/tomcat-5.5.23/webapps/<..>/WEB-INF/lib/gwt-dev-windows.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Apr 16, 2009 4:51:54 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/home/<app Dir>/tomcat-5.5.23/webapps/<..>/WEB-INF/lib/gwt-dev-windows.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
***Profiler agent warning: could not get .class file for a synthetic class $Proxy0 in ClassBytesLoader.getClassFileBytes
***Profiler agent warning: could not get .class file for a synthetic class $Proxy1 in ClassBytesLoader.getClassFileBytes
***Profiler agent warning: could not get .class file for a synthetic class $Proxy2 in ClassBytesLoader.getClassFileBytes
***Profiler agent warning: could not get .class file for a synthetic class $Proxy4 in ClassBytesLoader.getClassFileBytes
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
***Profiler agent warning: could not get .class file for a synthetic class $Proxy5 in ClassBytesLoader.getClassFileBytes
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: 250 classes cached.
Profiler Agent: Connection with agent closed
Profiler Agent Error: Exception when trying to send response or command to client:
java.net.SocketException: Socket closed
java.net.SocketException: Socket closed
 |
|
| Back to top |
|
 |
Tomas Hurka Posted via mailing list.
|
Posted: Mon Apr 27, 2009 11:51 am Post subject: Tomcat not starting |
|
|
Hi,
On 17 Apr 2009, at 15:51, harishseh wrote:
| Quote: | Thanks for your reply Tomas javascript:emoticon(' '). I took this
trace from Catalina.out only. Apart from following is the full trace
that goes on. I have removed the name of app but trace is complete.:
| [..]
Thanks. I am not able to find out what went wrong. Can I also ask you
for netbeans.log file?
I am sorry for the late answer.
Bye,
--
Tomas Hurka <mailto:address-removed>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic
---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed |
|
| Back to top |
|
 |
calliecarsion
Joined: 02 Aug 2009 Posts: 1
|
|
| Back to top |
|
 |
preety
Joined: 16 Nov 2009 Posts: 3 Location: India
|
Posted: Mon Nov 16, 2009 12:46 am Post subject: |
|
|
Hi,
Have any one got any solution for this problem? _________________ Bulk Sms |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|