[Installation, Configuration & DEPLOYMENT] - JBoss 5 deployment issue
by venuwin
Hi,
This is for the first time i am trying out with Jboss5.
I downloaded the GA version.
The application which has been running for the last 2 years on jboss4.0.5, does not run on jboss 5.
And here are the details:
1. We have JBoss MQ in our implementation and not JBoss messaging.
2. Ours is an ear file
3. JDK i use is 5
the moment i do a hot deployment, i get this error :
| 12:00:24,403 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)] Started in
| 1m:7s:182ms
| 12:08:35,333 WARN [HDScanner] Scan failed
| org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(30cm-price.ear)
| at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
| at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeploye
| rs.java:85)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:853)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:303)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:260)
| at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:267)
| 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:6
| 5)
| 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: java.lang.RuntimeException: Error determining structure: 30cm-price.ear
| at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:293)
| at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.jav
| a:73)
| at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersIm
| pl.java:196)
| at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl
| .java:221)
| at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeploye
| rs.java:77)
| ... 14 more
| Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Element {http://java.sun.com/xml/ns/j2ee}applicatio
| n is not bound as a global element.
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:183)
| at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:161)
| at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:160)
| ... 18 more
| Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Element {http://java.sun.com/xml/ns/j2ee}application is not bound as
| a global element.
| at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:667)
| at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:401)
| at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
| at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
| at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
| at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(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 org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:199)
| ... 21 more
| 12:09:05,318 WARN [HDScanner] Failed to process changes
| org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETA
| ILS):
|
| *** DEPLOYMENTS MISSING DEPLOYERS:
Any idea why this happens and what is missing ?
I googled a lot but nothing could be found useful.
Please help
Venu
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197518#4197518
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197518
17 years, 6 months
[JBoss jBPM] - Re: How to best control access from multiple threads to a Pr
by jse
Ronald
I am fairly new to jBpm and am just looking for the appropriate "jBpm way" of solving the problem.
I think, perhaps, my first post was a bit too abstract to be clear. So... here is a more concrete example.
Lets envisage that jBpm (J) is responsible for escalating a problem with external system P. The means of escalation is email, using external emailing system E. All interaction with the external systems is via http. E(mail) will provide J(bpm) with delivery notification and read receipt information via http callbacks. These delivery notfifications and red receipts need to be sent to the P(roblem) system via http callback. So... as a sequence diagram we have:
| P J E
| |
|
| |
| |--http post-->|
| |
| (thread J1)
| |
| |--http post-->|
| |
| |<---200 OK----|
| |
| |<---200 OK----|
|
|
| | (recv delivery receipt)
| |<--http post--|
| |
| (thread J2)
| |
| |<--http post--|
| |
| |----200 OK--->|
| |----200 OK--->|
|
|
|
| | (recv read receipt)
| |<--http post--|
| |
| (thread J3)
| |
| |<--http post--|
| |
| |----200 OK--->|
| |----200 OK--->|
|
This could be modelled in jBpm like this
|
| start
| |
| |
| V
| send email via http
| |
| |
| V
| wait for delivery receipt
| |
| |
| V
| send delivery receipt via http
| |
| |
| V
| wait for read receipt
| |
| |
| V
| send read receipt via http
| |
| |
| V
| end
|
The challenge here is that if Thread J2 gets blocked (perhaps because system P is a bit slow), and thread J3 receives the read receipt whilst thread J2 is still in progress, I need to ensure that thread J3 does not acquire the process instance until thread J2 has released it.
I think that you are saying that I could model this in a different way, using tokens to ensure that the two async events are handled correctly (i.e. thread J2 will signal the "delivery" token and thread J3 will signal the "read" token. For example:
|
| start
| |
| |
| V
| send email via http
| |
| |
| V
| +------------------fork------------------+
| | |
| V V
| wait for delivery receipt wait for read receipt
| | |
| | |
| V V
| send delivery receipt via http send read receipt via http
| | |
| | |
| +------------------join------------------+
| |
| |
| V
| end
|
Have I understood you correctly?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197517#4197517
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197517
17 years, 6 months
[EJB 3.0] - class java.lang.ClassCastException in EJB3.0 lookup
by harish.vamsh
Hi All,
I'm trying to invoke a sample HelloBean EJB 3.0 in JBOSS 4.2.2. But getting following error
-------------------ERROR -----------------
11:20:53,187 WARN [RequestProcessor] Unhandled Exception thrown: class java.lang.ClassCastException
11:20:53,187 ERROR [[action]] Servlet.service() for servlet action threw exception
java.lang.ClassCastException: $Proxy63 cannot be cast to examples.session.stateless.Hello
------------------------------------------
EJB jar file deployment was successful.
Trying to lookup in my servlet as shown below, which throws above stated error
Hello hello = (Hello) ctx.lookup("HelloBean/remote");
However, on calling
System.out.println("--->"+ctx.lookup("HelloEJB/remote"));
outputs
--->jboss.j2ee:jar=firstEJB3.jar,name=HelloEJB,service=EJB3
It is unable to cast it to the Remote interface.
Can anyone help me?.
Thanks in advance
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197515#4197515
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197515
17 years, 6 months
[JBoss jBPM] - Gwt-console documentation Pls..
by mr.sathya
Hi All..
I am trying to develope a workflow for my client based on gwt-console.
For that i installed jbpm-3.3.0 using jbpm-installet-3.3.0.GA.
and i selected gwt-console as optional and server as jboss-4.2.3 GA
and mysql database.I created the users using scripts and after that i
am able to login jbpm-console.but not able login in Gwt-console.
Here is the Exception Box is coming after i entered username and password.
| Authentication failed.
| Not found
| The requested URL /gwt-console-server/rs/user/roles was not found on this server
|
1.whether i have to add any war or jar files for this logging?
2.Is any one has succeeded in this?
3.Is any documentation is there for this?
Pls guide me by giving proper suggestions or solutions..
sorry for reposting same questions bcoz i didnt get the solution...
Thanks in advance...
Regards,
Sathya
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197508#4197508
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197508
17 years, 6 months