NetBeans Forums

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

Remote profiling web application - error

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



Joined: 30 Jul 2010
Posts: 2

PostPosted: Fri Jul 30, 2010 8:25 pm    Post subject: Remote profiling web application - error Reply with quote

Hi,

I am using Netbeans 6.9, Tomcat server, Java 6.x.

Tomcat server succesfully started but netbeans is not able to get any profiling information. The remote pack I installed on the server is generated from the IDE. There is a profiler agent error which is highlighted below.

Any ideas on what the problem is ?

Using CATALINA_BASE: /opt/tomcat2
Using CATALINA_OPTS: -agentpath:/home//profiler/lib/deployed/jdk16/linux/libprofilerinterface.so=/home//profiler/lib,5140
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat2/temp
Using JRE_HOME: /usr
Profiler Agent: Initializing...
Profiler Agent: Options: >/home//profiler/lib,5140<
Profiler Agent: Initialized successfully
Profiler Agent: Waiting for connection on port 5140 (Protocol version: 10)
Profiler Agent: Established connection with the tool
Profiler Agent: Standard session
Jul 30, 2010 7:57:24 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_13/jre/lib/i386/server:/usr/java/jdk1.6.0_13/jre/lib/i386:/usr/java/jdk1.6.0_13/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Jul 30, 2010 7:57:24 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jul 30, 2010 7:57:24 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 387 ms
Jul 30, 2010 7:57:24 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 30, 2010 7:57:24 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Profiler Agent: 250 classes cached.
Jul 30, 2010 7:57:24 PM org.apache.catalina.startup.HostConfig deployDescriptor
Profiler Agent: 250 classes cached.
Jul 30, 2010 7:57:25 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 30, 2010 7:57:25 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8109
Jul 30, 2010 7:57:25 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/18 config=null
Jul 30, 2010 7:57:25 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 994 ms
Profiler Agent Error: Exception when handling command from client:
java.io.IOException: JFluid wire protocol error: code does not correspond to command or response. Value -1

Profiler Agent: Connection with agent closed


Thanks,
Sakuntala.


Last edited by Sakuntala on Fri Jul 30, 2010 9:29 pm; edited 1 time in total
Back to top
Sakuntala



Joined: 30 Jul 2010
Posts: 2

PostPosted: Fri Jul 30, 2010 9:25 pm    Post subject: Reply with quote

The error mentioned above happens when I try to issue http post request to the web application. The profiler attaches initially but the tomcat server stops responding when I issue a http request. The IDE gives a popup

"The profiled application does not respond. Do you want to close the connection and stop profiling?"

Thanks,
Sakuntala.
Back to top
rfreelance



Joined: 02 Mar 2011
Posts: 1

PostPosted: Wed Mar 02, 2011 3:34 pm    Post subject: Reply with quote

I can't understand the code maybe this is new.
Back to top
markwright789



Joined: 30 May 2011
Posts: 15

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

Tomcat server successful started but netbeans is not able to get any profiling information. The remote pack I installed on the server is gave from the IDE. There is a profiler agent error which is highlighted.
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