[JBoss-user] [JBoss Seam] - Re: How to retrieve current view ?

2006-07-04 Thread [EMAIL PROTECTED]
I was just pointing out the difference with regards to the way things are 
implemented now and why the two styles of invocation didn't act the same with 
regard to pageflow. I didn't understand the distinction myself until we talked 
about it a month or two ago, and so I definitely think most users would be 
confused by this.  

I *think* I would prefer the the page action and invoke application action to 
work the same for pageflows, but even if they are different, I would expect an 
s:link action to work like an h:commandLink action. 

Maybe some other Seam users here can comment on what they feel is more natural.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955183#3955183

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955183

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


[JBoss-user] [JBoss Seam] - Re: components.properties ignored if placed in war file?

2006-07-04 Thread niesar
Gavin,

finally I understand why there is a components.properties file in the Seam 
examples: it's there to confuse people like me ;) 

But seriously, if the contents of components.properties is supposed to be 
included automatically (according to the Seam reference), and you do it in an 
Ant task instead although components.properties exists in the Seam examples, 
that sounds like a known bug to me. 

I didn't see that issue in the JIRA yet. Was my research too bad or should I 
file a bug?


BTW, using Ant is no option in my case. I rather let the Wiki reader edit 
components.xml or provide a corrected file myself, don't know yet. You know, 
this is supposed to become a simple example project for Eclipse without the 
embedded ejb and microcontainer stuff. Kind of get what you really need for 
Seam, JSF, facelets - run packaging within Eclipse - deploy - enjoy. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955184#3955184

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955184

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


[JBoss-user] [JBoss Seam] - Re: components.properties ignored if placed in war file?

2006-07-04 Thread [EMAIL PROTECTED]
components.properties is used when you run the tests from eclipse (ie. there is 
no chance for ant to replace values).

of course I *could* use components.properties when I deploy to an EAR, but then 
I would need three different components.properties files for every example app 
(testng, jboss, tomcat), and then some complex crap in Ant to pick the one I 
want for a particular deplyment, and I really CBF having all those shitty files.

So I just use Ant replace.

You don't need components.properties at all if all you want to do is deploy to 
an appserver.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955185#3955185

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955185

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


[JBoss-user] [Installation, Configuration Deployment] - deployment exceptions in jboss4.0.4 while none in jboss3.0.8

2006-07-04 Thread zhangjboss
13:46:21,737 DEBUG [MainDeployer] Done with create step of deploying myapp.ear
13:46:21,737 DEBUG [MainDeployer] Begin deployment start 
file:/D:/jboss-4.0.4.GA/server/default/deploy/myapp.ear
13:46:21,737 DEBUG [MainDeployer] Begin deployment start 
file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp31749myapp.ear-contents/model.jar
13:46:21,737 DEBUG [WebServiceDeployerEJB21] start: 
file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp31749myapp.ear-contents/model.jar
13:46:21,737 DEBUG [EJBDeployer] start application, deploymentInfo: [EMAIL 
PROTECTED] { 
url=file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp31749myapp.ear-contents/model.jar
 }
  deployer: MBeanProxyExt[jboss.ejb:service=EJBDeployer]
  status: Starting
  state: START_DEPLOYER
  watch: 
file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp31749myapp.ear-contents/model.jar
  altDD: null
  lastDeployed: 1151991977190
  lastModified: 1151991975284
  mbeans:
jboss.j2ee:jndiName=com.aa.org.ejb.MyEjb,service=EJB state: Created
, short name: model.jar, parent short name: myapp.ear
13:46:21,737 DEBUG [ServiceController] starting service 
jboss.j2ee:module=model.jar,service=EjbModule
13:46:21,737 DEBUG [EjbModule] Starting 
jboss.j2ee:module=model.jar,service=EjbModule
13:46:21,737 DEBUG [EjbModule] startService, starting container: MyEjb
13:46:21,737 DEBUG [ServiceController] starting service 
jboss.j2ee:jndiName=com.aa.org.ejb.MyEjb,service=EJB
13:46:21,737 DEBUG [StatefulSessionContainer] Starting 
jboss.j2ee:jndiName=com.aa.org.ejb.MyEjb,service=EJB
13:46:21,737 DEBUG [StatefulSessionContainer] Begin java:comp/env for EJB: MyEjb
13:46:21,737 DEBUG [StatefulSessionContainer] TCL: [EMAIL PROTECTED]
13:46:21,737 DEBUG [StatefulSessionContainer] Unable to retrieve 
orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not 
registered.
13:46:21,737 DEBUG [StatefulSessionContainer] End java:comp/env for EJB: MyEjb
13:46:21,737 DEBUG [BaseLocalProxyFactory] MyEjb cannot be Bound, doesn't have 
local and local home interfaces
13:46:21,753 ERROR [STDERR] java.lang.NoSuchMethodException: 
javax.ejb.EJBHome.getHomeHandle()
13:46:21,753 ERROR [STDERR] at java.lang.Class.getMethod(Class.java:986)
13:46:21,753 ERROR [STDERR] at 
org.jboss.proxy.ejb.HomeInterceptor.(HomeInterceptor.java:79)
13:46:21,753 ERROR [STDERR] at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
13:46:21,753 ERROR [STDERR] at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
13:46:21,753 ERROR [STDERR] at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
13:46:21,753 ERROR [STDERR] at 
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
13:46:21,753 ERROR [STDERR] at java.lang.Class.newInstance0(Class.java:308)
13:46:21,753 ERROR [STDERR] at java.lang.Class.newInstance(Class.java:261)
13:46:21,753 ERROR [STDERR] at 
org.jboss.proxy.ejb.ProxyFactory.loadInterceptorChain(ProxyFactory.java:362)
13:46:21,753 ERROR [STDERR] at 
org.jboss.proxy.ejb.ProxyFactory.bindProxy(ProxyFactory.java:410)
13:46:21,753 ERROR [STDERR] at 
org.jboss.proxy.ejb.ProxyFactory.start(ProxyFactory.java:243)
13:46:21,753 ERROR [STDERR] at 
org.jboss.ejb.SessionContainer.startInvokers(SessionContainer.java:440)
13:46:21,753 ERROR [STDERR] at 
org.jboss.ejb.SessionContainer.startService(SessionContainer.java:399)
13:46:21,753 ERROR [STDERR] at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
13:46:21,753 ERROR [STDERR] at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
13:46:21,753 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
13:46:21,753 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
13:46:21,753 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:324)
13:46:21,753 ERROR [STDERR] at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
13:46:21,753 ERROR [STDERR] at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
13:46:21,753 ERROR [STDERR] at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
13:46:21,753 ERROR [STDERR] at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
13:46:21,753 ERROR [STDERR] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
13:46:21,753 ERROR [STDERR] at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
13:46:21,753 ERROR [STDERR] at $Proxy0.start(Unknown Source)
13:46:21,753 ERROR [STDERR] at 
org.jboss.system.ServiceController.start(ServiceController.java:417)
13:46:21,753 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
13:46:21,753 ERROR [STDERR] at 

[JBoss-user] [Installation, Configuration Deployment] - Re: deployment exceptions in jboss4.0.4 while none in jboss3

2006-07-04 Thread zhangjboss
i dont know why these exceptions come up as follows while none in jboss3.0.
anyone can help me ?

13:46:21,737 DEBUG [BaseLocalProxyFactory] MyEjb cannot be Bound, doesn't have 
local and local home interfaces
13:46:21,753 ERROR [STDERR] java.lang.NoSuchMethodException: 
javax.ejb.EJBHome.getHomeHandle() 

thank u very much.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955187#3955187

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955187

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


[JBoss-user] [Management, JMX/JBoss] - Re: Creating a MBean

2006-07-04 Thread jactor
I just figured it out. I do not use the naming standard on MBeans (If the 
source class is named Serious, then the interface must be named SeriousMBean).

A deep dive into the world of MBeans can be found here:
http://www.oreilly.com/catalog/javamngext/chapter/ch02.pdf

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955188#3955188

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955188

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


[JBoss-user] [Beginners Corner] - Modules inside EAR are deployed twice?

2006-07-04 Thread Goonie
Hi everyone,

if I try to deploy an EAR to either JBoss 3.2.x or 4.0.x, all modules 
show up twice in the server console. For example:

- application.ear
- webapp.war
- webapp.war
- module.ejb
- module.ejb

I long thought this is a problem of Cargo, which I was using for 
deploying, but I found out the behaviour is the same if I do the 
deployment manually. I copy the EAR to the deploy directory of a virgin 
installation and start the server with run.bat (Windows).

If I only deploy the EJB or the WAR, it only shows up once.

Is there something wrong with it?

Regards,

Andreas

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955189#3955189

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955189

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


[JBoss-user] [Beginners Corner] - Re: Modules inside EAR are deployed twice?

2006-07-04 Thread jaikiran
anonymous wrote : all modules show up twice in the server console

Can you please elaborate? If you are seeing multiple log messages about the 
modules being deployed, post the same, lets see what the issue is. I am pretty 
much sure that the modules are NOT being deployed twice, because if it were to 
be the case then you would have seen exceptions related to JNDI naming of your 
EJBs and lot of other things.

 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955190#3955190

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955190

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


[JBoss-user] [Beginners Corner] - Re: Modules inside EAR are deployed twice?

2006-07-04 Thread jaikiran
Also, post the contents of your application.xml file.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955191#3955191

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955191

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


[JBoss-user] [JBoss Messaging] - Re: Consumed messages redelivered ?

2006-07-04 Thread dv_lakshmi
Firstly , when I debug into the code I see that no exceptions arise and 
onMessage invocation ends successfully. So I believe that my application is 
functioning correctly and the messages are processed successfully. Therefore an 
acknowledgement should have been sent thereby which the contents of the jms 
tables should have been deleted accordingly. But this has not happened. 

Second, If the messages have not received an acknowledgement, then when are the 
messages retried ? As long as the server is running, I dont see these messages  
that exist in the table to be processed again by the listeners. However, when I 
restart my server, these messages are being picked up by the listener. I am 
puzzled as my application works absolutely fine till the server is restarted !!

Sending the code might be a bit clumsy as it spans across many files. If there 
is a way I can send the snapshot of JMS_MESSAGE and JMS_MESSAGE_REFERENCE 
tables which might aid debugging please let me know so. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955192#3955192

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955192

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


[JBoss-user] [JBoss Seam] - Getting request parameter within JBoss Portal

2006-07-04 Thread endremr
Hello!

I'm writing a portlet application with Seam, and I'm trying to get the request 
parameter sent with the portal request:

http://localhost:8080/portal/portal/wp-mypage/default?personId=12345

Is it possible to get this request parameter within my Seam portlet? I have 
tried different ways, including the annotation, but I only get null value.

If it is possible, could anyone give me a couple of lines? I'm using JBoss 
portal 4.0.4 GA and Seam 1.0.0 GA.

Thanks! :)



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955193#3955193

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955193

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


[JBoss-user] [JBoss Messaging] - Re: Consumed messages redelivered ?

2006-07-04 Thread dv_lakshmi
Also please note that I have separated the create table sql statements from 
oracle-persistence.xml and have put them in a separate configuration file which 
I run before I start jboss.  I have made the property CreateTablesOnStartup 
as false too and I have left the remaining sqls (INSERT, DELETE, UPDATE) 
statements as it is in the oracle-persistence.xml file. Now is this making any 
difference ? 

Now I believe that If I leave the create statements in the oracle persistence 
xml and leave the CreateTablesOnStartup property to true, then the  tables 
are created on server startup. In this case, are the messages which were not 
delivered successfully lost on  server restart? 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955194#3955194

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955194

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


[JBoss-user] [JBoss Seam] - Re: DataTableSelection and Seam-managed Transaction problem

2006-07-04 Thread msteiner
I have tried h:table with the same error. 
This is part of the URL generated by s:link:

dataModelSelection=

dataModelSelection is empty

09:17:06,004 ERROR [PhaseListenerManager] Exception in PhaseListener 
RESTORE_VIEW(1) afterPhase
  | java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  | at java.lang.String.substring(String.java:1768)
  | at 
org.jboss.seam.jsf.AbstractSeamPhaseListener.selectDataModelRow(AbstractSeamPhaseListener.java:86)
  | at 
org.jboss.seam.jsf.AbstractSeamPhaseListener.restoreAnyConversationContext(AbstractSeamPhaseListener.java:48)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:63)
  | at 
org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.afterPhase(SeamExtendedManagedPersistencePhaseListener.java:55)
  | at 
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:181)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955195#3955195

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955195

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


[JBoss-user] [Messaging, JMS JBossMQ] - Problem with JMSQueue and JMSReceiver

2006-07-04 Thread namitak
Hello, 

I am finding this problem while sending and receiving a large object  in 
JMSQueue and JMSReceiver respectively. Given below is the error: 


20:10:28,457 WARN [SpyMessageConsumer] Message consumer closing due to error in 
listening thread. 
org.jboss.mq.SpyJMSException: Could not load message : 4 msg=3 soft STORED 
PERSISTENT queue=QUEUE.A priority=4 lateClone=false hashCode=12445108; - nested 
throwable: (java.io.IOException: Could not load the message: 
java.io.StreamCorruptedException: unexpected EOF in middle of data block) 
at 
org.jboss.mq.pm.jdbc2.PersistenceManager.loadFromStorage(PersistenceManager.java:1150)
 
at org.jboss.mq.server.MessageCache.loadFromStorage(MessageCache.java:411) 
at org.jboss.mq.server.MessageReference.makeHard(MessageReference.java:351) 
at org.jboss.mq.server.MessageReference.getMessage(MessageReference.java:156) 
at 
org.jboss.mq.server.BasicQueue.setupMessageAcknowledgement(BasicQueue.java:879) 
at org.jboss.mq.server.BasicQueue.receive(BasicQueue.java:488) 
at org.jboss.mq.server.JMSQueue.receive(JMSQueue.java:136) 
at org.jboss.mq.server.ClientConsumer.receive(ClientConsumer.java:222) 
at 
org.jboss.mq.server.JMSDestinationManager.receive(JMSDestinationManager.java:661)
 
at 
org.jboss.mq.server.JMSServerInterceptorSupport.receive(JMSServerInterceptorSupport.java:226)
 
at 
org.jboss.mq.security.ServerSecurityInterceptor.receive(ServerSecurityInterceptor.java:100)
 
at org.jboss.mq.server.TracingInterceptor.receive(TracingInterceptor.java:570) 
at org.jboss.mq.server.JMSServerInvoker.receive(JMSServerInvoker.java:226) 
at 
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:149)
 
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:356) 
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377) 
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
 
at java.lang.Thread.run(Thread.java:536) 
Caused by: java.io.IOException: Could not load the message: 
java.io.StreamCorruptedException: unexpected EOF in middle of data block 
at 
org.jboss.mq.pm.jdbc2.PersistenceManager.extractMessage(PersistenceManager.java:552)
 
at 
org.jboss.mq.pm.jdbc2.PersistenceManager.loadFromStorage(PersistenceManager.java:1142)
 

Thanks in advance.

Regards,
Namita

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955196#3955196

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955196

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


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Problem with JMSQueue and JMSReceiver

2006-07-04 Thread jaikiran
Have a look at:

http://wiki.jboss.org/wiki/Wiki.jsp?page=WhyDoIGetStreamCorruptedException



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955197#3955197

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955197

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


[JBoss-user] [EJB 3.0] - Re: JNDI binding? (also: API Versions)

2006-07-04 Thread Hoagiex
Sun JEE5 API, javax.ejb package Stateless annotation:


  | mappedName
  | 
  | public abstract String mappedName
  | A product specific name(e.g. global JNDI name) that this session bean 
should be mapped to. Application servers are not required to support any 
particular form or type of mapped name, nor the ability to use mapped names. 
The mapped name is product-dependent and often installation-dependent. No use 
of a mapped name is portable. 
  | 
  | Default:
  | 
  | 

Using this property does absolutely nothing in Jboss, so I guess they don't 
support it.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955200#3955200

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955200

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


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Socket error caused by remote host?

2006-07-04 Thread vvsreddy21
I am getting below exception on Solaris10 / JBoss403 .

2006-07-04 12:03:28,915 ERROR [PoolTcpEndpoint] {http-0.0.0.0-8080-5} Socket 
error caused by remote host /10.65.0.225
java.net.SocketException: Invalid argument
at java.net.PlainSocketImpl.socketSetOption(Native Method)
at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:264)
at java.net.Socket.setTcpNoDelay(Socket.java:826)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.setSocketOptions(PoolTcpEndpoint.java:503)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:515)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)

Can any one know how to resolve this issue, please let me know.
Thanks in advance

-Vamsii

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955201#3955201

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955201

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


[JBoss-user] [JBoss Seam] - Re: Seam + jbpm to create a wizard?

2006-07-04 Thread da.ogre
Thank you very much for your response, Gavin!

I managed to get it working, but there's still a point I'm missing to get 
things clear. What I aimed at was a conversational stateful bean which controls 
the 'wizard'. So, I have a method which creates the process and a couple of 
methods which end the tasks according to the steps in the wizard. However, if 
annotate the methods with @EndTask, the stateful conversational bean gets 
destroyed. I assume that's because the end task ends the current conversation. 
Is there a way to avoid it?

One more question - is it possible, using the seam integration, to create a 
process and start a task at the same time, i.e. in the same method? In the 
method annotated with @CreateProcess I don't have the first taskId and the only 
way to do it seems to implement the org.jbpm.graph.def.ActionHandler.execute() 
method and get the taskId from th? ExecutionContext argument, but I'm not sure 
it's quite elegant way to do it. Is there something I'm missing or I'm just not 
grasping the idea properly?

Thanks again!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955202#3955202

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955202

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


[JBoss-user] [JBoss Eclipse IDE (users)] - JBossIDE-1.5.1.GA - xdoclet problem

2006-07-04 Thread zaferyus
I'm trying to use JBossIDE-1.5.1.GA and am having problems with xdoclet. When I 
enable or change project XDoclet configuration, XDoclet cannot create or update 
xml files (xdoclet-build.xml ...). I am using Windows XP and regional options 
Turkish. I changed regional options to English, XDoclet works fine. But I need 
Turkish settings.

Message : Error while running XDoclet
Exception Stack Trace :
javax.xml.transform.TransformerConfigurationException: Could not compile 
stylesheet
at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824)
at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
at 
org.jboss.ide.eclipse.xdoclet.run.XDocletRunPlugin.createBuildFile(XDocletRunPlugin.java:228)
at 
org.jboss.ide.eclipse.xdoclet.run.ui.actions.XDocletRunAction$1.run(XDocletRunAction.java:170)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

Session Data:
eclipse.buildId=M20050929-0840
java.version=1.5.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=tr_TR
Command-line arguments:  -data C:\java\JBossIDE-1.5.1.GA\work2 -os win32 -ws 
win32 -arch x86

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955203#3955203

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955203

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


[JBoss-user] [EJB 3.0] - Re: EJBs and Transactions

2006-07-04 Thread NigelWhite
After some googling and trying random incantations, I ended up wit hthis at the 
top of the EJB methods which create an EntityManagerFactory:

@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
  | 

Who'd a thunk it?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955204#3955204

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955204

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


[JBoss-user] [JCA/JBoss] - JCA 1.5 shared libraries in JBoss 4.0

2006-07-04 Thread victortr
Hello all,

I'm developing a resource adapter JCA 1.5 it runs in JBoss 4.0.
This resource adapter contains some internal jar files.
There's a web application that needs to use the classes from the internal jars.

When I deploy the resource adapter in JBoss and then deploy my web application,
the classes from internal jar are accessible for web application as well.
This is good.

The problem is that resource adapter contains other jars as well,
for example commons-logging.jar, commons-..
Now all those third party jars become available for all applications in this 
JBoss instance.

For example if there's an application that uses commons-logging.jar from 
different version than my resource adapter,
there may be a collision and this application may stop functioning.

How can I solve this problem.
From one side I want that internal jar files will be accessible to my web 
application,
but from another side I need that the 3rd party jars will not override other 
applications.

Thanks a lot.
Victor.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955205#3955205

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955205

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


[JBoss-user] [JBoss jBPM] - StaleObjectStateException after a fork

2006-07-04 Thread barbalala
Hello,

