Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 38

Thread: error when installing agent on Jboss server..

  1. #11

    Default

    Thank you! that greatly helped. Once I put that in JVM arguments, I can see this message in the logs:

    Code:
    ASPECTJ: aspectj.overweaving=true: overweaving switched ON
    But for some reason, it is still not finding the insight.properties file. I am getting these messages in the logs:

    Code:
    22:09:32,251 INFO  [Catalina] Server startup in 45 ms
    22:09:32,297 WARNING [Insight] FileNotFoundException while reading from [C:\JBoss\EnterprisePlatform-5.1.2\jboss-eap-5.1\jboss-as\bin\null\webapps\ROOT\insight\conf\insight.properties]: null\webapps\ROOT\insight\conf\insight.properties (The system cannot find the path specified)
    Nov 25, 2012 10:09:32 PM com.springsource.insight.Insight readPropsFromFile
    WARNING: FileNotFoundException while reading from [C:\JBoss\EnterprisePlatform-5.1.2\jboss-eap-5.1\jboss-as\bin\null\webapps\ROOT\insight\conf\insight.properties]: null\webapps\ROOT\insight\conf\insight.properties (The system cannot find the path specified)
    22:09:32,297 INFO  [TomcatDeployment] deploy, ctxPath=/juddi
    22:09:32,922 INFO  [RegistryServlet] Loading jUDDI configuration.
    followed by these messages:

    Code:
    22:09:34,250 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
    22:09:34,531 INFO  [TomcatDeployment] deploy, ctxPath=/admin-console
    Nov 25, 2012 10:09:34 PM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Mojarra (1.2_13-b01-FCS) for context '/admin-console'
    22:09:34,703 INFO  [config] Initializing Mojarra (1.2_13-b01-FCS) for context '/admin-console'
    22:09:36,108 INFO  [TomcatDeployment] deploy, ctxPath=/
    22:09:36,374 INFO  [TomcatDeployment] deploy, ctxPath=/insight-agent
    22:09:36,530 INFO  [[/insight-agent]] Initializing Spring root WebApplicationContext
    22:09:37,123 ERROR [ContextLoader] Context initialization failed
    java.lang.IllegalArgumentException: URI is not hierarchical
    	at java.io.File.<init>(File.java:363)
    	at org.jboss.net.protocol.file.FileURLConnection.<init>(FileURLConnection.java:62)
    	at org.jboss.net.protocol.file.Handler.openConnection(Handler.java:40)
    	at java.net.URL.openConnection(URL.java:945)
    Please help, I really appreciate your help so far..

  2. #12

    Default

    1. (Speaking the obvious) - verify that insight.properties file does exist under C:\JBoss\EnterprisePlatform-5.1.2\jboss-eap-5.1\jboss-as\insight\conf
    2. Try to use quotes around insight.base value and to change the file separator to linux style:
      Code:
      -Dinsight.base="C:/JBoss/EnterprisePlatform-5.1.2/jboss-eap-5.1/jboss-as/insight"

  3. #13

    Default

    Quote Originally Posted by shachar View Post
    1. Try to use quotes around insight.base value and to change the file separator to linux style:
      Code:
      -Dinsight.base="C:/JBoss/EnterprisePlatform-5.1.2/jboss-eap-5.1/jboss-as/insight"
    Once I changed the seperator to unix style, I dont see the filenotfound error anymore. But I am still getting the same exception:

    Code:
    06:17:37,730 INFO  [config] Initializing Mojarra (1.2_13-b01-FCS) for context '/admin-console'
    Nov 26, 2012 6:17:37 AM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Mojarra (1.2_13-b01-FCS) for context '/admin-console'
    06:17:39,158 INFO  [TomcatDeployment] deploy, ctxPath=/
    06:17:39,449 INFO  [TomcatDeployment] deploy, ctxPath=/insight-agent
    06:17:39,628 INFO  [[/insight-agent]] Initializing Spring root WebApplicationContext
    06:17:40,201 ERROR [ContextLoader] Context initialization failed
    java.lang.IllegalArgumentException: URI is not hierarchical
    	at java.io.File.<init>(File.java:363)
    	at org.jboss.net.protocol.file.FileURLConnection.<init>(FileURLConnection.java:62)
    	at org.jboss.net.protocol.file.Handler.openConnection(Handler.java:40)
    	at java.net.URL.openConnection(URL.java:945)
    	at org.springframework.core.io.UrlResource.getInputStream(UrlResource.java:121)
    	at org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:181)
    	at org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:161)

    I have attached the jboss server log. Please let me know if there is still something missing. Thanks for your help again.
    Attached Files Attached Files

  4. #14

    Default

    I have attached boot.log file as well..
    Attached Files Attached Files

  5. #15

    Default

    Never saw that exception before... ... (Shooting in the dark) change insight.base value to:
    Code:
    -Dinsight.base="/C:/JBoss/EnterprisePlatform-5.1.2/jboss-eap-5.1/jboss-as/insight"

  6. #16

    Default

    Thank you, that resolved the "URI" exception I have been getting.. But now I get a bunch of other exceptions like this:

    Code:
    2012-11-26 09:45:21,497 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/insight-agent
    2012-11-26 09:45:21,683 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/insight-agent]] (main) Initializing Spring root WebApplicationContext
    2012-11-26 09:45:22,435 ERROR [org.springframework.web.context.ContextLoader] (main) Context initialization failed
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'agentInterceptAttacher' defined in FileHandler@1383251324[path=WEB-INF/classes/com/springsource/insight/agent/AgentInterceptAttacher.class context=file:/C:/JBoss/EnterprisePlatform-5.1.2/jboss-eap-5.1/jboss-as/server/cos/tmp/a1y2v3p-a525ip-h9zpkgjv-1-h9zpl39w-ay/insight-agent.war/ real=file:/C:/JBoss/EnterprisePlatform-5.1.2/jboss-eap-5.1/jboss-as/server/cos/tmp/a1y2v3p-a525ip-h9zpkgjv-1-h9zpl39w-ay/insight-agent.war/WEB-INF/classes/com/springsource/insight/agent/AgentInterceptAttacher.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.springsource.insight.intercept.InterceptConfiguration]: : Error creating bean with name 'traceAnalysisWorkflowFactoryBean' defined in FileHandler@764804717[path=WEB-INF/classes/com/springsource/insight/agent/trace/analysis/TraceAnalysisWorkflowFactoryBean.class context=file:/C:/JBoss/EnterprisePlatform-5.1.2/jboss-eap-5.1/jboss-as/server/cos/tmp/a1y2v3p-a525ip-h9zpkgjv-1-h9zpl39w-ay/insight-agent.war/ real=file:/C:/JBoss/EnterprisePlatform-5.1.2/jboss-eap-5.1/jboss-as/server/cos/tmp/a1y2v3p-a525ip-h9zpkgjv-1-h9zpl39w-ay/insight-agent.war/WEB-INF/classes/com/springsource/insight/agent/trace/analysis/TraceAnalysisWorkflowFactoryBean.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.springsource.insight.trace.analysis.TraceAnalysisService]: : Error creating bean with name 'agentHeartbeater' defined in class path resource [com/springsource/insight/agent/app-config-base.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.springsource.insight.agent.command.AgentCommandSender]: : Error creating bean with name 'agentCommandSender' defined in FileHandler@649644295[path=WEB-INF/classes/com/springsource/insight/agent/command/AgentCommandSender.class context=file:/C:/JBoss/EnterprisePlatform-5.1.2/jboss-eap-5.1/jboss-as/server/cos/tmp/a1y2v3p-a525ip-h9zpkgjv-1-h9zpl39w-ay/insight-agent.war/ real=file:/C:/JBoss/EnterprisePlatform-5.1.2/jboss-eap-5.1/jboss-as/server/cos/tmp/a1y2v3p-a525ip-h9zpkgjv-1-h9zpl39w-ay/insight-agent.war/WEB-INF/classes/com/springsource/insight/agent/command/AgentCommandSender.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.springsource.insight.command.CommandSender]: : No matching bean of type [com.springsource.insight.command.CommandSender] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [com.springsource.insight.command.CommandSender] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'agentCommandSender' defined in FileHandler@649644295[path=WEB-INF/classes/com/springsource/insight/agent/command/AgentCommandSender.class context=file:/C:/JBoss/EnterprisePlatform-5.1.2/jboss-eap-5.1/jboss-as/server/cos/tmp/a1y2v3p-a525ip-h9zpkgjv-1-h9zpl39w-ay/insight-agent.war/ real=file:/C:/JBoss/EnterprisePlatform-5.1.2/jboss-eap-5.1/jboss-as/server/cos/tmp/a1y2v3p-a525ip-h9zpkgjv-1-h9zpl39w-ay/insight-agent.war/WEB-INF/classes/com/springsource/insight/agent/command/AgentCommandSender.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.springsource.insight.command.CommandSender]: : No matching bean of type [com.springsource.insight.command.CommandSender] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [com.springsource.insight.command.CommandSender] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'agentHeartbeater' defined in class path resource [com/springsource/insight/agent/app-config-base.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.springsource.insight.agent.command.AgentCommandSender]: : Error creating bean with name 'agentCommandSender' defined in FileHandler@649644295[path=WEB-INF/classes/com/springsource/insight/agent/command/AgentCommandSender.class context=file:/C:/JBoss/EnterprisePlatform-5.1.2/jboss-eap-5.1/jboss-as/server/cos/tmp/a1y2v3p-a525ip-h9zpkgjv-1-h9zpl39w-ay/insight-agent.war/ real=file:/C:/JBoss/EnterprisePlatform-5.1.2/jboss-eap-5.1/jboss-as/server/cos/tmp/a1y2v3p-a525ip-h9zpkgjv-1-h9zpl39w-ay/insight-agent.war/WEB-INF/classes/com/springsource/insight/agent/command/AgentCommandSender.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.springsource.insight.command.CommandSender]: : No matching bean of type
    I have attached a the logs containing the details of all the exceptions.. Have you seen this before?

    Thanks again for your quick response & help!!!
    Attached Files Attached Files

  7. #17

    Default

    I saw it before, can you attach the tree structure of insight.base?

    Code:
    cd C:\JBoss\EnterprisePlatform-5.1.2\jboss-eap-5.1\jboss-as\insight
    tree /f

  8. #18

    Default

    Here is the output:

    C:\JBoss\EnterprisePlatform-5.1.2\jboss-eap-5.1\jboss-as\insight>tree /f
    Folder PATH listing for volume Local Disk
    Volume serial number is 8A5D-AC4A
    C:.
    ├───agent-plugins
    │ insight-agent-activemq-1.8.3.RELEASE.jar

    ├───collection-plugins
    │ │ insight-collection-1.8.3.RELEASE.jar
    │ │ insight-plugin-annotation-1.8.3.RELEASE.jar
    │ │ insight-plugin-apache-httpclient3-1.8.3.RELEASE.jar
    │ │ insight-plugin-apache-httpclient4-1.8.3.RELEASE.jar
    │ │ insight-plugin-blazeds-1.8.3.RELEASE.jar
    │ │ insight-plugin-ejb3-1.8.3.RELEASE.jar
    │ │ insight-plugin-gemfire-1.8.3.RELEASE.jar
    │ │ insight-plugin-grails-1.8.3.RELEASE.jar
    │ │ insight-plugin-hibernate-1.8.3.RELEASE.jar
    │ │ insight-plugin-javax-mail-1.8.3.RELEASE.jar
    │ │ insight-plugin-jax-rs-1.8.3.RELEASE.jar
    │ │ insight-plugin-jdbc-1.8.3.RELEASE.jar
    │ │ insight-plugin-jms-1.8.3.RELEASE.jar
    │ │ insight-plugin-jws-1.8.3.RELEASE.jar
    │ │ insight-plugin-method-endpoint-1.8.3.RELEASE.jar
    │ │ insight-plugin-mongodb-1.8.3.RELEASE.jar
    │ │ insight-plugin-rabbitmq-client-1.8.3.RELEASE.jar
    │ │ insight-plugin-servlet-1.8.3.RELEASE.jar
    │ │ insight-plugin-spring-core-1.8.3.RELEASE.jar
    │ │ insight-plugin-spring-integration-1.8.3.RELEASE.jar
    │ │ insight-plugin-spring-tx-1.8.3.RELEASE.jar
    │ │ insight-plugin-spring-web-1.8.3.RELEASE.jar
    │ │ insight-plugin-tomcat-1.8.3.RELEASE.jar
    │ │
    │ └───custom-aop
    │ └───META-INF
    │ aop.xml

    ├───conf
    │ insight.properties

    └───sigar-lib
    libsigar-amd64-freebsd-6.so
    libsigar-amd64-linux.so
    libsigar-amd64-solaris.so
    libsigar-ia64-hpux-11.sl
    libsigar-ia64-linux.so
    libsigar-pa-hpux-11.sl
    libsigar-ppc-aix-5.so
    libsigar-ppc-linux.so
    libsigar-ppc64-aix-5.so
    libsigar-ppc64-linux.so
    libsigar-s390x-linux.so
    libsigar-sparc-solaris.so
    libsigar-sparc64-solaris.so
    libsigar-universal-macosx.dylib
    libsigar-universal64-macosx.dylib
    libsigar-x86-freebsd-5.so
    libsigar-x86-freebsd-6.so
    libsigar-x86-linux.so
    libsigar-x86-solaris.so
    sigar-amd64-winnt.dll
    sigar-x86-winnt.dll
    sigar-x86-winnt.lib


    C:\JBoss\EnterprisePlatform-5.1.2\jboss-eap-5.1\jboss-as\insight>

  9. #19

    Default

    Please find the tree output attached.

    Thanks!
    Attached Files Attached Files

  10. #20

    Default

    All is there...

    1. Does the next files exist under C:/JBoss/EnterprisePlatform-5.1.2/jboss-eap-5.1/jboss-as/server/cos/lib?
      1. insight-annotation-1.8.3.RELEASE.jar
      2. insight-bootstrap-jboss-5.1.0.GA-1.8.3.RELEASE.jar
      3. insight-intercept-1.8.3.RELEASE.jar
      4. insight-util-1.8.3.RELEASE.jar

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •