[Installation, Configuration & DEPLOYMENT] - Re: JConsole, JWS, JMX and JBoss 4.2.2 Fails
by jelevy01
As described in:
http://jbossws.jboss.org/mediawiki/index.php?title=FAQ#How_to_use_JDK_JMX...
If I change run.conf to:
JAVA_OPTS="$JAVA_OPTS -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"
JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=11099"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false"
I get the following exception when deploying a sar file that has a couple of Schedulable classes:
Caused by: java.lang.NullPointerException
at EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.hash(ConcurrentReaderHashMap.java:298)
at EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.get(ConcurrentReaderHashMap.java:410)
at org.jboss.mx.server.registry.BasicMBeanRegistry.getMBeanMap(BasicMBeanRegistry.java:959)
at org.jboss.mx.server.registry.BasicMBeanRegistry.contains(BasicMBeanRegistry.java:577)
at org.jboss.mx.server.MBeanServerImpl.isRegistered(MBeanServerImpl.java:539)
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:101)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
... 80 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178634#4178634
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178634
17 years, 7 months
[JBoss jBPM] - jbpm-bpel1.1.1
by dave9739
Hi all,
I am using jboss 4.2.2 and jbpm-bpel1.1.1. And I notice that the xpath query only can return one node from the source code org.jbpm.bpel.sublang.xpath.XPathEvaluator.java. However, i want to modify the source code to make a node which contains all other nodes, so that i can be used in my project. It is because i got "selection of size other than one" when the query return more than one nodes.
It modify the source code provided by the zip file. Then package it as jbpm-bpel.jar and replace the jar in /jbpm-bpel1.1.1/lib. However, the new code does not have any effect.
So, is it possible to build jbpm-bpel.jar from the source code? How to do it?
And, i found a very wired thing. I try to unzip jboss server and start the server. And unzip jbpm-bpel1.1.1 and remove the jbpm-bpel.jar from /lib. Then i deploy bpel engine to the server. It can successfully execute the bpel process. but there is no jbm-bpel.jar (as i remove it before deploy).Why? How does the server know what java class need to execute the bpel proces?
Thanks in advance.
Dave
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178632#4178632
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178632
17 years, 7 months
[Installation, Configuration & DEPLOYMENT] - Error deploying web service
by tcsimon
I'm trying to deploy a simple HelloWorld web service, but I'm getting errors and the service is not showing up in the JBossWS listing. We're using 4.2.0.GA on a Windows 2003 server. The JDK is 1.5.0_16. Here's the error I get when I start up JBoss after putting my ear in the following folder: C:\jboss\jboss-4.2.0.GA\server\default\deploy
----
14:32:08,837 INFO [EARDeployer] Init J2EE application: file:/C:/jboss/jboss-4.2.0.GA/server/default/deploy/helloworld.ear
14:32:18,228 INFO [TomcatDeployer] deploy, ctxPath=/services/example, warUrl=.../tmp/deploy/tmp14347helloworld.ear-contents/services-example-exp.war/
14:32:18,385 ERROR [STDERR] log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
14:32:18,385 ERROR [STDERR] log4j:WARN Please initialize the log4j system properly.
14:32:18,619 ERROR [STDERR] Sep 24, 2008 2:32:18 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
14:32:19,681 INFO [STDOUT] DEPLOYMENT_ID = 6734706890374306453
14:32:19,869 ERROR [STDERR] Sep 24, 2008 2:32:19 PM com.sun.xml.ws.transport.http.servlet.WSServletDelegate
INFO: WSSERVLET14: JAX-WS servlet initializing
14:32:19,916 INFO [TomcatDeployer] deploy, ctxPath=/services/ucf-1222201863926, warUrl=.../tmp/deploy/tmp14347helloworld.ear-contents/ucf-exp.war/
14:32:20,056 INFO [EARDeployer] Started J2EE application: file:/C:/jboss/jboss-4.2.0.GA/server/default/deploy/helloworld.ear
----
We're pretty new to JBoss and I wasn't able to find this, so sorry if it's obvious to everyone else.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178631#4178631
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178631
17 years, 7 months
[Installation, Configuration & DEPLOYMENT] - JConsole, JWS, JMX and JBoss 4.2.2 Fails
by jelevy01
I am trying to set up JBoss 4.2.2 and JConsole for remote monitoring.
I've added the following to run.conf
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=11099"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false"
This bug points to a work around https://jira.jboss.org/jira/browse/JBWS-1943, however it doesn't work and the workaround doesn't seem to be for using JConsole remotely?
I've been generally following the following guide;
http://www.componative2.com/content/controller/developer/insights/jconsole2
---------------
The exception I see:
13:06:56,418 INFO [TomcatDeployer] performDeployInternal :: deploy, ctxPath=/services, warUrl=.../tmp/deploy/tmp34585xxxxxxxxx.ear-contents/mDate-Services-exp.war/
13:06:57,706 WARN [AbstractServerConfig] getWebServicePort :: Unable to calculate 'WebServicePort', using default '8080'
13:06:57,711 WARN [AbstractServerConfig] getWebServicePort :: Unable to calculate 'WebServicePort', using default '8080'
13:06:58,070 WARN [AbstractServerConfig] getWebServicePort :: Unable to calculate 'WebServicePort', using default '8080'
13:06:58,071 WARN [AbstractServerConfig] getWebServicePort :: Unable to calculate 'WebServicePort', using default '8080'
13:06:58,138 ERROR [MainDeployer] start :: Could not start deployment: file:/opt/jboss-4.2.2.GA/server/default/tmp/deploy/tmp34585xxxxxxxxx.ear-contents/mDate-Services.war
java.lang.NullPointerException
at org.jboss.wsf.stack.jbws.WSDLFilePublisher.getPublishLocation(WSDLFilePublisher.java:303)
at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishWsdlFiles(WSDLFilePublisher.java:103)
at org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect.create(PublishContractDeploymentAspect.java:52)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115)
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178624#4178624
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178624
17 years, 7 months