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

2006-07-03 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=bb&op=viewtopic&p=3955189#3955189

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2006-07-03 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=bb&op=viewtopic&p=3955188#3955188

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2006-07-03 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=bb&op=viewtopic&p=3955187#3955187

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2006-07-03 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 
sun.reflect.DelegatingM

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

2006-07-03 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=bb&op=viewtopic&p=3955185#3955185

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2006-07-03 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=bb&op=viewtopic&p=3955184#3955184

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2006-07-03 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=bb&op=viewtopic&p=3955183#3955183

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2006-07-03 Thread greenday_ra
Hi all.

i write a program that use mssql server for DB.
in servlets i can use sql server connection properly.
but when i try to use sqlserver in EJB, an exception occurs.
i found that in my ejb, when i get DB connection, it point to Default ds 
(HSQLDB).
i think i must make a configuration file that tell jboss that i want to use 
mssql connection on there. but what and how ?

i have these configuration files in my program and i also do copy mssql driver  
in ..\server\default\  and mssql-ds.xml in ..\server\default\deploy\ .

thanks

// mssql-xa-ds.xml ===


 
  myjndi 
   
  false 
  
com.microsoft.sqlserver.jdbc.SQLServerXADataSource
 
  server 
  mydb 
  cursor 
  user 
  ** 
 
  MS SQLSERVER2000 
  
  
  

//web.xml 

...

 
  jdbc/myjndi 
  javax.sql.DataSource 
  Container 
 



//jboss-web.xml==

 
  jdbc/myjndi 
  javax.sql.DataSource 
  java:/myjndi 
 




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

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

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


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

2006-07-03 Thread jaikiran
Post your MBean code and the *-service.xml file.



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

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

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


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

2006-07-03 Thread [EMAIL PROTECTED]
I can treat pageflows that start from a page action the same as pageflows that 
start during INVOKE_APPLICATION if you think that would be more 
natural/correct, Norman. But the idea is that page actions do not _usually_ 
change the view id, so you are already at the start-page when the action is 
called...

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

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

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


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

2006-07-03 Thread [EMAIL PROTECTED]
The JEMS installer is here:

http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=193295&release_id=424215

It is linked from the Getting Started page:

http://labs.jboss.com/portal/jbossseam/gettingstarted

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

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

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


[JBoss-user] [JBoss Seam] - Re: How to access files from seam code

2006-07-03 Thread [EMAIL PROTECTED]
In addition to what's been pointed out already:


1) To solve the re-deploy problem, you can always deploy in exploded 
(directory) form.  Then you'd always be able to add/change files freely.  This 
only works if the files are inside of your myapp.ear/whatever.war directory, 
but it does solve your redeploy problem

2) If you want to really externalize this, you might also look at the 
ExternalContext MBean.  (section 3.5.3 of the JBoss AS Guide)  You can bind any 
just about any file system like structure (local or remote) into JNDI and 
access the resources that way.  It's a bit heavy of a solution, but it is very 
flexible.



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

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

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


