[Tomcat, HTTPD, Servlets & JSP] - DataSource Problem JBoss/Tomcat Only Configuration
by kdolan
I need to create an application packaged as a .war file that updates a database and supports transactions. I also need to deploy this application in JBoss but in the Tomcat Only configuration.
I created a test application, deployed it in the "default" installation of JBoss (along with a test-ds.xml file identifying the location of the database) and everything worked as expected. I then installed JBoss taking the Tomcat only option, deployed the application and test-ds.xml file and things would not deploy. Specifically, the errors on the console revealed it could not deploy the test-ds.xml file: deployer unknown.
>From here, I've tried a variety of things (e.g., removing test-ds.xml and configuring Tomcat's config.xml) and they all result in some kind of problem (e.g., .war will not deploy because resource-ref is not resolved). I've looked at lots of documentation - including Tomcats - to understand what the problem is and what I can do about it. Ideally, I would be able to specify everything (e.g., web.xml, jboss-web.xml) and configure everything (e.g., test-ds.xml) just like I do for the default installation of JBoss because I am running Tomcat in JBoss (but I got the "deployer unknown" error above). But I've also tried modifying things according to the Tomcat documentation and this does not appear to satisfy JBoss either.
Does anyone know how to do this? Is there any documentation I can read? Is there a "deployer" I need to activate or turn on (without adding a lot of overhead)?
Thanks!
Kelly
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081074#4081074
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081074
18 years, 7 months
[EJB 3.0] - ejb 3.0 deploy/environment error for jboss 5 beta2
by billmil
Hi,
I see an error when trying to deploy my application in jboss 5 beta2.
Caused by: java.io.IOException: invalid constant type: 60
| at javassist.bytecode.ConstPool.readOne(ConstPool.
|
The log "is giving me mixed signals". The error appears in the ejb3 deployer class, but the final log suggests the problem lies in my .war file. Regarldess, 'reading bytecodes' implies that jboss class can't properly read a class.
Any ideas on this?
stack trace:
org.jboss.deployers.spi.DeploymentException: java.io.IOException: invalid constant type: 60 at org.jboss.ejb3.deployers.EJBRegistrationDeployer.deploy(EJBRegistrati
| onDeployer.java:167)
|
more stack trace:
at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.
| java:403)
| at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.ja
| va:342)
| at org.jboss.Main.boot(Main.java:210)
| at org.jboss.Main$1.run(Main.java:522)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.io.IOException: invalid constant type: 60
| at javassist.bytecode.ConstPool.readOne(ConstPool.java:967)
| at javassist.bytecode.ConstPool.read(ConstPool.java:910)
| at javassist.bytecode.ConstPool.<init>(ConstPool.java:127)
| at javassist.bytecode.ClassFile.read(ClassFile.java:630)
| at javassist.bytecode.ClassFile.<init>(ClassFile.java:52)
| at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:409)
| at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:398)
| at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:363)
| at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:318)
|
|
The final 'deployment status' message says this:
*** DEPLOYMENTS IN ERROR: Name -> Error
|
| vfsfile:/home/bmilbratz/projects/devtools/jboss-5.0.0.Beta2/server/myserver/deploy/myenterpriseapp.ear/my.war/ -> java.io.IOException: invalid constant type: 60
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081063#4081063
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081063
18 years, 7 months
[JBoss Seam] - Re: Last try - Conversational Feature let me feel like an id
by stephen.friedrich
That's exactly my use case and I don't have a solution either.
Currently the first version of my app works without using conversations which of course seems to waste quite a lot of seams value.
A big problem is that _all_ the explanations teach you about the technical side, e.g. what a conversation is, how it is started and ended, etc.
But there isn't any documentation at all how to do user interface design with conversations in mind or how to apply conversations to an existing UI design.
This particular scenario (different areas/tabs, list in each area, detail view for selected item) which is quite typical has come up several times already in the forum and it was never really answered.
I think I need to start a conversation to avoid reloading the list (in an "area") from DB again and again if I just sequentially select multiple items to view each one's details.
Also when I currently edit, say, a project's details I would like to be able to shortly switch to the customer view to be able to look up some information there and then continue back in the project details.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081059#4081059
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081059
18 years, 7 months