Looks like a permission problem with your database.
Do you use JMS?
If no you can delete the jboss/server/deploy//jms directory.
otherwise check your DS configuration. Do you change the DefaultDS from
hypersonic to an other?
Wolf
View the original post :
http://www.jboss.com/index.html?module
In a CMP2.x Entity we have a special DateTime Object.
In the jbosscmp-jdbc.xml deploymentdescriptor I add the following Element:
|
| com.orga.jaf.date.Date
| java.sql.Timestamp
| com.orga.jaf.date.DateMapper
When you use BMP you have to create your own connection like :
| public class MyEntity implements EntityBean {
| private Connection getConnection() {
| Context ctx=new InitialContext();
| DataSource ds=(DataSource)ctx.lookup("java:/myEntityConnection");
| return(ds.getConne
What kind of Exception?
During deploy or when you use it?
In which EJB do you use the DB-Connection? Session or Entity?
Wolf
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955232#3955232
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=postin
I can't see a mistake.
Do you pack the EAR/JAR correct (not missing the jboss config)
How do you create the descriptor? xdoclet?
Wolf
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953384#3953384
Reply to the post :
http://www.jboss.com/index.html?module=bb&
How do you set the InitialContext ?
| Hashtable environment=new Hashtable();
|
environment.put(InitialContext.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
|
environment.put(InitialContext.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");
| // Autodiscovery v
Hi,
I have a problem with the pessimistic locking in a JBoss-cluster, a CMP-Entity
is not locked if it runs on a different node.
Here the szenario:
one SessionBean control the Entity (SessionFascade), do an Entity.setXX()
something other stuff.
run the same SessionBean call at 3clients (2 activ
Hi,
have a short look in the docs/examples/jca there is a oracle-ds.xml. The XA
document is for a twophase commit connection, the other for a normal.
Then change the Databasename in JBOSS/server/default/conf/standardjboss-cmp.xml
from DefaultDS to your DS Name in the oracle...-ds.xml.
Or over
No, this ports are not in use.
If I start without bindings 1100 and 1101 are used.
If I start with bindings 11100 and 11101 should be used, but they dont.
If I edit the cluster-service.xml directly everything works fine
Wolf
View the original post :
http://www.jboss.com/index.html?module=bb&op=v
the other kind of mapping also dosn't work.
My config sample is from the original sample-bindings.xml of 4.0.4CR2.
In other Topics they discus similar problems, but it was solved in a earlier
version?!
Wolf
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=394411
Sorry,
using JBoss 4.0.4CR2
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943808#3943808
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943808
---
Using Tomcat but
Hello,
we change the ports of JBoss to run multiple instances on one system by copying
the samples-bindings.xml and change it.
Every ports are changed (controlled with jmx-console) except HAJNDI
Port/RmiPort.
Here is the code from ...-bindings.xml
|
|
|
|
|
Sorry,
I'm not familiar with the SUN 'Duke Bankaccount' example.
But the result of you deployment for EJB must have an ejb-jar.xml, jboss.xml
and jaws.xml in the META-INF of the EJB.jar file
ejb-jar.xml:
EntityBean
|
| xxxDate
|
jaws.xml:
| EntityBean
|
|
Hi,
looks like an Configuration/Mapping or Programmers fail.
I'm not working with MySQL.
But it seems that the DB has a incompatible datatype.
For more you must post the mapping (if you change) the JBoss version and a pice
of your DeployDesc and code...
View the original post :
http://www.jb
Hi,
the CLASSPATH mean the JBoss starter Classpath that is assembled in the run.sh/bat
script, see output during start.
The effect is the same which Frito describes.
JBoss found an incompatible log4j.jar (can be a different name!!)
View the original post :
http://www.jboss.org/index.html?module
Hi,
what you mean with 'how can I set cron jobs...'?
If you want to start a Job at an appointed time you have two ways to do it:
1) write a Client and start it with cron
2) use EJB Spec. 2.0 and work with javax.ejb.Timer
View the original post :
http://www.jboss.org/index.html?module=bb&op
Hi,
can you start the JBoss when you have the extracted zip-archive without any changes?
If it dosn't work have a look to th CLASSPATH, any other log4j.jar ??
Wolf
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853855#3853855
Reply to the post :
http://www.
Hi,
if you want save, the best way (IMO) is to put all in an EAR-File.
So your application work with the necassary XSLT and JBoss and other applications in
the same JBoss AS runs with different..
Wolf
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852916#3852
Hi Richard,
IMO the O'Reilly Book Enterprise Java Bean from Richard Monson-Haefel ist a good book
to start with.
Maybe http://docs.jboss.org/ejb3/tutorial can help with examples.
I dont't know how good it is for beginners. I have begun with JBoss 2.2.2 and older
EJB's 1.0/1.1 tutorials from JBoss
Hi guyug,
here is my code that works fine in my client
| private void deleteQueueEntry(String jmsMessageID) throws
JMSException,NamingException {
| QueueConnection
qc=de.intermoves.pbseasyzds.admin.Session.getJMSQueueConnection();
| Queue
jmsq=de.intermoves
hi,
I use a Client with the QueueBrowse function to read the DLQ.
And I have no Problems, her a pice of my code (from a swing client):
| try {
| QueueConnection
qc=de.intermoves.pbseasyzds.admin.Session.getJMSQueueConnection();
| Queue
jm
Hi,
I think yes, if you using JBoss 3.2.x in the directory ./server/default/deploy/jms the
file hsqldb-jdbc2-service.xml sets the persistance to a HSQLDB named 'DefaultDS' witch
is configured in ./sever/default/deploy/hsqldb-ds.xml.
If you want to use other persistance some examples are in the .
We are using JBossMQ in catalog management project and during our load tests we have
observed the following behaviour.
On a shutdown of JBoss with JBossMQ a queue message is delivered more than ONCE.
For reproduction we use the following szenario:
One JBoss, no cluster
One sender, many listener
23 matches
Mail list logo