[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Cannot create debug-configuration

2006-07-03 Thread acxjbertr
JBoss IDE 1.6.0.GA won't work with Eclipse 3.2.  There is a new alpha version 
out available through Eclipse update.  Per 
http://jboss.com/index.html?module=bb&op=viewtopic&t=62725 point your Eclipse 
update URL to http://download.jboss.org/jbosside/updates/development.

Note, this version of JBoss IDE is different than previous versions.  In my use 
of it, I haven't been able to perform debugging the way you described.  You 
have to open a new "JBoss Server" view and do the debug server configuration 
there.

Good luck!

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

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

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


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

2006-07-03 Thread supernovasoftware.com
I tweaked your wrap method to add some extra functionality.

I added the following annotation property to SelectItems.

 
  |/**
  |  * If specified along with Strategy.OBJECT, and new
  |  * object with the specified empty lable will be added.
  |  * 
  |  * @return The method to call for a custom disabled value.
  |  */
  | String emptyValueLabel() default "";
  | 

I modified the wrap methond on SelectItemsBinder to add an empty object with 
the specified emptyValueLabe.

I needed this because my users do not like when their drop downs are set to a 
value already and I wanted to control this where I load the collection.

I also needed this for an Excel style autofilter that I implemented.  I need a 
select option labled "Any" so I can conditionally include parts of a 
dynamically generated HQL query.


  |   public List wrap(SelectItems ann, List list)
  |   {
  | if (list != null)
  | {
  |   WrappingArrayList selectItems = new 
WrappingArrayList();
  |   selectItems.setWrappedData(list);
  | 
  |   if (ann.emptyValueLabel().length() > 0 && ann.valueStrategy() == 
SelectItems.Strategy.OBJECT)
  |   {
  | try
  | {
  |   // Get an new instance of the type of the first object in the 
list.
  |   // If there is a problem do nothing.
  |   Object obj = list.get(0).getClass().newInstance();
  |   selectItems.add(new SelectItem(obj, ann.emptyValueLabel()));
  | } catch (Exception e) { }
  |   }
  |   for (int i = 0; i < list.size(); i++)
  |   {
  | selectItems.add(convertToSelectItem(String.valueOf(i), list.get(i), 
ann));
  |   }
  |   return selectItems;
  | } else
  | {
  |   return null;
  | }
  |   }
  | 

The annotaion in use looks like this.

  |   @SelectItems(valueStrategy   = SelectItems.Strategy.OBJECT,
  |labelMethod = "getGrade",
  |emptyValueLabel = "Any")
  |   private List gradeSelectItems;
  | 

I would like to hear others comments for improvement of this technique and 
expanding the funtionality of this in other ways.

The autofilter is much appreciated by my users, but still takes too much effort 
to set up.

I would like for it to me a pluggable configurable component.

Has anyone developed something like this yet?

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

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

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


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

2006-07-03 Thread [EMAIL PROTECTED]
That's actually not the issue here though.  The difference here is that the 
h:commandLink action executes during the normal invoke application phase.  With 
an s:link action, the action executes during as a page event during the render 
response phase. 

If a pageflow starts during the invoke application, it should start with a 
start-node.  When started from ender response, it needs to begin with a 
start-page.  This is somewhat awkward because you have to make sure that you 
are on the correct starting view.  (s:link should contain both a view and an 
action attribute)

Hope that helps.



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

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

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


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

2006-07-03 Thread balamg
i was having a similar problem.
try the 4.0.4 version (not the patches) , download and install ejb3 Rc8 
separately as per the instructions. it worked for me

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

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

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


[JBoss-user] [JBoss jBPM] - Jbpm with Mysql

2006-07-03 Thread xanlex
I am a newbie in jbpm, i need some help
I already configure the hibernate.cfg.xml for Mysql
but each time i deploy jbpm, it's always use Hql
is there anything else i miss?


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

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

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


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Recommendation of web.xml xsd version to use

2006-07-03 Thread rdoust
I've just moved to Tomcat 5.5 from Jetty 5.0 (or so) and find that my JSTL tags 
are showing up in the HTML literally instead of being processed. I'm unable to 
find any helpful information on how to fix this. I am compiling for 1.4 because 
I have no 1.5 specific code, nor, at this point, any desire to go there. I am 
using version 2.4 in my web.xml. Does anyone know of any other reason for this 
to happen? I can't find any error messages from Tomcat.

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

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

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


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

2006-07-03 Thread visolvejboss
Hello,
 
 The latest JBoss Server is JBoss 4.0.4 GA.
   
  It can be downloaded from the following link.

http://labs.jboss.com/portal/jbossas/download




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

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

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


[JBoss-user] [JBoss Seam] - 10 min video broken link?

2006-07-03 Thread jboss-Nth-Fan
I've stumbled on this broken link in the wiki:

http://docs.jboss.com/TrailBlazer/seam-booking/Seam.htm



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

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

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


[JBoss-user] [EJB/JBoss] - Re: Moving from JBoss 4.0.1 to 4.0.4

2006-07-03 Thread rdoust
Thanks for that tip Scott, but I'm thinking that's not the solution to my 
problem. I'm actually looking up a remote home interface from the web tier at 
the point where an exception occurs because the home is not bound.
I used the jboss installer script when I installed jboss 4.0.4, and one of the 
questions it asked was whether it should use pass-by-value semantics by 
default. I didn't select that option when I first installed. I thought that 
might have something to do with my problem, so I removed the install and did it 
again, this time checking the option. The log entries are a little different, 
though mostly the same as I recall, which made me think I hadn't solved the 
problem, but I was able to bring up the application with no further problems.

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

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

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


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

2006-07-03 Thread vlasov01
Thank you a lot!

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

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

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


[JBoss-user] [JBoss Seam] - Re: Log4JLogger doesn't print right source line

2006-07-03 Thread [EMAIL PROTECTED]
You have to use the "org.apache.commons.logging.impl.Log4JLogger" name as the 
callerFQCN in the calls to the log(String callerFQCN, Priority level, Object 
message, Throwable t) in order for the stack walking logic to find the caler. 

http://fisheye.jboss.org/viewrep/~raw,r=1.2.2.1/JBoss/apache/commons-logging/src/java/org/apache/commons/logging/impl/Log4jProxy.java


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

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

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


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

2006-07-03 Thread jbpmndc
I'm downloading jboss.4.0.4.GA-Patch1-installer.jar
typing java -jar jboss4.0*.jar
Choosing ejb3 
and still no luck
This time on my Linux box (3rd machine)

Is the JEMS installer something different?

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

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

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


[JBoss-user] [JBoss Seam] - Re: Log4JLogger doesn't print right source line

2006-07-03 Thread [EMAIL PROTECTED]
Scott, is there an easy adjustment I can make to Seam logging (a wrapper around 
commons-logging) to solve the problem there too?

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

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

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


[JBoss-user] [JBoss Seam] - Re: Log4JLogger doesn't print right source line

2006-07-03 Thread [EMAIL PROTECTED]
See the following issue which was fixed with a new commons logging patch.
http://jira.jboss.com/jira/browse/JBAS-3347

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

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

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


[JBoss-user] [EJB/JBoss] - Re: Moving from JBoss 4.0.1 to 4.0.4

2006-07-03 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=WhyDoesTheLocalNameContainARandomNumber

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

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

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


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Is there a way to prevent JBossMQ from using the jbossmq

2006-07-03 Thread [EMAIL PROTECTED]
I am also having some issues with JBoss Collaboration server MQ's.  I am trying 
to "lock down" the queues, and context but am a little lost.

I am using the user roles properties file

It has two users

there roles are listed as such...
user1=calendaruser,adminuser
user2=calendaruser,adminuser

and they have the reqd password/user file

so now I see I can change this...
  
  | jboss.mq:service=DestinationManager
  | jboss.mq:service=SecurityManager
  | -1
  | 
  |   
  | 
  | 
  | 
  |   
  | 
  |   
  | 
  |   

I got rid of guest, which I imagine is almost as bad as the "guest" user 
account in Windows XP.

>From what I interpret, whomever publishes the messages to the queue, can do 
>whatever they want, someone that "noacc" (?no account?) can do nothing 
>whatsoever, so how do I add access say to user1 or user2 as mentioned earlier?

I tried the above, dont laugh, but didnt work...Any insight would be greatly 
appreciated, I just would like to ensure that users have to auth if visiting 
the queues or context.

i'm trying roles of "acc", "username", etc but nothing is working, and trying 
to google "Jboss roles", didnt come up with much

And I see, as well as you stated, that in "jbossmsq-service.xml" i could change
  
  | 
  |   
  | 
  |   
  | 
  | java:/jaas/jbossmq
  | jboss.mq:service=DestinationManager
  |   

would this mean, that no one could browse, search, etc the actual context 
itself?  This would be very nice.  Is the means of locking down this also the 
same as locking down a queue?

Any insight is extremely appreciated


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

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

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


[JBoss-user] [JBoss Seam] - Re: Compilation Error: The annotation @Startup is disallowed

2006-07-03 Thread jboss-Nth-Fan
Indeed ! Thanks. Apologize for my confusion.

In a side note, I've been fascinated by the smoothness of Seam, great work!

Yeyo

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

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

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


[JBoss-user] [JBoss jBPM] - Re: JBPM-BPEL 1.1-beta1 and JBOSS AS 4.0.4 helloworldservice

2006-07-03 Thread [EMAIL PROTECTED]
Your client is using a QName class file that differs from that used by the 
server. This class resides in the lib/jboss/namespace.jar archive of the jBPM 
BPEL distribution. I copied it from the lib subdirectory of my JBoss 4.0.4.GA 
distribution.

I guess your distribution has a different library because you used the 
installer or any other reason. You should be able to fix the problem by copying 
the library from the aforementioned location.

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

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

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


[JBoss-user] [JBoss Seam] - Re: Compilation Error: The annotation @Startup is disallowed

2006-07-03 Thread [EMAIL PROTECTED]
@Startup belongs on the class, not on the method.

Perhaps you mean @Create?

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

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

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


[JBoss-user] [JBoss Seam] - Re: Compilation Error: The annotation @Startup is disallowed

2006-07-03 Thread jboss-Nth-Fan
The actual compilation error message is:

The annotation @Startup is disallowed for this location


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

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

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


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

2006-07-03 Thread [EMAIL PROTECTED]
You must use the JEMS installer to install JBoss; JBoss 4.0.4 is using EJB3 RC7 
and Seam requires RC8.



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

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

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


[JBoss-user] [JBoss Seam] - Compilation Error: The annotation @Startup is disallowed for

2006-07-03 Thread jboss-Nth-Fan
I got this on an application scoped seam managed bean.
It's in the first method:

@Startup
  | public void initStuff() {   
  | }
  | 

Does the annotated method require a special signature ? or located somewhere 
else?


Thanks

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

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

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


[JBoss-user] [JBoss Seam] - Re: @DataBinder and SelectItems Example

2006-07-03 Thread supernovasoftware.com
I was aware there was a way to remove that, but never looked into it.

I was able to clean up over 75 SLSB an SFSB.  Thx for the tip.

What are your thoughts on a slick converter.  I am using one that forces me to 
make my entites implement an interface.

Not a big problem, but I am looking for a slick way to avoid that.

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

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

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


[JBoss-user] [JBoss jBPM] - Re: BPEL String/XML Problem

2006-07-03 Thread [EMAIL PROTECTED]
Again, the BPEL specification does not mandate a runtime escapes text content 
embedded in outgoing messages. I encourage you to file a feature request if you 
consider this feature valuable, but you should not rely on it if you care about 
the portability of your BPEL documents.

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

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

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


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

2006-07-03 Thread jbpmndc
I think I typed paste twice...ignore the second one

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

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

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


[JBoss-user] [Installation, Configuration & Deployment] - Re: configure logging for Toplink deployment

2006-07-03 Thread zhangjboss
see http://wiki.jboss.org/wiki/Wiki.jsp?page=Logging 

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

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

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


[JBoss-user] [JBoss Seam] - Re: Log4JLogger doesn't print right source line

2006-07-03 Thread [EMAIL PROTECTED]
OK, the problem is that stuff like %F, %L, %M don't work when using a logging 
wrapper like commons-logging or seam logging, since log4j inspects the stack 
frames to discover that stuff.

Anyway, we shouldn't be using that stuff, we should be using %c, so I changed 
the log4j.xml files in CVS.

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

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

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


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - unprocessed jstl tags

2006-07-03 Thread rdoust
I've just moved what had been successfully deployed under Jetty under JBoss to 
Tomcat 5.5.17 under JBoss 4.0.4. My jstl tags are not being processed. No 
errors appear anywhere. The html content contains the unprocessed jstl tags. 
Same .ear with embedded .war as works under JBoss/Jetty.
Any ideas why this might happen? jstl.jar is in WEB-INF/lib directory.
Thanks.

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

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

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


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

2006-07-03 Thread [EMAIL PROTECTED]
Show the whole stacktrace, please.

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

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

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


[JBoss-user] [JBoss Seam] - Re: How to access files from seam code

2006-07-03 Thread [EMAIL PROTECTED]
Then I think you need to do a new File(). getResourceAsStream() is only for 
loading stuff from the classpath.

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

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

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


[JBoss-user] [JBoss Seam] - Re: Log4JLogger doesn't print right source line

2006-07-03 Thread [EMAIL PROTECTED]
Hm. I'm not quite sure what is going wrong there either

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

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

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


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

2006-07-03 Thread [EMAIL PROTECTED]
No, they are not interchangeable. s:link does _not_ submit the form!

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

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

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


[JBoss-user] [JBoss Seam] - Re: @DataBinder and SelectItems Example

2006-07-03 Thread CptnKirk
I'm glad it's useful.  If you put the following in your ejb-jar.xml you'll be 
able to remove the @Interceptors annotation from all of your components.  That 
should clean up the code even more.


  | 
  |
  |   
  |  *
  |  
org.jboss.seam.ejb.SeamInterceptor
  |   
  |
  | 
  | 

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

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

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


[JBoss-user] [JBoss Portal] - JBoss Portal for PDAs

2006-07-03 Thread mkural
Hello All,

Do any of you know of a theme for JBoss Portal that works well with PDA devices 
(Pocket PC, Palm, Blackberry, etc)? Currently when you access JBoss Portal from 
a PDA using any of the available themes (including the ones in the portlet 
swap) the portal comes out pretty ugly because all of the existing themes are 
developed for full-sized computers. PDA access is a crucial use case for a 
portal product. I am wondering if any one has been able to make JBoss Portal 
play nicely with PDA devices. What are your thoughts on how to achieve this?

Thank you,
Mete

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

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

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


[JBoss-user] [JBoss Seam] - Re: Injection/loading not working on Seam CRUD app?

2006-07-03 Thread CptnKirk
It sounds like your create record controller creates the resourceBundle 
component, where as spctacSelector doesn't.

Unless you're in a conversation where you know one controller will be called 
before the other you probably want code like the following:

@In(create=true)
private ResourceBundle resourceBundle;

This will instantiate and install the resourceBundle into your context.  
Without create=true, if resourceBundle isn't already in context you'll get an 
error like:
org.jboss.seam.RequiredException: In attribute requires value for component: 
spctacSelector.resourceBundle.  Which seems to be the root of your problems.

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

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

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


[JBoss-user] [JBoss jBPM] - Re: Database script creation not working

2006-07-03 Thread brado
See this post for a solution:

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

Brad

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

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

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


[JBoss-user] [JBoss jBPM] - Re: Bug in org.jbpm.db.JbpmSchema / jbpm-db build.xml which

2006-07-03 Thread brado
Sorry about this crummy post -- see the real one at:

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

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

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

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


[JBoss-user] [JBoss jBPM] - Bug in org.jbpm.db.JbpmSchema / jbpm-db build.xml which brea

2006-07-03 Thread brado
Sorry about the first post...forgot to dilineate the code:

There is a bug in the functionality of the jbpm-db's build.xml in conjunction 
with its interaction with the org.jbpm.db.JbpmSchema class. In this class, the 
conditional test which determines whether scripts should be generated expects 
exactly 3 arguments:

...
  |   } else if ( (args!=null)
  |   && (args.length==3)
  |   && ("scripts".equalsIgnoreCase(args[0])) ) {
  | new 
JbpmSchema(JbpmSessionFactory.createConfiguration()).saveSqlScripts(args[1], 
args[2]);
  | ...
  | 

However, in the build.xml, the call which invokes the class sends 5 arguments, 
and hence, the code will always fail, and scripts will not be generated:

  
  | 
  | 
  | 
  |   
  |
  |
  |
  |
  |
  |  
  |
  | 

A workaround to make the script generation work is to comment out the last two 
parameters in the build.xml script, as below:


  | 
  | 
  | 
  |   
  |
  |
  |
  | 
  |  
  |
  | 
Cheers,

Brad

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

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

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


[JBoss-user] [JBoss jBPM] - Bug in org.jbpm.db.JbpmSchema / jbpm-db build.xml which brea

2006-07-03 Thread brado
There is a bug in the functionality of the jbpm-db's build.xml in conjunction 
with its interaction with the org.jbpm.db.JbpmSchema class. In this class, the 
conditional test which determines whether scripts should be generated expects 
exactly 3 arguments:

...
  } else if ( (args!=null)
  && (args.length==3)
  && ("scripts".equalsIgnoreCase(args[0])) ) {
new 
JbpmSchema(JbpmSessionFactory.createConfiguration()).saveSqlScripts(args[1], 
args[2]);
...

However, in the build.xml, the call which invokes the class sends 5 arguments, 
and hence, the code will always fail, and scripts will not be generated:

  



  
   
   
   
   
   
 
   

A workaround to make the script generation work is to comment out the last two 
parameters in the build.xml script, as below:





  
   
   
   

 
   

Cheers,

Brad

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

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

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


[JBoss-user] [JBoss Seam] - Does anyone know of an automatic Seam-JSF form generator?

2006-07-03 Thread dhinojosa
I was already starting one, but I don't want to start something that someone 
else already hasif you know of one let me know. If not, I'd be happy to 
contribute what I have and start it.  

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

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

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


[JBoss-user] [JBoss Seam] - Re: How to access files from seam code

2006-07-03 Thread CptnKirk
Maybe I don't understand the problem, but non-web resources can be retrieved 
from the file system via regular Java IO.  See FileInputStream.

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

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

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


[JBoss-user] [JBoss jBPM] - Database script creation not working

2006-07-03 Thread brado
I am trying to run the database creation script target to create Oracle 
database scripts for jBPM, in the jbpm-db of the jbpm starters kit 
distribution, specifically using:

ant oracle.scripts

The execution of this target says that it succeeds, with the following output:

--
$ ant oracle.scripts
Buildfile: build.xml

oracle.scripts:

prepare:

compile.jbpm:

compile.jbpm.test:

compile.identity:

compile.webapp:

compile.identity.test:

compile.examples:

compile:

db.scripts:
[mkdir] Created dir: C:\jbpm-starters-kit-3.0.3\jbpm-db\build\oracle\scripts

 [java] syntax: JbpmSchema create
 [java] syntax: JbpmSchema drop
 [java] syntax: JbpmSchema clean
 [java] syntax: JbpmSchema scripts  

BUILD SUCCESSFUL
Total time: 1 second
--

However, my build/oracle/scripts directory is completely empty after running 
this. My hibernate.properties file is as follows:

--
hibernate.dialect=org.hibernate.dialect.Oracle9Dialect
# for Oracle 8 compatibility use
#hibernate.dialect=org.hibernate.dialect.OracleDialect

hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver
#hibernate.connection.url=jdbc:oracle:thin:@::
#hibernate.connection.username=
#hibernate.connection.password=
hibernate.connection.url=jdbc:oracle:thin:@localhost:1521:XE
hibernate.connection.username=SYSTEM
hibernate.connection.password=mypassword

hibernate.show_sql=true
hibernate.c3p0.min_size=1
hibernate.c3p0.max_size=3

hibernate.query.substitutions=true 1, false 0
--

My build.properties files is as follows:

--
jbpm.3.location=../jbpm

#upgrade.hibernate.properties=hsqldb/hibernate.properties
upgrade.hibernate.properties=oracle/hibernate.properties
#upgrade.libdir=hsqldb/lib
upgrade.libdir=oracle/lib
#upgrade.old.schema.script=hsqldb/upgrade.scripts/hsqldb.create.jbpm.3.0.2.sql
--

My database is up and running, I can connect to it, and I don't see any errors 
anywhere -- but I don't get any scripts generated!  Help!  

Thanks, 

Brad

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

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

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


[JBoss-user] [JBossWS] - Re: Problems consuming a Web Service

2006-07-03 Thread RKisilenko2
Hello all,

I've resolved the problem. Possibly it will be interesting to others, so I'll 
explain the solution.

I was running web service client from EJB3 project in Eclipse. JBoss Eclipse 
IDE 1.5.1 GA uses it's own set of AOP libraries instead of pulling them from 
JBoss runtime configuration. This set of libraries contains outdated 
jboss-commons.jar. This outdated jar in turn contains binaries for org.jboss.xb 
package which are incompatible with jboss-ws. So there was two ways to solve 
the problem:

1. Move Eclipse IDE AOP library to the end of classpath.
2. Replace preconfigured AOP library by manually adding relevant jars into 
classpath.

Possibly it is worth including this information in Wiki. Possibly it is worth 
opening a bug on JBoss Eclipse IDE. Possibly this information is not of great 
use. I think this is up to JBoss developers to decide.

Regards,
Roman

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

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

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


[JBoss-user] [EJB 3.0] - Re: MDB doesn't receive message from JMX Queue

2006-07-03 Thread mtedone1
Thanks, that worked.

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

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

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


[JBoss-user] [JBoss jBPM] - Question Regarding Behavior of start-state Task

2006-07-03 Thread kazam
When I create a process instance programmatically and create a start-task 
instance, and probe if the stat-task instance is signalling it comes out to be 
false. 
Also, even if I set it to true, and query the taskInstance, it still says false.

However, as soon as I end this task, the process moves on forward to the next 
node, which shows that the start-task was signalling. 
What am I missing here? Thanks, Kazam


  | TaskInstance taskInstance = 
processInstance.getTaskMgmtInstance().createStartTaskInstance();
  |   taskInstance.setSignalling(true);
  |   /*Get startTaskInstance information*/
  |System.out.println("TaskInstance isOpen 
"+taskInstance.isOpen()+" isSignalling "+ 
  |taskInstance.isSignalling()+" isBlocking 
"+taskInstance.isBlocking()
  |+" isStartTaskInstance 
"+taskInstance.isStartTaskInstance()+" isLast "
  |+taskInstance.isLast()+" isCancelled "+ 
taskInstance.isCancelled());
  | 


  | 
  | 
  |   
  | 
  | 
  |  
  | 
  | 
  | 
  |  
  | 
  | 
  |   
  | 
  | 
  |   
  |   
  | 
  | 
  |   
  |   
  | 
  | 
  |   
  | 
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  |   
  |   
  | 
  | 

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

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

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


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

2006-07-03 Thread jbpmndc
I can't get deploy the dvd store .ear 

I'm using JBossAS with EJB3
I'm also using the installer (some people say this fixes the problem)

Everything is fine up to com.jboss.dvd.seam.Customer and then I get a 
java.lang.reflect.InvocationTargetException error.

Any help is greatly appreciated.



  | 17:56:23,010 INFO  [Component] Component: customer, scope: CONVERSATION, 
type: E
  | NTITY_BEAN, class: com.jboss.dvd.seam.Customer
  | 17:56:23,041 INFO  [Component] Component: accept, scope: CONVERSATION, 
type: STA
  | TEFUL_SESSION_BEAN, class: com.jboss.dvd.seam.AcceptAction, JNDI: 
jboss-seam-dvd
  | /AcceptAction/local
  | 17:56:23,104 ERROR [STDERR] java.lang.reflect.InvocationTargetException
  | 17:56:23,104 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(
  | Native Method)
  | 17:56:23,104 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(N
  | ativeMethodAccessorImpl.java:39)
  | 17:56:23,104 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invo
  | ke(DelegatingMethodAccessorImpl.java:25)
  | 17:56:23,104 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:5
  | 85)
  | 17:56:23,104 ERROR [STDERR] at 
org.jboss.seam.util.Reflections.invoke(Reflec
  | tions.java:13)
  | 17:56:23,104 ERROR [STDERR] at 
org.jboss.seam.util.Reflections.invokeAndWrap
  | 

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

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

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


[JBoss-user] [JBoss Seam] - How to access files from seam code

2006-07-03 Thread shasho
Hello 

I want to be able to access files on my server (HTTP/FTP). Currently I am using 
the following command to read a file

InputStream stream = Resources.getResourceAsStream("/WEB-INF/" + fileName);

The thing is, the WEB-INF/ is under the ear file, so each time I want to add 
new file I need to re build the ear?

I want to be able to read files from the local apache (http) or FTP directory

Thanks
Amir


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

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

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


[JBoss-user] [Clustering/JBoss] - Re: Always query one instance with a greater port number for

2006-07-03 Thread chwang
hi, I have found some reason. 
I  have found the reson is related to 

worker.loadbalancer.sticky_session=1

if I set 

worker.loadbalancer.sticky_session=0

They will swtich loading.

But  sticky_session=1 doesn't work well. 

for example,  when I send a request  to the node1 through browser, 
I got a session ID, then I re-loaded browser, the request went to node2. 
According to set up sticky_session=1, it  should still go to node1. 
Please tell the reson why?