I'm using a fork to post different tasks to different actors. As a consequence, 
each of these tasks is related to a different token, and each oh these tokens 
is a child of the original token, the one which entered the fork node.
When 2 users validate their task at the same time, one of them gets a 
StaleObjectStateException, which mentions the parent token:
org.hibernate.StaleObjectStateException: Row was updated or deleted by another 
transaction (or unsaved-value mapping was incorrect): 
[org.jbpm.graph.exe.Token#581]

Here is a simplified example of my process:
process-definition
  |   xmlns=  name=ForkTest
  |start-state name=start
  |   transition name= to=fork1/transition
  |/start-state
  |fork name=fork1
  |   transition name= to=task1/transition
  |   transition name=tr2 to=task2/transition
  |/fork
  |task-node name=task1
  |   !-- ... --
  |   transition name= to=end1/transition
  |/task-node
  |task-node name=task2
  |   !-- ... --
  |   transition name= to=end2/transition
  |/task-node
  |end-state name=end1/end-state
  |end-state name=end2/end-state
  | /process-definition

As I understand it, the termination of a Token notifies its parent in order for 
it to be able to terminate itself if all its children are finished.
What I can't figure out is why the parent token is modified when one of its 
children, (which is not the last) comes to an end ? I would have thought that 
only the termination of the last child token would modify the parent token, so 
I don't understand why the exception occurs, since there should not be any 
concurrent omdification of the parent token.

Any idea ? Is this behaviour normal ? Is there a way to manage this kind of 
problem without asking the user to re-validate his task ?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955206#3955206

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955206

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


[JBoss-user] [JBoss jBPM] - where is processdefinition.xml file exists after it is deplo

2006-07-04 Thread whk1007
I have deployed the jbpm3 sample websale to tomcat5+mysql, and it can work 
correctly. But i want to know where is processdefinition.xml file exists? The 
directory of mine is: C:\Tomcat 5.0\webapps\jbpm , Does the 
processdefinition.xml included in any .jar file. Such as jbpm-3.0.3.jar?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955207#3955207

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955207

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


[JBoss-user] [Management, JMX/JBoss] - Calculation listenning host and port

2006-07-04 Thread victortr
Hello all,
I'm developing applications in JBOss 4.0 (resource adapter and web application).

I need to find out the listenning host and port of the JBoss instance in 
runtime.

I've found following way to calculate the host:
MBeanServer server = MBeanServerLocator.locateJBoss();
ObjectName serverInfoObjectName = new 
ObjectName(jboss.system:type=ServerInfo);
host = (String)server.getAttribute(serverInfoObjectName, HostAddress);

Is it a correct way?

How can I calculate the listenning port?

Thanks a lot. Victor.   


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955208#3955208

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955208

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


[JBoss-user] [JBoss jBPM] - Re: org.hibernate.HibernateException: /hibernate.cfg.xml not

2006-07-04 Thread jcash
How did you fix this in the end?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955209#3955209

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955209

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


[JBoss-user] [Security JAAS/JBoss] - Re: Problem with security and Seam

2006-07-04 Thread gekorob
Hi Alexio,
  I didn't find a good solution in modifying ClientLoginModule, so I'm trying 
to use jpdl and servlet redirection like I've seen in another post. 

Bye
  Roby

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955210#3955210

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955210

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


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Http Session Timeout does not work properly

2006-07-04 Thread thepes
I have exactly the same problem, with Jboss 4.0.4 RC2

there seems to be a process that go check the session when it wants, not when 
it should

On my dev server the sessions are destroyed in the good delay, but on my 
production server, some of them seems to be never destoyed :(

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955211#3955211

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955211

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


[JBoss-user] [JBoss jBPM] - Re: Task Management Definition maps tasks by name

2006-07-04 Thread [EMAIL PROTECTED]
Yes, this should probably change... Can you file an issue?

Thanks and regards,
Koen

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955212#3955212

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955212

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


[JBoss-user] [JBoss Eclipse IDE (users)] - Re: JBossIDE-1.5.1.GA - xdoclet problem

2006-07-04 Thread zaferyus
Same problem in JBossIDE-1.6.0.GA Run packaging command. 
Message: Error while running packaging
Exception Stack Trace:
javax.xml.transform.TransformerConfigurationException: Could not compile 
stylesheet
at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824)
at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
at 
org.jboss.ide.eclipse.packaging.core.PackagingCorePlugin.createBuildFile(PackagingCorePlugin.java:209)
at 
org.jboss.ide.eclipse.packaging.ui.actions.PackagingRunAction$1.run(PackagingRunAction.java:170)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

Session Data:
eclipse.buildId=M20060118-1600
java.version=1.5.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=tr_TR
Command-line arguments:  -os win32 -ws win32 -arch x86

Same regional settings problem. English settings work fine, Turkish settings 
problem.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955213#3955213

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955213

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


[JBoss-user] [JBoss Messaging] - Re: Consumed messages redelivered ?

2006-07-04 Thread timfox
Please replicate in a simple test case, and send to me and I will investigate.

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955214#3955214

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955214

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


[JBoss-user] [JBoss Messaging] - Re: Consumed messages redelivered ?

2006-07-04 Thread timfox
You don't have to send all your code. Just replicate with a simple message 
listener, this is the normal proceedure...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955215#3955215

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955215

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


[JBoss-user] [EJB 3.0] - Re: Oracle10g dialect

2006-07-04 Thread dailo10
jc7442 wrote : An answer to my own question:
  | It seems that an oracle10gDialect may be usefull (see 
http://builder.com.com/5100-6388-5224536.html)
  | 
  | It may look like:
  | public class Oracle10gDialect extends Oracle9Dialect {
  |   |   public Oracle10gDialect() {
  |   | super();
  |   | // override properties
  |   | registerColumnType( Types.FLOAT, binary_float );
  |   | registerColumnType( Types.DOUBLE, binary_double );
  |   |   }
  |   | }
  | 
  | It does not fix the problem for the NaN. For Double.NaN, it looks like a 
bug in the oracle JDBC driver, a small patch in the DoubleBinder class fixes 
the problem.


Hi there.  

I am dealing with a similar situation.  Do you know where I might find this 
patch for the DoubleBinder class?

Thanks!



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955216#3955216

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955216

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


[JBoss-user] [Beginners Corner] - Re: Modules inside EAR are deployed twice?

2006-07-04 Thread Goonie
I've created a totally simple web-application (packages inside an EAR) showing 
the problem, at least for JBoss 4.0.4.GA.

Here is the application.xml (created by Maven2):

?xml version=1.0 encoding=UTF-8?
application xmlns=http://java.sun.com/xml/ns/j2ee; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd; version=1.4
  display-nametest/display-name
  

  web-uritest-webapp-1.0-SNAPSHOT.war/web-uri
  context-root/test/context-root

  


I can attach the ready-to-deploy EAR, an image prooving that the WAR is showing 
up twice (actually three times if you count in the appearance under the EAR 
tree) and the source code of the two Eclipse projects used to create this 
testcase.
[/img]

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955217#3955217

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955217

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


[JBoss-user] [Beginners Corner] - Re: Modules inside EAR are deployed twice?

2006-07-04 Thread Goonie
Goonie wrote : I can attach

It's just that I can't attach in this forum )-:

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955218#3955218

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955218

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


[JBoss-user] [JBoss Seam] - problem with running a Seam application

2006-07-04 Thread mnrz
hi

I have a simple application developed by Seam framework, but it has an error 
when I am going to submit the first page to navigate to another page, the error 
message as follows:


ERROR 04-05 11:41:33,328 (Log4JLogger.java:error:119)  -Exception in PhaseListen
er RESTORE_VIEW 1 afterPhase
java.lang.NullPointerException
at org.jboss.seam.contexts.PageContext.getAttributeMap(PageContext.java:
103)
at org.jboss.seam.contexts.PageContext.(PageContext.java:40)
at org.jboss.seam.contexts.Lifecycle.resumePage(Lifecycle.java:323)
at org.jboss.seam.jsf.AbstractSeamPhaseListener.restoreAnyConversationCo
ntext(AbstractSeamPhaseListener.java:39)
at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.jav
a:63)
at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListener
sAfter(PhaseListenerManager.java:89)
at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.
java:181)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java
:66)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Thread.java:595)
ERROR 04-05 11:41:33,375 (Log4JLogger.java:error:119)  -Exception in PhaseListen
er RESTORE_VIEW 1 afterPhase
java.lang.NullPointerException
at org.jboss.seam.contexts.PageContext.getAttributeMap(PageContext.java:
103)
at org.jboss.seam.contexts.PageContext.(PageContext.java:40)
at org.jboss.seam.contexts.Lifecycle.resumePage(Lifecycle.java:323)
at org.jboss.seam.jsf.AbstractSeamPhaseListener.restoreAnyConversationCo
ntext(AbstractSeamPhaseListener.java:39)
at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.jav
a:63)
at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListener
sAfter(PhaseListenerManager.java:89)
at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.
java:181)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java
:66)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Thread.java:595)
ERROR 04-05 11:41:33,375 (Log4JLogger.java:error:119)  -Servlet.service() for se
rvlet Faces Servlet threw exception
java.lang.NullPointerException
at com.sun.faces.application.ViewHandlerImpl.findMatch(ViewHandlerImpl.j
ava:409)
at 

[JBoss-user] [JBossWS] - SOAPBody NAMESPACE_ERR

2006-07-04 Thread angusm
If I create a Document by reading it from a String (as in the WS examples) I 
can add it to a SOAPBody. But if I create the same document programatically I 
get a NAMESPACE_ERR.
In the example below I created the Document programatically, converted it to a 
String, and then back to a Document. The second worked, the first did not.

I have changed the version of the XerceImpl.jar, without any difference.

Any advice would be much appreciated. Should I submit a bug?

adding doc from ByteArrayInputStream: 
  | ?xml version=1.0 encoding=UTF-8?
  | OrderCustomerKermit/CustomerItemFerrari/Item/Order
  | adding doc from program:
  | 
  | org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or 
change an object in a way which is incorrect with regard to namespaces.
  | at org.apache.xerces.dom.ElementNSImpl.setName(Unknown Source)
  | at org.apache.xerces.dom.ElementNSImpl.init(Unknown Source)
  | at org.apache.xerces.dom.CoreDocumentImpl.createElementNS(Unknown 
Source)
  | at org.jboss.util.xml.DOMUtils.createElement(DOMUtils.java:140)
  | at org.jboss.ws.soap.SOAPElementImpl.init(SOAPElementImpl.java:79)
  | at 
org.jboss.ws.soap.SOAPFactoryImpl.createElement(SOAPFactoryImpl.java:75)
  | at org.jboss.ws.soap.SOAPBodyImpl.addDocument(SOAPBodyImpl.java:82)
  | at test.TestNs.init(TestNs.java:40)
  | at test.TestNs.main(TestNs.java:73)

Program:

package test;

import java.io.ByteArrayInputStream;
  | import java.io.StringWriter;
  | 
  | import javax.xml.parsers.DocumentBuilder;
  | import javax.xml.parsers.DocumentBuilderFactory;
  | import javax.xml.soap.MessageFactory;
  | import javax.xml.soap.SOAPBody;
  | import org.w3c.dom.Document;
  | import org.w3c.dom.Element;
  | import com.ibm.wsdl.util.xml.DOM2Writer;
  | 
  | public class TestNs {
  | 
  | public TestNs() {
  | try {
  | MessageFactory mf = MessageFactory.newInstance();
  | SOAPBody body = mf.createMessage().getSOAPBody();
  | SOAPBody body2 = mf.createMessage().getSOAPBody();
  | DocumentBuilderFactory docBuilderFactory = 
DocumentBuilderFactory.newInstance();
  | docBuilderFactory.setNamespaceAware(true);
  | DocumentBuilder builder = 
docBuilderFactory.newDocumentBuilder();
  | 
  | Document doc = getDoc();
  | 
  | StringWriter swr = new StringWriter();
  | DOM2Writer.serializeAsXML(doc, swr);
  | String xml = swr.toString();
  | 
  | Document doc2 = builder.parse(new 
ByteArrayInputStream(xml.getBytes()));
  | 
  | System.out.println(adding doc from 
ByteArrayInputStream: \n + swr);
  | body2.addDocument(doc2);
  | 
  | System.out.println(adding doc from program:\n);
  | // NAMESPACE_ERR !
  | body.addDocument(doc);
  | 
  | } catch (Exception e) {
  | e.printStackTrace();
  | }
  | }
  | 
  | private Document getDoc() {
  | try {
  | DocumentBuilderFactory docBuilderFactory = 
DocumentBuilderFactory.newInstance();
  | docBuilderFactory.setNamespaceAware(true);
  | DocumentBuilder builder = 
docBuilderFactory.newDocumentBuilder();
  | Document root = builder.newDocument();
  | 
  | Element orderEl = root.createElement(Order);
  | root.appendChild(orderEl);
  | 
  | Element customerEl = root.createElement(Customer);
  | orderEl.appendChild(customerEl);
  | customerEl.appendChild(root.createTextNode(Kermit));
  | 
  | Element itemEl = root.createElement(Item);
  | orderEl.appendChild(itemEl);
  | itemEl.appendChild(root.createTextNode(Ferrari));
  | 
  | return root;
  | } catch (Exception e) {
  | e.printStackTrace();
  | return null;
  | }
  | }
  | 
  | public static void main(String[] args) {
  | new TestNs();
  | }
  | }

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955220#3955220

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955220

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___

[JBoss-user] [EJB 3.0] - is it possible to generate EntityBeans from DB

2006-07-04 Thread mrohad
in some IDEs(like WSAD) it's possible to choose tables from DB scheme and auto 
generate entitybeans out of it...
is there any way to do it here as well?using the JBOSS IDE??

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955221#3955221

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955221

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


[JBoss-user] [JBoss Seam] - Re: Getting request parameter within JBoss Portal

2006-07-04 Thread [EMAIL PROTECTED]
Per the portlet spec, you don't have access to such parameters. This is not 
related to Seam.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955222#3955222

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955222

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


[JBoss-user] [EJB 3.0] - Re: is it possible to generate EntityBeans from DB

2006-07-04 Thread anders.hedstrom
Have a look at http://www.jboss.com/products/seam/SeamHBTools.html

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955223#3955223

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955223

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


[JBoss-user] [EJB 3.0] - Re: Durable Subscriber Annotations for MDB using EJB3

2006-07-04 Thread jnerd
Hi there,

I am toying around with durable subscriptions, too, and ran into the same 
problems. I observed the following:

anonymous wrote : You can set any property that is available in 
org.jboss.ejb3.mdb.MDBConfig 

Funny though that there is no subscriptionDurability property in that class. 
I tried to set the present durability property and it look much better.
@ActivationConfigProperty(propertyName=Durability,propertyValue=Durable)

Next JBoss bothers about a missing subscription name. So here we go:
@ActivationConfigProperty(propertyName=subscriptionName,propertyValue = 
echoBean)

This get's me a bit further, but I still fail due to security constraint:

  | javax.jms.JMSSecurityException: Connection not authorized to do durable 
subscription on topic: testMDB
  | at 
org.jboss.mq.security.ServerSecurityInterceptor.subscribe(ServerSecurityInterceptor.java:150)
  | at 
org.jboss.mq.server.TracingInterceptor.subscribe(TracingInterceptor.java:779)
  | at 
org.jboss.mq.server.JMSServerInvoker.subscribe(JMSServerInvoker.java:312)
  | at org.jboss.mq.il.jvm.JVMServerIL.subscribe(JVMServerIL.java:329)
  | at org.jboss.mq.Connection.addConsumer(Connection.java:789)
  | at 
org.jboss.mq.SpyConnectionConsumer.init(SpyConnectionConsumer.java:111)
  | at 
org.jboss.mq.SpyConnection.createDurableConnectionConsumer(SpyConnection.java:196)
  | at org.jboss.ejb3.mdb.MDB.innerCreateTopic(MDB.java:524)
  | at org.jboss.ejb3.mdb.MDB.innerCreate(MDB.java:342)
  | at org.jboss.ejb3.mdb.MDB.innerStart(MDB.java:225)
  | at org.jboss.ejb3.mdb.MDB.start(MDB.java:214)
  | 

Argh. I specified a user and a password, which are definitely evaluated. But I 
didn't succeeded yet in hacking my own application server :(.


  | 
@ActivationConfigProperty(propertyName=Durability,propertyValue=Durable)
  | 
,@ActivationConfigProperty(propertyName=subscriptionName,propertyValue=slowEchoBean)
  | 
,@ActivationConfigProperty(propertyName=user,propertyValue=guest)
  | 
,@ActivationConfigProperty(propertyName=password,propertyValue=guest)
  | 

So far up to now.

Cheers,
Patrick

p.s.: I am using JBoss AS 4.0.4 GA with EJB3 option on.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955224#3955224

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955224

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


[JBoss-user] [JBoss Getting Started Documentation] - jboss pooling

2006-07-04 Thread Renierb
I have setup a datasoure and pooling(for postgresql) in my JSP page.
The datasource works, but I am not sure if the pooling is working.
Here is what i have done:
1.) C:\jboss-4.0.4RC1\server\default\deploy\postgres-ds.xml:

  local-tx-datasource
jndi-namePostgresDS/jndi-name
connection-urljdbc:postgresql://pghost/sekunjalo/connection-url
driver-classorg.postgresql.Driver/driver-class
user-nameiis/user-name

!-- sql to call when connection is created.  Can be anything, select 1 
is valid for PostgreSQL
new-connection-sqlselect 1/new-connection-sql
--

!-- Pools are lazily constructed on first use -- 
!-- The min connections in a pool/sub-pool --
min-pool-size1/min-pool-size 
!-- The max connections in a pool/sub-pool -- 
max-pool-size2/max-pool-size
blocking-timeout-millis5000/blocking-timeout-millis
idle-timeout-minutes15/idle-timeout-minutes



!-- sql to call on an existing pooled connection when it is obtained 
from pool.  Can be anything, select 1 is valid for PostgreSQL
check-valid-connection-sqlselect 1/check-valid-connection-sql
--

  !-- corresponding type-mapping in the standardjbosscmp-jdbc.xml 
(optional) --
  
 type-mappingPostgreSQL 7.2/type-mapping
  
  /local-tx-datasource


---
2.) In my C:\jboss-4.0.4RC1\server\default\deploy\ROOT.war\WEB-INF folder, I 
have web.xml and jboss-web.xml
web.xml
---
resource-ref
res-ref-namejdbc/fnbDbPool/res-ref-name
res-typejavax.sql.DataSource/res-type
res-auth
Container
/res-auth
/resource-ref
--
jboss-web.xml
-
resource-ref
res-ref-namejdbc/fnbDbPool/res-ref-name
res-typejavax.sql.DataSource/res-type
jndi-namejava:/PostgresDS/jndi-name
/resource-ref


and i have my driver also in my lib folder, everything work, but is this all i 
need to do to activate or use the pooling?




View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955225#3955225

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955225

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


[JBoss-user] [JBoss Seam] - Beginner's question: Simple passing of data from page to pag

2006-07-04 Thread bfo81
Hello,

I have a general question that maybe even others might have ;).

I work with JSF + Spring + Hibernate + ADF Faces, but since JSF + Seam + EJB3 
is so much easier, I wanna know it better ;). But what confuses me (even when 
looking at the documentation - which is not complete yet - or the examples) are 
the different scope types of JSF beans (application, session, request), the 
Seam stuff (Event, Conversation, ...) and EJB beans (stateful, stateless).

I'd like to implement a simple example for learning Seam, but I wasn't able to 
make it work, though trying every combination of Annotations (Scope, Stateful, 
Stateless, In, Out, ...) that seemed sensible to me.

Maybe you could give me a hint, what to do with the following code to make it 
work. Let me explain you the example. I call it ping pong. A user enters 
something into a textfield on a page called ping.jsp. After that, he's being 
led to a page called pong.jsp. There is another textfield and the user enters 
something in it. After that, he's being taken back to ping.jsp and so on. 
Everything the user types shall be shown under the textfields, with a remark on 
which page he entered it. It should look a little like a chat:

[_Textfield__]   [__Send button__]

Ping: Hello
Pong: Hello, too
Ping: Test
Pong: Lala

Now here's the code:

PingBean.java (I think I don't need to post the Local Interface here ;))

  | @Name(Ping)
  | public class PingBean implements Ping {
  | 
  | //That's the line the user enters
  | private String line; 
  | 
  | //That's the whole chat
  | @In(required=false) @Out
  | private String chat; 
  | 
  | //This one is being called after the user clicks send
  | public String send() {
  | 
  | //The line the user typed in is being attached to the whole chat
  | chat += Ping:  + line + br /;
  | 
  | //And the outcome to navigate to pong.jsp is being returned
  | return pong;
  | 
  | }
  | 
  | //getters and setters
  | //...
  | 
  | }
  | 

PongBean.java is the same, just replace pong by ping and vice versa ;)

ping.jsp:

  | 
  | ...
  | f:view
  | h:form
  | h:inputText value=#{ping.line} /
  | h:commandButton value=Send action=#{ping.send} /
  | 
  | br /
  | h:outputText value=#{ping.chat} /
  | /h:form
  | /f:view
  | ...
  | 
  | 

pong.jsp is similar, and the navigation rules should be clear (no redirect) ;).


Now: How to annotate the example to make it work?

At the moment:
- chat is always Ping: null null or Pong: null null
- the textfield says #{ping.line} (so the variable isn't being resolved :() 
(this explains the first null)
or in a nutshell: I can't bind the line-String to the JSF file and I can't pass 
the chat-String to the other page. Only the call of the action method works.

Please keep in mind that I just want to pass the chat variable from one page to 
the other. And as I want to have multiple instances of this dialog open, 
there shouldn't be any use of sessions. Just passing from one page to another 
(just like ADF Faces' process scope, if you maybe know it).

I'd be thankful for any help :).

PS: If you wonder what this example is good for: There are many applications 
where to pass something from one page to another. E.g. if you have a list of 
customers. You select one and you want to navigate to his orders to create a 
new one. Then the software should be aware of which customer you want to add 
this order to.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955226#3955226

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955226

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


[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to disable Hibernate's Auto session close?

2006-07-04 Thread sdes1240
1. Deploy your hibernate files as if they where running in jboss3.x (see wiki's)

2. you find the sources in jboss.org (fisheye or CVS).

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955227#3955227

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955227

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


[JBoss-user] [JBoss Portal] - unable to run portlet application

2006-07-04 Thread dhandale.m
I have downloaded the simple HelloWorldPortlet and tried to deploy it using 
jboss-portal-2.2.1-SP3-bundled and followed the user reference pdf provided 
with the JBOSS PORTAL.

I have tried to access the portal as per the steps provides in user guide but 
gettng the error page not found

can anybody provide the stapes for running the sample example?


Thanks,
Mangesh

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955228#3955228

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955228

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


[JBoss-user] [JBoss Seam] - Re: @SelectItems and @SelectItemsSelection annotations?

2006-07-04 Thread petemuir
I've put my version here: http://bigbob.splendid.co.uk/selectitems.tar.gz.  It 
works well but isn't well packaged (no examples etc.).  If I get time to tidy 
it up I'll put it on the wiki.

anonymous wrote : 
  | The attached files provide a @SelectItems databinder for Seam. It has a 
label attribute that is the name of a field/property on each object in the 
outjected list. If the label attribute is empty object.toString() is used. 
@SelectItems can be used for any Object.
  | 
  | Also provided is an EntityConverter. This requires the objects specified in 
the f:selectItems value=... / to have the Entity annotation. It should be 
set in your favourite way:
  | 
  |   | * By Class (each class which requires this converter is specified in 
faces-config.xml)
  |   | * By Id (specify in faces-config.xml, specify id in view)
  |   | * Using EL (load from a function as an inner class)
  |   | * Use facelets to set as default converter for selects (I place the 
h:selectXXX in a source tag file with an optional converter attribute (on the 
source tag), if the converter attribute is not set then load the 
EntityConverter, code available if needed)
  |   | 
  | 
  | Corrections/queries are most welcome.
  | 

See also: http://jroller.com/page/pmuir?entry=selectitems_for_seam

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955230#3955230

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955230

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


[JBoss-user] [JBoss Seam] - Re: problem with running a Seam application

2006-07-04 Thread bfo81
J2EE Exceptions for themselves are not very informative (that's why debugging 
really s). Please post some of your code ;).

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955229#3955229

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955229

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


[JBoss-user] [JBoss Seam] - Re: Outjection Problem

2006-07-04 Thread sws42
I haven't got the contextual components right.

If I read the documentation, it tells me that a SLSB (Seam Component, because 
annotated with @Name) is being put in the stateless context. A non-Seam 
Component is being put in the context which I annotated with @Out (scope=...), 
eg the EVENT-Context, or alternatively in the context to which the parent 
component belongs. The EVENT-Context should be flushed after the request. So 
all components in this context have to be deleted. 
So, I've created a SLSB, which outjects a LinkedList into the EVENT-Context. 
This LinkedList represents my menu, which is read from the database. So I would 
think, if I refresh my page the menu has to be assembled once again, since the 
old request has ended, and a new one has to look for my menu-component, using 
it's @Factory-method to create it once again. But my page shows the doubled 
menu. Where does this data come from? 
I could null my LinkedList before I fill it again, but then I'm far from 
understanding what the contexts are doing.

My Problem described in the entry above belongs to the same unknowing. 
I populate a DataModel on a page, every entry has a link to a page for editing 
the entry. The actionmethod behind this link starts a long running 
conversation. So I think that I can simply outject the DataModelSelection into 
the started long running conversation and Inject it into the component 
responsible for editing, which is also conversation scoped. But there it won't 
be found. If I look onto the debugpage, I find it! 
 
After editing, the Save-actionmethod should end the conversation.

Can anybody tell me what I have missed?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955231#3955231

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955231

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


[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: using others DBMS in jboss

2006-07-04 Thread wdfink
What kind of Exception?
During deploy or when you use it?
In which EJB do you use the DB-Connection? Session or Entity?

Wolf

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955232#3955232

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955232

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


[JBoss-user] [JBossWS] - Re: Encrypting/Signing SOAP messages in JBOSS 4.0.1Sp1

2006-07-04 Thread mylene
check out http://wiki.jboss.org/wiki/Wiki.jsp?page=WSSecurity

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955233#3955233

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955233

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


[JBoss-user] [EJB 3.0] - Re: is it possible to generate EntityBeans from DB

2006-07-04 Thread mrohad
thanks! is it possible to create tables out of EJB3 entitybeans?

what do I do after I changed a entitybean or a table? is it possible to auto 
update the other side?
thanks again

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955236#3955236

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955236

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


[JBoss-user] [JBoss Seam] - Re: @Begin doesn't work whith @Observe, navigation rule

2006-07-04 Thread msteiner
Ok I have finally managed to create test case. 

http://jira.jboss.org/jira/browse/JBSEAM-292

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955237#3955237

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955237

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


[JBoss-user] [JBoss Eclipse IDE (users)] - hsql problems with Hibernate Tools 3.1.0 beta 5

2006-07-04 Thread christophrooms
I got hibernate tools working connecting to a mysql database.

Now i try to get it working with HSQL database, but just don't get there.

i'm using this url : 

jdbc:hsqldb:file:C:/sandwich/sandwich

This URL works when connecting from a java class file.

When using this url, i will get this error in eclipse consoleLog ...


  | !MESSAGE java.sql.SQLException: File input/output error: 
file:///C:/sandwich/sandwich.properties java.io.FileNotFoundExc
  | eption: file:\C:\sandwich\sandwich.properties (The filename, directory 
name, or volume label syntax is incorrect)
  | !STACK 0
  | java.sql.SQLException: File input/output error: 
file:///C:/sandwich/sandwich.properties java.io.FileNotFoundException: f
  | ile:\C:\sandwich\sandwich.properties (The filename, directory name, or 
volume label syntax is incorrect)
  | at org.hsqldb.Trace.getError(Trace.java:238)
  | at org.hsqldb.Trace.error(Trace.java:325)
  | at 
org.hsqldb.HsqlDatabaseProperties.save(HsqlDatabaseProperties.java:218)
  | at org.hsqldb.Log.create(Log.java:639)
  | at org.hsqldb.Log.open(Log.java:244)
  | at org.hsqldb.Database$Logger.openLog(Database.java:2623)
  | at org.hsqldb.Database.open(Database.java:226)
  | at org.hsqldb.Database.init(Database.java:188)
  | at 
org.hsqldb.jdbcConnection.openStandalone(jdbcConnection.java:2886)
  | at org.hsqldb.jdbcConnection.init(jdbcConnection.java:2465)
  | at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:167)
  | at java.sql.DriverManager.getConnection(Unknown Source)
  | at java.sql.DriverManager.getConnection(Unknown Source)
  | at 
org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:1
  | 10)
  | at 
org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getConnection(JDBCMetaDataDialect.java:294)
  | at 
org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getMetaData(JDBCMetaDataDialect.java:58)
  | at 
org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getTables(JDBCMetaDataDialect.java:70)
  | at 
org.hibernate.cfg.reveng.JDBCReader.processTables(JDBCReader.java:404)
  | at 
org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:68)
  | at 
org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$1.execute(LazyDatabaseSchemaWorkbe
  | nchAdapter.java:76)
  | at 
org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:35)
  | at 
org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(LazyDatabaseSch
  | emaWorkbenchAdapter.java:67)
  | at 
org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWork
  | benchAdapter.java:36)
  | at 
org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWork
  | benchAdapter.java:28)
  | at 
org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.jav
  | a:69)
  | at 
org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:192)
  | at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955238#3955238

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955238

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


[JBoss-user] [Messaging, JMS JBossMQ] - jboss issues

2006-07-04 Thread sailu
In case of weblogic Queue connection and Session is creatied like this
In Web logic 
qCon created = [EMAIL PROTECTED]
qSession created = [EMAIL PROTECTED]

In case of Jboss Queue connection and Session is creating like this
 In Jboss 
qCon created = [EMAIL PROTECTED] 
[token=ConnectionToken:ID:1/b01d8f81e0f3bec50cb6945ef4dfa847 rcvstate=STOPPED]

qSession created = [EMAIL PROTECTED] ack=DUPSOK txid=null RUNNING [EMAIL 
PROTECTED] 
[token=ConnectionToken:ID:2/4913c9a84c53dba13b54b0415c00d239 rcvstate=STOPPED]]

Does it different for different servers or is there any configuration problem 
in Jboss. And also i want to know while creating session and connection in 
jboss why it is giving rcvstate=STOPPED


TQServer [start] : qSession created = [EMAIL PROTECTED] ack=DUPSOK 
txid=null RUNNING [EMAIL PROTECTED]
[token=ConnectionToken:ID:2/4913c9a84c53dba13b54b0415c00d239 
rcvstate=STOPPED]]
JMS : qqSession = [EMAIL PROTECTED]

Thanks in advance.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955239#3955239

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955239

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


[JBoss-user] [Beginners Corner] - Re: which is latest jboss server to be downloaded

2006-07-04 Thread kbird
thanks!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955240#3955240

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955240

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


[JBoss-user] [Messaging, JMS JBossMQ] - Jms problem in jboss

2006-07-04 Thread sailu
I have One doubt in Jboss. I am using jboss4.2 ,Linux,Jms ,MDB. 
Response listner created Thread like this in Jboss
 AdminReponseListner [ReceiveMsg] hm={kotesh=Thread[Thread-16,5,RMI Runtime]} 1
 In case of Web Logic This will be like this 
AdminReponseListner [ReceiveMsg] hm={kotesh=Thread[Thread-12,5,Thread Group 
for Queue: 'MyExecuteQueue']} 1 
I am using the same code in two server
Does it different for different servers or is there any configuration issue in 
jboss .
My problem is my code is working in weblogic but in case of jboss it is not 
working ,means the consumer is not able to receive any message . 
I  did all configurations . 
Can any one help me 
Thanks in adavance 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955241#3955241

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955241

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


[JBoss-user] [JBoss Seam] - Re: problem with running a Seam application

2006-07-04 Thread mnrz
Hi

Ok
this is the code that implements the listener interface:
-
package com.payvand.seam;

import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.hibernate.validator.Valid;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.core.FacesMessages;

@Stateless
@Name(regis)
public class SessionAction implements Listeners{

@In @Valid
private User user;

@PersistenceContext
private EntityManager em;

public String register() {
// TODO Auto-generated method stub
List listUser=em.createQuery(select username from User where 
username=:username)
.setParameter(username,user.getUserName()).getResultList();
if(listUser.size()==0){
em.persist(user);
return /register.jsp;
}
else
{
FacesMessages.instance().add(User #{user.username} 
already exists);
return null;
}

}

}
-
this is the component.xml file :




false
#{ejbName}/local






--
here is my ejb-jar.xml:

ejb-jar
   assembly-descriptor
  interceptor-binding
 ejb-name*/ejb-name
 
interceptor-classorg.jboss.seam.ejb.SeamInterceptor/interceptor-class
  /interceptor-binding
   /assembly-descriptor
/ejb-jar
---
and this is persistence.xml:


persistence-unit name=userDatabase
  org.hibernate.ejb.HibernatePersistence
  jta-data-sourcejava:/DefaultDS/jta-data-source
  
 
  
/persistence-unit

---
and finally this is the JSP file:

%@ taglib uri=http://java.sun.com/jsf/html; prefix=h %
%@ taglib uri=http://java.sun.com/jsf/core; prefix=f %
%@ taglib uri=http://jboss.com/products/seam/taglib; prefix=s %


f:view
h:form
 
s:validateAll
 
  Username
  h:inputText value=#{user.userName} required=true


Password
h:inputSecret value=#{user.pass} required=true

  
/s:validateAll

h:messages/
h:commandButton type=submit value=Listeners 
action=#{regis.register}
/h:form

/f:view








View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955242#3955242

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955242

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


[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: using others DBMS in jboss

2006-07-04 Thread greenday_ra
Thank you fro your reply.

i got exception in runtime when i try to use my ejb.
but about ejb. i use BMP. i know that there is a jbosscmp-jdbc file for setting 
datasource in CMP but how about BMP. 
i try to add these setting in ejb-jar.xml but it was useless... :-(

...
resource-ref
   res-ref-namejdbc/myjndi/res-ref-name 
   res-typejavax.sql.DataSource/res-type 
   res-authContainer/res-auth 
 /resource-ref
 



thakns

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955243#3955243

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955243

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


[JBoss-user] [JBoss Seam] - Re: DataModel / Duplicated ID

2006-07-04 Thread Holger Prause
Hello,

i got this duplicated problem too , its caused as far as i can see from 
h:dataTable or h:commandLink, what worked for me is putting these elements into 
a 

h:form/h:form tag

hope i could help a bit

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955244#3955244

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955244

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


[JBoss-user] [Clustering/JBoss] - Clustering of ResourceAdapter (RAR)

2006-07-04 Thread mgruebsch
Hello,

I understand that JBoss is able to cluster EJBs and some core services. In 
addition JBoss can deploy an application accross the whole cluster using a farm 
directory.

Suppose you have an EAR, which contains the EJB Application and a 
ResourceAdapter (RAR). The EAR is deployed to the cluster's farm directory. 
What happens with the RAR:


Is the RAR distributed and deployed on every cluster node too?

If the RAR is deployed on each cluster node simultaneously does this mean that 
the ResourceAdapters have to coordinate inbound EIS request?

If the RAR (as part of an EAR deployed to a farm directory) is not distributed 
accross the cluster automatically, what will happen:

Is it deployed on any node either?
What will happen if the node on which the RAR is deployed crashes: does any 
failover scenario come into place (inbound as well as outbound)?



What happens if only the RAR is deployed (as standalone archive not contained 
in a RAR)?

Thanks a lot
Michael


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955246#3955246

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955246

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


[JBoss-user] [JBoss jBPM] - nested jbpmcontext.create and close

2006-07-04 Thread einali
Hi Dear Friends 
I am integrating jbpm in legacy system that user database as middleware between 
users ;
jbpm work in every client and synchronize by using single Database ;
i use jbpmcontext.create to load jbpm object and
when an action done I have to save single object immediatly 
between jbpmcontext.create and  close loop 
Unfotunaty i see cann't close hibernate session Exception;
does any body know better job ?

try{
jbpmcontext= jbpmConfiguration.createJbpmContext();

. load objects ...

  try{
   jbpmcontext2= jbpmConfiguration.createJbpmContext();

   jbpmcontext2.save(someTaskInstance);


 }finally{
  jbpmcontext.close()
 }


}finally{
   jbpmcontext.close()
}

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955247#3955247

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955247

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


[JBoss-user] [JCA/JBoss] - Clustering of ResourceAdapter (RAR)

2006-07-04 Thread mgruebsch
Hello,

I understand that JBoss is able to cluster EJBs and some core services. In 
addition JBoss can deploy an application accross the whole cluster using a farm 
directory.

Suppose you have an EAR, which contains the EJB Application and a 
ResourceAdapter (RAR). The EAR is deployed to the cluster's farm directory. 
What happens with the RAR:


Is the RAR distributed and deployed on every cluster node too?
If the RAR is deployed on each cluster node simultaneously does this mean that 
the ResourceAdapters have to coordinate inbound EIS request?
If the RAR (as part of an EAR deployed to a farm directory) is not distributed 
accross the cluster automatically, what will happen:

Is it deployed on any node either?
What will happen if the node on which the RAR is deployed crashes: does any 
failover scenario come into place (inbound as well as outbound)?


What happens if only the RAR is deployed (as standalone archive not contained 
in a RAR)?

Thanks a lot
Michael

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955248#3955248

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955248

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


[JBoss-user] [JBoss Seam] - Re: Event Producer VS Event Consumer.(Component-driven event

2006-07-04 Thread istikhar
Seam component base framwork seems to be promoting the idea of strong cohesion 
and very very lose coupling. 

Let me talk about the needs where Event consumer might expect some input from 
event producer.

1) Send email to the conserned persons only.
2) Perfrom DB operations on some specific data.
3) Invoke some specific Message Driven Beans(JMS)
4) ETC.

To genralize the Idea of data container for event consumer we can use event 
context( Idea came from discussion).

Q1) Should we go for Event Types?[Changes in implementation required]
Q2) Should we use raiseEvents(String, Object...)?[ Changes in implementation 
required]
Q3) Event Context as a container is good enough?[ Can be consider as a very 
heavy container in some scenario]

What can be the best possible solution? 

Thanks for your input.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955249#3955249

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955249

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


[JBoss-user] [JBoss jBPM] - Re: StaleObjectStateException after a fork

2006-07-04 Thread barbalala
I notice that such a problem has already been reported by nomad:
http://www.jboss.com/index.html?module=bbop=viewtopict=85416


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955250#3955250

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955250

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


[JBoss-user] [JBoss Seam] - Re: problem with running a Seam application

2006-07-04 Thread mnrz
hi
I thinks the problem is about the register.seam, in the index.jsp there is a 
link refer to register.seam. when I try to display the page by specifying the 
http:///register.jsp, the browser going to display the page but an error 
occured because of the jsf tags, it says dosnt know those tags. but when I try 
to show the page in form : http:///register.seam the following error has 
been displayed:
--
java.lang.NullPointerException

com.sun.faces.application.ViewHandlerImpl.findMatch(ViewHandlerImpl.java:409)

com.sun.faces.application.ViewHandlerImpl.calculateLocale(ViewHandlerImpl.java:335)

org.jboss.seam.jsf.SeamViewHandler.calculateLocale(SeamViewHandler.java:25)

com.sun.faces.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:283)
org.jboss.seam.jsf.SeamViewHandler.createView(SeamViewHandler.java:43)

org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:144)

org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955251#3955251

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955251

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


[JBoss-user] [JBossCache] - Re: can I replace a stateful session bean with JBoss cache?

2006-07-04 Thread [EMAIL PROTECTED]
It depends on your application.  JBoss Cache is not a drop-in replacement for 
stateful session beans in any way.  If all your SFSBs do is maintain back-end 
state for your applets, then they could be replaced with a cache service 
(clustered or not) but you will still need some remoting to alow your applet to 
talk to your cache tier.  With EJBs you get this for free, since EJBs are 
remote objects anyway.

Perhaps you could use a stateless session bean to manage the remote 
conversation, and this stateless bean could, on the server side, talk to the 
cache layer.

HTH,
Manik

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955252#3955252

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955252

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


[JBoss-user] [JBoss Eclipse IDE (users)] - Re: JBossIDE-1.5.1.GA - xdoclet problem

2006-07-04 Thread zaferyus
I found temporary solution, using j2re1.4.2_12 instead of jre1.5.0_07.

C:\java\JBossIDE-1.6.0.GA\eclipse\eclipse.exe -vm C:\Program 
Files\Java\j2re1.4.2_12\bin\javaw.exe

But why?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955253#3955253

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955253

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


[JBoss-user] [EJB 3.0] - Re: Durable Subscriber Annotations for MDB using EJB3

2006-07-04 Thread jnerd
Ah, that's how it works...

I created a Bug report for this issue:
http://jira.jboss.com/jira/browse/EJBTHREE-643



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955266#3955266

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955266

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


[JBoss-user] [JBoss Seam] - Re: Event Producer VS Event Consumer.(Component-driven event

2006-07-04 Thread petemuir
I have used component driven events a few times in my application and have 
found having the payload in contexts to be good.  

I think that it 'fits' well with seam design: the data/objects required by the 
consumer may be from the payload, or from session or application contexts.  By 
using the event context for the payload it provides a single method for 
accessing the data required.  

It is (I think) less easy to understand so perhaps could benefit from an 
example?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955255#3955255

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955255

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


[JBoss-user] [JBoss Portal] - Re: JBoss UserPortlet, ThemePortlet and WeatherPortlet

2006-07-04 Thread Silicio
I've a problem, If I try to change portal theme from my portal application I 
get a 500 error, how can I fix it?

anonymous wrote : 
  | 2006-07-04 13:33:25,562 ERROR 
[org.jboss.portal.core.portlet.theme.ThemeSelectorPortlet] The portlet threw an 
exception
  | org.hibernate.HibernateException: Unable to locate current JTA transaction
  | at 
org.hibernate.context.JTASessionContext.currentSession(JTASessionContext.java:61)
  | at 
org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:541)
  | at 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObject(PersistentPortalObjectContainer.java:221)
  | at sun.reflect.GeneratedMethodAccessor205.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy117.getObject(Unknown Source)
  | at 
org.jboss.portal.core.portlet.theme.ThemeSelectorPortlet.setPortalProperty(ThemeSelectorPortlet.java:171)
  | at 
org.jboss.portal.core.portlet.theme.ThemeSelectorPortlet.setPortalTheme(ThemeSelectorPortlet.java:157)
  | at 
org.jboss.portal.core.portlet.theme.ThemeSelectorPortlet.processAction(ThemeSelectorPortlet.java:147)
  | at org.jboss.portlet.JBossPortlet.processAction(JBossPortlet.java:379)
  | at 
org.jboss.portal.portlet.container.PortletContainer.invokeAction(PortletContainer.java:536)
  | at 
org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:477)
  | 
  | ...
  | 
  | 2006-07-04 13:33:25,578 ERROR 
[org.jboss.portal.core.command.InvokeWindowActionCommand] An portlet exception 
occured in portlet ThemeSelectorPortletInstance
  | org.hibernate.HibernateException: Unable to locate current JTA transaction
  | at 
org.hibernate.context.JTASessionContext.currentSession(JTASessionContext.java:61)
  | at 
org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:541)
  | at 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObject(PersistentPortalObjectContainer.java:221)
  | at sun.reflect.GeneratedMethodAccessor205.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy117.getObject(Unknown Source)
  | at 
org.jboss.portal.core.portlet.theme.ThemeSelectorPortlet.setPortalProperty(ThemeSelectorPortlet.java:171)
  | at 
org.jboss.portal.core.portlet.theme.ThemeSelectorPortlet.setPortalTheme(ThemeSelectorPortlet.java:157)
  | at 
org.jboss.portal.core.portlet.theme.ThemeSelectorPortlet.processAction(ThemeSelectorPortlet.java:147)
  | at org.jboss.portlet.JBossPortlet.processAction(JBossPortlet.java:379)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955259#3955259

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955259

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

[JBoss-user] [Beginners Corner] - Re: how to package a datasource configuration file (*-ds.xml

2006-07-04 Thread jaikiran
Have a look at:

http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIDeployMyResourceAdapter

Here's an extract from the same:

anonymous wrote : The file can either be deployed in the deploy directory or 
placed in the root of the rar file (not recommended because it is harder to 
change the configuration).



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955258#3955258

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955258

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


[JBoss-user] [JBossWS] - Exception while sending/receiving param using web-service

2006-07-04 Thread mayankmaria
Here is my wsdl For calculator example service :-
 definitions name=CalculatorService targetNamespace=http://RSPL.com; 
xmlns=http://schemas.xmlsoap.org/wsdl/; 
xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:tns=http://RSPL.com; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  | types
  | schema elementFormDefault=qualified targetNamespace=http://RSPL.com; 
xmlns=http://www.w3.org/2001/XMLSchema; 
xmlns:soap11-enc=http://schemas.xmlsoap.org/soap/encoding/; 
xmlns:tns=http://RSPL.com; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | complexType name=add
  | sequence
  |   element name=arg0 nillable=true type=string / 
  |   /sequence
  |   /complexType
  | complexType name=addResponse
  |   sequence / 
  |   /complexType
  |   element name=add type=tns:add / 
  |   element name=addResponse type=tns:addResponse / 
  |   /schema
  |   /types
  | message name=Calculator_addResponse
  |   part element=tns:addResponse name=result / 
  |   /message
  | message name=Calculator_add
  |   part element=tns:add name=parameters / 
  |   /message
  | portType name=Calculator
  | operation name=add
  |   input message=tns:Calculator_add / 
  |   output message=tns:Calculator_addResponse / 
  |   /operation
  |   /portType
  | binding name=CalculatorBinding type=tns:Calculator
  |   soap:binding style=document 
transport=http://schemas.xmlsoap.org/soap/http; / 
  | operation name=add
  |   soap:operation soapAction= / 
  | input
  |   soap:body use=literal / 
  |   /input
  | output
  |   soap:body use=literal / 
  |   /output
  |   /operation
  |   /binding
  | service name=CalculatorService
  | port binding=tns:CalculatorBinding name=CalculatorPort
  |   soap:address location=http://rspl65:8080/CC/CalculatorBean; / 
  | /port
  | /service
  | /definitions
The client code is as shown below.. 
public static void main(String args[]) {
  | try {
  | 
  |   Client client = new Client();
  |   service = 
  |   javax.xml.ws.Service.create(new 
URL(http://rspl65:8080/CC/CalculatorBean?wsdl;),
  |   new QName(http//RSPL.com 
,CalculatorService));
  |   client.doTest();
  | } catch(Exception e) {
  |   e.printStackTrace();
  | }
  |   }
  | 
  |   public void doTest() {
  | try {
  | Iterator it = service.getPorts();
  | for(;it.hasNext();){
  | System.out.println(it.next());
  | }
  | Calculator port = service.getCalculatorPort();
  | System.out.println(port);
  | port.add(TEST);
  | } catch(Exception e) {
  |   e.printStackTrace();
  | }
  |   }
The Exception thrown here in this code is shown below

{http://RSPL.com}CalculatorPort
  | [EMAIL PROTECTED]
  | javax.xml.bind.JAXBException: arg0 is not a valid property on class 
com.RSPL.jaxws.Add
  | at 
com.sun.xml.ws.encoding.soap.EncoderDecoder.createJAXBBeanPayload(EncoderDecoder.java:261)
  | at 
com.sun.xml.ws.encoding.soap.EncoderDecoder.createDocLitPayloadValue(EncoderDecoder.java:193)
  | at 
com.sun.xml.ws.encoding.soap.EncoderDecoder.createPayload(EncoderDecoder.java:162)
  | at 
com.sun.xml.ws.encoding.soap.ClientEncoderDecoder.toInternalMessage(ClientEncoderDecoder.java:326)
  | at 
com.sun.xml.ws.encoding.soap.ClientEncoderDecoder.toInternalMessage(ClientEncoderDecoder.java:64)
  | at 
com.sun.xml.ws.encoding.soap.client.SOAPXMLEncoder.toInternalMessage(SOAPXMLEncoder.java:140)
  | at 
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessageDispatcher.java:161)
  | at 
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDispatcher.java:137)
  | at 
com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:84)
  | at 
com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(EndpointIFInvocationHandler.java:172)
  | at 
com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocationHandler.java:106)
  | at $Proxy14.add(Unknown Source)
  | at Client.doTest(Client.java:77)
  | at Client.main(Client.java:59)
  | Caused by: javax.xml.bind.JAXBException: arg0 is not a valid property on 
class com.RSPL.jaxws.Add
  | at 
com.sun.xml.ws.encoding.EncoderDecoderBase.getRawAccessor(EncoderDecoderBase.java:126)
  | at 
com.sun.xml.ws.encoding.EncoderDecoderBase.setWrapperChildValue(EncoderDecoderBase.java:106)
  | at 
com.sun.xml.ws.encoding.soap.EncoderDecoder.createJAXBBeanPayload(EncoderDecoder.java:256)
  | ... 13 more
  | Caused by: javax.xml.bind.JAXBException: arg0 is not a valid property on 
class com.RSPL.jaxws.Add
  | at 
com.sun.xml.bind.v2.runtime.JAXBContextImpl.getElementPropertyAccessor(JAXBContextImpl.java:781)
  | at 
com.sun.xml.ws.encoding.EncoderDecoderBase.getRawAccessor(EncoderDecoderBase.java:122)
  | ... 15 more

It displays that the 

[JBoss-user] [JBoss Portal] - Re: JBoss UserPortlet, ThemePortlet and WeatherPortlet

2006-07-04 Thread Silicio
I'm using JBoss AS 4.0.4 GA + JBoss Portal 2.4 Beta1

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955260#3955260

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955260

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


[JBoss-user] [EJB 3.0] - Creating Autoincrement PK for CMP

2006-07-04 Thread hYph3n
hi!

I have an application and we have the requirement that when CMP are deployed at 
the server, they should use the autoincrement (SEQUNCE) of oracle to be used as 
thier primary keys. how can i bind achieve this ... is there are xml tag for 
jboss server to do this or not. I want that the sequence should be created in 
Database as well just like CMP creates tables in databases.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955263#3955263

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955263

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


[JBoss-user] [Performance Tuning] - Re: Matching thread numbers to thread names

2006-07-04 Thread [EMAIL PROTECTED]
Thanks for the response and apologies for my late reply.

The kill -3  worked fine and we managed to get the thread/stack trace. 

Initially we had some problems relating the threads to the busy ones on the 
system. In many cases, the thread did not exist in the listing. However, by 
subtracting 1 from the LWP number the unix prstat command gave us, we could 
match the NID entry in the thread trace. This consistantly showed the same 
piece of code was causing the problem.

The final cause of the problem turned out to be the generated sql that was 
multiple rows from a table (instead of one). As the system has been used, this 
table has grown and we obviously hit a critical point and system performance 
dropped off.

We managed to reproduce this in our test environment and improved performance 
by flushing old entries from the table. The root cause still exists but at 
least we know how to manage it.

Thanks for you help

Richard

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955254#3955254

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955254

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


[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Could not instantiate bean at startup in jboss-4.0.4.GA

2006-07-04 Thread dboeckli
When my Message Driven Bean gets activated during JBoss startup then i get 
Could not instantiate bean when it want to save the parsed data to the DB. 
The same happens to Session Beans which gets activated through the timerservice 
in restart time (in this case it's task is to localize old data and to delete 
it). Both Beans works very well when they get activated normally after JBoss 
has completely started. 

With jboss-4.0.3SP1 i don't have those problems.

In the case of the MDB following code is processed. The Exception occurt with 
the find instructions:


  |   /**
  |* createEntity
  |*
  |* @param logItem LogItem
  |*/
  |   private void createEntity(LogItem logItem) {
  | try {
  |   CatComplexHome complexHome = (CatComplexHome) 
env.getHome(CatComplexHome.JNDI_HOME);
  |   CatCpuHome cpuHome = (CatCpuHome) 
env.getHome(CatCpuHome.JNDI_HOME);
  |   CatLogHome logHome = (CatLogHome) 
env.getHome(CatLogHome.JNDI_HOME);
  |   DetailHome detailHome  = (DetailHome) 
env.getHome(DetailHome.JNDI_HOME);
  | 
  |   CatComplex complexEntity;
  |   try {
  | complexEntity = complexHome.findByPrimaryKey(logItem.getComplex());
  |   } catch (ObjectNotFoundException ex) {
  | complexEntity = complexHome.create(logItem.getComplex());
  |   }
  | 
  |   CatCpu cpuEntity;
  |   try {
  | cpuEntity = cpuHome.findByPrimaryKey(logItem.getComplex() + 
logItem.getCpu());
  |   } catch (ObjectNotFoundException ex) {
  | cpuEntity = cpuHome.create(logItem.getComplex() + logItem.getCpu(), 
complexEntity);
  |   }
  | 
  |   try {
  | CatLog catlog = 
logHome.findByTimeStamp_CatIndex_System(logItem.getDate(),
  | 
logItem.getIndex(),
  | 
logItem.getComplex()+logItem.getCpu() );
  | catlog.remove();  // delete if it already 
exists
  |   } catch (FinderException ex) {
  | // do nothing
  |   } finally {
  | Detail detail = null;
  | if (logItem.getPsw()!=null) {
  | 
  |   detail = detailHome.create(logItem.getRegisters().get(0),
  |  logItem.getRegisters().get(1),
  |  logItem.getRegisters().get(2),
  |  logItem.getRegisters().get(3),
  |  logItem.getRegisters().get(4),
  |  logItem.getRegisters().get(5),
  |  logItem.getRegisters().get(6),
  |  logItem.getRegisters().get(7),
  |  logItem.getRegisters().get(8),
  |  logItem.getRegisters().get(9),
  |  logItem.getRegisters().get(10),
  |  logItem.getRegisters().get(11),
  |  logItem.getRegisters().get(12),
  |  logItem.getRegisters().get(13),
  |  logItem.getRegisters().get(14),
  |  logItem.getRegisters().get(15),
  |  logItem.getPsw(),
  |  logItem.getCsect(),
  |  logItem.getDisplacement());
  | 
  | }
  | logHome.create(new UID().toString(),
  |logItem.getDate(),
  |logItem.getEventType(),
  |logItem.getComment(),
  |logItem.getIndex(),
  |logItem.getDumpType(),
  |logItem.getDumpNumber(),
  |logItem.getDumpSeqNumber(),
  |logItem.getTapeNumber(),
  |cpuEntity,
  |detail);
  | 
  | env.getLogger().debug(Log created   :  + \n +
  |Date  :  + logItem.getDate() + \n +
  |EventType :  + logItem.getEventType() + \n +
  |Comment   :  + logItem.getComment() + \n +
  |Index :  + logItem.getIndex() + \n +
  |DumpType  :  + logItem.getDumpType() + \n +
  |DumpNumber:  + logItem.getDumpNumber() + \n +
  |DumpSeqNumber :  + logItem.getDumpSeqNumber() + \n +
  |TapeNumber:  + logItem.getTapeNumber()
  |  );
  |   }
  | 
  | } catch (CreateException ex) {
  |   env.getLogger().error(CreateException: , ex);
  | } catch (FinderException ex) {
  |   env.getLogger().error(CreateException: , ex);
  | } catch 

[JBoss-user] [JBoss Seam] - Re: Beginner's question: Simple passing of data from page to

2006-07-04 Thread bfo81
I tried the following annotations:

@Stateful
  | @Scope(ScopeType.EVENT) // @Scope(ScopeType.CONVERSATON) // 
@Scope(ScopeType.SESSION)
  | @Name(ping)
  | public class PingBean {
  | 
  | @In(required=false) @Out(required=false)
  | private String talk = ;
  | 
  | @In(required=false) @Out(required=false)
  | private String line = ;
  | ...
  | // means that I tried all those Scopes.

Well, and still I can't even get #{ping.line} resolved in the JSP, though the 
bean is stateful (I do know that stateless beans can't provide properties to 
JSF) and has getters/setters (which are also defined in the Local Interface).

And talk still is Ping: null null

Only the getTalk-method gets called, but there's no call on set/getLine or 
setTalk (found out via @AroundInvoke and logging).

This just doesn't make sense to me...



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955268#3955268

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955268

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


[JBoss-user] [JBoss Seam] - Re: Beginner's question: Simple passing of data from page to

2006-07-04 Thread bfo81
Sorry, I do mean chat instead of talk in the above post. My fault, please 
don't get confused ;).

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955269#3955269

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955269

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


[JBoss-user] [JBoss Portal] - Re: portal 2.4 user-login error

2006-07-04 Thread Silicio
I still get user login problems, there is any fix?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955257#3955257

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955257

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


[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: using others DBMS in jboss

2006-07-04 Thread wdfink
When you use BMP you have to create your own connection like :

  | public class MyEntity implements EntityBean {
  |   private Connection getConnection() {
  | Context ctx=new InitialContext();
  | DataSource ds=(DataSource)ctx.lookup(java:/myEntityConnection);
  | return(ds.getConnection();
  |   }
  | 
  |   pubic void ejbStore() throws EJBException {
  | Connection con=null;
  | try {
  |   con=getConnection();
  |   ... your Code
  | }finnaly{
  |   if(con!=null) {
  | con.close();
  |   }
  |   }
  | }
  | 

This code should work, I test it a long time ago ;-)
I use CMP 2.x, it's easier to implement and the performance is fortunately the 
same as BMP.

Wolf

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955256#3955256

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955256

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


[JBoss-user] [EJB 3.0] - Re: Durable Subscriber Annotations for MDB using EJB3

2006-07-04 Thread jnerd
Well, the security problems is a different thing. (I disabled the 
SecurityManager and removed user and password and voilá it worked.)

But we really have an issue concerning the ActivationConfigProperty name. The 
EJB3 core specification styates that the name must be subscriptionDurability 
but in the 4.0.4 GA EJB 3 implementation it is simply Durability.

Is there a Bug report for this? What to do to open a new one?

Cheers,
Patrick

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955264#3955264

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955264

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


[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: using others DBMS in jboss

2006-07-04 Thread greenday_ra
Yes, its work, :-)

Thank you so much.

i have a error in my connection code.

  | DataSource ds=(DataSource)ctx.lookup(java:comp/env/jdbc/myjndi);
  | changed to
  | DataSource ds=(DataSource)ctx.lookup(java:/myjndi);
  | 
  | 

Thank you again.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955265#3955265

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955265

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


[JBoss-user] [Beginners Corner] - interaction with several server

2006-07-04 Thread HappyNewbi
Hello   
I would like to know if it is possible to have an interaction between Web pages 
located on different application servers.  
Example:   
- the page parent.jsp on serverA   
- the page child.jsp on the server B  

The parent.jsp page opens the child.jsp page (with code Javascript: window.open 
(...)).   

With the closing of the child.jsp page, the parent.jsp page shows an Alert 
message.
If the 2 pages are on the same server, then it works goes perfectly but don't 
work if pages are on different server.

How can i do??? :-(
I specify that these pages are on a JBOSS 3.2.5 server

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955270#3955270

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955270

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


[JBoss-user] [JBoss Seam] - Re: dvd store .ear not deploying

2006-07-04 Thread jbpmndc
That did it.  I wasn't familiar with the Jems installer.  Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955271#3955271

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955271

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


[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Data source lookup returns null for mysql

2006-07-04 Thread tefron
Check these:
Isolation is set using flags in your configuration or jboss_web/app files. 


The benefit is that every application has its own class loding space and you 
can avoid lots of wierd problems. The down side is that isolation can affect 
jndi lookup in general, and lookup data source specifically.

To read about isolation and class loding use the following:


http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases

http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration


Please let me know if you can get both isolation and datasource lookup work at 
the same time.


Thanks,
TEFRON

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955272#3955272

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955272

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


[JBoss-user] [JBoss Seam] - Re: problem with running a Seam application

2006-07-04 Thread bfo81
Why is s:validateAll empty in the JSP? Maybe you should put the rest (from 
username to commandButton) in it.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955273#3955273

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955273

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


[JBoss-user] [JBoss jBPM] - Re: porblem of identification and assigment

2006-07-04 Thread antitrust1982
Hello all,


I want to run my process but I must change of user during my process. So I want 
to know how I can assign to the context of a token... an actor in order to 
change the actor and give the new one.

THnak you for your help

antitrust1982

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955274#3955274

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955274

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


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Http Session Timeout does not work properly

2006-07-04 Thread [EMAIL PROTECTED]
alesj wrote : anonymous wrote : 
  |   | What does the tomcat stats servlet say about the app 
(http://lamia:8080/status?full=true)?
  |   | 
  | 
  | Where do I find status app? Is it a part of 'all' AS configuration?
  | 
It's part of the jbossweb-tomcat55.sar/ROOT.war

  |   display-nameWelcome to JBoss/display-name
  |   description
  |  Welcome to JBoss
  |   /description
  |   servlet
  | servlet-nameStatus Servlet/servlet-name
  | servlet-classorg.jboss.web.tomcat.tc5.StatusServlet/servlet-class
  |   /servlet
  |   servlet-mapping
  | servlet-nameStatus Servlet/servlet-name
  | url-pattern/status/url-pattern
  |   /servlet-mapping
  | /web-app
  | 


alesj wrote : 
  | I looked through the Catalina code - session invalidation - and it's pretty 
basic stuff - checker thread going through all session instances, simply 
checking if they are over time limit.
  | 
  | Our app is a portal app - running in JBossPortal 2.0. Can this have any 
weird influence on apps HttpSessions? Talking to Julien Viet at JBW in LV about 
this - there are some problems with user logoff in portal apps - but concerning 
sessions, he wasn't aware of any similar problem.
  | 
  | What would be the best approach to figure this out?
  | 
We need a jira issue with a web/portal app that allows us to reproduce the 
problem. Its possible that this is a portal interaction problem. About the only 
other thing to do is to add logging to the session invaliation code and access 
points that update the timestamp to find out what is keeping sessions alive.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955275#3955275

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955275

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


[JBoss-user] [EJB 3.0] - Javassist Enhancement failed: java.lang.RuntimeException:

2006-07-04 Thread dmrzh
Hi.
I have problem when migrated from jboss-4.0.4RC1 to jboss-4.0.4.GA.
In jboss-4.0.4RC1 all work ok, but in jboss-4.0.4.GA:


15:04:47,000 ERROR [BasicLazyInitializer] Javassist Enhancement failed: 
de.bebit.optimmo.dao.par.RAttribute
java.lang.RuntimeException: duplicate method: getObject
at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:173)
at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:141)
at 
org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:42)
at 
org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:159)
at 
org.hibernate.tuple.AbstractEntityTuplizer.(AbstractEntityTuplizer.java:131)
at org.hibernate.tuple.PojoEntityTuplizer.(PojoEntityTuplizer.java:50)
at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
at org.hibernate.tuple.EntityMetamodel.(EntityMetamodel.java:256)
at 
org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:418)
at 
org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:108)
at 
org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:223)
at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1213)
at 
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:631)
at 
org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:760)
at 
org.hibernate.ejb.Ejb3Configuration.createContainerEntityManagerFactory(Ejb3Configuration.java:350)
at 
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:119)
at 
org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:264)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
..


can anybody help?
Dmitry.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955276#3955276

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955276

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


[JBoss-user] [JBoss Seam] - Re: DataTableSelection and Seam-managed Transaction problem

2006-07-04 Thread [EMAIL PROTECTED]
Wierd. Please put a breakpoint in org.jboss.seam.ui.UISelection.getValue() and 
find out why the rendered value is null.

BTW, yesterday I patched CVS so that Seam is a bit more graceful in parsing the 
parameter, but it would not fix your problem.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955277#3955277

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955277

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


[JBoss-user] [JBoss Seam] - Re: problem with running a Seam application

2006-07-04 Thread mnrz
No it was some tag nested in that but I removed them to see if problem 
resolved. 
if I remove the tag s:validateAll nothing will resolve. 

as I figured out, it never reach to that page, I think the server cant find 
that jsp page to show the page, may be something's wrong with url-patterns. the 
error occured before reach to that jsp file.

thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955278#3955278

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955278

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


[JBoss-user] [JBoss Seam] - Re: Seam + jbpm to create a wizard?

2006-07-04 Thread [EMAIL PROTECTED]
The component named businessProcess gives you an API for controlling all 
these things independent of conversations. But you will have to use current 
CVS, since this API did not make it into 1.0.1.

Take care, I do not make any promises about the stability of CVS from day to 
day.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955279#3955279

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955279

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


[JBoss-user] [JBoss Seam] - Re: Beginner's question: Simple passing of data from page to

2006-07-04 Thread [EMAIL PROTECTED]
Do you have seam.properties in the root of the archive where the Ping component 
is deployed?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955280#3955280

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955280

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


[JBoss-user] [EJB 3.0] - Re: ManyToMany: delete causes a violation of foreign key con

2006-07-04 Thread horst21
doesn't anybody else have this problem?
I still can not delete Entities from ManyToMany relations. what do I do wrong? 
any clues?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955281#3955281

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955281

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


[JBoss-user] [JBoss jBPM] - Regarding Identity Management Component

2006-07-04 Thread kazam
I have been using JBPM 3.1.1 for almost a month over here and really prefer it 
over my previous not so BPM tool, Oracle BPEL.

In JBPM I came across the identity management component. I found out that an 
application I was working on had users and roles but no group associations. The 
identity component model seems like an excellent model to use in that scenario.
I wished to ask, some directions or pointers as how to bring in permissions for 
roles into the JBPM identity component. 

Thanks for your time and creating a great BPM framework.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955282#3955282

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955282

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


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re:

2006-07-04 Thread dboeckli
I think i have found the problem: 

The jar file was deployed into the folder 
JBOSS_HOME\server\default\deploy\myfolder\ . It looks like that there is a bug 
with the 4.04 release which caused my problem. I just placed the jar file 
directly into the deploy folder: JBOSS_HOME\server\default\deploy\ and all 
problems were gone. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955283#3955283

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955283

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


[JBoss-user] [JBoss Seam] - Re: @Begin doesn't work whith @Observe, navigation rule

2006-07-04 Thread [EMAIL PROTECTED]
OK, thanks. The problem is nothing to do with @Observer. Rather, the problem is 
that if you have no h:form/ on the page you are navigating to, then Seam 
throws away the conversation context. This is a definite bad bug, and I will 
get it fixed ASAP.

I'm surprised no-one noticed before.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955285#3955285

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955285

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


[JBoss-user] [JBoss jBPM] - Re: Process Instantiation

2006-07-04 Thread goddam
maybe it´s something like autentication missing somewhere.. i don´t know.. but 
it´s strange tha t i have to shutdown and restart the server...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955286#3955286

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955286

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


[JBoss-user] [JBoss Seam] - Re: problem with running a Seam application

2006-07-04 Thread [EMAIL PROTECTED]
Show your web.xml

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955287#3955287

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955287

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


[JBoss-user] [JCA/JBoss] - Re: JCA 1.5 shared libraries in JBoss 4.0

2006-07-04 Thread [EMAIL PROTECTED]
You should take a look at: 

http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossConfiguration

and 

http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases

If you have these requirements in packaging, I would recommend using an EAR 
file and overriding the classloader if you need isolation. 



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955288#3955288

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955288

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


[JBoss-user] [JCA/JBoss] - Re: Clustering of ResourceAdapter (RAR)

2006-07-04 Thread [EMAIL PROTECTED]
RAR's are not clusterable. Deploying a RAR across a farm will deploy a 
ResourceAdapter for each node. No failover, load balancing etc, etc is used. 
They are in effect anonymous and know nothing about one another. 



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3955290#3955290

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955290

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


  1   2   >