[Design the new POJO MicroContainer] - Re: Multiple parsing implementation in RARDeployer
by vickyk
anonymous wrote : Why is EJB deployer using that? :-)
This might be helpful to findout what is using the parse method which you have removed
| Caused by: java.lang.NoSuchMethodError: org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(Lorg/jboss/virtual/VirtualFile;)Ljava/lang/Object;
| at org.jboss.deployment.JBossEjbParsingDeployer.getStandardMetaData(JBossEjbParsingDeployer.java:211)
| at org.jboss.deployment.JBossEjbParsingDeployer.createMetaData(JBossEjbParsingDeployer.java:112)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:236)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
| ... 64 more
|
anonymous wrote : If you were able to comment mappings, I'm sure you can add that method as well. ;-)
Yes I made the changes in the RARParserDeployer and it worked , I was lazy in doing so earlier ;(
I will have to wait for the EJB deployer to work properly for running the jca tests .
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154229#4154229
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154229
16 years
[Design of JBoss ESB] - trailblazer application issues
by spratiha
Hi,
I was trying the trailblazer sample app in JBossESB server 4.3.GA version..
I am getting the following error while submitting the form, from sample webapp as my JBoss server runs on port 8090 and not 8080.
12:13:35,386 ERROR [STDERR] org.jboss.ws.metadata.wsdl.WSDLException: Cannot parse wsdlLocation: http://localhost:8080/trailblazer
/LoanBroker?wsdl
12:13:35,386 ERROR [STDERR] at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.getDocument(WSDLDefinitionsFactory.java:183)
12:13:35,386 ERROR [STDERR] at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:108)
12:13:35,386 ERROR [STDERR] at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:321)
12:13:35,386 ERROR [STDERR] at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaData(JAXWSClientMetaDat
aBuilder.java:85)
12:13:35,386 ERROR [STDERR] at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.(ServiceDelegateImpl.java:131)
12:13:35,386 ERROR [STDERR] at org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:61)
12:13:35,386 ERROR [STDERR] at javax.xml.ws.Service.(Service.java:83)
12:13:35,386 ERROR [STDERR] at javax.xml.ws.Service.create(Service.java:721)
12:13:35,386 ERROR [STDERR] at org.jboss.soa.esb.samples.trailblazer.loanbroker.LoanRequester.request(LoanRequester.java:25)
12:13:35,386 ERROR [STDERR] at org.apache.jsp.index_jsp._jspService(index_jsp.java:198)
12:13:35,386 ERROR [STDERR] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
12:13:35,386 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
12:13:35,386 ERROR [STDERR] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
12:13:35,386 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
12:13:35,386 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
12:13:35,401 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
12:13:35,401 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:29
0)
12:13:35,401 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
12:13:35,401 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
12:13:35,401 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:23
5)
12:13:35,401 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
12:13:35,401 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
12:13:35,401 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
12:13:35,401 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179
)
12:13:35,401 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
12:13:35,401 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
12:13:35,401 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
12:13:35,401 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
12:13:35,401 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
12:13:35,401 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
12:13:35,401 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
12:13:35,401 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583
)
12:13:35,401 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
12:13:35,401 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
12:13:35,401 ERROR [STDERR] Caused by: java.io.FileNotFoundException: http://localhost:8080/trailblazer/LoanBroker?wsdl
12:13:35,401 ERROR [STDERR] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1147)
12:13:35,401 ERROR [STDERR] at java.net.URL.openStream(URL.java:1007)
12:13:35,401 ERROR [STDERR] at org.jboss.ws.core.utils.ResourceURL.openStream(ResourceURL.java:57)
12:13:35,401 ERROR [STDERR] at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.getDocument(WSDLDefinitionsFactory.java:166)
12:13:35,401 ERROR [STDERR] ... 33 more
Is there any workaround for this problem. As in my network proxy server runs on port 8080 so I can not start my JBoss on that port.
Any suggestion would really be appreciated. Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154225#4154225
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154225
16 years
[Design of Messaging on JBoss (Messaging/JBoss)] - AIO error
by timfox
I get the following error when trying run
perfListener then perfSender
with
|
|
| [echo] * available parameters (-Dmessage.count=1000)
| [echo] *
| [echo] * parameter description default current
| [echo] * --------- ----------- ------- -------
| [echo] * message.count number of messages 200000 200000
| [echo] * message.warmup.count number of messages to warm up 10000 10000
| [echo] * delivery.mode PERSISTENT/NON_PERSISTENT NON_PERSISTENT PERSISTENT
| [echo] * sess.trans Is session transacted false false
| [echo] * sess.trans.size batch size to commit 1000 1000
| [echo] * sess.ackmode Ack mode DUPS_OK/AUTO_ACK DUPS_OK DUPS_OK
| [echo] * drain.queue drain the queue (listener only) true true
| [echo] * queue.lookup Queue JNDI lookup /queue/testPerfQueue /queue/testPerfQueue
| [echo] * cf.lookup ConnectionFactory JNDI lookup /ConnectionFactory /
|
|
| [java] java.lang.RuntimeException: Can't initialize aio
| [java] at org.jboss.messaging.core.asyncio.impl.AsynchronousFileImpl.init(Native Method)
| [java] at org.jboss.messaging.core.asyncio.impl.AsynchronousFileImpl.open(AsynchronousFileImpl.java:135)
| [java] at org.jboss.messaging.core.journal.impl.AIOSequentialFile.open(AIOSequentialFile.java:162)
| [java] at org.jboss.messaging.core.journal.impl.JournalImpl.openFile(JournalImpl.java:1523)
| [java] at org.jboss.messaging.core.journal.impl.JournalImpl.pushOpenedFile(JournalImpl.java:1618)
| [java] at org.jboss.messaging.core.journal.impl.JournalImpl.access$200(JournalImpl.java:70)
| [java] at org.jboss.messaging.core.journal.impl.JournalImpl$3.run(JournalImpl.java:1586)
| [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
| [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
| [java] at java.lang.Thread.run(Thread.java:619)
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154205#4154205
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154205
16 years
[Design the new POJO MicroContainer] - Re: Multiple parsing implementation in RARDeployer
by alesj
"vickyk" wrote :
| Yes I understand that the mapping is the info of deployment descrptor to metadata , so I have the code like this
|
| public RARParserDeployer()
| | {
| | super(RARDeploymentMetaData.class, new HashMap());
| | mappings = getMappings();
| | mappings.put(jeeSpecRarDD, ConnectorMetaData.class);
| | mappings.put(jbossRarDD, JBossRAMetaData.class);
| | }
| |
|
| Is this not right ?
|
You can do that via static code:
| private static Map<String, Class<?>> getCustomMappings()
| {
| Map<String, Class<?>> mappings = new HashMap<String, Class<?>>();
| mappings.put("rar.xml", RarMetaData.class);
| mappings.put("jboss-rar.xml", JBossRarMetaData.class);
| mappings.put("alias.xml", AliasMetaData.class);
| mappings.put("alias-ext.xml", AliasMetaData.class);
| return mappings;
| }
|
| public MultiRarDeployer()
| {
| super(RarDeploymentMetaData.class, getCustomMappings());
| }
|
"vickyk" wrote :
| anonymous wrote : But who is depending on this method?
|
| EJB deployer seems to be dependent on it , all the jca test which need EJB deployment is failing .
| Can you put this method back so that I can confirm it ?
|
Why is EJB deployer using that? :-)
OK, I'll have a look, since this is not your rar issue.
If you were able to comment mappings, I'm sure you can add that method as well. ;-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154202#4154202
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154202
16 years
[Design the new POJO MicroContainer] - Re: Multiple parsing implementation in RARDeployer
by alesj
"vickyk" wrote :
| I have managed to get RARParserDeployer working after making the changes in the MultipleVFSParsingDeployer , I commented the mappings section.
|
No, you need the mappings.
That's the info that knows how to map file with the actual metadata.
If you had to remove that, you're probably misusing the deployer.
"vickyk" wrote :
| However when I ran the testcases I started getting these errors
| *** DEPLOYMENTS IN ERROR: Name -> Error
| |
| | vfsfile:/home/vicky/eclipseworkspaces/workspace/jboss5-trunk/testsuite/output/lib/jcatest.jar -> org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/home/vicky/eclipseworkspaces/workspace/jboss5-trunk/testsuite/output/lib/jcatest.jar
| |
| |
| | *** CONTEXTS IN ERROR: Name -> Error
| |
| | vfsfile:/home/vicky/eclipseworkspaces/workspace/jboss5-trunk/testsuite/output/lib/jcatest.jar -> java.lang.NoSuchMethodError: org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(Lorg/jboss/virtual/VirtualFile;)Ljava/lang/Object;
| |
|
| I am not able to see the required parse(.. ) implementation in the SchemaResolverDeployer , looks like the recent changes had remove this method .
|
Yes, the method is no longer there.
But who is depending on this method?
If the deployers are used as they should be - as in deployers tests - that method is impl detail.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154196#4154196
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154196
16 years