Chwang

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

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

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


[JBoss-user] [JNDI/Naming/Network] - Re: JBOSS 4.0.3 and JMS

2006-07-03 Thread [EMAIL PROTECTED]
though a little late, this was same Issue I had, which unblocking 1098,1099, 
, and the uil2 port helped with, it's a very deceiving error...


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

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

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


[JBoss-user] [JBossWS] - JBossWS 1.0.1 & JBWS-943

2006-07-03 Thread jiwils
Can anyone tell me if JBWS-943 is fixed in JBossWS 1.0.1?  The Jira issue is 
unclear (there is no fix version listed).  If not, will there be a patch to 
solve the EAR scoping issue when using JBoss WS 1.0.1?

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

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

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


[JBoss-user] [Clustering/JBoss] - Always query one instance with a greater port number for 2 i

2006-07-03 Thread chwang
Hi, Folks,

I set up 2 instances in one machine with different port numbers. 
it works fine last week, 2 instances can handle the requests one by one.
Today I restart my computer, the requests always go to the greater port number. 
Foe example:

I set worker.node1.port=8009
  | 
  |  worker.node2.port=8109   
so all queries always go to node2. (8109>8009)

if I exchange the port,   all queries will go to node1.


Also I set worker.node1.port=8209
  | 
  |  worker.node2.port=8109
