[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

[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 : ht

[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.getHomeHa

[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/deplo

[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, to

[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

[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

[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 th

[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 w

[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

[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=vi

[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 you

[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 JBos

[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

[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 appl

[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.co

[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

[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 desi

[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 :

[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=39551

[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

[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 d

[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/c

[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

[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=po

[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=r

[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

[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 an

[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=post

[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

[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

[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 Usi

[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=39551

[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

[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 s

[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

[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

[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 suppor

[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. Vi

[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

[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, sec

[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=repl

[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

[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?

[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 | |

[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 al

[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 re

[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 Us

[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=re

[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 e

[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)

[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 Repl

[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?mod

[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

[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.

[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 stu

[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

[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.

[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 t

[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 g

[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.htm

[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=39551

[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.p

[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

[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.configure

[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 in

[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.InstanceNotF

[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 l

[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 t

[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

[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) -read

[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 messag

[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(taskIn

[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: ht

[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: x

[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

[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 stat

[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 i

[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 Usi

[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 a

[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 no

[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 athentic

[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#

[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? Ne

[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:

[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

[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 suppor

[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://

[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 Ser

[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 m

[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

[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 t

[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 c

[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 ha

[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.

[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

[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-dispa

[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 s

[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? G

[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 goin

  1   2   3   >