[JBoss-user] [Clustering/JBoss] - Re: HA-JNDI in Cluster on 1 PC

2006-05-09 Thread mroosendaal
I did that and it worked until i tested the failover. It seems that my Spring 
Bean does not know how to reconnect on the failover node:
2006-05-09 14:51:18,512 WARN  [org.jboss.mq.Connection] Connection failure, use 
javax.jms.Connection.setExceptionListener() to handle this error and reconnect
org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: 
(java.net.SocketException: Connection reset)
at 
org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)
at org.jboss.mq.Connection.asynchFailure(Connection.java:437)
at 
org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:156)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:413)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:345)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at 
org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:67)
at 
java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133)
at 
java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2313)
at 
java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2380)
at 
java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2452)
at 
java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2601)
at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:290)
... 1 more

I made my own implementation using HASingletonSupport so the JMSSender only 
works on the masternode but this is a workaround for now.

Thanks for the input

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942189#3942189

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942189


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: HA-JNDI in Cluster on 1 PC

2006-05-09 Thread mroosendaal
One question. Can i also edit the jndi.properties for each JBoss server in a 
cluster instead of configuring my client application. It runs within the 
cluster so it shouldn't be aware of any HA-JNDI configuration.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942096#3942096

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942096


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JNDI lookup is null?

2006-05-08 Thread mroosendaal
either try without java:/
or use port 1100.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942077#3942077

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942077


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: [JNDI] NameNotFoundException: Database not bound

2006-05-08 Thread mroosendaal
try:
localhost:1100 which is the JNDI port

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942076#3942076

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942076


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: HA-JNDI in Cluster on 1 PC

2006-05-08 Thread mroosendaal
Yep, that did it, i had to add some more Springplumming but it works fine now.
Thanks for the input.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941867#3941867

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941867


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: HA-JNDI in Cluster on 1 PC

2006-05-08 Thread mroosendaal
It almost works but the following line:
javax.naming.provider.url=node1:1100,node2:1200 
is a bit unclear on a multihomed machine. What do i need to fill in for node1 
and node2? The name i gave the nodes? That doesn't work. Any suggestions?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941810#3941810

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941810


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: HA-JNDI in Cluster on 1 PC

2006-05-08 Thread mroosendaal
Dead end again. The env-props work for a different bean with the same name. I'm 
posting on the Spring forum as well.

Nevertheless, i hope that the cluster documentation in the admin guide will be 
more extensive,  especially for different environments and JMS.

Thanks,
Maarten

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941786#3941786

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941786


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: HA-JNDI in Cluster on 1 PC

2006-05-07 Thread mroosendaal
Hi,

I'm using SpringJMS for the plumming:











1





ConnectionFactory



I just read that you can add environment properties to the template so i'll add 
the 2 nodes. But this is just a testenvironment, in real life we have 2 
different machines, each hosting a node and running HA-JNDI on port 1100. My 
problem with adding env-props is that before i deploy my application in a real 
environment, i have to change these settings. My app is not a remote client but 
an app running in the cluster.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941780#3941780

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941780


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: HA-JNDI in Cluster on 1 PC

2006-05-07 Thread mroosendaal
Unfortunalty it does not work without the 'java:/' prefix. I get
javax.naming.NameNotFoundException: ConnectionFactory not bound.

On a multihomed PC you have to change the HA-JNDI port by changing the 
jboss-service.xml in the conf directory and the cluster-service.xml in the 
deploy directory. So how can i look up the JMS ConnectionFactory on Node2 when 
Node1 is the masternode and contains the JMS service. 

>From the admin guide: 
The HA-JMS client must obtain JMS connection factories from the HA-JNDI (the 
default port is 1100).

What am i missing?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941772#3941772

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941772


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - HA-JNDI in Cluster on 1 PC

2006-05-03 Thread mroosendaal
Hi,

I was wondering if HA-JNDI works in a Cluster when it's configured for 1 
machine 
(http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine).

HA-JNDI ports have to be different for each configuration and when you have a 
JMSClient on node 2 when the JMS Service is run on the masternode (node1) then 
the JMSClient cannot find the JNDI name java:/ConnectionFactory.

The Client is in this case a Spring bean. Any idea (besides replacing Spring).

Thanks,
Maarten

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941163#3941163

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941163


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Can't shutdown node when: handleJoin failed, retrying

2006-04-12 Thread mroosendaal
Hi,

Since this morning i seem to have a problem when starting one server with 
cluster configuration:
09:50:57,082 WARN  [ClientGmsImpl] handleJoin(src-r-ts04:4475) failed, retrying

In the logging i can see this:
2006-04-12 09:52:47,131 DEBUG [org.jgroups.protocols.PING] waiting for initial 
members: time_to_wait=2000, got 0 rsps
2006-04-12 09:52:47,146 DEBUG [org.jgroups.protocols.PING] received 
FIND_INITAL_MBRS_RSP, rsp=[own_addr=SRC-V-AS57:1289, coord_addr=src-r-ts04:4422]
2006-04-12 09:52:47,146 DEBUG [org.jgroups.protocols.PING] waiting for initial 
members: time_to_wait=1985, got 1 rsps
2006-04-12 09:52:49,131 DEBUG [org.jgroups.protocols.PING] initial mbrs are 
[[own_addr=SRC-V-AS57:1289, coord_addr=src-r-ts04:4422]]
2006-04-12 09:52:54,131 WARN  [org.jgroups.protocols.pbcast.ClientGmsImpl] 
handleJoin(src-r-ts04:4475) failed, retrying.

There is no other node listening:
09:50:45,019 INFO  [DefaultPartition] Fetching state (will wait for 3 
milliseconds):
09:50:45,035 INFO  [DefaultPartition] I am ([ip]:1199) received 
membershipChanged event:
09:50:45,035 INFO  [DefaultPartition] Dead members: 0 ([])
09:50:45,035 INFO  [DefaultPartition] New Members : 0 ([])
09:50:45,035 INFO  [DefaultPartition] All Members : 1 ([10.20.178.123:1199])
09:50:45,081 INFO  [HANamingService] Started ha-jndi bootstrap jnpPort=1200, 
backlog=50, bindAddress=/0.0.0.0

Why do i still get this message?

Another problem is that i can't shutdown the node, it keeps repeating the 
message regarding the handleJoin? I use windowsXP so i use CTRL-C to quit.

JBoss version: 4.0.2

Thanks,
Maarten

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936806#3936806

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936806


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Farm-deployed MDB does not see queue on second node

2006-04-05 Thread mroosendaal
Hi,

I've create a simple MDB which listens to a queue defined in queue-service.xml. 
When i start up the first node you can see the queue being create and the MDB 
being deployed. When is start the second node i get a:
org.jboss.deployment.DeploymentException: Error during queue setup; - nested 
throwable: (javax.jms.InvalidDestinationException: The destination 
QUEUE.lo3_queue does not exist !)

When i start the second node when the first one is down then it works fine as 
well. 
Some information:
I work with jboss-4.0.2 on a Windows (Terminal) machine and trying to create 2 
nodes on 1 machine. On startup they see eachtother.
  | I changed the settings in the conf/jboss-service to ports-01 on node1 and 
ports-02 on node2.
  | I then changed a setting in the deploy/jms/hajndi-jms-ds.xml to 
java.naming.provider.url=localhost:1200 and 
java.naming.provider.url=localhost:1300 on the second node.
  | I changed the setting for HAJNDI to  1200 in the depoy/cluster-service.xml 
on both nodes (port 1300 on the second node)
  | I also set the loopback to true on bots deploy/cluster-service.xml
  | I copied the all folder and renamed them and changed settings as indicated 
above
  | 
  | What also happens when i change settings is that i get the following 
Exception:
  | 14:06:30,120 ERROR [FarmMemberService] Initialization failed 
jboss:partition=DefaultPartition,service=FarmMember
  | org.jboss.system.MissingAttributeException: Missing attribute 'Deployer'
  | 
  | What am i missing? It has to do something with the setting/configuration.
  | 
  | Thanks,
  | Maarten

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935072#3935072

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935072


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: HA-JMS problem in cluster

2006-04-04 Thread mroosendaal
[bean id="jmsConnectionFactory" 
class="org.springframework.jndi.JndiObjectFactoryBean"]
[property name="jndiName"]
[value>java:/ConnectionFactory
[/property]
[/bean]

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934738#3934738

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934738


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - HA-JMS problem in cluster

2006-04-04 Thread mroosendaal
Hi,

I have an app that gets deployed through the farm folder and on deployment 
everything works fine. But when i start up the second node and the deployment 
gets pulled i get a problem.

In my app there is a Spring bean with the folliowing configuration:


java:/ConnectionFactory


If i start each node seperalty things work fine but in a clustered  environment 
i get:
javax.naming.NameNotFoundException: ConnectionFactory not bound 
on the second node when it comes in to action.

I deployed a x-service.xml in the deploy-hasingleton\jms that defines my 
queues. I saw that there was a bug concering HA-JNDI, is this a related issue. 
I use jboss-4.0.2.

For the cluster-test i used the sample-bindings.xml using ports-default and 
ports-01. I also changed the port number in hajndi-jms-ds.xml on the seconde 
node to compy with the sample-bindings.xml ports-02 configuration.

What am i doing wrong?

Thanks,
Maarten

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934736#3934736

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934736


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: HA-JMS problem in cluster

2006-04-04 Thread mroosendaal
Sorry bean config somehow got scrambled.


java:/ConnectionFactory



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934737#3934737

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934737


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: 'class path resource cannot be found'-problem

2006-04-04 Thread mroosendaal
Yes, in both my .sar and my .jar (ejb) Manifest file, no luck.

Maybe it has something to do with Spring and the way to look for a file. I 
configures the LocalSessionBeanFactory with the following:


spg-hbm.jar



i've tried adding 'file:' and 'classpath:' but no luck.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934677#3934677

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934677


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - 'class path resource cannot be found'-problem

2006-04-03 Thread mroosendaal
Hi,

I have a simple EAR file with an application.xml which refers to a .sar and to 
a .jar (ejb) file in the EAR. I also have a lib-dir which contains all the 3rd 
party libs. I also have a jar which contains the Hibernate-mappings (i tried to 
add this to the application.xml but no luck) but on deployment is see:
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'sessionFactory' defined in class path resource [config/applica
tionContext-ejb.xml]: Initialization of bean failed; nested exception is 
java.io.FileNotFoundException: class path resource [spg-hbm.jar] cannot be re
solved to absolute file path because it does not reside in the file system: 
jar:file:/C:/jboss-4.0.2/server/spg_maarten/tmp/deploy/tmp23624spg.ear!/sp
g-hbm.jar
java.io.FileNotFoundException: class path resource [spg-hbm.jar] cannot be 
resolved to absolute file path because it does not reside in the file syste
m: 
jar:file:/C:/jboss-4.0.2/server/spg_maarten/tmp/deploy/tmp23624spg.ear!/spg-hbm.jar
at 
org.springframework.util.ResourceUtils.getFile(ResourceUtils.java:172)
at 
org.springframework.core.io.ClassPathResource.getFile(ClassPathResource.java:192)
at 
org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:636)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1003
)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:348)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)

But when i look in the ear file in the tmp directory the needed jar is right 
there. I tried placing the hbm files in the ear directly, in different jars, in 
the server/node>/lib-directory but the only things that seems to work is to 
create a folder in the deploy directory with a .deployer or .sar extenstion, 
add a META-INF folder with an empty jboss-service.xml and the spg-hbm.jar. Only 
then can it be found

Does anyone have any ideas or suggestions?

Thanks,
Maarten

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934582#3934582

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934582


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - JMS message in cluster when failover occurs

2006-03-28 Thread mroosendaal
Hi,

I have a few questions regarding Messaging on JBoss in relation to clustering 
and MDB's:

* What happens when a JMSSender puts a message on the queue and that node fails 
before an MDB on any node in the cluster got the mesage from a queue?

* Regarding clustering and MDB's you can configurare ReceiversImpl 
(org.jboss.mq.server.ReceiversImplArrayList) But what does this exactly do? 
Where is this list managed and what happens when the server goes down? Do other 
node(s) know whay to do?

Hope someone has a efw answers.

Thanks,
Maarten

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933267#3933267

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933267


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - zip or jar when deploying on cluster?

2006-02-09 Thread mroosendaal
Hi,

On one of the wiki pages there is a howto for deploying on a clustered 
environment. It tells about zipping an EAR file instead of jarring it.

Is this still necessary and why? There isn't much difference between them 
(except for the meta-file). And if so, when i use a WAR in an EAR do i have to 
zip both the WAR and the EAR or just the EAR?

Thanks,
Maarten

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922509#3922509

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922509


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: hot-redeployment fails because of CacheException: null

2006-01-17 Thread mroosendaal
The problem is because The Configurator-class from EhCache can't find the 
resource:
url = getClass().getResource(FAILSAFE_CLASSPATH_CONFIGURATION_FILE);
so it looks for a file, which is also wrong because we added a ehcache.xml at 
the top of our jar file and there is no complaining the first time. 

http://ehcache.sourceforge.net/clover/net/sf/ehcache/config/Configurator.html

Why can't it find the resources the second time?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917849#3917849

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917849


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: hot-redeployment fails because of CacheException: null

2006-01-17 Thread mroosendaal
Some more info:

I changed a setting in the tomcat jboss-service.xml: true

this is when it goes wrong. But i need this for our ejb.jar to use the same 
ClassLoader.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917823#3917823

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917823


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: hot-redeployment fails because of CacheException: null

2006-01-16 Thread mroosendaal
Some more info: when i disable second-level for hibernate it works fine but 
this is not what i want.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917637#3917637

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917637


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: How to configure error page for JBoss/Tomcat?

2006-01-16 Thread mroosendaal
You should be able to do this in your web.xml: 
http://e-docs.bea.com/wls/docs61/webapp/web_xml.html

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917593#3917593

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917593


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: How do you turn off clustering?

2006-01-16 Thread mroosendaal
Use the default configuration or maybe you can change settings in the 
tc5-cluster-service.xml file in the deploy directory. MAybe change IP-adresses 
so they won't overlap.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917590#3917590

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917590


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - hot-redeployment fails because of CacheException: null

2006-01-16 Thread mroosendaal
Hi,

I have an ear-application which contains 1 war and 1 ejb -file and, serveral 
jar-files in the lib-directory. As a configuration i also turned off the 
tomcat-classloader for war-file to be able to use 1 shared Spring-context and 
it works. When i first deploy the application it works fine, when i redeploy 
the application it get the following error:


building session factory
2006-01-16 11:13:12,326 DEBUG [org.hibernate.impl.SessionFactoryImpl] Session 
factory constructed with filter configurations : {}
2006-01-16 11:13:12,326 DEBUG [org.hibernate.impl.SessionFactoryImpl] 
instantiating session factory with properties: {java.vendor=Sun Microsystems 
Inc., catalina.base=C:\jboss-4.0.2\server\spg_node1, catalina.useNaming=false, 
os.name=Windows 2003, 
sun.boot.class.path=C:\jboss-4.0.2\bin\\..\lib\endorsed\resolver.jar;C:\jboss-4.0.2\bin\\..\lib\endorsed\xalan.jar;C:\jboss-4.0.2\bin\\..\lib\endorsed\xercesImpl.jar;C:\jboss-4.0.2\bin\\..\lib\endorsed\xml-apis.jar;C:\j2sdk1.4.2_08\jre\lib\rt.jar;C:\j2sdk1.4.2_08\jre\lib\i18n.jar;C:\j2sdk1.4.2_08\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_08\jre\lib\jsse.jar;C:\j2sdk1.4.2_08\jre\lib\jce.jar;C:\j2sdk1.4.2_08\jre\lib\charsets.jar;C:\j2sdk1.4.2_08\jre\classes,
 sun.java2d.fontpath=, java.vm.specification.vendor=Sun Microsystems Inc., 
java.runtime.version=1.4.2_08-b03, 
hibernate.cache.provider_class=org.hibernate.cache.EhCacheProvider, 
user.name=mroosendaal, 
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar,
 jboss.bind.address=0.0.0.0, tomcat.util.buf.StringCache.byte.enabled=true, 
jboss.home.dir=C:\jboss-4.0.2, user.language=nl, 
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, 
sun.boot.library.path=C:\j2sdk1.4.2_08\jre\bin, 
jboss.home.url=file:/C:/jboss-4.0.2/, jacorb.config.log.verbosity=0, 
java.version=1.4.2_08, user.timezone=Europe/Berlin, 
jboss.server.home.dir=C:\jboss-4.0.2\server\spg_node1, sun.arch.data.model=32, 
javax.rmi.CORBA.UtilClass=org.jboss.iiop.SunJDK14IsLocalBugFix, 
java.endorsed.dirs=C:\jboss-4.0.2\bin\\..\lib\endorsed, 
jboss.server.home.url=file:/C:/jboss-4.0.2/server/spg_node1/, 
sun.cpu.isalist=pentium i486 i386, file.encoding.pkg=sun.io, 
package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.,
 file.separator=\, java.specification.name=Java Platform API Specification, 
hibernate.cglib.use_reflection_optimizer=true, java.class.version=48.0, 
jboss.server.config.url=file:/C:/jboss-4.0.2/server/spg_node1/conf/, 
user.country=NL, java.home=C:\j2sdk1.4.2_08\jre, java.vm.info=mixed mode, 
jboss.lib.url=file:/C:/jboss-4.0.2/lib/, os.version=5.2, 
org.omg.CORBA.ORBSingletonClass=org.jboss.system.ORBSingleton, 
path.separator=;, java.vm.version=1.4.2_08-b03, 
java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, 
hibernate.sql=false, user.variant=, 
java.protocol.handler.pkgs=org.jboss.net.protocol, 
java.awt.printerjob=sun.awt.windows.WPrinterJob, 
sun.io.unicode.encoding=UnicodeLittle, awt.toolkit=sun.awt.windows.WToolkit, 
package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,
 jboss.server.temp.dir=C:\jboss-4.0.2\server\spg_node1\tmp, 
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, 
user.home=C:\Documents and Settings\mroosendaal, 
java.rmi.server.RMIClassLoaderSpi=org.jboss.system.JBossRMIClassLoader, 
java.specification.vendor=Sun Microsystems Inc., 
java.library.path=C:\j2sdk1.4.2_08\bin;.;C:\WINDOWS\system32;C:\Documents and 
Settings\mroosendaal\WINDOWS;C:\j2sdk1.4.2_08\bin;C:\j2sdk1.4.2_08\jre\bin;C:\oracle\ora92\bin;C:\Program
 Files\Rational\common;C:\Program Files\Rational\ClearCase\bin;C:\Program 
Files\Windows Resource Kits\Tools\;C:\Program Files\Support 
Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program 
Files\HP OpenView\Installed 
Packages\{790c06b4-844e-11d2-972b-080009ef8c2a}\bin;C:\Program Files\HP 
OpenView\Installed 
Packages\{790c06b4-844e-11d2-972b-080009ef8c2a}\bin\OpC;C:\UnxUtils;C:\apache-ant-1.6.5\bin;C:\apache-ant-1.6.5\bin,
 java.vendor.url=http://java.sun.com/, program.name=run.bat, java.vm.vendor=Sun 
Microsystems Inc., hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect, 
common.loader=${catalina.home}/common/classes,${catalina.home}/common/i18n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar,
 java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, 
java.class.path=C:\j2sdk1.4.2_08\lib\tools.jar;C:\jboss-4.0.2\bin\\run.jar, 
jbossmx.loader.repository.class=org.jboss.mx.loading.UnifiedLoaderRepository3, 
java.vm.specification.name=Java Virtual Machine Specification, 
java.vm.specification.version=1.0, 
catalina.home=C:\jboss-4.0.2\server\spg_node1, sun.cpu.endian=little, 
sun.os.patch.level=, 
jboss.server.lib.url=file:/C:/jboss-4.0.2/server/spg_node1/lib

[JBoss-user] [Messaging, JMS & JBossMQ] - poolsize, createCount and removeCount of MDB remain 0

2006-01-11 Thread mroosendaal
Hi,

I have an MDB which uses the Standard Message Driven Bean as the container with 
these settings:
 
  
  
15

What i want is to have 10 MDB in the pool after starting up the server. That's 
what i expect when i look at the proxy-binding for an MDB:
1
15

But when i start putting messages on the queue you can see the MDB getting the 
message. I also printed out a message in the ejbCreate() and you can see MDB 
being creaetd. The problem is that the JMX beans for my MDB and the JMX pool 
bean do not seem to update the statistics like CurrentSize 
(org.jboss.ejb.plugins.MessageDrivenInstancePool), CreateCount and 
RemoveCount(MessageDrivenContainer). However, i see the messageCount being 
updated.

Is this a bug or am i missing some configuration. Here 's mu ejb-jar.xml



XMDB
nl.XMDB
Bean
Auto-acknowledge


javax.jms.Queue

NonDurable




here's my jboss.xml



XMDB
Standard Message Driven 
Bean

queue/x_queue




My JBoss version is 4.0.2

Thanks,
Maarten


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916905#3916905

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916905


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Cannot load class from another deployed ear

2005-12-15 Thread mroosendaal
Same problem and solution here. I found the same setting yesterday and it 
worked. I have a ServiceLocator which holds a reference to the SpringAppContext 
and it works fine now.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912825#3912825

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912825


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: linkageError with duplicate jar files

2005-12-14 Thread mroosendaal
Is your WAR part of you EAR?

if so just make a lib under the EAR and put the jars there
update the MANIFEST-file for your WAR-file: 
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.4.2_08-b03 (Sun Microsystems Inc.)
Class-Path: ./lib/a.jar ./lib/b.jar ./lib/etc...

If you want i can post the ANT-target i used.

If not then they reside in different Classloaders and it shouldn;t be a 
problem. Linkage errors usually have to do with Classloader scoping.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912619#3912619

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912619


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Cannot load class from another deployed ear

2005-12-14 Thread mroosendaal
have you tried the ClassLoadingConfiguration instructions from the wiki-site?

Perhaps you can define a common loader-repository for both ears in their 
respective jboss-app.xml's

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912600#3912600

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912600


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - use of singelton-class (ServiceLocator) from Different modul

2005-12-14 Thread mroosendaal
Hi,

We have an application which is packaged as an EAR and includes 1 WAR, 1 
EJB.jar, META-INF with application.xml and jboss-app.xml and a lib directory 
with all the shared jars.

One jar contains the core of our application and includes a ServiceLocator 
through which we can get references to other resources (Spring, JMS).

The ServiceLocator is first called by the webapp and works fine. We also use 
JMS and one class from out core.jar sends a Message to JMS. On the other end 
there is an MDB listening which also uses the ServiceLocator to get resources. 
The problem is that when the MDb uses the SL it gets instantiated where we 
actually want the one already instantiated by the webapp.

This seems to be a Classloader-issue and i tried to follow the instructions 
stated by the ClassLoadingConfiguration (wiki). Non of it worked. I also tried 
setting the ear-deployer :true but this has a counteractive effect.

What do i need to do, (if at all possible) to get both (and later more) modules 
to use a shared ServiceLocator instantiated by either the ejb.jar or the 
web.war? (The ejbCreate() does not seem to get called when deploying an MDB on 
JBoss).

Hope someone can help because this is very time consuming.

Thanks,
Maarten

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912599#3912599

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912599


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Disbale persistent queue

2005-12-14 Thread mroosendaal
I tried to follow the:
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQNullPersistence
 instructions but maybe i took it to litteral. But everytime i tried to do just 
a part of the instruction, JBoss threw an exception.

But you were right, Spring provides a boolean value for it's jmsTemplate.

Thanks,
Maarten

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912549#3912549

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912549


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Disbale persistent queue

2005-12-13 Thread mroosendaal
Hi,

I'm trying to disable persistent queueing and found the link which describes 
how to use the NullPersistenceManager. But this was not adequate enough because 
it uses the FilestateManager which requires the jboss-mq-state.xml for security 
which i don't want.

all i want is to disable perstistent queueing for our Queue. I've put : true in 
our queue_service.xml but i don;t think that's enough.

Isn't there a simple false
somewhere. I don;t want to configure too much in JBoss but mostly within our 
own x_service.xml.

Any ideas?

Thank,
Maarten

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912266#3912266

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912266


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Classloader isolation with overriding does not work

2005-12-06 Thread mroosendaal
Hi,

We have an application which uses Spring to expose a POJO as an MBean and that 
works fine. One method starts a new Thread in which a process is started were 
every now and than it looks in de Database using Hibernate. On the find method 
we get:
 at antlr.CharScanner.makeToken(CharScanner.java:175)
 at org.hibernate.hql.ast.HqlLexer.makeToken(HqlLexer.java:33)
 at org.hibernate.hql.antlr.HqlBaseLexer.mIDENT(HqlBaseLexer.java:632)


This indicates that we have a Classloader problem. Our application works in a 
standalone environment and this problem only occurs when we use the MBean.

I've tried isolation with overriding:

 
  dot.com:loader=spg.war
 java2ParentDelegaton=false



It seems as if the call from the MBean uses a different Classloader when using 
antlr classes. The thing is that in a standalone env. (or when using the 
webapp) we do not provide the antlr.jar and there seems no need for it.

So 3 questions:
1. Why does the isolation not work?
2. Why do we need the antlr.jar
2. What is the main difference when starting a process from an MBean and 
starting the same process from our webapp or standalond env. in terms of 
Classloading.

Hope someone can help.

Thank,
Maarten


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911071#3911071

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911071


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Generate code with AXIS and ANT problem

2005-11-28 Thread mroosendaal
Hi,

I have an ANT task:







 




In the axis lib i have the jars from:
* C:\jboss-4.0.2\server\default\deploy\jboss-ws4ee.sar folder
* and the jboss-jaxrpc.jar from the default\lib folder.
I also have the axis-ant.jar for the ant tasks wsdl2java.

When i run the target i get the following message:
taskdef A class needed by class org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask 
cannot be found: org/apache/axis/utils/DefaultAuthenticator. It's not in any of 
the jar-files but it is in the axis.jar.

When i use that one i get a java.lang.NoClassDefFoundError: 
org/apache/axis/wsdl/toJava/FactoryProperty message

Which jar files do i need to use to make this happen? It seems that the JBoss 
jars are not sufficient enough and are not compatible with the axis-ant.jar.

Hope someone has an idea.

Thanks,
Maarten




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909357#3909357

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3909357


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Jboss can't connect after DB has restarted

2005-11-25 Thread mroosendaal
Hi,

During a failover test we saw that JBoss can't handle a restart of the DB 
correctly. We expected that JBoss would have some mechanisme to check to DS 
first and then throw an Exception. So when the DB is restarted after a few 
minutes, JBoss can reconnect to it.

Is there something in JBoss that we can configure or do we need to do something 
with de postgres-ds.xml (check-valid-connection).

Hope someone can help.

Thanks,
Maarten

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909026#3909026

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3909026


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: MBean needs to call SpringContext via ServiceLocator st

2005-11-21 Thread mroosendaal
Some more insight from my site:

I need to access the JVM in which the webapp is deployed and in which the 
SpringContext is loaded.

So i hope someone has any idea how to do this.

Thanks,
Maarten

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908245#3908245

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908245


---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - MBean needs to call SpringContext via ServiceLocator starte

2005-11-21 Thread mroosendaal
Hi,

I have an MBean which is deployed through an EAR file and the EAR file also 
contains a WAR file and JAR-files in de APP-INF/lib.

The deployements works fine and the WAR file starts the Spring 
applicationContext. What i need is to call our ServiceLocator to get the 
applicationcontext. So i need to start the MBean and the Application in the 
samen ClassLoader or something by which i can access the ServiceLocator and get 
the applicationContext to access Spring beans.

How can i do this? Hope someone can help.

Thanks,
Maarten

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908172#3908172

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908172


---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Call method in other JAR-file in a WAR-file

2005-11-16 Thread mroosendaal
Hi,

We have an application in a WAR file which also contains a JAR-file with all 
the business code and the Class that starts the Spring-context.

We want to create an MBean and we need to call a specific method on a Class in 
the jar file that does some processing. So far we've created a small MBean and 
deployed it via an SAR file.

What is the way to go about this? Do we need to create an ear file which 
contains the SAR-file? 

Hope someone has some suggestions.

Thanks,
Maarten

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907362#3907362

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907362


---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - Re: Jboss4.2 vs Postgres

2005-10-13 Thread mroosendaal
Make sure you have change the following in you postgres-ds.xml:

 
 PostgreSQL 7.2
 

Map it to your version, check the standardjaws.xml for the correct syntax

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3900824#3900824

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3900824


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: EJB spec violation when deploying MDB

2005-08-04 Thread mroosendaal
It's working now, some typo which i overlooked but i still have problems:
javax.management.InstanceNotFoundException: jboss.j2ee:jndiName=local/[EMAIL 
PROTECTED],service=EJB is not registered.

And also it does not seem to see the Queue i defined in the jboss-jar.xml which 
is present in JBoss.

Can i specify the JNDI name of an EJB or should JBoss take the ejb-name element?

Thanks,
Maarten

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888476#3888476

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888476


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - EJB spec violation when deploying MDB

2005-08-04 Thread mroosendaal
Hi,

I've created a simple MDB which i'm trying to deploy but i get the following 
error:
15:52:27,460 WARN  [verifier] EJB spec violation:
Bean   : TestMDB
Section: 22.2
Warning: The Bean Provider must specify the fully-qualified name of the Java 
class that implements the enterprise bean's business
methods in the  element.
Info   : Class not found on 'nl.ictu.jms.TestMDB': No ClassLoaders found for: 
nl.ictu.jms.TestMDB

15:52:27,475 ERROR [MainDeployer] could not create deployment: 
file:/C:/jboss-4.0.2/server/spg_node1/deploy/mdb.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Here's my ejb-jar.xml:



TestMDB
nl.ictu.jms.TestMDB
Container
AUTO_ACKNOWLEDGE


javax.jms.Queue





and my jboss-ejb.xml



TestMDB
Standard Message Driven 
Bean

queue/MaartenTestQueue

jms/QCF
ConnectionFactory





Nothing spectaculair but i have no idea where this comes from. The jar is 
simple with a META-INF directory and the class in the package.

Any ideas

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888442#3888442

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888442


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - referencing jar-file for WAR-file in EAR-file problem

2005-07-26 Thread mroosendaal
Hi, 

I have a problem when deploying my ear on JBoss. My ear is structured as 
follows: 

ear 
  --META-INF 
--application.xml 
-- 
  --APP-INF 
--lib 
  --jsf 
  --spring 
  --hibernate 
  --myapp.jar 
  --mywebapp.war 
--WEB-INF 
  --web.xml 
  --faces-config.xml 
  --classes 
  --my.jsp 

When i deploy the ear on JBoss (4.0.2) the war file can't find any 
of the JSF classes (ClassNotFoundExceptions) from the APP-INF lib folder i 
configured in my web.xml. When i put them in a lib in the WEB-INF folder there 
is no problem. I know it should work because we did the same thing on the last 
project, but i'm not sure what i'm doing wrong. Does this have to do with the 
JBoss EAR-Classloader? How can i make my war-file find the jar-files in the 
APP-INF folder in the ear-file? 

Thanks, 
Maarten 
 
 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886731#3886731

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886731


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - WAR-file in EAR-file can't find libraries

2005-07-26 Thread mroosendaal
Hi,

I have a problem when deploying my ear on JBoss. My ear is structured as 
follows:

ear
--META-INF
--application.xml
--
--APP-INF
--lib
--jsf
--spring
--hibernate
--myapp.jar
--mywebapp.war
--WEB-INF
--web.xml
--faces-config.xml
--classes
--my.jsp

When i deploy the ear on JBoss (4.0.2) the war file can't find any
of the JSF classes (ClassNotFoundExceptions) i configured in my web.xml. When i 
put them in a lib in the WEB-INF folder there is no
problem. I know it should work because we did the same thing on the
last project, but i'm not sure what i'm doing wrong. Does this have to do with 
the JBoss EAR-Classloader? How can i make my war-file find the jar-files in the 
APP-INF folder in the ear-file?

Thanks,
Maarten

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886607#3886607

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886607


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - PortletException --> Connection refused'with RssPortlet

2005-06-23 Thread mroosendaal
Hi,

I'm trying to get the RssPortlet to work but i get a PortletException --> 
ConnectionException --> connection refused:
javax.portlet.PortletException: java.net.ConnectException: Connection refused: 
connect
at com.plumtree.portlet.portlets.RssPortlet.doView(RssPortlet.java:458)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:154)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:394)
at 
org.jboss.portal.portlet.invocation.DispatcherInterceptor.invokeRequest(DispatcherInterceptor.java:163)
at 
org.jboss.portal.portlet.invocation.DispatcherInterceptor.invoke(DispatcherInterceptor.java:195)
at 
org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
at 
org.jboss.portal.portlet.invocation.PreferencesInterceptor.invoke(PreferencesInterceptor.java:93)
at 
org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
at 
org.jboss.portal.server.invocation.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:49)

I see the link to the RssPortlet on the homepage, i've remove the preferecenes 
from the portlet.xml but nothing seems to work. Has anyone tried and succeeded?

Maarten

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882475#3882475

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882475


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] UNSUBSCRIBE

2001-06-25 Thread mroosendaal



Dear SourceForge,
 
Please unsubscribe me from the JBoss 
mailing-list.
 
Thank you,
M. Roosendaal


[JBoss-user] JBoss and TDK (Catalina)

2001-06-20 Thread mroosendaal



Hi,
 
Is there anyone in this list that has tried (and 
succeeded) in getting JBoss to work with Turbine Developement Kit and Catalina? 
For the past two days i've been getting an error: protocol unknown:jndi. I can 
create and find the Home Object and the connection to the db works but when 
i to something like:
Enumeration enum = 
home.findByName(naam);   System.out.println("got 
enum");   while(enum.hasMoreElements())   {Product 
prod = (Product) 
enum.nextElement();System.out.println(prod);description 
= prod.getDescription();
}
i get the error (MalformedURLException protocol 
unknwon: jndi. From a standalone-class everything works but a call through TDK 
it doesn't.
 
Anyone familair with the problem or has a solution? 
I Already followed the JBoss howto on Jakarta.
 
Thanks,
Maarten


Re: [JBoss-user] manual

2001-06-12 Thread mroosendaal

The documentation isn't that bad, but at some points it could be a bit more
specific. The problem is that most things are under development or thinsg
haven't been tested and you have to try out several things yourselve. This
open source idea is not just for the code but also for the documentation so
i suggest that anyone with an idea on how to upgrade a specific document
should contact the writer and discuss it. (an idea would be to include a
complete .jcml-file, or a deployment descriptor as an example)

Maarten
- Original Message -
From: "Scott M Stark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 12, 2001 9:09 AM
Subject: Re: [JBoss-user] manual


> So I see three options here.
> 1. Take the 10k your saving and write 10k worth of docs.
> 2. Send 10k to JBoss and we'll write 10k worth of docs.
> 3. Read the ultimate docs(the source) and save 10k less the hours it takes
you.
>
> - Original Message -
> From: "Ivan Bolcina" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, June 11, 2001 11:03 PM
> Subject: RE: [JBoss-user] manual
>
>
> > I TOTALLY AGREE. BAD DOCUMENTATION MIGHT BE DEATH OF JBOSS. PLEASE DO
> > EXAMPLES.
> > WHY PEOPLE PAY 10K FOR COMMERCIAL EJB SERVERS? BECAUSE OF DOCUMENTATION!
> > IT'S EASY!
> >
> >
> >
> > -Original Message-
> > From: Boris Garbuzov [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, June 12, 2001 6:57 AM
> > To: [EMAIL PROTECTED]
> > Subject: [JBoss-user] manual
> >
> >
> > Hello to all JBoss gurus and peers. The user manual is not very smooth
and I
> > can not find complete example description on deployment of full
> > J2EE application with web client part. I do not see such samples shipped
> > with the product too. Any other JBoss-Tomcat specific resources for
> > novice are appreciated. Boris.
> >
> >
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] howto for a webapp.

2001-06-11 Thread mroosendaal



Hi
 
I'm trying to create a small webapp which uses an 
EJB and MySQL, but i'm not really sure on how the directory structure should 
look (where to put the servlet). Is there a way to create an .ear file at once 
or do you have to do this in stages. This is the dir-structure i've got 
now:
root
    
-com.company.package.ejb
    -META-INF
        - 
ejb-jar.xml
        - jboss.xml 
(opt)
        - jaws.xml 
(opt)
    - WEB-INF
        - 
web.xml
        - 
jboss-web.xml
        - 
jsp's
 
I assume that the WEB-INF is better not done in 
this way because it integrates the two parts too much, and you want them to be 
as flexible as possible.
 
Thanks,
Maarten


[JBoss-user] MySQL and CMB in JBoss

2001-06-08 Thread mroosendaal



Hi,
 
This question has probably been asked more often. 
In the jboss.jcml i have declared a MySQL pool to access a db called Test with 
two tables called Person and Work. If i want to write an CMB how do i tell the 
EJB to use this pool? Do you put it in the ejb-jar.xml or in the jboss.xml (if 
possible could you provide a small example)?
 
If you want to create a small-webapp with a JSP, 
Servlet, Client, EJB and DB i assume you have to package them all in an 
.ear-file (Or can you seperate them) but is there a directory structure for this 
(WEB-INF)? How do the web.xml and the jboss-web.xml fit in to this?
 
Thanks,
Maarten


[JBoss-user] port 4444, error restarting jboss

2001-06-07 Thread mroosendaal



Hi,
 
when i deploy the petstore for the first time 
everything goes well, but when i restart Jboss i get the following:
[Container factory] No resource manager found for 
mail/MailSession[Container factory] java.rmi.ServerException: Could not bind 
either home or invoker; nested exception is:[Container 
factory] java.rmi.server.ExportException: Port already 
in use: ; nested exception is:[Container 
factory] java.net.BindException: Address in use: 
JVM_Bind[Container factory] java.rmi.server.ExportException: Port already in 
use: ;nested exception is:
 
How can this be?
 
Maarten


Re: [JBoss-user] error while getting OrderDAOMySQL

2001-06-07 Thread mroosendaal



Sorry, i was wrong. I installed cloudscape tables 
on MySQL and when you enter the store you get errors. The issue is that in the 
PolulateServlet the following code does not seem to work:
 if (databaseName.equals("DBMS:cloudscape")) 
{   return 
installCloudscapeTables(response, dbConnection, 
verbose);   } else  if 
(databaseName.equals("Oracle")) 
{   return 
installOracleTables(response, dbConnection, 
verbose);   }  else  if 
(databaseName.equals("SQL Server")) 
{   return 
installSybaseTables(response, dbConnection, verbose);    
}  else  if (databaseName.equals("MySQL")) 
{   return 
installMySQLTables(response, dbConnection, 
verbose);   } else 
{   PrintWriter 
out = 
response.getWriter();  
out.println("");  
out.println("");  
out.println("Error: Unknown Database: " + 
databaseName);  
out.println("");
The databaseName = MySQL but the code always goed 
to the else-statement. MySQL.equals("MySQL") should be true, what am i not 
seeing?
 
Maarten

  - Original Message - 
  From: 
  mroosendaal 
  To: [EMAIL PROTECTED] 
  
  Sent: Thursday, June 07, 2001 9:16 
  AM
  Subject: [JBoss-user] error while getting 
  OrderDAOMySQL
  
  Hi,
   
  I'm trying to install JBoss with MySQL. The 
  connection is working fine and all the tables are being generated when running 
  Jboss. When i click on the link enter the store i get the following 
  error:
  com.sun.j2ee.blueprints.petstore.control.exceptions.GeneralFailureException: CatalogDAOFactory.getDAO:  Exception while getting DAO type : 
com.sun.j2ee.blueprints.shoppingcart.catalog.dao.CatalogDAOMySQL
	at com.sun.j2ee.blueprints.petstore.control.web.CatalogWebImpl.(CatalogWebImpl.java:36)
	at com.sun.j2ee.blueprints.petstore.control.web.ModelManager.getCatalogModel(ModelManager.java:84)
	at com.sun.j2ee.blueprints.petstore.control.web.ModelManager.init(ModelManager.java:61)
	at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doGet(MainServlet.java:83)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
	at org.apache.tomcat.core.Handler.service(Handler.java:286)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Unknown Source)

  With cloudscape i don't have this problem (but i 
  do have some other problems). I have a CatalogDAOMySQL but i don;t know 
  if  and where i have to register this. I changed the jboss.xml for the 
  shopping cart to address this file but no luck. Any suggestions?
   
  Thanks,
  Maarten


[JBoss-user] error while getting OrderDAOMySQL

2001-06-06 Thread mroosendaal



Hi,
 
I'm trying to install JBoss with MySQL. The 
connection is working fine and all the tables are being generated when running 
Jboss. When i click on the link enter the store i get the following 
error:
com.sun.j2ee.blueprints.petstore.control.exceptions.GeneralFailureException: CatalogDAOFactory.getDAO:  Exception while getting DAO type : 
com.sun.j2ee.blueprints.shoppingcart.catalog.dao.CatalogDAOMySQL
	at com.sun.j2ee.blueprints.petstore.control.web.CatalogWebImpl.(CatalogWebImpl.java:36)
	at com.sun.j2ee.blueprints.petstore.control.web.ModelManager.getCatalogModel(ModelManager.java:84)
	at com.sun.j2ee.blueprints.petstore.control.web.ModelManager.init(ModelManager.java:61)
	at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doGet(MainServlet.java:83)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
	at org.apache.tomcat.core.Handler.service(Handler.java:286)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Unknown Source)

With cloudscape i don't have this problem (but i do 
have some other problems). I have a CatalogDAOMySQL but i don;t know if  
and where i have to register this. I changed the jboss.xml for the shopping cart 
to address this file but no luck. Any suggestions?
 
Thanks,
Maarten


Re: [JBoss-user] jdbc jndi question

2001-06-05 Thread mroosendaal



Thanks, i'll try to work things out. But can i use 
the Cloudscape part from the 1.1.1-patch, jcml-file?

  - Original Message - 
  From: 
  K.V. Vinay 
  Menon 
  To: [EMAIL PROTECTED] 
  
  Sent: Tuesday, June 05, 2001 12:43 
  PM
  Subject: Re: [JBoss-user] jdbc jndi 
  question
  
  in order to use a datasource specified in the 
  jboss.jcml in the embedded tomcat you will need to add a resoruce reference in 
  a jboss-web.xml file for the web application. The  datasource will then 
  be accessible under java:comp/env.
   
  Vinay
  
- Original Message - 
From: 
mroosendaal 
To: [EMAIL PROTECTED] 

Sent: Tuesday, June 05, 2001 10:53 
AM
Subject: [JBoss-user] jdbc jndi 
question

Hi,
 
I'm working on a small application which uses 
MySQL as the database. In my entitybean i have a class getConnection which 
is used for the database connection. If i want to use jndi do i have to 
insert the connection in jboss.jcml as wel in Tomcat's server.xml? Do i have 
to insert the connection in de deployment decriptor?IF so can someone send 
me the tags to use for the driver and url?
 
Should i use jndi in the EJB getConnection() 
method?
 
Thanks,
Maarten


Re: [JBoss-user] jdbc jndi question

2001-06-05 Thread mroosendaal



Thanks, is that the jboss.xml or the jboss-web.xml 
(can't find it anywhere). Do you have an example so i can get a grip of the 
syntax.
 
Maarten

  - Original Message - 
  From: 
  K.V. Vinay 
  Menon 
  To: [EMAIL PROTECTED] 
  
  Sent: Tuesday, June 05, 2001 12:43 
  PM
  Subject: Re: [JBoss-user] jdbc jndi 
  question
  
  in order to use a datasource specified in the 
  jboss.jcml in the embedded tomcat you will need to add a resoruce reference in 
  a jboss-web.xml file for the web application. The  datasource will then 
  be accessible under java:comp/env.
   
  Vinay
  
- Original Message - 
From: 
mroosendaal 
To: [EMAIL PROTECTED] 

Sent: Tuesday, June 05, 2001 10:53 
AM
Subject: [JBoss-user] jdbc jndi 
question

Hi,
 
I'm working on a small application which uses 
MySQL as the database. In my entitybean i have a class getConnection which 
is used for the database connection. If i want to use jndi do i have to 
insert the connection in jboss.jcml as wel in Tomcat's server.xml? Do i have 
to insert the connection in de deployment decriptor?IF so can someone send 
me the tags to use for the driver and url?
 
Should i use jndi in the EJB getConnection() 
method?
 
Thanks,
Maarten


[JBoss-user] jdbc jndi question

2001-06-05 Thread mroosendaal



Hi,
 
I'm working on a small application which uses MySQL 
as the database. In my entitybean i have a class getConnection which is used for 
the database connection. If i want to use jndi do i have to insert the 
connection in jboss.jcml as wel in Tomcat's server.xml? Do i have to insert the 
connection in de deployment decriptor?IF so can someone send me the tags to use 
for the driver and url?
 
Should i use jndi in the EJB getConnection() 
method?
 
Thanks,
Maarten


Re: [JBoss-user] hello everybody!

2001-06-05 Thread mroosendaal

put the cocoon.jar in the Tomcat lib or the Jboss lib/ext or try updating
the classpath.
- Original Message -
From: "Tony Shao - ThatWeb" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2001 9:58 AM
Subject: [JBoss-user] hello everybody!


> A question:
>I have configured cocoon + tomcat  ok
>  and  jboss + tomcat is ok
>  but   jboss + cocoon is wrong ,   the error is :
>
>   not found the  util.xsl , I think
don't find the cocoon.jar
>
> what can I do ?
> $2k.f??$2k.X6K:7~
zw[iyb2[,"j\y?i^7yb2[??-
wh~6h2K,


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] jboss config. problem

2001-06-04 Thread mroosendaal



Hi,
 
I got the petstore 1.1.2 running on j2sdkee1.3 
within 30 minutes (Cloudscape) but still no luck with Jboss. I tried changing 
port-number for cloudscape, the jboss jndi port. I made use of the 
petstore-patch and copied the cloudbase part of the jcml-file. I tried running 
cloudscape from it's root-dir, from Jboss, from j2sdkee1.3 but nothing seems to 
be working. I think the problem lies either in Tomcat's server.xml or the 
jboss.jcml but i can't figure out what it is. All i keep getting is the page 
whee it says that the database is closed.
 
Suggestions?
 
Thanks,
Maarten


[JBoss-user] deploying petstore.ear

2001-05-30 Thread mroosendaal



Hi,
 
When i rebuild the petstore 1.1.2 and deploy it in 
Jboss i get the following:
*
[Container factory] 
Deploying:file:/C:/jboss/tmp/deploy/Default/petstore.ear[Verifier] 
Verifying 
file:/C:/jboss/tmp/deploy/Default/petstore.ear/ejb1001.jar[Container 
factory] Deploying TheProfileMgr[Verifier] Verifying 
file:/C:/jboss/tmp/deploy/Default/petstore.ear/ejb1003.jar[Container 
factory] Deploying TheSignOn[Verifier] Verifying 
file:/C:/jboss/tmp/deploy/Default/petstore.ear/ejb1004.jar[Container 
factory] Deploying TheInventory[Verifier] Verifying 
file:/C:/jboss/tmp/deploy/Default/petstore.ear/ejb1005.jar[Container 
factory] Deploying TheMailer[Verifier] Verifying 
file:/C:/jboss/tmp/deploy/Default/petstore.ear/ejb1006.jar[Container 
factory] Deploying TheCart[Container factory] Deploying 
TheCatalog[Verifier] Verifying 
file:/C:/jboss/tmp/deploy/Default/petstore.ear/ejb1007.jar[Container 
factory] Deploying TheAccount[Container factory] Deploying 
TheOrder[Container factory] Deploying TheCustomer[Verifier] Verifying 
file:/C:/jboss/tmp/deploy/Default/petstore.ear/ejb1008.jar

When i deployed the standerd .ear file from the 
petstore root-dir. i get the following:
*
 
[Auto deploy] Add env-entry 
server/ServerType  java.lang.String Java 2 Enterprie Edition Reference 
Implementation no description[Container factory] 
Deploying:file:/C:/jboss/tmp/deploy/Default/petstore.ear[Verifier] Verifying 
file:/C:/jboss/tmp/deploy/Default/petstore.ear/ejb1001.jar[Container 
factory] Deploying TheAccount[Container factory] Deploying 
TheOrder[Container factory] Deploying TheCustomer[Verifier] Verifying 
file:/C:/jboss/tmp/deploy/Default/petstore.ear/ejb1002.jar[Container 
factory] Deploying TheMailer[Verifier] Verifying 
file:/C:/jboss/tmp/deploy/Default/petstore.ear/ejb1004.jar[Container 
factory] Deploying TheShoppingClientController[Verifier] Verifying 
file:/C:/jboss/tmp/deploy/Default/petstore.ear/ejb1005.jar[Container 
factory] Deploying TheSignOn[Verifier] Verifying 
file:/C:/jboss/tmp/deploy/Default/petstore.ear/ejb1006.jar[Container 
factory] Deploying TheProfileMgr[Verifier] Verifying 
file:/C:/jboss/tmp/deploy/Default/petstore.ear/ejb1007.jar[Container 
factory] Deploying TheInventory[Verifier] Verifying 
file:/C:/jboss/tmp/deploy/Default/petstore.ear/ejb1008.jar[Container 
factory] Deploying TheCatalog[Container factory] Deploying 
TheCart

In the last case when i click on the ' Enter the 
store' i get a page with db-connection closed etc.( offcourse, because i use 
MySQL). But in the first case i get an error 404. With the difference in the 
deployment-trace there must be an error in the build.xml or 
something.
Did anyone experience this as well and is there a 
solution or a patch?
 
Maarten


[JBoss-user] embedded Tomcat problem?

2001-05-30 Thread mroosendaal



Hi,
 
Yesterday i had no trouble with it, but i started 
from scratch again. I followed the instructions to install jboss, embed Tomcat, 
change DB, etc.. (Still getting errors while rebuilding and deploying) when i go 
to http://localhost:8080/estore/index.html 
i get the correct page but when i click on the link to enter the store (and 
create and populate the tables) i get an error 404 page not found. I know 
petstore can't find a file but i did the same things yesterday and at least i 
got a page with a message. Is there something i forgot in the jboss.jcml or conf 
or int he server.xml (Tomcat). Jboss is succesfully running with embedded 
Tomcat. Hope someone has a pointer.
 
Thanks,
Maarten


Re: [JBoss-user] dtd error or deployment error?II

2001-05-29 Thread mroosendaal

Sorry, the file web.xml (J2EE) is looking for is
http://java.sun.com/dtd/web-app_2_3.dtd
And i can locate and see it so there shouldn't be a problem.
- Original Message -
From: "Nicolai P Guba" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 29, 2001 12:18 PM
Subject: Re: [JBoss-user] dtd error or deployment error?


> >>>>> "m" == mroosendaal  <[EMAIL PROTECTED]> writes:
>
> m> Hi,
>
> 'ello
>
> m> When i deploy the petstore in Jboss i get the following error:
>
> m> [J2EE Deployer Default] Starting module petstore.war [Auto deploy]
> m> XmlMapper: Can't find resource for entity: -//Sun Microsystems, In
> m> c.//DTD Web Application 2.3//EN -->
> m> http://java.sun.com/dtd/web-app_2_3.dtd "nul l" 2001-05-29 11:38:06
> m> - ContextManager: Adding context Ctx( /estore ) [Auto deploy] ERROR
> m> reading C:\jboss\tmp\deploy\Default\petstore.ear\web1002\WEB
> m> -INF\web.xml [Auto deploy] At External parameter entity "%[dtd];"
> m> has characters after markup .
>
> m> But the error remains. Does anyone know what the problem is?
>
> What DTD's does the web.xml refer to?  Looks like it cannot find the
> web-app DTD (not surprised, especially when you use the PUBLIC id and
> are not connected to the net.  I suggest you install them on the box
> and use the SYSTEM id instead) and that there appears to be an error
> with a DTD entity itself.  Haven't got the petstore demo, but I hope
> this gives you some pointers.
>
> Happy Hacking
> --
>   Nicolai P Gubahttp://www.gnu.org
http://www.frontwire.com
> mailgo:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
> GSM: +44 (0)7909 960 751   DDI: +44 (0)20 7368
9708
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] dtd error or deployment error?

2001-05-29 Thread mroosendaal

it refers to
http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd";>
 and i am connected to the Net.

I'll download it and see what happens. I guess you replace PUBLIC with
SYSTEM? Could this also be the cause of the error i get when rebuilding the
petstore (no local string for enterprise.deployment.application.description?

Thanks,
Maarten
- Original Message -
From: "Nicolai P Guba" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 29, 2001 12:18 PM
Subject: Re: [JBoss-user] dtd error or deployment error?


> >>>>> "m" == mroosendaal  <[EMAIL PROTECTED]> writes:
>
> m> Hi,
>
> 'ello
>
> m> When i deploy the petstore in Jboss i get the following error:
>
> m> [J2EE Deployer Default] Starting module petstore.war [Auto deploy]
> m> XmlMapper: Can't find resource for entity: -//Sun Microsystems, In
> m> c.//DTD Web Application 2.3//EN -->
> m> http://java.sun.com/dtd/web-app_2_3.dtd "nul l" 2001-05-29 11:38:06
> m> - ContextManager: Adding context Ctx( /estore ) [Auto deploy] ERROR
> m> reading C:\jboss\tmp\deploy\Default\petstore.ear\web1002\WEB
> m> -INF\web.xml [Auto deploy] At External parameter entity "%[dtd];"
> m> has characters after markup .
>
> m> But the error remains. Does anyone know what the problem is?
>
> What DTD's does the web.xml refer to?  Looks like it cannot find the
> web-app DTD (not surprised, especially when you use the PUBLIC id and
> are not connected to the net.  I suggest you install them on the box
> and use the SYSTEM id instead) and that there appears to be an error
> with a DTD entity itself.  Haven't got the petstore demo, but I hope
> this gives you some pointers.
>
> Happy Hacking
> --
>   Nicolai P Gubahttp://www.gnu.org
http://www.frontwire.com
> mailgo:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
> GSM: +44 (0)7909 960 751   DDI: +44 (0)20 7368
9708
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] dtd error or deployment error?

2001-05-29 Thread mroosendaal



Nope, it has something to do with the deployment 
descriptor (petstore): estore_ejb.xml, the build.xml or something in j2ee (the 
web.xml uses a non-existent dtd). I don't think it has something to do with 
jboss.
 
I'll keep trying it, if you find anything please 
let me know.
 
Thanks,
Maarten- Original Message - 

  From: 
  Simon 
  BATESON 
  To: [EMAIL PROTECTED] 
  
  Sent: Tuesday, May 29, 2001 12:14 
PM
  Subject: R: [JBoss-user] dtd error or 
  deployment error?
  
  did you work out how to 
  solve the "No local 
  string for enterprise.deployment.application.description" error when running 
  petstore's build.bat file?
   
  if so, please 
  tell
   
  simon
   
  
- Original Message - 
    From: 
mroosendaal 
To: [EMAIL PROTECTED] 

Sent: Tuesday, May 29, 2001 11:44 
AM
Subject: [JBoss-user] dtd error or 
deployment error?

Hi,
 
When i deploy the petstore in Jboss i get the 
following error:
[J2EE Deployer Default] Starting module 
petstore.war[Auto deploy] XmlMapper: Can't find resource for entity: 
-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN --> http://java.sun.com/dtd/web-app_2_3.dtd 
"null"2001-05-29 11:38:06 - ContextManager: Adding context Ctx( 
/estore )[Auto deploy] ERROR reading 
C:\jboss\tmp\deploy\Default\petstore.ear\web1002\WEB-INF\web.xml[Auto 
deploy] At External parameter entity "%[dtd];" has characters after 
markup.
 
[Auto deploy] ERROR reading 
C:\jboss\tmp\deploy\Default\petstore.ear\web1002\WEB-INF\web.xml[Auto 
deploy] org.xml.sax.SAXParseException: External parameter entity 
"%[dtd];" has characters after markup.[Auto deploy]   
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3035)
**
I also found out that the dtd-file pointed to 
in the j2sdkee1.3/conf/web.xml is wrong:
http://java.sun.com/j2ee/dtds/web-app_2_3.dtd
I changed it to:
http://java.sun.com/dtd/web-app_2_3.dtd]
But the error remains. Does anyone know what 
the problem is?
 
Maarten


[JBoss-user] dtd error or deployment error?

2001-05-29 Thread mroosendaal



Hi,
 
When i deploy the petstore in Jboss i get the 
following error:
[J2EE Deployer Default] Starting module 
petstore.war[Auto deploy] XmlMapper: Can't find resource for entity: -//Sun 
Microsystems, Inc.//DTD Web Application 2.3//EN --> http://java.sun.com/dtd/web-app_2_3.dtd 
"null"2001-05-29 11:38:06 - ContextManager: Adding context Ctx( /estore 
)[Auto deploy] ERROR reading 
C:\jboss\tmp\deploy\Default\petstore.ear\web1002\WEB-INF\web.xml[Auto 
deploy] At External parameter entity "%[dtd];" has characters after 
markup.
 
[Auto deploy] ERROR reading 
C:\jboss\tmp\deploy\Default\petstore.ear\web1002\WEB-INF\web.xml[Auto 
deploy] org.xml.sax.SAXParseException: External parameter entity 
"%[dtd];" has characters after markup.[Auto deploy]   at 
org.apache.crimson.parser.Parser2.fatal(Parser2.java:3035)
**
I also found out that the dtd-file pointed to in 
the j2sdkee1.3/conf/web.xml is wrong:
http://java.sun.com/j2ee/dtds/web-app_2_3.dtd
I changed it to:
http://java.sun.com/dtd/web-app_2_3.dtd]
But the error remains. Does anyone know what the 
problem is?
 
Maarten


[JBoss-user] petstore 1.1.2 build.xml problem?

2001-05-28 Thread mroosendaal



Hi,
 
I've posed questions related to this subject before 
but i still have the problem. When i rebuild the petstore 1.1.2 i get the 
following error:
[error] No local string for 
enterprise.deployment.application.description
I think it has something to do with the build.xml 
or the estore_ejb.xml.
 
I'm trying to configure petstore to use MySQL on 
NT, but the documentation from jboss and the petstore is sometimes confusing and 
not specific enough. Can anyone help me?
 
Thanks,
Maarten


Re: [JBoss-user] Petstore 1.1.1

2001-05-28 Thread mroosendaal

http://www.jboss.org/documentation/petstore-1.1.1-01.html
- Original Message - 
From: "Stefan de Hoog" <[EMAIL PROTECTED]>
To: "JBOSS group" <[EMAIL PROTECTED]>
Sent: Monday, May 28, 2001 2:43 PM
Subject: [JBoss-user] Petstore 1.1.1


> Hello everybody,
> 
> I am trying to deploy the petstore 1.1.2 example of Sun on Jboss 2.2.1.
> Due to problems I am looking for the petstore 1.1.1 version. Can someone
> tell me where I can find this version?
> 
> Many thanks!
> 
> Greetz!
> 
> STefan...
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] RI bug 4434156?

2001-05-28 Thread mroosendaal



Hi,
 
does anyone already have a workaround for RI bug 
4434156? This is what is probably causing the error i'm getting 
now.
 
Maarten


Re: R: [JBoss-user] petstore mail/MailSession & db connection errors

2001-05-28 Thread mroosendaal

No solutions but a question. I am trying to use MySQL with the petstore
1.1.2. Which files did you adapt to make things work? When i try to rebuild
the petstore i get an error (assemble application)

Thanks,
Maarten
- Original Message -
From: "Marcel Schepers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 28, 2001 12:15 PM
Subject: Re: R: [JBoss-user] petstore mail/MailSession & db connection
errors


> Hello,
>
> I have a question regarding an error I get. In a JSP page I use a
> regular Java bean. Some properties are set and at the end I call the
> bean's create() methode to actually create a new EJB Entity bean.
> Creating the EJB fails: I get the error attached to the end of this
> message. Now the funny part is that the database contains the new EJB
> data. The question I would like to ask you: where to look for the
solution?
>
> The code I use in my regular Java access bean:
>
>public void createEJB(){
>if (DEBUG) {
>System.out.println("FormAccessBean.create() --- entry");
>} // end of if (DEBUG)
>
>try{
>String jndiName = "stam/Form";
>Broker broker = Broker.getInstance();
>FormHome formHome = (FormHome)
>broker.getHome(jndiName, FormHome.class);
>
>Form form = formHome.create(this.voorletters, this.tussenvoegsel,
>this.naam, this.adres, this.postcode,
>this.woonplaats, this.telefoonDag,
>this.telefoonAvond, this.geboortedatum,
>this.geslacht, this.email, this.groep,
>this.vrijeInvoer);
>
>if (DEBUG) {
>System.out.println("Form: " + form);
>} // end of if (DEBUG)
> }
> 
> }
>
>
> I have a feeling that my mySQL transaction management is not
> configured properly. These are my mySQL settings in jboss.jcml
>
>   
>name="DefaultDomain:service=JdbcProvider">
>
>
name="Drivers">org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver,org.
gjt.mm.mysql.Driver
>
>
>   
>name="DefaultDomain:service=XADataSource,name=mySQLPool">
>mySQLPool
>
name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
l
>
>jdbc:mysql://x.x.nl/stam
>120
>x
>10
>x
>false
>false
>false
>true
>12
>180
>false
>false
>1.0
>0
>   
>
> And finally, I've attached the start of the error log messages.
>
>
> [EmbeddedTomcat] FormAccessBean.create() --- entry
> [Form] TRANSACTION ROLLBACK EXCEPTION:ejbCreate: null; nested exception
is:
>javax.ejb.EJBException: ejbCreate: null
> [Form] javax.ejb.EJBException: ejbCreate: null
> [Form] at
nl.inpact.stam.ejb.form.FormBean.ejbCreate(FormBean.java:168)
> [Form] at java.lang.reflect.Method.invoke(Native Method)
> [Form] at
>
org.jboss.ejb.plugins.BMPPersistenceManager.createEntity(BMPPersistenceManag
er.java:121)
> [Form] at
> org.jboss.ejb.EntityContainer.createHome(EntityContainer.java:441)
> [Form] at java.lang.reflect.Method.invoke(Native Method)
> [Form] at
>
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContaine
r.java:639)
> [Form] at
>
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySync
hronizationInterceptor.java:160)
> [Form] at
>
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInt
erceptor.java:87)
> [Form] at
>
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:135)
> [Form] at
>
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:263)
> [Form] at
>
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:86)
> [Form] at
>
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.jav
a:164)
> [Form] at
> org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:106)
> [Form] at
> org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:316)
> [Form] at
>
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPContai
nerInvoker.java:436)
> [Form] at
> org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:212)
> [Form] at $Proxy9.create(Unknown Source)
> [Form] at
> nl.inpact.stam.ejb.form.FormAccessBean.createEJB(FormAccessBean.java:128)
> [Form] at
>
_0002fformhandle_0002ejspformhandle_jsp_29._jspService(_0002fformhandle_0002
ejspformhandle_jsp_29.java:432)
>
> Thank you,
>
> Marcel
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] flushing the XA connection pool

2001-05-25 Thread mroosendaal



Is there someway to flush the connection pool, 
because i now get javax.naming.NameAlreadyBoundException. I changed the Pool 
name from the jboss.jcml a few times but i only want to use one for the petstore 
app.
 
Thanks,
Maarten


[JBoss-user] failed db connection (MySQL)

2001-05-25 Thread mroosendaal



Hi,
 
I've embedded Tomcat with JBoss and i'm using MySQL 
for DB-server. I've created a db called petstore, changed the 
jboss.jcml:
   
org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl   
petstore 
jdbc:mysql://127.0.0.1:3306/petstore   
mroosendaal   
mroosendaal  

and the tomcat server.xml:
  
className="org.apache.tomcat.request.JDBCRealm"  debug="99"  
driverName="org.gjt.mm.mysql.Driver"  
connectionURL="jdbc:mysql://127.0.0.1:3306/petstore"  
userTable="users"  userNameCol="user_name"  
userCredCol="user_pass"  userRoleTable="user_roles"  
roleNameCol="role_name"  connectionName="mroosendaal"  
connectionPassword="mroosendaal" />    
    
className="org.jboss.tomcat.security.JbossRealm" />
 
When i click on the link to install the db i get 
the message that the DB is closed for conenction. But i have MySQL Server 
running and the db is there. What am i doing wrong?
 
Maarten


Re: [JBoss-user] Cant run the JBoss example client

2001-05-23 Thread mroosendaal

You mean the interestClient example. I assume creating the jar-file,
deploying etc.. all worked fine and you have Jboss running?
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 23, 2001 2:11 PM
Subject: [JBoss-user] Cant run the JBoss example client


Hi,

I'm new to JBoss & EJB. When I tried to run the sample code given in
JBoss.org
I got the following ServiceUnavailableException.

Can somebody help me in this regard ?

Thanks in Advance,
-Swam


D:\My Working Folder\XYZ\Beans\interest>java InterestClient
Got context
javax.naming.ServiceUnavailableException: Connection refused: no further
information [Root exception is java.net.ConnectException: Connection
refused:
no further information]



Get your free email at www.friendlyemail.com


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] build.xml error for petstore 1.1.2?

2001-05-23 Thread mroosendaal



Hi,
 
Building the petstore 1.1.2 causes some 
errors:
[error] No local string for 
enterprise.deployment.application.description
 
Does this have to do with an error in the build.xml 
or bat? Deploying it also caused problems and maybe it has somethig to do with 
this one? Did anyone come across the same problem?
 
Maarten


[JBoss-user] error building petstore 1.1.2

2001-05-22 Thread mroosendaal



I've managed to update Jboss to communicate with 
MySQL. The problem is that when i build the petstore i get the following 
error
*
  ../build/petstore.ear[error] No local 
string for enterprise.deployment.application.description[exec] Setting EJB 
version to EJB1.X...[exec] Setting EJB version to EJB1.X...[exec] 
Setting EJB version to EJB1.X...[exec] Setting EJB version to 
EJB1.X...[exec] Setting EJB version to EJB1.X...[exec] Setting EJB 
version to EJB1.X...[exec] Setting EJB version to EJB1.X...[exec] 
Creation of application in ../build/petstore.ear is completeExecuting 
Target: runtime[error][error] No local string for 
enterprise.deployment.application.description[exec] Set runtime 
done[error][error] No local string for 
enterprise.deployment.application.description[exec] Set runtime 
doneExecuting Target: coreCompleted in 99 seconds
 
C:\PETSTORE\SRC\PETSTORE\SRC>ocal string for 
enterprise.dThe name specified is not recognized as aninternal or 
external command, operable program or batch file.
**
The installation description on the JBoss site 
concerning the deployment is not very clear especially on point 8, 9, 10 which 
means putting the .ear file in the deploy folder of JBoss produces:
***
[J2EE Deployer Default] Module petstore.ear is not 
running[J2EE Deployer Default] Unable to stop module petstore.war: 
DefaultDomain:service=EmbeddedTomcat[J2EE Deployer Default] unable to 
stop application petstore.ear: org.jboss.deployment.J2eeDeploymentException: 
Error(s) on stopping application petstore.ear:Unable to stop module 
petstore.war: fatal error while calling :service=EmbeddedTomcat: 
DefaultDomain:service=EmbeddedTomcat/n[J2EE Deployer Default] Destroying 
application petstore.ear[Auto deploy] Deployment 
failed:file:/C:/Jboss/deploy/petstore.ear[Auto deploy] 
org.jboss.deployment.J2eeDeploymentException: application contains war 
files but no web container available
*
 
Hope somoeone has an idea,
Maarten
 


[JBoss-user] petstore 1.1.2

2001-05-22 Thread mroosendaal



Has anyone installed and deployed the new petstore 
1.1.2, when i ran the build.bat from petstore i got loads (60) of 
errors.
 
I have jdk1.3 and jboss is running, it shouldn't be 
more then just executing the build .bat in de petstore/src/petstore/src, shoud 
it?
 
Maarten


Re: [JBoss-user] RE: petstore 1.1.2, do tell! Please!

2001-05-22 Thread mroosendaal

I'm trying to use MySQL so any example would help!

Maarten
- Original Message -
From: "Ganasen Gounden" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, May 22, 2001 9:36 AM
Subject: [JBoss-user] RE: petstore 1.1.2, do tell! Please!


Hello

I have installed Jboss on Windows NT/2000 successfully.
I have also installed the j2ee reference implementation version 1.2.1 with
jdk 1.3.1 with  Petstore 1.1.2  and cloudscape database. All works fine.

I now need to install the Petstore 1.1.2 Application on Jboss. I would
ultimately want the database to be in Oracle but for now cloudscape will do.

Could someone please provide me with a step by step guideline on how to do
this. Also please provide me all the configuration files. This is a fresh
installation so I do not have to worry about overriding anything.

The existing information is confusing or incomplete or refers to the older
version. I am also new to J2ee.

My recommendation is that the Jboss developers have a working version of the
product bundled into the download. It will help me and others save a lot of
problems in trying to get a j2ee sample application running quick and
easily.

Please realise that many of us do these downloads for evaluation and
demonstration to our management. It is very disappointing when we have to
battle in doing this.

I have had a bash at Jboss, Enhydra, In-q-my, Oracle 9ias, Jrun, and now
Orion. They all have similar challenges in getting Pet Store up and running.
I
  do not mean to be a nag but many thanks in advance if you can help.

Regards

Gan Gounden
City of Cape Town
Ph (021) 400-2174
Fax (021) 425-1096
Cell 083-63-59-268
e-mail: [EMAIL PROTECTED]


Gan Gounden
City of Cape Town
Ph (021) 400-2174
Fax (021) 425-1096
Cell 083-63-59-268
e-mail: [EMAIL PROTECTED]


>>> [EMAIL PROTECTED] 05/19/01 03:55AM >>>
Hell yeah!  I've been trying to do this (with Cloudscape) all week.  Please
fill us in on the details! (any and all config files would be great too!)

Thanks!

Jonah

>  I have managed to successfully deploy petstore 1.1.2
>on jboss 2.2.1-tomcat 3.2.1, using Hypersonic as the database.
>If anyone is interested, I'm willing to share what I've done.



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



**
Any unauthorized use and interception of this e-mail is illegal.
If this e-mail is not intended for you, you may not copy,
distribute or disclose the contents to anyone.  This e-mail
does not give rise to any binding legal obligations upon the
City of Cape Town unless the City of Cape Town subsequently
confirms the content in writing non-electronically.  This e-mail
may be confidential, legally privileged or otherwise protected
by law.  Unauthorised disclosure or copying of any or all of it
may be unlawful. If you receive this e-mail in error please notify
the sender and delete the message

**

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user