the conclusion is the right,  all queries go to node1 (because 8209>8109).

Could you tell me what is wrong? Thank you.


Chwang


this is my workers.properties.

workers.apache_log=/var/log/httpd/
  | 
  | # Define Node1
  | worker.node1.port=8009
  | worker.node1.host=localhost
  | worker.node1.type=ajp13
  | worker.node1.lbfactor=1
  | worker.node1.local_worker=1
  | worker.node1.cachesize=10
  | 
  | 
  | # Define Node2
  | worker.node2.port=8109
  | worker.node2.host=localhost
  | worker.node2.type=ajp13
  | worker.node2.lbfactor=1
  | worker.node2.local_worker=1
  | worker.node2.cachesize=10
  | 
  | 
  | # Load-balancing behaviour
  | worker.loadbalancer.type=lb
  | worker.loadbalancer.balanced_workers=node1, node2
  | worker.loadbalancer.sticky_session=1
  | worker.loadbalancer.local_worker_only=1
  | worker.list=loadbalancer
  | 
  | 
  |   

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

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

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


[JBoss-user] [JBoss Seam] - Injection/loading not working on Seam CRUD app?

2006-07-03 Thread jkrupka
I have gotten past a couple of other issues with the CRUD app and now have it 
to the point that it somewhat works... but if i try going immediately to the 
"Search for existing records" page, it fails.  I will post the stack trace 
below.  But if i go to the "create record" page it works, and if I THEN to the 
"Search for existing records" page, it works.  I tried stepping it through 
debug, it looks like it's failing because it can't instantiate one of my 
classes, due to not finding/loading the message.properties file...?

And yes I'm on the latest version of everything (jboss, seam, jboss eclipse 
ide, ejb), and yes I can run the Seam examples ok.
Environment: Eclipse 3.1.2, jdk 1.5, linux amd 64 bit.

All the WARN lines at the bottom of the trace are from when I went to the 
create page instead of the search page.
Here's the stacktrace...
15:34:09,822 INFO  [Initialization] initializing Seam
15:34:12,831 INFO  [Component] Component: org.jboss.seam.core.init, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
15:34:12,852 INFO  [Component] Component: org.jboss.seam.core.pages, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
15:34:12,860 INFO  [Component] Component: events, scope: APPLICATION, type: 
JAVA_BEAN, class: org.jboss.seam.core.Events
15:34:12,866 INFO  [Component] Component: org.jboss.seam.core.manager, scope: 
EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
15:34:12,884 INFO  [Component] Component: switcher, scope: PAGE, type: 
JAVA_BEAN, class: org.jboss.seam.core.Switcher
15:34:12,890 INFO  [Component] Component: redirect, scope: CONVERSATION, type: 
JAVA_BEAN, class: org.jboss.seam.core.Redirect
15:34:12,896 INFO  [Component] Component: httpError, scope: APPLICATION, type: 
JAVA_BEAN, class: org.jboss.seam.core.HttpError
15:34:12,903 INFO  [Component] Component: userPrincipal, scope: APPLICATION, 
type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal
15:34:12,909 INFO  [Component] Component: isUserInRole, scope: APPLICATION, 
type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole
15:34:12,914 INFO  [Component] Component: conversation, scope: CONVERSATION, 
type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
15:34:12,922 INFO  [Component] Component: conversationList, scope: PAGE, type: 
JAVA_BEAN, class: org.jboss.seam.core.ConversationList
15:34:12,927 INFO  [Component] Component: conversationStack, scope: PAGE, type: 
JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
15:34:12,952 INFO  [Component] Component: facesContext, scope: APPLICATION, 
type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
15:34:12,964 INFO  [Component] Component: pageContext, scope: APPLICATION, 
type: JAVA_BEAN, class: org.jboss.seam.core.PageContext
15:34:12,969 INFO  [Component] Component: eventContext, scope: APPLICATION, 
type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
15:34:12,974 INFO  [Component] Component: sessionContext, scope: APPLICATION, 
type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
15:34:12,979 INFO  [Component] Component: statelessContext, scope: APPLICATION, 
type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext
15:34:12,984 INFO  [Component] Component: applicationContext, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
15:34:12,989 INFO  [Component] Component: conversationContext, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
15:34:12,993 INFO  [Component] Component: businessProcessContext, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
15:34:13,638 INFO  [Component] Component: locale, scope: STATELESS, type: 
JAVA_BEAN, class: org.jboss.seam.core.Locale
15:34:13,650 INFO  [Component] Component: messages, scope: SESSION, type: 
JAVA_BEAN, class: org.jboss.seam.core.Messages
15:34:13,654 INFO  [Component] Component: interpolator, scope: STATELESS, type: 
JAVA_BEAN, class: org.jboss.seam.core.Interpolator
15:34:13,659 INFO  [Component] Component: facesMessages, scope: CONVERSATION, 
type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages
15:34:13,667 INFO  [Component] Component: resourceBundle, scope: SESSION, type: 
JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
15:34:13,673 INFO  [Component] Component: localeSelector, scope: SESSION, type: 
JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector
15:34:13,693 INFO  [Component] Component: uiComponent, scope: STATELESS, type: 
JAVA_BEAN, class: org.jboss.seam.core.UiComponent
15:34:13,698 INFO  [Component] Component: 
org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, 
type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.SubscriptionRegistry
15:34:13,725 INFO  [Component] Component: pojoCache, scope: APPLICATION, type: 
JAVA_BEAN, class: org.jboss.seam.core.PojoCache
15:34:13,729 INFO  [Component] Component: entityManager, scope: CONVERSATION, 
type: JAVA_BEAN, class: org.jboss.seam.core.ManagedPersis

[JBoss-user] [JBossWS] - Problems consuming a Web Service

2006-07-03 Thread RKisilenko2
Hello,

I'm trying to implement JSR-181 EJB webservice. It deploys fine, but when I 
trying to access it from client-side, I'm getting following Exception at 
client-side:java.lang.NoSuchFieldError: fFeatures
  | at 
org.jboss.xb.binding.parser.xni.XniJBossXBParser$ParserConfiguration.configurePipeline(XniJBossXBParser.java:459)
  | at org.apache.xerces.parsers.DTDConfiguration.reset(Unknown Source)
  | at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
  | at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
  | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  | at 
org.jboss.xb.binding.parser.xni.XniJBossXBParser.parse(XniJBossXBParser.java:192)
  | at 
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:151)
  | at 
org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMappingFactory.parse(JavaWsdlMappingFactory.java:79)
  | at 
org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:73)
  | at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:96)
  | at 
org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157)
  | at 
org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:142)
  | at session.SessionUnitTest.testLogin(SessionUnitTest.java:21)
  | ...I have spend many hours trying to find any info in User's Guide, Wiki 
and Forums. But found nothing and still unable to resolve the problem. It seems 
error happens even before client connects to a web service.

My web service code:package session;
  | 
  | import javax.ejb.Stateless;
  | import javax.jws.WebMethod;
  | import javax.jws.WebService;
  | import javax.jws.soap.SOAPBinding;
  | 
  | @WebService
  | @SOAPBinding(style = SOAPBinding.Style.RPC)
  | @Stateless
  | public class SessionBean implements Session {
  | 
  | @WebMethod
  | public void login() {
  | System.out.println("call");
  | }
  | 
  | }
My client code:ServiceFactoryImpl factory = new 
ServiceFactoryImpl();
  | URL wsdlURL = new 
URL("http://localhost:8070/teststatelessendpoint/SessionBean?wsdl";);
  | URL mappingURL = new File("src-gen/jaxrpc-mapping.xml").toURL();
  | QName qname = new 
QName("http://localhost:8070/teststatelessendpoint";, "SessionBean");
  | Service service = factory.createService(wsdlURL, qname, 
mappingURL);
  | session.jaws.SessionBean port = 
(session.jaws.SessionBean)service.getPort(session.jaws.SessionBean.class);  
   
  | port.login();
Possibly I'm missing something very simple or obvious. Hope for your help.

Thank you in advance for your help,
Roman

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

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

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


[JBoss-user] [JBoss jBPM] - Was the .par extension removed from jbpm?

2006-07-03 Thread efhajg0
The .par extension does not show up in eclipse when a jbpm project is created.  
Process simple does not say simple.par as shown in the wiki page: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmGettingStarted. 

Is that intended? 

Also was the folder src/processes changed to processes. 

Is that intended? 

Thank you. 

andy

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

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

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


[JBoss-user] [EJB/JBoss] - Moving from JBoss 4.0.1 to 4.0.4

2006-07-03 Thread rdoust
I'm having the problem that my EJB beans are not being bound successfully on 
deployment taking what worked in 4.0.1 to 4.0.4. There are a couple of 
interesting things in the logfile:
2006-07-03 14:51:34,727 DEBUG [org.jboss.ejb.EntityContainer] Unable to 
retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB 
is not registered.
.
.
.
2006-07-03 14:51:34,831 DEBUG 
[org.jboss.ejb.plugins.local.BaseLocalProxyFactory] TheRentalAgent cannot be 
Bound, doesn't have local and local home interfaces
2006-07-03 14:51:34,898 DEBUG [org.jboss.proxy.ejb.ProxyFactory] (re-)Binding 
Home nym/rentalAgent
2006-07-03 14:51:34,911 INFO  [org.jboss.proxy.ejb.ProxyFactory] Bound EJB Home 
'TheRentalAgent' to jndi 'foo/rentalAgent'

I'm unable to look this bean's home object up using JNDI as I am able to do in 
4.0.1. I can't tell if the problem is to do with CorbaORB not being registered, 
some problem with the deployment descriptors, or what. I have found some posts 
that hint at similar problems, but no solutions. I'm afraid I have not kept up 
with EJB's spec release to 3.0 and don't know if I'm forced to do something 
there. I have included version="2.1" in my ejb-jar tags. Can't figure out what 
else to do.
Any help?


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

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

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


[JBoss-user] [JBoss Eclipse IDE (users)] - Cannot create debug-configuration

2006-07-03 Thread Hilwi
Hello!

Yesterday I have downloaded Eclipse 3.2 and the JBossIDE 1.6.0GA and installed 
it on my MacOS 10.4.7.

I installed the JBossIDE via the update-manager of Eclipse and all seemed to go 
fine. When I now try to create a new debug-configuration for my JBoss-Server 
("Run->Debug...") I have a list with the possible configuration-types that also 
contains the different JBoss-Servers from 2.4.x to 4.0.x. When I then 
right-click on JBoss 4.0.x and select "New" nothing happens. The same problem 
appears on all JBoss-Configurations. When I right-click on "JBoss AOP 
Application" or something else, the new-function works without any problems.

What can I do now? I already have re-installed the JBossIDE with the same 
result.

Is something missing? Is there any configuration-file where I could define a 
debug-configuraion for JBoss manually?

I'm using JBoss 4.04GA

Achim

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

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

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


[JBoss-user] [Beginners Corner] - Left Bracket

2006-07-03 Thread angusm
This is a question on Post formatting.

How do you show XML with left and right brackets?
.
I have tried copying examples from the Wiki : {{{ , and HTML without success.

Thank you very much

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

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

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


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

2006-07-03 Thread domyalex
Thank you for your reply.

I have been looking for some infos about how to deploy a .sar, but I was unable 
to find it. Do you know where could I look for some ideas?

Also, where can I dowload the jboss-hibernate.jar source code?

Best regards

Alejandro

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

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

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


[JBoss-user] [JBoss Seam] - Log4JLogger doesn't print right source line

2006-07-03 Thread RobJellinghaus
When I run the Seam 1.0.1GA Hibernate testexample, here's the very beginning of 
the "ant clean testexample" output:
testexample:
  |  [copy] Copying 44 files to 
C:\robj\dev\seam\jboss-seam\examples\hibernate\build\test
  |[testng] INFO  03-07 10:40:37,125 (Log4JLogger.java:info:94)  -reading 
components.xml
  |[testng] INFO  03-07 10:40:37,218 (Log4JLogger.java:info:94)  -reading 
properties from: /seam.properties
Note that all of the logging lines are "Log4JLogger.java:info:94".  This is, of 
course, not what I want.  I want to know where in the source is the original 
call to log.info, not the line number inside Log4JLogger!

This used to work with a previous beta of Seam, but broke somewhere along the 
way to 1.0.1GA.  Anyone else noticed this?  Troubled by it?  Got a fix?

Thanks :-)
Cheers,
Rob

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

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

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


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

2006-07-03 Thread timfox
When persistent messages are acked they will be removed from the 
jms_message_reference table.

When all references to the message (the same message can be in many queues or 
subscriptions) are acked, it will be removed from the jms_message table.

MessageCount represents the total number of messages in the queue at that time.

For auto acknowledgement the message is acked when the call to receive has 
returned or when the onMessage method has finished executing
(see http://java.sun.com/j2ee/1.4/docs/api/index.html)

If this is not what you are seeing please send me your code and I will take a 
look.

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

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

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


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

2006-07-03 Thread arjakki
Hi ,

   Once you created the process instance as per you code you did n't 
signal the token to next node i.e. your taskNode where a task instance is 
created . Get that task instance and assign to the current actor.

TaskInstance taskInstance = 
jbpmContext.loadTaskInstanceForUpdate(taskInstanceId);
taskInstance.setActorId(actorId);

Thanks
arjakki


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

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

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


[JBoss-user] [JBoss Messaging] - JBoss Messaging 1.0.1.CR3 released

2006-07-03 Thread timfox
I have just released this and it is now available on jboss labs:

http://labs.jboss.com/portal/jbossmessaging/downloads

This fix contains several important fixes, so I highly recommend that you are 
upgrade to this version if you are using an earlier version.

Release notes are available here:

http://labs.jboss.com/portal/jbossmessaging/downloads

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

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

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


[JBoss-user] [JBoss Eclipse IDE (users)] - xdoclet build failure

2006-07-03 Thread bsankar
I get the below error when i run xdoclet at the project level

Buildfile: /home/bsankar/workspace/Tutorial/xdoclet-build.xml
N65540:

BUILD FAILED
/home/bsankar/workspace/Tutorial/xdoclet-build.xml:34: Could not create type 
ejbdoclet due to java.lang.NoClassDefFoundError: while resolving class: 
xjavadoc.XJavaDoc

Total time: 9 seconds

Operating system  - ubuntu linux
Java version -   1.4.2
Eclipse version -3.1.2 
JBoss-IDE version -1.6.0 GA
JBoss version -3.2.7
I  followed the steps in JBOSS IDE tutorial. I installed JBOSS IDE 1.6.0 GA 
thru eclipse update


This is my first attempt with the jboss ide.

Thanks,
Sankar

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

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

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


[JBoss-user] Duplicate Deployment of Modules inside EAR

2006-07-03 Thread Andreas Schildbach
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


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


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

2006-07-03 Thread ameelin
a) We have an app with an applet interface.  At periodic intervals the applet 
goes to server and gets updated data and repaints.
On the server side now,  there is a stateful session bean that holds the object 
data painted by applet.  Whenever there is a change to the data of objects held 
by stateful bean, then the object referrred to by stateful session bean is 
updated.  Can I reap a lot of benefits if I move from stateful to JBoss 
cache(generally speaking)

b) The above described is an existing system...and I want to suggest JBoss 
cache to client (in lieu of stateful session beans)and hence was looking for an 
article or write-up that compares stateful and JBoss cache...is there one?

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

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

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


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

2006-07-03 Thread dv_lakshmi
I have configured Oracle persistence with Jboss messaging and I have created 
the tables required for persistence in Oracle database. It appears to me that 
the messages are redelivered even after the messages are successfully received 
and processed by the consumer. 

I believe that JMS_MESSAGES is the table which stores the JMS messages , now, 
when are the messages deleted from this table ? While I am sending a message, I 
am marking the message as persistent and creating a non-transacted session with 
Session.AUTO_ACKNOWLEDGE, 

Looking at the "STATE" column in the JMS_MESSAGES table, how can I verify if 
the messages are delivered successfully or they are waiting to be processed. In 
this particular case, all my messages have been marked "C" in the JMS_MESSAGES 
table. On server startup, my MessageListeners are picking up the messages again 
from the queue. Also does the 'MessageCount" in jmx-console indicate the total 
number of messages received at the queue or the number of messages yet to be 
processed ? Finally when is the acknowledgement sent in case when a Session is 
created with Session.AUTO_ACKNOWLEDGEMENT?

My configuration: 
Jboss 4.0.3SP1 
Jboss message 1.0.1 CR2  
Oracle 10G 

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

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

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


[JBoss-user] [JBoss Seam] - Re: Problem using conversation scope with JSP

2006-07-03 Thread tomasg
I had mystriously missed out on the Seam redirect filter. Anyhow, I'm back to 
the Facelet/xhtml.


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

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

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


[JBoss-user] [Security & JAAS/JBoss] - Re: Security Roles On EJB3 Remote Interface Only

2006-07-03 Thread adogg
Believe it or not, #1 seems to be working for me.  I have a SecurityDomain 
annotation in one of my EJBs and one of its methods has no RolesAllowed 
annotation, and I can call that method in the EJB without authentication.  Just 
a regular NamingContext lookup.

Maybe the AOP joinpoints don't get applied to methods that don't have the 
RolesAllowed annotation, and so the SecurityDomain is never considered, and so 
no creds are necessary.

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

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

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


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

2006-07-03 Thread jboss-Nth-Fan
Thanks Gavin.

Maybe a bit off topic , but in the DVD sample in the login.xhtml page I've 
modified in my own prototype to use s:link instead of the 
anonymous wrote : Create 
Account
but did not work. I had the idea that both commandLink and s:Link would be 
somewhat interchangable but it seems not.

Can you point to resources providing insight on the differences?

Thanks 


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

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

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


[JBoss-user] [Security & JAAS/JBoss] - Re: Security Roles On EJB3 Remote Interface Only

2006-07-03 Thread j2ee_junkie
adogg,

Option 1, is what I mentioned before.  If at least one method of a bean is 
secured, then the whole bean must be covered by a security domain.  As such, 
access to any method, will require a caller to be authenticated.  Note this 
does not mean the caller has to be authorized, just athenticated.  So your 
MBean must authenticate as a caller.

Option 2, makes the most sense to me.  I have used this method before.

As an aside, I solved a similar problem.  I had a login module that needed to 
access a secured bean as part of the authentication/authorization process.  
However, the question remained how to A/A the login module.  I developed a 
custom login module, and a package visible token object.  A caller of my 
secured EJB had to be a member of the package in order to set the thread local 
token.  That value was then sent to authentication layer as the password.  
Inside the custom login module (which was also a member of the package) the 
token was checked against the passed in password.  Thus only a member of that 
package, and only the instance of that caller that set the token in that thread 
could have possibly been the one being authenticated.

let me know if you need more details and good luck, cgriffith

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

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

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


[JBoss-user] [JCA/JBoss] - SQLException is comming

2006-07-03 Thread var.seth
while i tried to deploy an application on JBOSS, it is throwing the 
SQLException. the message related to this Exception is that "table already 
created: unable to create JMS_MESSAGE " and "JMS_TRANSACTION"

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

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

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


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

2006-07-03 Thread [EMAIL PROTECTED]
Just the standard JSF way: facesContext.getViewRoot().getViewId()

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

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

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


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

2006-07-03 Thread jboss-Nth-Fan
Thanks for your almost quick response Gavin, great support !

I'm thinking if the JSF viewId would be the correct way to access it or does 
Seam store that reference or handler somewhere else? 
If so how should I access it: standard JSF or via a Seam method ?

Yeyo.

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

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

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


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

2006-07-03 Thread sdes1240
You can't, it is hard-coded in jboss-hibernate.jar.

see : Hibernate.class, transferSettings()

 settings.setProperty("hibernate.transaction.auto_close_session", "true");

You can still use still the sar-approche for deploying you're hibernate files

or roll you're own  jboss-hibernate.jar 


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

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

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


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

2006-07-03 Thread [EMAIL PROTECTED]
You mean you want to discover the current JSF viewId?

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

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

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


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

2006-07-03 Thread jboss-Nth-Fan
After navigating with a Link or by using a PageFlow, how can I retrieve the 
value of the current view in both the newly rendered page itself and inside an 
action ?





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

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

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


[JBoss-user] [Beginners Corner] - Re: How to obtain the UserTransaction object in a session be

2006-07-03 Thread alllle
Just to make this thread complete.

I've solved the problem after lots of research. The problem was actually caused 
by that I specified the JDBC connection information in the Hibernate 
configuration file directly. In other words, Hibernate uses the JDBC directly 
without letting the JBoss App Server to manage it. Therefore, JBoss never know 
there is such a JDBC data source exists and can't do commit/rollback.

To solve it, I have to create a mydb-ds.xml file and place it under the 
meta-inf dir of my EAR. Then in the jboss-app.xml file, I refer to it as:

  | 
  |   
  | meta-inf/mydb-ds.xml
  | 
  | 
  | 

Then configure the Hibernate to use JNDI to get the reference of the data 
source (plenty of doc on this). Also note that the 
${JBOSS_HOME}/doc/examples/jca contains lots of sample xxx-ds.xml file as 
template.

It seems that Hibernate document failed to mention this necessary configuration 
change when using JTA, and I see lots of posts with similary problem but no 
answers. It really should be added into the Hibernate doc.

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

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

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


[JBoss-user] [JBoss jBPM] - HelloTest NullPointer Exception

2006-07-03 Thread efhajg0
Hello all, 

I am running the tutorials in A Guided Tour of JBoss jBPM GPD. In chapter 3,  
Test Driven Process Development, rRunning the JUnit test results in a 
NullPointerException on line 12. Do I need to set a location anywhere to point 
to the process definition xml file? Any help to to get me past this is 
appreciated.

Here is the error when Running JUnit from Eclipse. It looks to me like it can't 
find the process defininition XML file.  

java.lang.NullPointerException
at java.io.Reader.(Unknown Source)
at java.io.InputStreamReader.(Unknown Source)
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:136)
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:128)
at com.jbay.HelloTest.testProcess(HelloTest.java:12)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)


Listed below is the source for HelloTest. line 12 is where the instance 
definition is instantiated.

package com.jbay;

import org.jbpm.graph.def.ProcessDefinition;
import org.jbpm.graph.exe.ProcessInstance;

import junit.framework.TestCase;

public class HelloTest extends TestCase {

public void testProcess() throws Exception {
//create a jBPM process archive object is created
ProcessDefinition definition = 
ProcessDefinition.parseXmlResource("hello/processdefinition.xml");  //line 12   
 assertNotNull("Definition should not be null", definition);

ProcessInstance instance = new ProcessInstance(definition);
assertEquals ("Instance= start state", 
instance.getRootToken().getNode().getName(), "start");
instance.signal();
assertEquals( "Instance= auction state", 
instance.getRootToken().getNode().getName(), "auction");
instance.signal();
assertEquals( "Instance= end state", 
instance.getRootToken().getNode().getName(), "end1");
assertTrue( "Instance has ended", instance.hasEnded());
}
}


Listed below is the XML for the process definition

?xml version="1.0" encoding="UTF-8"?>

http://jbpm.org/3/jpdl";  name="jbay">  
   
  
   
   
  
   
   



out of curiosity, why don't I see the .par extension in eclipse.
is any other diagnostic information needed?

Thank you in advance for your help. 

- andy



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

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

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


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

2006-07-03 Thread CptnKirk
Take a look at your request parameters.  What is the value of 
'dataModelSelection'?

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

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

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


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

2006-07-03 Thread [EMAIL PROTECTED]
msteiner, are you also using t:dataTable? What happens if you try h:dataTable?

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

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

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


[JBoss-user] [Security & JAAS/JBoss] - Re: Security Roles On EJB3 Remote Interface Only

2006-07-03 Thread adogg
Good call on the RunAs annotation, but I want to hit my EJB from an MBean, and 
as far as I can tell (and I've tried), I can't use RunAs on an MBean.  Couple 
of things I was thinking about:

1. Make backdoor methods in my Local interface (not in my Remote) that don't 
have any security, and then callers using the local interface will have to be 
sure to use those unsecured methods.

2. Throw in an EJB (with only a local interface) that will proxy calls from 
using RunAs

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

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

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


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

2006-07-03 Thread [EMAIL PROTECTED]
I guess the theory in Seam is that the event "payload" is held in the contexts. 
ie. if you look at how all other events (jsf events, jbpm events, etc) work, 
the idea is that you don't couple your event listener to the event it is 
listening to via some Event object, instead, the event listener has no 
parameters and simply pulls state from the contexts. In a sense, an Event 
object is a hack for carrying information about contextual state in 
architectures which do not have well-defined contexts.

However, I am not religious about this, and if people want it, I can probably 
make the signature of raiseEvent() be raiseEvent(String, Object...), and then 
try to match the varargs off against the parameters of the listener method. But 
notice how this really does couple the event producer more tightly to the 
consumer. 

(I would have some problems with polymorphic type matching of parameters to 
overloaded listener methods, but those problems are probably not 
insurmountable.)

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

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

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


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

2006-07-03 Thread [EMAIL PROTECTED]
I don't deploy components.properties into the ear. All i do is use the Ant task 
to replace any @foobar@ stuff. I really think you should follow this approach.

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

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

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


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

2006-07-03 Thread [EMAIL PROTECTED]
So use facelets in your simple example, if you think that is related to the 
problem (I very much doubt it).

If _you_ can't reproduce it in a simple test, then what chance do _I_ have?

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

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

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


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Want to add another ThreadPool

2006-07-03 Thread thmix10
I am porting an application from Weblogic that uses a dedicated execute 
ThreadPool for the handling of a possible slow running and/or deadlock causing 
JSP.

The given servlet/JSP was assigned to the ThreadPool in the web.xml:


  
MyServletWithaSlowPage
/MySlowPage.jsp

  wl-dispatch-policy
  DedicatedPool

  


Is there a way to do this in JBoss/Tomcat?

Thanks,
Todd

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

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

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


[JBoss-user] [JBoss Seam] - Re: Seam Events

2006-07-03 Thread [EMAIL PROTECTED]
Right, one of the things that Seam can really do is allow you to write _very_ 
loosely coupled components. It's hard to explain exactly what it is about this 
model that makes that easier than in other architectures, but its somehow to do 
with:

* events bound to components via EL +
* contextual state

Well, anyway, that is what I have observed. I wonder what other people think 
about that.

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

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

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


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

2006-07-03 Thread domyalex
Any ideas anybody?  :(

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

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

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


[JBoss-user] [Security & JAAS/JBoss] - Re: Login module which accesses an EJB?

2006-07-03 Thread j2ee_junkie
First off, start a new thread as this is not related to the threads subject.

Second, do not put

  | 
  | GreenfieldsLogin.sar
  | 
  | 
in application.xml.  Java 2 E E spec. knows nothing of JBoss sars.  You need to 
set that in jboss-app.xml.

Finally, do not complain to us that you are going to get fired if you do not 
get help.  We are only here to help voluntarily, and you should not depend on 
us to get your job done.

Happy to help otherwise, cgriffith

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

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

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


  1   2   3   >