NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Tomcat not starting

 
Post new topic   Reply to topic    NetBeans Forums -> Profiler Users
View previous topic :: View next topic  
Author Message
harishseh



Joined: 16 Apr 2009
Posts: 3

PostPosted: Thu Apr 16, 2009 10:02 pm    Post subject: Tomcat not starting Reply with quote

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

PostPosted: Fri Apr 17, 2009 2:36 am    Post subject: Reply with quote

Same Behavior is observed on Windows XP to
Back to top
Tomas Hurka
Posted via mailing list.





PostPosted: Fri Apr 17, 2009 9:53 am    Post subject: Tomcat not starting Reply with quote

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

PostPosted: Fri Apr 17, 2009 1:51 pm    Post subject: Reply with quote

Thanks for your reply Tomas javascript:emoticon('Smile'). 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: Cool
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
Smile
Back to top
Tomas Hurka
Posted via mailing list.





PostPosted: Mon Apr 27, 2009 11:51 am    Post subject: Tomcat not starting Reply with quote

Hi,

On 17 Apr 2009, at 15:51, harishseh wrote:

Quote:
Thanks for your reply Tomas javascript:emoticon('Smile'). 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

PostPosted: Sun Aug 02, 2009 7:24 pm    Post subject: Reply with quote

I was having the same problem on windows xp thanks
Back to top
preety



Joined: 16 Nov 2009
Posts: 3
Location: India

PostPosted: Mon Nov 16, 2009 12:46 am    Post subject: Reply with quote

Hi,

Have any one got any solution for this problem?
Back to top
markwright789



Joined: 30 May 2011
Posts: 15

PostPosted: Mon May 30, 2011 9:54 am    Post subject: Reply with quote

It seems like the connection to remote application was someway broken. They can take a look at Tomcat log file. This should give us some information, why Tomcat was not started as well as why the connection was broken.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Profiler Users All times are GMT
Page 1 of 1

 
Jump to:  
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 cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo