[jboss-user] [JBoss jBPM] - Re: MySQL backend

2008-06-20 Thread lblaauw
Hey,

Did you just run the suplied ddl script to initialize your MySQL db ? If so 
change all fields defined as bit type to boolean and you should be ok. This is 
exactly the problem we had, been running fine ever after since we changed the 
ddl script.

Greetz
Leo

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159716
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: TaskInstance.setActorId(String) causes set TaskInstance

2008-06-20 Thread lblaauw
Hey,

yeah correct for the suplied jBPM ddl script to work, you have to change all 
the bit definition to boolean. MySQl will indeed change these to tinyint(1) but 
looking at the ddl script boolean is the correct definition to use. After that 
change we had no problems initializing our mySQl db with it, well and added 
semicolons after every line ;-)

Greetz,
Leo

"kukeltje" wrote : What db (and version) are you using? I thought with MySQL 
you could not even load the ddl if you did not change the bit to tinyint(1)... 
maybe with some versions you can. It is at least not a generic problem.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159715
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - jboss aop in a WAR - the most simple scenario

2008-06-20 Thread erezharari
when i want to apply aop in a WAR, where do i place my jboss-aop.xml file? are 
there any other files i need to put?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159714
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Cluster Deployment: farming

2008-06-20 Thread [EMAIL PROTECTED]
I don't understand your question.  Are you saying you try to edit files in the 
default/tmp folder but then find they get overridden from the content in 
default/deploy when you redeploy?  But an exploded archive lets you edit the 
exploded content?

Well, anyway, you can't deploy exploded archives to the farm folder.

And your description of "farming service" doesn't describe any service provided 
by JBoss. There is no feature to replicate uploaded files around a cluster 
(except if you did something like store the file content byte[] as an 
attributed in a clustered web session).


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159711
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Problems with the Visual Page Editor with Tools 2.1.0 GA

2008-06-20 Thread jimball
Note:-

he same problem occurs in the commerical release of Red Hat Developer Studio.

So in jbdevstudio-win32-1.1.0.CR1.jar, the VPE has problems displaying JSP 
pages.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159709
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Cluster Deployment: farming

2008-06-20 Thread sankul123
Can someone through some light on this?

I need to make a decision on whether I should go with archived ear file or 
exploded directory deployment.

Sandeep 

 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159707
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: C++ Clinets for JBOSS Messaging

2008-06-20 Thread jmsid4jboss
Thanks and appreciate your response.
Please do move it.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159703
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: TaskInstance.setActorId(String) causes set TaskInstance

2008-06-20 Thread salaboy21
Excelent answer! 
i will burn this solution into my mind for this type of problems...
Thanks to you!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159701
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Structure of the exported EAR file (missing lib dir)

2008-06-20 Thread [EMAIL PROTECTED]
fyi, I just tested and if I have EarContent/lib/jbpm.jar that file ends up in 
the server deployed in lib/jbpm.jar so we definitly needs to know what you are 
actually doing.

The only way I could see this "bug" happen is if you put the jar in 
EarContent/jbpm.jar and expected us to magically put them into /lib. We don't 
do that ;)


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159699
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Structure of the exported EAR file (missing lib dir)

2008-06-20 Thread [EMAIL PROTECTED]
do you have an example project that can reproduce this? thanks. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159695
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss/Spring Integration] - Re: spring deployer -- NoClassDefFound exception (works on L

2008-06-20 Thread odigokid
Hi,

I am posting the exception for completeness.

Thanks in advance...



INFO   | jvm 1| 2008/06/20 16:23:54 | java.lang.NoClassDefFoundError: 
org/springframework/core/io/support/ResourcePatternResolve
r
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.lang.ClassLoader.defineClass1(Native Method)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.lang.ClassLoader.defineClass(ClassLoader.java:620)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.net.URLClassLoader$1.run(URLClassLoader.java:195)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.security.AccessController.doPrivileged(Native Method)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader
.java:672)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:6
52)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader
.java:190)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.ja
va:517)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:4
05)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.lang.ClassLoader.defineClass1(Native Method)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.lang.ClassLoader.defineClass(ClassLoader.java:620)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.net.URLClassLoader$1.run(URLClassLoader.java:195)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.security.AccessController.doPrivileged(Native Method)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader
.java:672)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:6
52)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader
.java:190)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.ja
va:517)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:4
05)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.lang.ClassLoader.defineClass1(Native Method)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.lang.ClassLoader.defineClass(ClassLoader.java:620)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
INFO   | jvm 1| 2008/06/20 16:23:54 |   at 
java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
INFO   | jvm 1 

[jboss-user] [Remoting] - Re: Remoting and seam app

2008-06-20 Thread [EMAIL PROTECTED]
Ok, I think I see.  

In general, the Remoting transports each expect a particular kind of 
transmission over the network.  For example, on the server side the socket 
transport expects a serialized org.jboss.remoting.InvocationRequest (which 
wraps the object you're transmitting), and on the client side it expects a 
serialized org.jboss.remoting.InvocationResponse (which wraps the result sent 
by the ServerInvocationHandler).  So to use the socket transport you would have 
to be able to serialize and deserialize Java objects in C.  I wouldn't be 
surprised if there are utility programs out there to do that, but I don't have 
any personal knowledge about them.

However, the HTTP transport can send and receive strings, embedded in HTTP 
transmissions.  So, in principle, your C program should be able to use an HTTP 
client to communicate with your ServerInvocationHandler.  

I don't know if anyone has ever tried it.  If you do and get good results, 
please let us know.  In fact, let us know in any case.  Good luck!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159692
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - C++ Clients for JBOSS Messaging

2008-06-20 Thread jmsid4jboss
How can a C++ client send messages to a JMS in JBOSS Server? 
Any help in this regard is appreciated. 


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159691
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - InitialContext in an other JBoss.. how to ???

2008-06-20 Thread samfra
I would like to connect from one JBoss running on server A to an other JBoss 
running on Server B

I have objects in JNDI that I would like to access...

I can do it from a standalone application : I meam I can access to my JBoss 
objects from Server A or B from my computer...

But when I am in JBoss in server A the InitialContext, created with properties 
pointing to server B,  is always local to Jboss server A (and not B) ! 

PS : server A and server B run on the same machine but with different ports of 
cours...

Thank you for your help, summer is finnaly there in Switzerland :-)



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159685
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: Socket keep alive with client EJB and RMI over HTTP

2008-06-20 Thread [EMAIL PROTECTED]
Hmm.  I don't really know what's happening.  On the client side the HTTP 
transport uses a java.net.HttpURLConnection, and on the server side it uses a 
Tomcat Coyote Connector 
(http://tomcat.apache.org/tomcat-4.1-doc/config/coyote.html), so Remoting 
doesn't have a lot of control over the use of connections.  Note that the 
keep-alive mechanism is implementation dependent, so there's no guarantee about 
how long connections will remain open.

One thing you could try is setting the "timeout" parameter in the EJB3 
Connector.  E.g.,


  |
  |   jboss.aop:service=AspectDeployer
  |   socket://${jboss.bind.address}:3873/?timeout=30
  |   
  |  
  | org.jboss.aspects.remoting.AOPRemotingInvocationHandler
  |  
  |   
  |
  | 

This configuration would set the socket timeout, on both the client and server 
side, to 5 minutes.  Just a thought.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159684
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Interesting performance numbers with 2.0 alpha, 1.4 & AMQ 5.

2008-06-20 Thread seattle.golfer
So I'm pretty disenchanted with AMQ (4.1.1 & 5.1.0) at the moment, thanks to a 
number of pretty glaring bugs that we keep running into.

While trying to figure out the best way to proceed, I ran the JBM 2.0 alpha 
performance tests  
(http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-2.0.0.alpha1/html/performance.html)
 against 
*JBM 1.4.0.SP3
*JBM 2.0.0.alpha1
*AMQ 5.1 with the amqPersistenceAdapter
*AMQ 5.1 with the journaledJDBCPersistenceAdapter. 

Since all we use are topics with multiple durable subscriptions, my only change 
to the performance test was to use topics with durable subs instead of queues.

I ran the tests with the options shown below because they most closely mimic 
our application's JMS usage. All of these are on my primary dev machine, a 2.2 
GHz C2 Duo with 4 ghz of ram, 10.5.3, JDK 1.5.0_13. I terminated both AMQ tests 
after a while cause I got tired of waiting on this run.

I was expecting to see JBM 2.0 top the list, but instead JBM 1.4 kicked some 
serious ass! Any developers care to speculate on why 1.4 would be so much 
better in this case?

Just getting this out there cause it has me flummoxed :).

Jboss 1.4   
ant perfSender -Dsess.trans=true -Dsess.trans.size=1 -Ddelivery.mode=PERSISTENT 
average: 1332.09 msg/s (20 messages in 150.14s)
ant perfListener -Dclient.id=one -Ddrain.queue=false  -Dsess.trans=true 
-Dsess.trans.size=1 average: 1332.06 msg/s (20 messages in 150.14s)
ant perfListener -Dclient.id=two -Ddrain.queue=false -Dsess.trans=true 
-Dsess.trans.size=1  average: 1332.10 msg/s (20 messages in 150.14s)

Jboss 2.0 Alpha 
ant perfSender -Dsess.trans=true -Dsess.trans.size=1 -Ddelivery.mode=PERSISTENT 
average: 862.35 msg/s (20 messages in 231.92s)
ant perfListener -Dclient.id=one -Ddrain.queue=false  -Dsess.trans=true 
-Dsess.trans.size=1 average: 850.65 msg/s (20 messages in 235.11s)
ant perfListener -Dclient.id=two -Ddrain.queue=false -Dsess.trans=true 
-Dsess.trans.size=1  average: 851.58 msg/s (20 messages in 234.86s)

AMQ 5.1 stock config with amqPersistenceStore   
ant perfSender -Dsess.trans=true -Dsess.trans.size=1 -Ddelivery.mode=PERSISTENT 
average: 400.74 msg/s (102000 messages in 254.53s)
ant perfListener -Dclient.id=one -Ddrain.queue=false  -Dsess.trans=true 
-Dsess.trans.size=1 average: 400.74 msg/s (102000 messages in 254.53s)
ant perfListener -Dclient.id=two -Ddrain.queue=false -Dsess.trans=true 
-Dsess.trans.size=1  average: 400.74 msg/s (102000 messages in 254.53s)

AMQ 5.1 our config with journaledJDBC   
ant perfSender -Dsess.trans=true -Dsess.trans.size=1 -Ddelivery.mode=PERSISTENT 
average: 13.04 msgs/s (8000 messages in 613.11s)
ant perfListener -Dclient.id=one -Ddrain.queue=false  -Dsess.trans=true 
-Dsess.trans.size=1 average: 13.05 msgs/s (8000 messages in 613.04s)
ant perfListener -Dclient.id=two -Ddrain.queue=false -Dsess.trans=true 
-Dsess.trans.size=1  average: 13.05 msgs/s (8000 messages in 613.05s)

Regards,
Deepak.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159682
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: TaskInstance.setActorId(String) causes set TaskInstance

2008-06-20 Thread kukeltje
What db (and version) are you using? I thought with MySQL you could not even 
load the ddl if you did not change the bit to tinyint(1)... maybe with some 
versions you can. It is at least not a generic problem.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159678
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss/Spring Integration] - Re: spring deployer -- NoClassDefFound exception (works on L

2008-06-20 Thread odigokid
Hi just to add, I did a look up from the jmx-console on the Loader Repository, 
and as expected the class is loaded.  So I don't understand why jboss is 
throwing a noClassDefFound exception.

org/springframework/core/io/support/ResourcePatternResolver Information
Not loaded in repository cache


### Instance0 found in UCL: [EMAIL PROTECTED] url=null ,addedOrder=2}


### Instance1 found in UCL: [EMAIL PROTECTED] 
url=file:/home/jboss/server/default/deploy/jboss-spring.deployer/ ,addedOrder=3}




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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159675
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Running JBoss and Norton Security 2008

2008-06-20 Thread PeterJ
One more thought. Are you running the 'all' configuration? If so, do you really 
need clustering? If not, use the 'default' configuration. Then the UDP issue 
should go away.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159673
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Running JBoss and Norton Security 2008

2008-06-20 Thread PeterJ
Try adding a firewall rule to Norton that lets the java.exe app have full 
access rights on the network.

Obligatory whine: I hate configuring Norton - ZoneAlarm is so much easier.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159671
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Getting Started Documentation] - Re: GOOGLE CASH PROGRAM

2008-06-20 Thread PeterJ
Why did you append your post to this thread???

It would help if you told us what was going on when this error appeared, and if 
you posted the full error log message along with the stack trace (or at least 
the first 20 or so methods of the stack trace).

Also, what version of JBossAS, JDK and operating system.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159670
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Setting up JBoss to run on 127.0.0.1 with JBWeb on 0.0.0

2008-06-20 Thread PeterJ
No, that is not possible. When you specify the bind address (0.0.0.0 or 
something else), all ports for all services are bound to that address.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159669
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: EXCEPTION_ACCESS_VIOLATION [ntdll.dll+0x18fea]

2008-06-20 Thread PeterJ
Given that the crash happened in socket code, you should also ensure that you 
have the latest drivers for your network card.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159668
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss/Spring Integration] - spring deployer -- NoClassDefFound exception (works on Linux

2008-06-20 Thread odigokid
Hi,

I have installed a JBoss application on Solaris 10, the same deployment works 
fine on Linux, AIX.  

I am now getting this NoClassDef Exception when I can clearly see that the 
class is located in the spring-core.jar file that is in the server/default/lib 
folder and is also located in the jboss-spring.deployer package that is in the 
deploy directory.

I can't figure out why I am getting this NoClassDef Exception when deploying on 
Solaris.

I am using JBoss 4.0.4 I am using a spring-deployer version of 1.2 because I 
need to remain compatible with 1.4 JVM.  However in this particular example, 
the JVM's for both Linux and solaris are 1.5.

The error is below


INFO   | jvm 1| 2008/06/20 15:58:12 | --- Incompletely deployed packages ---
INFO   | jvm 1| 2008/06/20 15:58:12 | [EMAIL PROTECTED] { 
url=file:/usr/local/jboss/server/default/deploy/Authentication.spring/ }
INFO   | jvm 1| 2008/06/20 15:58:12 |   deployer: [EMAIL PROTECTED]
INFO   | jvm 1| 2008/06/20 15:58:12 |   status: Deployment FAILED reason: 
org/springframework/core/io/support/ResourcePatternResolver
INFO   | jvm 1| 2008/06/20 15:58:12 |   state: FAILED
INFO   | jvm 1| 2008/06/20 15:58:12 |   watch: 
file:/usr/local/jboss/server/default/deploy/Authentication.spring/
INFO   | jvm 1| 2008/06/20 15:58:12 |   altDD: null
INFO   | jvm 1| 2008/06/20 15:58:12 |   lastDeployed: 1213991864100
INFO   | jvm 1| 2008/06/20 15:58:12 |   lastModified: 1213961722000
INFO   | jvm 1| 2008/06/20 15:58:12 |   mbeans:
INFO   | jvm 1| 2008/06/20 15:58:12 | 
INFO   | jvm 1| 2008/06/20 15:58:12 | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159667
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: TaskInstance.setActorId(String) causes set TaskInstance

2008-06-20 Thread Octomac
I managed to find the problem, so I thought I'd come back here and post it just 
in case this helps anyone else.

The default JBPM database configuration uses the type "BIT" for boolean 
columns.  BIT doesn't map exactly correctly to Java's "true" and "false," or 
even 1 and 0.  As a result, no matter what data I placed into the database, 
JBPM and Hibernate would interpret it as "true."  So, whenever I called, say, 
TaskInstance.setActorId("Name"), the Hibernate query was inserting correct data 
to the database, but that data was being interpreted as a BIT value.

To correct the problem, I manually changed each BIT column to a TINYINT(1) 
type.  This ensured that the data Hibernate was passing into my database was 
interpreted correctly, and as a result, I am now able to handle assignment and 
creation of tasks correctly.

If anyone else experiences the same problem that I did, hopefully this will 
help.  Thanks again to the JBoss Forum members who assisted me in this matter!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159666
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Timer with Jboss and MySql

2008-06-20 Thread finalsayan
Hi,
i am new to EJB 3.0 and jboss
i am trying to create a timer with this code taken from the j2ee documentation


  | /**
  |  * TimerBean is a stateless session bean that creates a timer and prints 
out a
  |  * message when a timeout occurs.
  |  * Created Jan 9, 2006 3:44:08 PM
  |  * @author ian
  |  */
  | @Stateless
  | public class TimerSessionBean implements TimerSession {
  | private static final Logger logger = Logger.getLogger(
  | 
"com.sun.tutorial.javaee.ejb.timersession.TimerSessionBean");
  | @Resource
  | TimerService timerService;
  | 
  | public void setTimer(long intervalDuration) {
  | Timer timer = timerService.createTimer(
  | intervalDuration,
  | "Created new timer");
  | }
  | 
  | @Timeout
  | public void timeout(Timer timer) {
  | System.out.println("Timeout occurred");
  | }
  | }
  | 

I get these errors...can someone help me?

I use the "4.5. EJB Timer Configuration" of the jboss configuraton guide


  | 
  |   
  |   
  | 
  |   
  |   
  | jboss.ejb:service=EJBTimerService,retryPolicy=fixedDelay
  | jboss.ejb:service=EJBTimerService,persistencePolicy=database
  | org.jboss.ejb.txtimer.BigIntegerTimerIdGenerator
  | org.jboss.ejb.txtimer.TimedObjectInvokerImpl
  | 
  |   jboss:service=TransactionManager
  | 
  |   
  | 
  |   
  |   
  | 100
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  | jboss.jca:service=DataSourceBinding,name=MySqlDS
  | 
  | org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin
  | 
  | TIMERS
  |   
  | 



  |  
  |  
  | MySqlDS 
  | jdbc:mysql://localhost:3306/bidone 
  | com.mysql.jdbc.Driver 
  | root 
  | *** 
  |  
  |  
  | 


  | 19:29:27,693 INFO  [EJB3Deployer] Deployed: 
file:/home/finalsayan/Desktop/SE2/3-IMPLEMENTATION/jboss-4.2.2.GA/server/default/tmp/deploy/tmp46825BIDONE.ear-contents/BIDONEEJB.jar
  | 19:29:27,700 INFO  [TomcatDeployer] deploy, ctxPath=/BIDONEWeb, 
warUrl=.../tmp/deploy/tmp46825BIDONE.ear-contents/BIDONEWeb-exp.war/
  | 19:29:27,824 INFO  [EARDeployer] Started J2EE application: 
file:/home/finalsayan/Desktop/SE2/3-IMPLEMENTATION/jboss-4.2.2.GA/server/default/deploy/BIDONE.ear
  | 19:29:27,845 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  | 
  | --- MBeans waiting for other MBeans ---
  | ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
  |   State: FAILED
  |   Reason: java.lang.IllegalStateException: Cannot find datasource meta 
data: jboss.jdbc:datasource=MySqlDS,service=metadata
  |   I Depend On:
  | jboss.jca:service=DataSourceBinding,name=MySqlDS
  | 
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
  |   State: FAILED
  |   Reason: java.lang.IllegalStateException: Cannot find datasource meta 
data: jboss.jdbc:datasource=MySqlDS,service=metadata
  |   I Depend On:
  | jboss.jca:service=DataSourceBinding,name=MySqlDS
  | 
  | 
  | 19:29:27,976 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on 
http-127.0.0.1-8080
  | 19:29:28,105 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on 
ajp-127.0.0.1-8009
  | 19:29:28,128 INFO  [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: 
SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 15s:276ms
  | 


thank you 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159663
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: FailOver and Session Stickness Behaviour

2008-06-20 Thread [EMAIL PROTECTED]
OK, no URL rewriting shoots down one vague theory. :)

I'd be surprised if it were a mod_jk issue.

If you could enable TRACE logging of category 
org.jboss.web.tomcat.tc5..session, run your test, grep that category out of the 
server.log files and post relevant bit here, that might help.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159661
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss Cluster failover not working

2008-06-20 Thread bfach
Tim,

I am having one small issue with failover still.  I am finding with 2 nodes if 
i do the following

Start Node A and B
Start sending messages to A on hajndi port 1100
kill A -> b takes over
start A
kill B -> a takes over
start B
kill A -> B takes over but messages not making it to the queue this time.

Any thoughts?  Sounds like it is linked to my question in the previous post.

Thanks,

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159658
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: HOw to create user so that no one can see others tasks..

2008-06-20 Thread kukeltje
user and group values are switched in the membership!!!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159657
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: FailOver and Session Stickness Behaviour

2008-06-20 Thread eduardo_thp
We don´t have URLRewriting.. 
But yes we have a session cookie... JSESSIONID=**.tomcatX

Do you think this could be some issue with apache/mod_jk 

Thanks

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Could not make local copy for file: root/server/server/j

2008-06-20 Thread kukeltje
this is a JBoss AS issue. please ask in their forum

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159653
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Class Loader Issue using ObjectMessage

2008-06-20 Thread jhd
I've read through several posts that describe the problem I am running into.  
One of those posts indicates this problem was fixed but I still have the same 
problem.

Environment:

Jboss 4.2.2 GA
Jboss Messaging 1.4.0 SP3
Java 1.5.0_06

Problem:

I have two JMS clients, a MDB running inside Jboss AS and a stand-alone Java 
client.  Both clients receive an ObjectMessage.   The MDB implementation works 
as expected.  The Java client fails on ObjectMessage.getObject() with the 
following stack trace:

org.jboss.messaging.util.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:65)\r\n\tat
 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1538)\r\n\tat 
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)\r\n\tat 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)\r\n\tat
 java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)\r\n\tat 
java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)\r\n\tat 
org.jboss.messaging.util.StreamUtils.readObject(StreamUtils.java:154)\r\n\tat 
org.jboss.messaging.core.impl.message.MessageSupport.getPayload(MessageSupport.java:246)\r\n\tat
 
org.jboss.jms.message.JBossObjectMessage.getObject(JBossObjectMessage.java:125)\r\n\tat
 
org.jboss.jms.message.ObjectMessageProxy.getObject(ObjectMessageProxy.java:64)\r\n\tat
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso!
 rImpl.java:39)\r\n\tat 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)\r\n\tat
 java.lang.reflect.Method.invoke(Method.java:585)\r\n\tat 
com.jnbridge.jnbcore.JNBDispatcher.objectVirtualCall(Unknown Source)\r\n\tat 
com.jnbridge.jnbcore.JNBDispatcher.call(Unknown Source)\r\n\tat 
com.jnbridge.jnbcore.server.sharedmem.SharedMemRequestHandler.a(Unknown 
Source)\r\n\tat 
com.jnbridge.jnbcore.server.sharedmem.SharedMemRequestHandler.handleRequest(Unknown
 Source)\r\n"   string

If I change my stand-alone Java client to receive a TextMessage it works fine.

I read through the following posts:

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=101710

http://jira.jboss.org/jira/browse/JBMESSAGING-924

http://jboss.com/index.html?module=bb&op=viewtopic&p=4028694

It would seem this issue was resolved in Jboss Messaging 1.2.0 SP1.  So why am 
I having the same problem?

If I insert the following code inside onMessage() it works but according to the 
posts above I shouldn't have to do this:

java.lang.Class c=java.lang.Class.forName("org.twia.jms.SimpleObjectMessage");
  |  
java.lang.Thread.currentThread().setContextClassLoader(c.getClassLoader()); 

Regards.

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Is this a bug or is it intentional

2008-06-20 Thread kukeltje
look in the jira, I think Alex already has a solution there

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159651
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Cluster Deployment: farming

2008-06-20 Thread sankul123
Need some clear[simple :)] clarifications[please]- 

1.Farming service-
When we say farming service , I believe that I need not worry about keeping the 
application context synch in cluster. 
For ex: we have some feature to upload files. 
So in a cluster with N1,N2,N3 and if file upload request is served by N1 node, 
the uploaded file on N1 is also replicated on nodes N2,N3 .
Please  clarify this if I my understanding is wrong.

2.Farming deployment
If I hot-deploy the application
archive file (the EAR) in the all/farm/ directory of any of the cluster member
and the application is automatically duplicated across all nodes in the same 
cluster. In our application we have features to upload files[these are ETL 
related job files]  to server.

For now I am deploying the application ear in server type default/deploy, what 
I observe is that the ear is exploded every time I start/restart my jboss 
server.I am not able to see the files uploaded files after restart of Jboss as 
ear file gets exploded to new tmp folder? If this is the behaviour then people 
are going to kill me if the ear is exploded every time, lots of configurations 
in properties file will be lost. The solution that was proposed to me for this 
is to deploy application as exploded directory - 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=137796

Now what I see from cluster doc is that farming service is only supported if 
hot deployed as ear archive? Will my files uploaded[through upload file 
feature,which are not part of ear archive] , or any configuration done to my 
properties file be lost on restart of cluster?


Above all I am sorry for this big post ,but could not help as I did not get 
clear clarification from many other JBoss cluster GURU's :).

Sandeep



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159650
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM and Drools

2008-06-20 Thread kukeltje
there is an example in the source

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159649
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: What controls the SOAP version used in JBoss

2008-06-20 Thread yangg
Amit,

I'm having a similar problem. Did you find the answer to how to control the 
SOAP version in JBoss 4.2.2?

Thanks,
Gang

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159648
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - MySQL backend

2008-06-20 Thread RichardC
Hello:

I followed the steps outlined in the following wiki documents for changing the 
backend to use the MySQL database:
http://wiki.jboss.org/wiki/SetUpMysqlAsDefaultDS
http://wiki.jboss.org/wiki/SetUpAMysqlDatasource

I then added some users, groups, and memberships based on the script I stole 
from here:

http://blogs.dfwikilabs.org/pigui/files/2007/11/mysqlidentityscriptjbpm321sql.txt

After restarting the server, I can log into the jbpm-console with a username & 
password added to the MySQL database.  I am also able to add new groups and 
users through the jbpm-console. However, I am no longer able to deploy process 
definitions through the jbpm-console or the gpd.

Looking at the server log, I see the following:


  | 2008-06-20 13:36:03,397 DEBUG [org.hibernate.transaction.JDBCTransaction] 
begin
  | 2008-06-20 13:36:03,397 DEBUG [org.hibernate.jdbc.ConnectionManager] 
opening JDBC connection
  | 2008-06-20 13:36:03,397 DEBUG [org.hibernate.transaction.JDBCTransaction] 
current autocommit status: true
  | 2008-06-20 13:36:03,397 DEBUG [org.hibernate.transaction.JDBCTransaction] 
disabling autocommit
  | 2008-06-20 13:36:03,397 DEBUG 
[org.jbpm.persistence.db.DbPersistenceService] begun hibernate transaction 
[EMAIL PROTECTED]
  | 2008-06-20 13:36:03,397 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to 
open PreparedStatement (open PreparedStatements: 0, globally: 0)
  | 2008-06-20 13:36:03,397 DEBUG [org.hibernate.SQL] select top ? 
processdef0_.ID_ as ID1_4_, processdef0_.NAME_ as NAME3_4_, 
processdef0_.DESCRIPTION_ as DESCRIPT4_4_, processdef0_.VERSION_ as 
VERSION5_4_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN6_4_, 
processdef0_.STARTSTATE_ as STARTSTATE7_4_ from JBPM_PROCESSDEFINITION 
processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc
  | 2008-06-20 13:36:03,397 DEBUG [org.hibernate.loader.hql.QueryLoader] 
bindNamedParameters() prototypeone -> name [2]
  | 2008-06-20 13:36:03,397 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to 
close PreparedStatement (open PreparedStatements: 1, globally: 1)
  | 2008-06-20 13:36:03,397 DEBUG [org.hibernate.util.JDBCExceptionReporter] 
could not execute query [select processdef0_.ID_ as ID1_4_, processdef0_.NAME_ 
as NAME3_4_, processdef0_.DESCRIPTION_ as DESCRIPT4_4_, processdef0_.VERSION_ 
as VERSION5_4_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN6_4_, 
processdef0_.STARTSTATE_ as STARTSTATE7_4_ from JBPM_PROCESSDEFINITION 
processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc]
  | com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an 
error in your SQL syntax; check the manual that corresponds to your MySQL 
server version for the right syntax to use near '1 processdef0_.ID_ as ID1_4_, 
processdef0_.NAME_ as NAME3_4_, processdef0_.DESCR' at line 1
  | 

>From the looks of it, it may be executing an sql statement that is invalid in 
>MySQL as "SELECT TOP ? col1, col2 FROM tablename WHERE col1 = 'value2'" is 
>invalid in MySQL where as the MySQL equivalent should be "SELECT col1, col2 
>FROM tablename WHERE col1 = 'value2' LIMIT ?".

I also notice during startup of the JBoss AS, i see the following log info:

  | 13:58:20,085 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  | 
  | --- MBeans waiting for other MBeans ---
  | ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
  |   State: CONFIGURED
  |   I Depend On:
  | jboss.jca:service=DataSourceBinding,name=DefaultDS
  | 
  | ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
  |   State: CONFIGURED
  |   I Depend On:
  | jboss.mq:service=Invoker
  | jboss.web:service=WebServer
  | 
  | 
  | 
  | ObjectName: jboss.mq:service=PersistenceManager
  |   State: CONFIGURED
  |   I Depend On:
  | jboss.jca:service=DataSourceBinding,name=DefaultDS
  |   Depends On Me:
  | jboss.mq:service=DestinationManager
  | 
  | ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
  |   State: CONFIGURED
  |   I Depend On:
  | jboss.mq:service=Invoker
  | 
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS
  |   State: NOTYETINSTALLED
  |   Depends On Me:
  | jboss.ejb:service=EJBTimerService,persistencePolicy=database
  | jboss:service=KeyGeneratorFactory,type=HiLo
  | jboss.mq:service=StateManager
  | jboss.mq:service=PersistenceManager
  | 

If someone out there could provide ideas on why the mbean is not being 
installed/configured that would be much appreciated.  Thank you for your time.

Regards,

Richard

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159646
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Mysql replication and JBOSS

2008-06-20 Thread edavis
Did you managed to get it working? I need the same

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159645
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss Cluster failover not working

2008-06-20 Thread timfox
jboss remoting jar and messaging client jar should really be the first items on 
the classpath, as explained in the user guide.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159640
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: changing conn parameters in -ds.xml file !!!urgent!!!

2008-06-20 Thread sankul123
"vickyk" wrote : 
  | 
  | You should be redeploying the EAR to see the changes in -ds.xml , modify 
the EAR/META-INF/app.xml after you make changes in the -ds.xml that will lead 
to the hot deployment of EAR .

Thank you Vicky , for the reply. 
Just to add to my question, changing conn parameters is exposed as a feature. 
So for end user the operation should after performing the operation , he should 
either a success or failure I mean to say , he should not get either a 404 or 
any exception as appl is redeploying.

Is there any JBoss JCA API to achieve through code, we have a seperate a 
package for all container related operations , so I am free to use any JBoss 
API's there. Please let me know if there are any such Jboss API's to refresh 
the conn obj registered with JNDI name.

Sandeep

  

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159643
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM SP3 CP02 with MySQL persistence not working

2008-06-20 Thread nzmalik
svn info

URL: http://anonsvn.jboss.org/repos/messaging/tags/JBossMessaging_1_4_0_SP3_CP02
Repository Root: http://anonsvn.jboss.org/repos/messaging
Repository UUID: b6fe21fe-e719-0410-baf4-a14e395396c4
Revision: 4519
Node Kind: directory
Schedule: normal
Last Changed Author: timfox
Last Changed Rev: 4012
Last Changed Date: 2008-04-04 12:10:19 -0400 (Fri, 04 Apr 2008)


I was creating them by hand because JBM was initially failing to create the 
tables.  I just tried create-on-startup and it worked, JBM created the tables 
correctly.  So ignore the DDL in my previous comment.  Testing again with the 
newly created tables results in the same exception that I originally posted.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159642
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss Cluster failover not working

2008-06-20 Thread bfach
Jeez... i just saw that after the post.  I have seen this before and forgotten 
about this.

I will make the change to the CP.

Do you think this could be causing load balancing not to happen after a node 
restart>?

Thanks,


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159641
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Out-Of-Box server start-up error Port 4445 is already in

2008-06-20 Thread jsmith14

Check to see if you are running a service called enstart.exe.  If so, your 
company is running Encase Enterprise Edition and there is no way you are going 
to get Encase to stop using 4445 unless your support staff is willing to change 
it.  I would change your jboss serverbindport to something else.

If you can't find enstart.exe or this is a personal computer, try TCPView.  It 
is part of the Sysinternals Suite 
(http://technet.microsoft.com/en-gb/sysinternals/0e18b180-9b7a-4c49-8120-c47c5a693683.aspx)
 by Microsoft.  The Local Address will be your ComputerName:4445.  It will tell 
you what process, the process ID, and if you double click on the process it 
will tell you where it is located on the Hard Drive.

Good Luck


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159638
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM SP3 CP02 with MySQL persistence not working

2008-06-20 Thread timfox
Why don't you just let JBM create the tables?

If you're manually creating the tables then that's scope for human error. If 
you expect me to manually go through what you posted and diff it to the correct 
version at 7pm on a Friday night, you've got another thing coming ;)

Also you didn't say where in SVN you got the file from.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159636
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss Cluster failover not working

2008-06-20 Thread bfach
Ok i have gone through the example in the userguide for 1.4SP3 and have found 
nothing out of the ordinary.  

I did find that my clusterpullconnectionfactory failover was set to false as 
well as the loadbalancing false.  Failover has worked before and these 
properties were false.  i turn switch them to true to see if it made a 
difference. 

I finally turned my attention to the standalone java app that sends the 
messages.  I realized that someone had changed the order of the classpath.

I have switched it back to the following:

export SIM_CLASSPATH=$SIM_HOME/bin:\
$SIM_HOME/vendor/jaxb/1.2/jaxb-impl.jar:\
$SIM_HOME/vendor/jaxb/1.2/jaxb-jsr173_1.0.jar:\
$SIM_HOME/vendor/commons/commons-lang-2.3.jar:\
$SIM_HOME/vendor/jboss/4.2.2.GA/log4j.jar:\
$SIM_HOME/vendor/jboss/4.2.2.GA/trove.jar:\
$SIM_HOME/vendor/jboss/4.2.2.GA/javassist.jar:\
$SIM_HOME/vendor/jboss/4.2.2.GA/jbossall-client.jar:\
$SIM_HOME/vendor/jboss/4.2.2.GA/jboss-aop-jdk50.jar:\
$SIM_HOME/vendor/jboss/4.2.2.GA/jboss-ejb3x.jar:\
$SIM_HOME/vendor/jboss/4.2.2.GA/jboss-remoting.jar:\
$SIM_HOME/vendor/jbm/1.4.0.SP3/jboss-messaging-client.jar:\
$SIM_HOME/conf:

After changing it back to this order, failover works again with no issues.  
Load balancing works between the two nodes running in the cluster.

The one small issue is that if you kill a node and bring it back up, it joins 
the cluster but doesn't take over any of the load after it is running again.  
If you kill the node doing all the work, the newly started node takes over.  
The desired behaviour after successful restart of a node is for it to share 
some of the load again.

Is there anything that doesn't seem right in the classpath?

Thanks for the help!



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159637
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Message Consumer fails when using messageSelector

2008-06-20 Thread timfox
Sounds like your selector is just wrong, where are you setting 
JMSType="java.lang.String"?

Please post a simple java example demonstrating the problem (both sender and 
receiver).

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159635
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM SP3 CP02 with MySQL persistence not working

2008-06-20 Thread nzmalik
I pulled the mysql-persistence-service.xml from svn.   Here are the files I 
changed in jboss from the base install and the DDL used to create the tables:

messaging-ds.xml

  | 
  | 
  | MessagingDS
  | 
jdbc:mysql://HOSTNAME:3306/messaging
  | com.mysql.jdbc.Driver
  | USERNAME
  | PASSWORD
  | 5
  | 20
  | 
TRANSACTION_READ_COMMITTED
  | 
org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
  | 
org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker
  | 
  | mySQL
  | 
  | 
  | 
  | 

DDL for Messaging Tables

  | CREATE TABLE JBM_DUAL (DUMMY INTEGER, PRIMARY KEY (DUMMY)) ENGINE = INNODB;
  | CREATE TABLE JBM_MSG_REF (MESSAGE_ID BIGINT, CHANNEL_ID BIGINT, 
TRANSACTION_ID BIGINT, STATE CHAR(1), ORD BIGINT, PAGE_ORD BIGINT, 
DELIVERY_COUNT INTEGER, SCHED_DELIVERY BIGINT, PRIMARY KEY(MESSAGE_ID, 
CHANNEL_ID)) ENGINE = INNODB;
  | CREATE INDEX JBM_MSG_REF_TX ON JBM_MSG_REF (TRANSACTION_ID, STATE) ;
  | CREATE TABLE JBM_MSG (MESSAGE_ID BIGINT, RELIABLE CHAR(1), EXPIRATION 
BIGINT, TIMESTAMP BIGINT, PRIORITY TINYINT, TYPE TINYINT, HEADERS MEDIUMBLOB, 
PAYLOAD LONGBLOB, PRIMARY KEY (MESSAGE_ID)) ENGINE = INNODB;
  | CREATE TABLE JBM_TX (NODE_ID INTEGER, TRANSACTION_ID BIGINT, BRANCH_QUAL 
VARBINARY(254), FORMAT_ID INTEGER, GLOBAL_TXID VARBINARY(254), PRIMARY KEY 
(TRANSACTION_ID)) ENGINE = INNODB;
  | CREATE TABLE JBM_COUNTER (NAME VARCHAR(255), NEXT_ID BIGINT, PRIMARY 
KEY(NAME)) ENGINE = INNODB;
  | CREATE TABLE JBM_ID_CACHE (NODE_ID INTEGER, CNTR INTEGER, JBM_ID 
VARCHAR(255), PRIMARY KEY(NODE_ID, CNTR)) ENGINE = INNODB;
  | INSERT INTO JBM_DUAL VALUES (1);
  | 
  | CREATE TABLE JBM_POSTOFFICE (POSTOFFICE_NAME VARCHAR(255), NODE_ID INTEGER, 
QUEUE_NAME VARCHAR(255), COND VARCHAR(1023), SELECTOR VARCHAR(1023), CHANNEL_ID 
BIGINT, CLUSTERED CHAR(1), ALL_NODES CHAR(1), PRIMARY KEY(POSTOFFICE_NAME, 
NODE_ID, QUEUE_NAME)) ENGINE = INNODB;
  | 
  | CREATE TABLE JBM_USER (USER_ID VARCHAR(32) NOT NULL, PASSWD VARCHAR(32) NOT 
NULL, CLIENTID VARCHAR(128), PRIMARY KEY(USER_ID)) ENGINE = INNODB;
  | CREATE TABLE JBM_ROLE (ROLE_ID VARCHAR(32) NOT NULL, USER_ID VARCHAR(32) 
NOT NULL, PRIMARY KEY(USER_ID, ROLE_ID)) ENGINE = INNODB;
  | INSERT INTO JBM_USER (USER_ID, PASSWD) VALUES ('guest', 'guest');
  | INSERT INTO JBM_USER (USER_ID, PASSWD) VALUES ('j2ee', 'j2ee');
  | INSERT INTO JBM_USER (USER_ID, PASSWD, CLIENTID) VALUES ('john', 'needle', 
'DurableSubscriberExample');
  | INSERT INTO JBM_USER (USER_ID, PASSWD) VALUES ('nobody', 'nobody');
  | INSERT INTO JBM_USER (USER_ID, PASSWD) VALUES ('dynsub', 'dynsub');
  | INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('guest','guest');
  | INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('j2ee','guest');
  | INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('john','guest');
  | INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('subscriber','john');
  | INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('publisher','john');
  | INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('publisher','dynsub');
  | INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('durpublisher','john');
  | INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('durpublisher','dynsub');
  | INSERT INTO JBM_ROLE (ROLE_ID, USER_ID) VALUES ('noacc','nobody');
  | 

login-config.xml

  | 
  | 
  | http://www.jboss.org/j2ee/dtd/security_config.dtd";>
  | 
  | 
  | 
  | 
  | 
  | 
  |
  |   
  |  
  |  true
  |   
  |
  | 
  | 
  | 
  | 
  |
  |   
  |  guest
  |  java:/DefaultDS
  |  SELECT PASSWD FROM 
JMS_USERS WHERE USERID=?
  |  SELECT ROLEID, 'Roles' FROM 
JMS_ROLES WHERE USERID=?
  |   
  |
  | 
  | 
  | 
  | 
  | 
  | 
  |
  |   
  |  sa
  |  sa
  |  
  |  jboss.jca:service=LocalTxCM,name=DefaultDS
  |   
  |
  | 
  | 
  | 
  |
  |   
  |  guest
  |  guest
  |  guest
  |  jboss.jca:service=TxCM,name=JmsXA
  |   
  |
  | 
  | 
  | 
  | 
  |
  |   
  |props/jmx-console-users.properties
  |props/jmx-console-roles.properties
  |   
  |
  | 
  | 
  | 
  | 
  |
  |   
  |  web-console-users.properties
  |  web-console-roles.properties
  |   
  |
  | 
  | 
  | 
  | 
  |   
  | 
  |   props/jbossws-users.properties
  |   props/jbossws-roles.properties
  |   anonymous
  | 
  |   
  | 
  | 
  | 
  |
  |   
  |  guest
  |

[jboss-user] [JBoss Messaging] - Re: JBM SP3 CP02 with MySQL persistence not working

2008-06-20 Thread timfox
That's strange. The example should certainly work when you use the mysql config 
(does for me).

This strongly implies either a) wrong config is being used b) for some reason 
tables haven't been created properly.

I would check your config and make sure it is from the right place.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159633
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM SP3 CP02 with MySQL persistence not working

2008-06-20 Thread nzmalik
I can successfully send a message to a queue if I do not change the setup to 
use MySQL for message persistence.  That is, do a base install of JBoss AS and 
it works out of the box with hsqldb and I can send a message to 
queue/testQueue.  I did not use the process in the user guide to test this.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159631
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: FailOver and Session Stickness Behaviour

2008-06-20 Thread [EMAIL PROTECTED]
The session should stick to Tomcat2.

Are you using URLRewriting or session cookies?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159627
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - FailOver and Session Stickness Behaviour

2008-06-20 Thread eduardo_thp
Hi, I´ve some doubts about how the server should behave in case of a failover, 
and also check if there´s any configuration to change this behaviour. 

My environment:
2 jboss 4.0.5 servers, (jvmRoute="tomcat1" and jvmRoute="tomcat2", useJK=true)
1 apache 2.2.8 + mod_jk 1.2.26 for load balancing

Session Stickness is working fine.

Let me describe the behaviour:

Tomcat1 up
Tomcat2 up

I login into the application, so I create a session with tomcat1 so:

Tomcat1 up (my session)
Tomcat2 up

I stop Tomcat1, Tomcat2 assumes the session correctly. [session replication is 
working]

Tomcat1 down
Tomcat2 up (my session)

I start Tomcat1 again, what should be the behaviour ?

Tomcat1 should get back the session from tomcat2 or not ? is it possible to 
configure this behaviour ?

On my tests ... after tomcat1 start up... and some clicks on the app, tomcat2 
receives the first request and the others are served by tomcat 1 again.. 

So, tomcat1 is getting the session back. (I didn´t want this to happen,  I 
wanted that the session stayed on tomcat2).. 

I also noticed an 
version id 87 matches in-memory version for session yhKzl-nQzxawhiJ9+LcfWA**
error on tomcat2, before tomcat1 starts answering the requests.

Can anyone help me ?

Do you need more log details/config details ?

I tried  the 4 different isolation levels, and the behaviour is the same...

Thanks !!!

Eduardo 

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - PHP $_POST not working in JBoss 4.2.2.GA?

2008-06-20 Thread gkincade
We're implementing a system that will rely upon a PHP script that is called via 
  POST. The script has calls to the PHP super array $_POST to get the post 
parameters.

We can see the parameters in JBoss debug so we know they're being passed but 
the script fails with 'undefined index' on all the parameters.

Running the script under Apache, the $_POST's work fine.

Taking the calls to $_POST out, the script returns data as we expect in JBoss, 
just not as it should be filtered by the $_POST's.

Is there something we need to turn on in JBoss to enable us to pick up these 
parameters?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159621
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM SP3 CP02 with MySQL persistence not working

2008-06-20 Thread timfox
Can you validate your installation by running the examples as per the user 
guide?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159619
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Message Consumer fails when using messageSelector

2008-06-20 Thread mbreuer
Any idea, why the receive fails? 

How can i find out, what goes wrong? Are there special log entries?
The ObjectMessage is stored to an oracle database, but the header fields are of 
type blob, so a can't take a look into.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159618
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM SP3 CP02 with MySQL persistence not working

2008-06-20 Thread nzmalik
This happens when sending only.  Startup occurs successfully.  The tables were 
recreated prior to attempting this, so there is no data in the JBM tables.  I 
had to create the tables by hand, though, because the create-on-startup didn't 
work.  But, to create the tables I took the DDL from the 
mysql-presistence-service.xml file.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159615
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: EJB Web Service Stateful?

2008-06-20 Thread gcoleman
Stateless EJBs are only stateless in the sense that they're not associated with 
any particular client session.

The actual EJB instances can and will be pooled by the application server.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159612
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - How to access MBean from SessionBean

2008-06-20 Thread madeinstein
Do you know how can I call my MBean from SessionBean? 

I tried to expose my MBean via Jndi but not success so far.. 

Is there a better way?

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159611
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Javassist user questions] - Data-flow API now available in 3.8.0

2008-06-20 Thread [EMAIL PROTECTED]
For those that are interested, there is now a data-flow API in the new 3.8.0 
release.

A blog about entry about this feature:
http://in.relation.to/Bloggers/JavassistNowProvidesDataflowAnalysisAPI

Where to download:
https://sourceforge.net/project/showfiles.php?group_id=22866&package_id=80766

Docs:
http://www.csg.is.titech.ac.jp/~chiba/javassist/html/javassist/bytecode/analysis/package-summary.html


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159610
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM SP3 CP02 with MySQL persistence not working

2008-06-20 Thread timfox
You need to drop your old tables too.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159608
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Binding MBean to JNDI

2008-06-20 Thread madeinstein
Hi i've found this article that explains how to bind MBean to JNDI

http://wiki.jboss.org/wiki/BindMBeanToJNDI

But for some reason I can't get the object back using JNDI lookup, it's always 
null


  | Object obj = remoteCtx.lookup("service/Engine");
  | Assert.assertNotNull(obj);
  | 

The jndi is correct for sure because there is no NamingException and I can see 
the name in JndiView

I've added some debuging code to rebind() method to be sure that the object is 
being put to the Context but this look ok, see below.


  | Name fullName = rootCtx.getNameParser("").parse(jndiName);
  | System.out.println("Binding to '"+fullName+"' object: "+getObjectToBind());
  | NonSerializableFactory.rebind(fullName, getObjectToBind(), true);
  | 

output


  | [STDOUT] Binding to 'service/Engine' object: [EMAIL PROTECTED]
  | 

Any ideas what's missing?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159605
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Running JBoss and Norton Security 2008

2008-06-20 Thread baumar
Hi,

Since I installed Norton Security 2008 on my machine at home, I cannot run 
JBoss until I switch of the firewall completely. I tried to open the UDP-ports 
1200 until 1500, (because they seem to be used dynamically, at least they chang 
with each start) but it didn't help. 

17:36:00,890 ERROR [UDP] exception=java.net.BindException: Cannot assign 
requested address: Datagram send failed, msg=[d
  | st: 228.1.2.3:45551, src: d530-a65fc15421:1458 (2 headers), size = 0 
bytes], mcast_addr=228.1.2.3:45551
  | 
Did anybody meet this problem and figured out how to solve it?

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159597
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBM SP3 CP02 with MySQL persistence not working

2008-06-20 Thread ataylor
does this happen on startup or whilst sending a message. If the former, could 
you try deleting the messages from JBM_MSG and JBM_MSG_REF tables.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159595
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Accessing CMS Content in MY own portlet

2008-06-20 Thread [EMAIL PROTECTED]
Srinivasan-

Look at the org.jboss.portal.core.cms.ui.admin.CMSAdminPortlet

code to understand how the backend CMS Service is used to extract/manage 
content stored in the CMS.

Also look at the configuration of CMSAdminPortlet to replicate inside your 
custom portlet

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159593
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - JBM SP3 CP02 with MySQL persistence not working

2008-06-20 Thread nzmalik
Recently switched from JBM SP3 CP01 to CP02.  I am using MySQL for persistence 
and am unable to send a message to a queue successfully.

My setup:

Fedora 8
MySQL community 5.1.22
JBossAS 4.3.0.GA_CP01
JBoss Messaging 1.4.0-1.SP3_CP02

Setup:

 1. Install JBossAS
 2. Deploy a MessagingDS pointing to the MySQL server.  The tables are already 
created in this database.  DDL for table creation taken from the mysql 
persistence service from CP02.
 3. Delete deploy/jboss-messaging.sar/clustered-hsqldb-persistence-service.xml
 3. Copy the mysql-persistence-service.xml from the JBM release to 
deploy/jboss-messaging.sar
 4. Edit persistence service to use MessagingDS.
 5. Edit conf/login-config.xml to use MessagingDS for messaging.
 6. Deploy mysql-connector-java-5.0.7-bin.jar in server lib.


  | java.lang.NullPointerException
  | at 
java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:846)
  | at 
org.jboss.messaging.core.impl.JDBCPersistenceManager.cacheID(JDBCPersistenceManager.java:1632)
  | at 
org.jboss.messaging.core.impl.JDBCPersistenceManager$1AddReferenceRunner.doTransaction(JDBCPersistenceManager.java:1358)
  | at 
org.jboss.messaging.core.impl.JDBCSupport$JDBCTxRunner2.execute(JDBCSupport.java:474)
  | at 
org.jboss.messaging.core.impl.JDBCSupport$JDBCTxRunner2.executeWithRetry(JDBCSupport.java:512)
  | at 
org.jboss.messaging.core.impl.JDBCPersistenceManager.addReference(JDBCPersistenceManager.java:1396)
  | at 
org.jboss.messaging.core.impl.ChannelSupport.handle(ChannelSupport.java:226)
  | at 
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.routeInternal(MessagingPostOffice.java:2208)
  | at 
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.route(MessagingPostOffice.java:494)
  | at 
org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:755)
  | at 
org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessionEndpoint.java:391)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(SessionAdvised.java:87)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
  | at 
org.jboss.jms.server.container.SecurityAspect.handleSend(SecurityAspect.java:157)
  | 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:585)
  | at 
org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)
  | at 
org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(SessionSendRequest.java:95)
  | at 
org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
  | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:809)
  | at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:572)
  | at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387)
  | at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
  | 2008-06-20 11:01:10,092 ERROR [org.jboss.messaging.util.ExceptionUtil] 
SessionEndpoint[i-8yetwohf-1-6k8swohf-c909sv-z1a6ba] send 
[j-0fftwohf-1-6k8swohf-c909sv-z1a6ba]
  | javax.jms.JMSException: Failed to route 
Reference[19889751164256256]:RELIABLE to testQueue
  | at 
org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:757)
  | at 
org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessionEndpoint.java:391)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$send$aop(SessionAdvised.java:87)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(SessionAdvised$send_7280680627620114891.java)
  | at 
org.jboss.jms.server.container.SecurityAspect.handleSend(SecurityAspect.java:157)
  | 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:585)
  | at 
org.jboss.aop.advice.PerInstanceAdvice.

[jboss-user] [Security & JAAS/JBoss] - Securing default ports and services (e.g. naming service, in

2008-06-20 Thread user05
I'm running JBoss AS 4.22 and ESB 4.3. I would like to know which of the 
default JBoss ports (e.g. 1099, 1098, , 4445) can be disabled. If not, how 
can I implement access control on the services (naming, invokers, etc) using 
those ports ? 

thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159588
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Browsing clustered queues

2008-06-20 Thread sams2100
I'm trying to browse a clustered queue and I cant seem to get a view that 
includes all the nodes in the cluster, even though the queue has the clustered 
attribute set.

Does anyone know a way to browse all messages on a clustered queue without 
hitting each node individually?

BTW, I'm using JBoss 4.2.2 and JBoss Messaging 1.4.

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159586
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - How to duplicate Portals within JBoss Portal??

2008-06-20 Thread michaelchan
E.g.  I have create a Apple portal, I want to make a copy of it and name it 
Orange, how do i do it?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159584
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: How can set longblob type in entitybean 3.0

2008-06-20 Thread jk6803
The schema is automatically generated at the deployment time if there is no  
schema in the database. 

We  use Object type as a base, as it should accommodate any type of objects. 

After removing the table, whenever deploying EJB,  the schema always say 
tinyblod..

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159582
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: jndi for war deployment

2008-06-20 Thread wilczarz
In case anyone had similar problem - jndi works fine in WAR except this archive 
doesn't support EJB components. The solution is to use POJOs or build an EAR 
application.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159580
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Why is Remote Interface not installed

2008-06-20 Thread baumar
Hi Jaikiran,

Thanks for the hint. I searched and found the error report for that issue, but 
didn't know, what exactly had to be done. Well, I did what you said, but it 
didn't work. 
I also tried your earlier suggestion to avoid deployment with eclipse and use 
ant instead. I used the script of the EJB 3 book cited, since this work with 
the current Jboss installation - but they all result is the same error. 
In the meantime I spent so much time on this, that I'm a bit desperate. I'm 
thinking of trying once your other suggestion and try again with a newer 
version. Which combination of eclipse and Jboss would you recommend as being 
most stable?

Thanks for your help

Markus

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159581
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Which class handles defining layout and theme?

2008-06-20 Thread michaelchan
no class handles that, it's a property file

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159579
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Clustering JBoss Messaging without Shared Database?

2008-06-20 Thread ebenezerlovelin
Hi Tim, 

In messaging-service.xml, 

Node 0 has 
${jboss.messaging.ServerPeerID:0}
  | 
and Node 1 has 
${jboss.messaging.ServerPeerID:1}

That is the only place where I have configured the server peer ID; do I have to 
configure it else where?  

Thanks, 
Ebe

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159577
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Clustered and JDBCCacheLoader access to DB

2008-06-20 Thread [EMAIL PROTECTED]
In your Approach 2 in the JDBCCacheLoader turn fetchPersistentState to false.  
There's no reason to move the persistent state over the wire from another 
cache, since the cacheloader already has access to it in the shared db.

There used to be logic to ignore the fetchPersistentState=true if shared=true.  
Sounds like that isn't working any more.  Suspect it's due to the addition of 
cache loader chaning.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159575
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: EXCEPTION_ACCESS_VIOLATION [ntdll.dll+0x18fea]

2008-06-20 Thread [EMAIL PROTECTED]

I have a few observations:

- The JVM 1.6 you have seems a bit old:
Java VM: Java HotSpot(TM) Client VM (1.6.0_02-b06 mixed mode)

I see at Sun's website they are at "Java SE 6 Update 10 Beta (Build 25)" right 
now.

- JBoss 4 and JBM 1.4 is JVM 1.5
JBoss4 itself doesn't support JVM 1.5 yet. There are few issues with remoting 
(nothing that would crash it though) and other components at JBoss. I believe 
they are doing some tests to support JVM 1.5+ soon.

So, If you want to keep trying 1.6 even not being supported by JBoss at least 
update your JVM to the latest update. You can try reporting a bug with SUN if 
the error still persist on 1.6_latest_update.

You definitely should use JVM 1.5.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159576
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Getting Started Documentation] - Re: GOOGLE CASH PROGRAM

2008-06-20 Thread ramavi03
 Could not make local copy for file:  jboss-service.xml 
java.io.IOException: Operation not 
permitted

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159567
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Getting Started Documentation] - Could not make local copy for file: jboss-service.xml

2008-06-20 Thread ramavi03
I am getting the following error while stating the jboss in unix environment 
Could not make local copy for file:  jboss-service.xml  
   java.io.IOException: Operation not 
permitted



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159569
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - JBPM and Drools

2008-06-20 Thread francis1970
Hi all,
I have been reading some docs about Drools, I think it would be interesting to 
use Drools as "low level" layer for writing JBPM rules (For example 
ActionHandlers and Decision Nodes logic)
My dilemma is how can I reference Jbpm variables (that live in its 
ExecutionContext) in Drools ?
it is possible to do it ?
Thanks for your help
Francesco

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159565
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - PVM and concurrent childnodes: way of implementation?

2008-06-20 Thread Rasun
Hi there,

As I'm kinda new on this jBPM happening, I'm struggling with a specific way of 
implementation. I'm not using the GPD, only the PVM. The processdefinition is 
build in a Java file, no XML.

This is the situation: currently I'm trying to create a multithreaded process. 
That is, a node (A) that splits as a fork in three sub-nodes (A1, A2 and A3). 
All three childnodes need to run at the same time.
After that they need to merge into one node (B), which is the last node of the 
process.

Now I've been trying to implement the examples I've seen here and there online 
(forEachForkActionHandler and other global documentation). But they don't seem 
to work out as I want: no concurrency to be detected (every node has a random 
generated variable time-out, so childnode A2 could display a message before 
A1). Every node is executed in the order it is implemented, sequentially not 
concurrent.

So, now the issue: it looks like PVM doesn't support concurrency threads, which 
means I have to create my own threads per process by creating Threadable 
classes the usual way. Is this correct? Doesn't PVM create it's own executable 
threads when splitting/forking?

If not, anyone got a simple code example of above? I think I've read all 
possible documentation online about jBPM, but haven't found any solution. And 
code examples are so much clearer, from time to time :).

Thanks in advance for the help!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159564
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Schema Validation - Failed to read schema document

2008-06-20 Thread bbucy
Actually originally I was importing a single schema (e.g. OneCardTxn.xsd) which 
had two elements defined (e.g. OCReq and OCRsp).  I was receiving the exact 
same error just failing on the single import.

So, I ended up changing it to two schemas (e.g. OneCardTxnRequest.xml and 
OneCardTxnResponse.xml) thinking that may have been the problem.

By the way, I am using jbossws-3.0.1-native-2.0.4.GA deployed on JBoss_4_2_2_GA 
with JBoss Messaging 1.4.0.SP3 replacing JBossMQ.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159562
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss Cluster failover not working

2008-06-20 Thread bfach
Thanks.  I thought so.  Ok thanks for the help. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159560
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss Cluster failover not working

2008-06-20 Thread timfox
By default, failover will *not* occur if you shut down a node cleanly (see FAQ 
on wiki).

If you want it to occur in this situation set this property to true.

There's a JIRA about this against the 1.4.0.SP3_CP02 release with info and 
links to discussions on the subject.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159559
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


AW: [jboss-user] [JBoss Messaging] - Re: JBoss Cluster failover notworking

2008-06-20 Thread Lange, Marek
> Just one question, FailoveronNodeLeave in CP2, is this 
> property set to true if you want another node to failover if 
> node is shutdown properly or if it is killed?

This can be set to true if you want to force failover on a clean
shutdown (I needed it in CP_01 :-)).

Marek

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss Cluster failover not working

2008-06-20 Thread bfach
Thanks Tim.  I am going to look at this first and I will get back to you.

Just one question, FailoveronNodeLeave in CP2, is this property set to true if 
you want another node to failover if node is shutdown properly or if it is 
killed?

Thanks in advance,


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159557
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Duplication of processDefinition

2008-06-20 Thread Olivier_Debels
Isn't there a possibility to remove hibernate link before serializing?  I'm 
sure there is (evicting...)

BTW: If you go for this solution (serialization) keep in mind the disadvantages:
http://weblogs.java.net/blog/emcmanus/archive/2007/04/cloning_java_ob.html

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159556
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss Cluster failover not working

2008-06-20 Thread timfox
"bfach" wrote : Tim,
  | 
  | Thanks for the fast reply.  I have tried them before but just to make sure, 
could you point me to them so I can verify that I am following the examples 
correctly.
  | 
  | Thanks for the help,

Take a look at the installation section in the userguide. It goes on to explain 
how to run the examples.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159555
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Clustering JBoss Messaging without Shared Database?

2008-06-20 Thread ebenezerlovelin
Hi Tim, 

I posted the code of the second test; I had started the second  (node 1) first, 
which started fine and then I started the first instance (node 0). 

>From my previous post...
anonymous wrote : 
  | I even changed the order in which the instances were started i.e., started 
instance 2 first and it started with out any issue. When I start instance 1 
next, this gives error. Always, the instance that is being started second, 
gives the error.  


I apologize for the confusion caused.  


Thanks, 
Ebe

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159552
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Clustered and JDBCCacheLoader access to DB

2008-06-20 Thread jorgemoralespou_2
Hi,
I`m trying to configure my cache loader to achieve the following:
1- Firts node incluster starts. Unable to retrieve state from memory (another 
cluster` node) so get it from DB
2- Second clustered node starts. Gets state from memory (another cluster`node)

On cache put. The cache that receives the local put, transmits state to the 
rest of the cluster, and persist data to DB.

On cache get. Get value from memory, if miss, retrieve it from cluster, if 
miss, retrieve it from DB.

Is this possible?

I have try 2 approaches:

Approach 1

  | true
  | 15000
  | 
  | 
  |   
  |  false
  |  /
  |  true
  |  
  |org.jboss.cache.loader.JDBCCacheLoader
  |
  |   cache.jdbc.datasource=java:jdbc/som
  |   cache.jdbc.table.name=core_data
  |   cache.jdbc.table.create=true
  |   cache.jdbc.table.drop=false
  |   cache.jdbc.table.primarykey=jbosscache_pk
  |   cache.jdbc.fqn.column=fqn
  |   cache.jdbc.fqn.type=varchar(255)
  |   cache.jdbc.node.column=node
  |   cache.jdbc.node.type=blob
  |   cache.jdbc.parent.column=parent
  |
  |   true
  |   false
  |   false
  |  
  | 
  | 

Approach 2

  | true
  | 15000
  | 
  | false
  | /
  | true
  | 
  | 
  |   org.jboss.cache.loader.ClusteredCacheLoader
  |  
  |  timeout=1000
  |  true
  |  false
  |  false
  |   
  |   
  |
  |  org.jboss.cache.loader.JDBCCacheLoader
  |
  |
  | cache.jdbc.datasource=java:jdbc/somservices
  | cache.jdbc.table.name=provisioning_data
  | cache.jdbc.table.create=true
  | cache.jdbc.table.drop=false
  | cache.jdbc.table.primarykey=provisioning_data_pk
  | cache.jdbc.fqn.column=fqn
  | cache.jdbc.fqn.type=varchar(255)
  | cache.jdbc.node.column=node
  | cache.jdbc.node.type=blob
  | cache.jdbc.parent.column=parent
  |  
  |  true
  | true
  | false
  | 
  | 
  | 
  | What I see, with both of this configs, is that when I start second node in 
the cluster, it retrieves state from the other node, but it seems to update the 
database. It performs a delete all, and insert every retrieved value. I see the 
deletes , inserts in logs.
  | 
  | Anyone can help? Is it possible what I want?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159553
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - JBossWS 3.0.2 Released

2008-06-20 Thread [EMAIL PROTECTED]
We're happy to announce the release of JBossWS 3.0.2 GA that includes Native 
(fully certified JAX-WS web services implementation), Metro  and Apache CXF 
integration

Native runs on jboss-5.0.0.Beta4, jboss-4.2.2 and jboss-4.2.1
Both Metro and CXF run on jboss-5.0.0.Beta4 and jboss-4.2.2

JAXWS brings to web services what EJB3 brings to EJB. With its greatly 
simplified programming model and functional enhancements it is designed to take 
the place of previous JAX-RPC web service implementations.

The binaries, including the samples can be obtained here:
http://labs.jboss.com/jbossws/downloads/

Installation instructions can be found here:
http://jbws.dyndns.org/mediawiki/index.php/Main_Page

To get started please have a look at the Quick Start and User Guide:
http://jbws.dyndns.org/mediawiki/index.php/Quick_Start
http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide

If you don't know it already, you'll be surprised how easy it is to do Web 
Services.

Big thanks to the team and many contributors for all the hard work to make this 
release possible.

The JBossWS team 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159549
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Duplication of processDefinition

2008-06-20 Thread npe
Problem is that if you load a process definition via hibernate and then 
serialize it you still keep a link to hibernate and when deserializing you 
still have all the links to other objects and exceptions as if you were trying 
to save a copied instance. 



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159548
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: About livedemo

2008-06-20 Thread [EMAIL PROTECTED]
What livedemo ?

richfaces livedemo ? I suggest you ask in the richfaces forum then ;)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159546
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: jndi for war deployment

2008-06-20 Thread [EMAIL PROTECTED]
Ask in the seam forum.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159544
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools with Tomcat 6

2008-06-20 Thread [EMAIL PROTECTED]
I have not tried, but any instructions that is in the seam docs should just be 
applied to the project in jboss tools too.

The IDE does not do anything magically to the server besides deploying the 
-ds.xml, but that is not relevant in Tomcat.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159545
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss Cluster failover not working

2008-06-20 Thread bfach
Tim,

Thanks for the fast reply.  I have tried them before but just to make sure, 
could you point me to them so I can verify that I am following the examples 
correctly.

CP2?  We upgraded last night and still have same issues.

Thanks for the help,

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159543
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Impossible to run anymore a jBPM query after a socket er

2008-06-20 Thread dleerob
For those of you who don't want to, or can't use c3po, this thread will also 
help solve your problem of dropped db connections when using Tomcat. I posted 
my solution there: 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=105658

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159541
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - IPC & Page Communication

2008-06-20 Thread jayakarteek
Hi,
I’m currently evaluating JBoss portal application.  In my requirement, 
I’ve 2 portal pages say Page-A and Page-B and  both has few portlets 
inside.
There is a Menu portlet which has few Hyberlinks.  It is added in both Page-A 
and Page-B at Left region like a Quick links for the application.My 
requirements are

1) when I select a hyper link from Page-A (Menu portlet), I need to refresh the 
portal screen with Page-B, also i need to send some parameters between pages 
through portlets.

2) Can selected portlet in page-B Mode(Maximized, minimized,Normal) can be 
modified though hyper links.

I guess it is a simple work but I’m currently lacking with information.  
Could you please anyone provide me the proper documentation or sample code to 
understand the functionality.

Thanks and regards,
Jaya Karteek.

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: SchedulableMBean arguments

2008-06-20 Thread dmary
just one question, what do u do of the task which has been pushed into cache, 
after his execution ?
do u deleted it ? how ? just after push it into queue ?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159538
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: SchedulableMBean arguments

2008-06-20 Thread dmary
well I aims at execute many small jobs which needs few cpu.

I see your post and finaly, I'm not far from you.

The difference is that I've got a JMX target in addition, like it is written 
here : 
http://www.madplanet.com/jboss-docu-wiki/Wiki.jsp?page=40.Utilities.Scheduler

But this JMX target, simply put parameters in a queue with messageselector 
properties (I've got one MDB for one type of task), and the logic (EJB3) is 
called in this queue.

I like the concept of queue, as it is asynchronous, can be load balanced, and 
there is no dependency between JMX and queue.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159537
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: SchedulableMBean arguments

2008-06-20 Thread thehunt
np. ur welcome.

JbossCache doesn't exclude the use of a database. The question is... the exact 
use of each. For example, database can be used only for persistence in case of 
a general power failure or system restart, but not for failover. Don't forget 
that if you use a non High Availability clustered database, then you still have 
a 1-point failure node. If your db server crashes, then so does all your system.

Let me search a little bit this weekend to refresh my memory and I ll send you 
whatever info i believe you ll find useful. In the meantime, check the url I 
posted previously and tell me what exactly is the purpose of your job 
scheduling app? To be accurate, to handle vast number of schedules, to be 
lossless? To execute many small jobs or fewer cpu-memory hungry jobs? You need 
clustering for High Availability or Load Balancing or both? I am asking these 
because I didn't find a do-it all in one solution :) For example if you use 
synchronized cache, and as every node added to the cluster brings a hell of a 
lot network traffic for cache synchronization, the bottleneck appears to be the 
network and not the Timer itself.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159535
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem getting JDBC datasource from JBOSS

2008-06-20 Thread bikerzon
Here's the print out :

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=localhost:1099
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

I tried to run it without jndi.properties, same error.

Is JBOSS4.2.2 not compatible with Hibernate 3.3? I'm getting the latest one.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159532
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Again Message Order and MDB

2008-06-20 Thread ataylor
Like I say, this is an MDB question, if you post on the appropriate forum they 
will be able to help you. Remember MDB's are JMS Provider agnostic.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159528
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >