[jboss-user] Re: JConsole, JWS, JMX and JBoss 4.2.2 Fails

samk at twinix.com samk at twinix.com
Mon Nov 17 08:35:38 EST 2008


See Thread at: http://www.techienuggets.com/Detail?tx=53530 Posted on behalf of a User

No Idea, but EXACTLY the same problem here...
Would be great, if anyone has a solution for this.

In Response To: 

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)






More information about the jboss-user mailing list