Package your servlet in a war file. Package your mbean in a SAR file. Create
jboss-web.xml under WEB-INF folder and mention the SAR dependency in that file.
Example
**
jboss-web.xml under WEB-INF
< jboss-web >
< depends >someservice:mbeanName
Regards.
Lokesh.
View the original post :
Can you post your hibernate.cfg.xml file for reference.
Regards.
Lokesh.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894370#3894370
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894370
-
Your Query is wrong
Change this
return (CustomerCMP) em.createQuery("from Customer c where c.Name
=:Name").getSingleResult()
return em.createQuery("from Customer c").getResultList();
To
return (CustomerCMP) em.createQuery("from CustomerCMP
What configuration are you using for your deployment? default or all? The
error says that you dont have antlr.jar in your classpath. If you are
deploying the ejb app under all configuration then it will not throw that
exception. antlr.jar is used to constructing the queries.
Regards.
Lokesh
I guess you did something wrong in creating the .war file. According to me you
might have created war on example2 folder. Dont do this, go to example2 folder
and then create the war file. For example if your folder is under c:\example2
then do the following.
1) cd c:\example2
2) jar -cvf exam
Use org.apache.log4j.DailyRollingFileAppender in place of RollingFileAppender.
Example
***
< appender name="File" class="org.jboss.logging.appender.DailyRollingAppender >
< param name="FILE" value="${jboss.server.home.dir}/log.server.log}/>
< param name="Append" value="false"/>
< param n
Claudia,
Can you please post the exception stack for my reference. You can find the
full stack under /server//log folder. If you are using
configuration then replace the with all.
Regards.
Lokesh.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894347#
Generally this should not be the behaviour of JBoss AS. I am trying to
understand whats happening in your case.
In the mean time can you do the following steps.
1) Stop JBoss AS.
2) Delete all the folders under /tmp folder manually.
3) Restart the JBoss AS and test your application.
Make sure
Can you check your login-config.xml under /server/default/conf folder? You
application might be referring to the default login configuration used by the
security domain that doesnt have any application-policy mentioned.
*
You need to tell the SAR that it depends on JAR File by editing its
jboss-service.xml file.
Take a look at the following example for your reference.
< mbean code="xxx" name="yyy" >
< depends >jboss:j2ee:service=EJB,jndiName=jName< /depends >
< mbean >
you should replace the jnName in the abov
You need to tell the SAR that it depends on JAR File by editing its
jboss-service.xml file.
Take a look at the following example for your reference.
jboss:j2ee:service=EJB,jndiName=jName
you should replace the jnName in the above example with the jndiName on which
your SAR is depended. If
Make sure that you have log4j.xml file under your /server//conf
folder.
can be a) all b) default or c) minimal which is according to your
configuration.
Regards.
Lokesh.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894152#3894152
Reply to the post :
please change /server/all/deploy in my previous post to /server/all/lib.
Regards.
Lokesh.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894151#3894151
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894151
Remove xerces jar file from /server/all/deploy folder. Xerces already exists
under /lib/endorsed folder. as xercesImpl.jar and loaded by Server
Loader. Trying to load two jars with the same classes will cause class cast
exceptions.
Remove the xerces jar from /server/all/deploy folder and try
It can be found under /lib folder. Where is the root
directory of your JBOSS Installation.
Regards.
Lokesh.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894149#3894149
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&
The tmp directory is the location to which the deployments are copied for local
use. All files (including subfolders) in this directory will be deleted on
every start up of the JBoss AS.
If you find that your JSP file doesnt have the correct timestamp matching then
it might not have been compi
Hello,
I want to implement JBoss Transactional Cache in distributed clustered
environment. I want to know that if i implement distributed cache will there
be any performance/transactional issues due to cache replication?
For example, I have two nodes 'A' and 'B' which are using distributed cac
17 matches
Mail list logo