[Design of JBoss Web Services] - org.jboss.axis.ConfigurationException: No engine configurati
by dfillis
Hi All,
I am trying to access a deployed webservice on JBoss-4.0.3SP1 and get the following error - org.jboss.axis.ConfigurationException: No engine configuration file - aborting!
I know that this error has been fixed jbossws in jboss-4.2.x However I am unable to migrate to jboss-4.2.x due to a dependency. I would appreciate it very much if someone can help me with a workaround on JBoss-4.0.3SP1. An extract from the log file follows
I am very desperate for a solution so your help would be dearly appreciated!!
Best regards
Denzil
org.jboss.axis.ConfigurationException: No engine configuration file - aborting!
at org.jboss.axis.configuration.FileProvider.configureEngine(FileProvider.java:222)
at org.jboss.axis.AxisEngine.init(AxisEngine.java:150)
at org.jboss.axis.AxisEngine.(AxisEngine.java:132)
at org.jboss.axis.client.AxisClient.(AxisClient.java:88)
at org.jboss.axis.client.Service.getAxisClient(Service.java:370)
at org.jboss.axis.client.Service.(Service.java:144)
at com.mpilo.fourier.dms.wsmanager.subscriber.OKMAuthServiceLocator.(OKMAuthServiceLocator.java:10)
at com.mpilo.fourier.dms.wsmanager.AuthModuleWSManager.login(AuthModuleWSManager.java:63)
at com.mpilo.fourier.dms.web.action.SaveOrCreateDocumentAction.execute(SaveOrCreateDocumentAction.java:66)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
at org.jboss.axis.configuration.FileProvider.configureEngine(FileProvider.java:222)
at org.jboss.axis.AxisEngine.init(AxisEngine.java:150)
at org.jboss.axis.AxisEngine.(AxisEngine.java:132)
at org.jboss.axis.client.AxisClient.(AxisClient.java:88)
at org.jboss.axis.client.Service.getAxisClient(Service.java:370)
at org.jboss.axis.client.Service.(Service.java:144)
at com.mpilo.fourier.dms.wsmanager.subscriber.OKMAuthServiceLocator.(OKMAuthServiceLocator.java:10)
at com.mpilo.fourier.dms.wsmanager.AuthModuleWSManager.login(AuthModuleWSManager.java:63)
at com.mpilo.fourier.dms.web.action.SaveOrCreateDocumentAction.execute(SaveOrCreateDocumentAction.java:66)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110645#4110645
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110645
18 years, 1 month
[Deployers on JBoss (Deployers/JBoss)] - failed deployment seen as new by Profile.getModifiedDeployme
by alex.loubyansky@jboss.com
Revealed by running org.jboss.test.profileservice.test.ProfileServiceUnitTestCase.
If there is e.g. an empty -ds.xml file it will re-deployed over and over again even though it's not been modified.
org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/E:/cvsroot/trunk/build/output/jboss-5.0.0.Beta3/server/profileservice/deploy/testHqldbDS-ds.xml
| at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:232)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:199)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:162)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
| at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
| at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
| at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
| at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: javax.xml.bind.UnmarshalException
| - with linked exception:
| [org.xml.sax.SAXParseException: Premature end of file.]
| at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315)
| at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:506)
| at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:215)
| at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:190)
| at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:241)
| at org.jboss.resource.deployers.ManagedConnectionFactoryParserDeployer.parse(ManagedConnectionFactoryParserDeployer.java:100)
| at org.jboss.resource.deployers.ManagedConnectionFactoryParserDeployer.parse(ManagedConnectionFactoryParserDeployer.java:47)
| at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:112)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:225)
| ... 25 more
| Caused by: org.xml.sax.SAXParseException: Premature end of file.
| at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
| at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
| at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
| at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
| at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
| at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
| at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
| at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
| at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
| at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:211)
| ... 31 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110589#4110589
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110589
18 years, 1 month
[Design of JBoss Profiler] - Problem JVMTI for JBoss Profile
by moreni
Oi
I have a problem using jvmti in my jboss
Configuration
I am following this howto
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowToConfigureJBossProfiler
jboss 4.0.4
JAVA_OPTS="-server -Xms2048m -Xmx2048m -agentlib:jbossAgent -verbose:gc -Xloggc:jboss_gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:ParallelGCThreads=20 -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:NewSize=400m -XX:MaxNewSize=400m -XX:MaxPermSize=128m -XX:MinHeapFreeRatio=50 -XX:MaxHeapFreeRatio=60 -XX:+UseParNewGC -XX:NewRatio=3 -XX:SurvivorRatio=3 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=29001 -Dcom.sun.management.jmxremote.ssl=false"
JDK jdk1.5.0_12
Start Jboss
JVMTI Error JVMTI_ERROR_NOT_AVAILABLE
JBOSS_HOME=/opt/jboss-4.0.4.GA
LD_LIBRARY_PATH=/opt/jvmti/
JAVA_HOME=/opt/jdk
ls -lia /opt/jvmti/
total 208
732961 drwxr-xr-x 2 jboss jboss 4096 Dec 4 15:15 .
2 drwxr-xr-x 18 jboss jboss 4096 Dec 5 14:07 ..
732963 -rwxr-xr-x 1 jboss jboss 29585 Dec 5 13:19 libjbossAgent.so
732962 -rwxrwxrwx 1 jboss jboss 159900 Jul 27 2006 libjbossInspector.so
Help me, please?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110586#4110586
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110586
18 years, 1 month
[Design of POJO Server] - Re: Packed vs. unpacked deployments
by adrian@jboss.org
I'll repeat, these tests are bogus they need replacing with something that
tests the new relaxed rules. There's no point trying to fix them
since they are testing obsolete rules.
Having said you've identified two problems.
1) The jar deployer is inconsistent. It doesn't recognise
the packed client1-not.ajar even though it is a jar and has a META-INF directory.
However, it does recognise it if it is an unpacked directory.
Packed:
2007-12-05 16:41:12,805 TRACE [org.jboss.deployers.vfs.plugins.structure.jar.JARStructure] ... no - not a directory or an archive.
Unpacked:
2007-12-05 16:44:00,573 TRACE [org.jboss.deployers.vfs.plugins.structure.jar.JARStructure] ... ok - doesn't look like a jar but it is a top level directory.
The reason is because the suffix .ajar is not in the recognised list
of suffixes.
This is really just an optimization so we don't have to try to open up
every file to see if it really is a jar because it has a META-INF
(and catch all the exceptions when it says you cannot findChild on a normal file :-).
The user can fix it by adding .ajar to the list of recognised suffixes.
This seems like a stupid example anyway. ;-)
2) The EJB3ClientDeployer is wrong. It should be fixed such that if the
client deployment doesn't end with .jar then we take the whole
deploymentUnit.getSimpleName() as the jndi name.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110585#4110585
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110585
18 years, 1 month