[JBoss-user] [JBossCache] - Re: JDBC persistance with pojo cache and performance issue
Yes, a test case would be helpful. Are you sure your POJO is *really* aspectized ? Otherwise, we serialize the POJO and store the *entire* serialized POJO in a value (a.k.a. a BLOB) in the DB View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913926#3913926 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913926 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - C3P0 pooled datasource gives 'fetch out of sequence'
I'm using the C3P0PooledDataSource with my Hibernate in Jboss. ?xml version=1.0 encoding=UTF-8? | !DOCTYPE server | server | mbean code=com.mchange.v2.c3p0.mbean.C3P0PooledDataSource name=jboss:service=CamasC3P0PooledDataSource | attribute name=JndiNamejava:/DS/attribute | attribute name=JdbcUrljdbc:oracle:thin:@:1521:*/attribute | attribute name=DriverClassoracle.jdbc.driver.OracleDriver/attribute | attribute name=User/attribute | attribute name=Password/attribute | | !-- Uncomment and set any of the optional parameters below -- | !-- See c3p0's docs for more info. -- | | attribute name=AcquireIncrement1/attribute | attribute name=AcquireRetryAttempts10/attribute | attribute name=AcquireRetryDelay5000/attribute | attribute name=AutoCommitOnClosefalse/attribute | attribute name=AutomaticTestTableC3P0TEST/attribute | attribute name=CheckoutTimeout5000/attribute | attribute name=DescriptionC3P0 Pooled Datasource/attribute | attribute name=IdleConnectionTestPeriod30/attribute | attribute name=InitialPoolSize1/attribute | attribute name=MaxIdleTime600/attribute | attribute name=MaxPoolSize3/attribute | attribute name=MinPoolSize1/attribute | attribute name=NumHelperThreads3/attribute | attribute name=TestConnectionOnCheckintrue/attribute | dependsjboss:service=Naming/depends | /mbean | /server Now, when I try to lock an object using LockMode.UPGRADE_NOWAIT, I get an SQL error: 1002 - fetch out of sequence. This message should appear when part of a session is already flushed before getting the lock: http://ora-01002.ora-code.com/ anonymous wrote : This may be caused by fetching from a SELECT FOR UPDATE cursor after a commit. When I use a normal datasource, I don't have the problem anymore, so it looks like it that c3p0 does some auto commit where we don't want it and not even specified it to do so. Has anyone ever came acros this problem yet? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913927#3913927 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913927 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Topic publisher not working (socket write error)
Hi all, I have a periodic task on JBoss AS 4.0.0DR3 sending a topic on the local jms server. JMS Connection is performed with: | Properties properties = new Properties(); | properties.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); | | properties.put(Context.URL_PKG_PREFIXES, org.jnp.interfaces); | properties.put(Context.PROVIDER_URL, jnp://localhost:1099); | | final InitialContext ctx = new InitialContext(properties); | // then lookup the Topic Name | and this works for a while. Until a JMSException is thrown and the task can no longer publish the topic: | org.jboss.mq.SpyJMSException: Cannot send a message to the JMS server; - nested throwable: (java.net.SocketException: Software caused connection abort: socket write error) | org.jboss.mq.Connection.sendToServer(Connection.java:1004) | org.jboss.mq.SpySession.sendMessage(SpySession.java:995) | org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:247) | org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:199) | org.jboss.mq.SpyTopicPublisher.publish(SpyTopicPublisher.java:58) I really don't understand why the task can get a socket error on the localhost machine.. I cannot get any information about this error on any forum... Moreover, (that may be a cause to effect relation) the task is performing a QueueReceiver.receive() on a QueueReceived supposed to retrieve the response of the client. Everything is working well for a while. But once the first Exception is thrown (the topic is not published), the QueueReceiver Object is doing the same Socket write Error and then is throwing a | javax.jms.JMSException: Another thread is already in receive. | Cannot find any information about this Exception on JBoss Forums... Am I doing something wrong? How is a Socket write error happening on the local machine? Thanx for helping, Manawajaws View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913928#3913928 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913928 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Setting SystemProperties through the SystemPropertiesSer
I will try, thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913929#3913929 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913929 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Re: Extending JBoss
Hello, First of all thanks for your reply and I have to admit that the application server itself has very nice documentation. I posted my question and corresponding statement because I was looking (and googling) around for some particular information concerning building your own interceptors and invokers to gather some more knowledge about the bits and bytes of the JBoss microkernel. Are you aware of such information? Tutorials, sampe applications and stuff like that, allthough I could take a look at the JBoss source code off course ;-) Regard, Kurt View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913931#3913931 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913931 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Compound Foreign Primary Key
Anyone? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913933#3913933 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913933 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam in JBoss Portal 2.2. Does it make sense and is it p
Using Seam to create portlets is a good thing to do, although keep in mind that portlet support is weak so far, we will do our best to make it better. You can have a look at the portlet example in CVS it works with JBoss Portal 2.2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913934#3913934 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913934 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: issue for Assignment to Group
Hi, It's look like jBPM Workflow Engine Core doesn't handle the assignment of multiple users (group) well. Even i did Assignment Handler to set the pooledActor in taskInstance , assignable... but no luck. Let me know the above bug is fixed regards Srikanth View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913935#3913935 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913935 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Problem in JSP Expressions for JBoss 4.0.3
Hi All I am porting one application from iPlanet 6.0 Web server to Jboss 4.0.3 SP1 App Server. In one of the JSPs I am assigning a JSP variable value into a javascript variable like var CurrentDate = '%= strSysDate%'; //Where strSysDate is having the Date in String format fetched from DB. It is working fine in iPlanet but not in Jboss. In Jboss it is assigning %= strSysDate% to the javascript variable and not the value contained in the variable. What could be the reason, Any clue??? J2SDK 1.4 Jboss 4.0.3 SP1 Windows Xp machine Thanks In Advance Inder Jeet Singh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913936#3913936 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913936 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - regarding the ROOT.war
hi i am vijay from india...i am currently using the Jboss Application Server 4.0.1 RC1. My question is on (ROOT.war). whenever we start the server and type the address as http://localhost:8080 - it displays the (index.htm or index.html or index.jsp) in that ROOT.war. since this war directory is the default one for the server...i want to know where they have configured this things and how it is happening and i also want to deploy my own application ex. TEST.war and i want to set this as default one instead of ROOT.wargiven that both the ROOT.war and TEST.war are existing in the same directory...i give u the directory structure. server\default\deploy\jbossweb-tomcat50.sar\ROOT.war in the above directory structure i want the configure TEST.war instead of ROOT.war and both are existing in the directory server\default\deploy\jbossweb-tomcat50.sar\ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913938#3913938 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913938 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Securing web console
the default web.xml certainly does include a template for securing the war: | |login-config | auth-methodBASIC/auth-method | realm-nameJBoss JMX Console/realm-name |/login-config | http://wiki.jboss.org/wiki/Wiki.jsp?page=SecureTheJmxConsole View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913940#3913940 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913940 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: JBoss 4.0.3SP1 - Cannot find type mapping meta data for:
Hi Jason, I've created a bug report attached all the requested files to it. See.. http://jira.jboss.com/jira/secure/ManageAttachments.jspa?id=12320868 I'm hoping that this is me missing something stupid not a feature ;-) Thanks Jeff (Happy Christmas) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913941#3913941 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913941 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: JDBC persistance with pojo cache and performance issue
But if not aspectized properly, this will be just like a regular cache object of which should not be more expensive. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913942#3913942 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913942 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: CVS Seam and Injecting Stateful Session Beans
Hi Gavin Unfortuneatly my @Local interface does have the getInstance function declaration: Here is the local interface for the siteEditor component. anonymous wrote : @Local | public interface ISiteEditor { | | public boolean isNew(); | public void setNew(boolean isNew); | | public Contract getInstance(); | public void setInstance(Contract instance); | | public String update(); | public String delete(); | public String create(); | | public String done(); | | public void destroy(); | } As I said the exception gets thrown when the contractOperations gets injected into the siteEditor stateful session bean. It finds the bean in the session scope but then when it goes to set the field it throws the following error Caused by: java.lang.IllegalArgumentException | at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:63) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913943#3913943 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913943 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - how to connect multiple datasources in sessionbean
how to connect multiple datasources lookup in sessionbean in JBoss;when i run jboss while deploying only i am getting EJB Spec violation is coming. ejb-jar.xml * No Description display-nameDeptSessionBean/display-name ejb-nameDeptSessionBean/ejb-name com.blah.blah.blah.blah.DeptSessionBeanHome com.blah.blah.blah.blah.DeptSession ejb-classcom.blah.blah.blah.blah.DeptSessionBean/ejb-class session-typeStateless/session-type transaction-typeContainer/transaction-type resource-ref No Description res-ref-namejdbc/DB/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref No Description display-nameDeptSessionBeanDuplicate/display-name ejb-nameDeptSessionBeanDuplicate/ejb-name com.blah.blah.blah.blah.DeptSessionBeanHome com.blah.blah.blah.blah.DeptSession ejb-classcom.blah.blah.blah.blah.DeptSessionBean/ejb-class session-typeStateless/session-type transaction-typeContainer/transaction-type resource-ref No Description res-ref-namejdbc/ReportDB/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref jboss.xml ** ejb-nameDeptSessionBean/ejb-name jndi-nameDeptSessionBean/jndi-name res-ref-namejdbc/DB/res-ref-name resource-nameoraclePool/resource-name ejb-nameDeptSessionBeanDuplicate/ejb-name jndi-nameDeptSessionBeanDuplicate/jndi-name res-ref-namejdbc/ReportDB/res-ref-name resource-namereportPool/resource-name View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913944#3913944 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913944 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - What does a previous actorid mean
Hello, I was testing with the task-assign event and wanted to see the ff (from the manual) anonymous wrote : | task-assign is fired when a task instance is being assigned. Note that in actions that are executed on this event, you can access the previous actor with executionContext.getTaskInstance().getPreviousActorId(); | Based on this, my understanding is the actorid previously assigned for this task instance before re-assigning to another actor. When I test the executionContext.getTaskInstance().getPreviousActorId() it returns null. Maybe I didn't get it. What does a previous actor id mean in relation to a task instance? Regards, Elmo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913946#3913946 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913946 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: CVS Seam and Injecting Stateful Session Beans
Hi All I solved the problem, it was a very silly mistake on my part: I was attempting to inject the full implementation of the stateful session bean rather than the interface. This is obviously what caused the following error. Caused by: java.lang.IllegalArgumentException | at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:63) I apologise for wasting your time. By the way fantastic job on Seam, it is just what was desperately needed to integrate all the wonderful components coming out of JEMS. I look forward to what will come next. Many thanks, James View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913948#3913948 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913948 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: schema updates with mysql-connector-java-3.1.11-bin.jar
hi I am using mysql-connector-java-3.1.12-bin.jar but having the same problem View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913949#3913949 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913949 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - EAR Application Lifecycle Management
hi there, on Weblogic there is the possibility to use a ApplicationLifecycleListener. By extending an abstract base class and referencing it in the weblogic-application.xml of your application you are able to implement functionality called when the application is started or stoped. How would i implement similar functionality in JBoss? The background for this is, that i needs to open a socket in my application - the socket should be opened on the deployment of the application and it should be close when the application is undeployed. Thanks in advance for any information regarding this problem have a merry Christmas... Kai View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913950#3913950 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913950 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: How to suspend and resume a process
Hi Vincent, its basically a question of 'does your node signal the next transition by itself or does it return?' jbpm will execute a token until a node returns from the signal() method. (if your process forks it will follow all paths and then return.) if you want to decide at runtime to suspend the process use a node with an action and either return from the execute() method or call a transition depending on what you want to do. does this answer your question? Greetings Rainer @zhgd: 'I'm also waiting ...'? Ah, yes. And what for? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913951#3913951 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913951 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - help on ROOT.war
hi i am vijay from india...i am currently using the Jboss Application Server 4.0.1 RC1. My question is on (ROOT.war). whenever we start the server and type the address as http://localhost:8080 - it displays the (index.htm or index.html or index.jsp) in that ROOT.war. since this war directory is the default one for the server...i want to know where they have configured this things and how it is happening and i also want to deploy my own application ex. TEST.war and i want to set this as default one instead of ROOT.wargiven that both the ROOT.war and TEST.war are existing in the same directory...i give u the directory structure. server\default\deploy\jbossweb-tomcat50.sar\ROOT.war in the above directory structure i want the configure TEST.war instead of ROOT.war and both are existing in the directory server\default\deploy\jbossweb-tomcat50.sar\ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913952#3913952 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913952 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: EAR Application Lifecycle Management
You need to write an MBean service, package it in a service archive (.sar) and bundle it with your .ear, see the section on Writing MBeans http://www.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913953#3913953 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913953 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - HELP ON ROOT.war
hi i am vijay from india...i am currently using the Jboss Application Server 4.0.1 RC1. My question is on (ROOT.war). whenever we start the server and type the address as http://localhost:8080 - it displays the (index.htm or index.html or index.jsp) in that ROOT.war. since this war directory is the default one for the server...i want to know where they have configured this things and how it is happening and i also want to deploy my own application ex. TEST.war and i want to set this as default one instead of ROOT.wargiven that both the ROOT.war and TEST.war are existing in the same directory...i give u the directory structure. server\default\deploy\jbossweb-tomcat50.sar\ROOT.war in the above directory structure i want the configure TEST.war instead of ROOT.war and both are existing in the directory server\default\deploy\jbossweb-tomcat50.sar\ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913954#3913954 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913954 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Polling Workflow
I have a need to implement a workflow for an application which checks a database value periodically and then invokes a relevant workflow to handle the state. I can think of a couple of obvious ways of doing this: 1. Have a dedicated Thread which polls and determines when to fire a specific workflow. 2. Integrate this polling mechanism into the workflow design using a timer which is fired periodically. This would in turn execute an ActionHandler which would perform the database state check. The main drawback with option 1 is that it isn't a unified approach to handling this types of workflow. If I need a new polling mechanism in the future, I will have to write a dedicated class. Option 2 is promising, however, how dangerous is it to implement a polling mechanism in a workflow which effectively never ends? All comments gratefully received, Andy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913955#3913955 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913955 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - log4jservice unable to turn off logging
Hi! I frequently turn on logging for the org.jboss.ejb.plugins.cmp category. That works fine without shutting down JBoss, however trying to turn off cmp logging wont work without shutting down JBoss. I can see that the log4j.xml file has been reread after commenting out the category but the SQL keeps appending. Very annoying on live system... Running JBoss-3.2.7. BR Niklas. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913956#3913956 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913956 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Securing web console
You're an absolute star, thats exactly what I needed. Thankyou. bo0m3r4n9 wrote : Hello!! I have spent a lot of hours with the same problem and finally i was able to fix it, just trying out everything because nowhere on the internet i found the solution, so here it is what has worked for me: | | On the web.xml file located at /deploy/jmx-console.war/WEB-INF/, i added this tag, because i found it on another example configuration files of Tomcat. I don't know why hasn't been included in the default file provided by the JBoss installation, so here it is: | | | |login-config | | auth-methodBASIC/auth-method | | realm-nameSecured services/realm-name | |/login-config | | I hope this helps!! | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913957#3913957 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913957 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: issue for Assignment to Group
best is to make sure there is a jira issue for it that explains the problem as good as possible. preferrably with a test case that shows the problem. thanks. regards, tom. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913958#3913958 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913958 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - tcp/ip Socket connections
Hi, We need to connect to other systems using tcp/ip socket communication. It's a two way asynchrone communication with a trivial protocol. What is the best and most simple way to implement this? Using JCA / JMX or is there a simplier way? Thanks for your reply. /Magnus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913960#3913960 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913960 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - tcp/ip socket communication
Hi, We need to connect to other systems using tcp/ip socket communication. It's a two way asynchrone communication with a trivial protocol. What is the best and most simple way to implement this? Using JCA / JMX or is there a simplier way? Thanks for your reply. /Magnus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913961#3913961 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913961 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: My jsp always return NullPointerException
OK!! My servlet works. The problem was in method getPlace that was returning a Place instead a List. But i still have the JSP problem: NullPointerException. It seams that servlet cannot pass the List to the JSP. In Servlet I have: protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub // HttpSession session = request.getSession(false); // Calls EJB com.samples.TestDataSource test = null; try{ com.samples.TestDataSourceHome home = com.samples.TestDataSourceUtil.getHome(); test = home.create(); }catch(javax.ejb.CreateException createException) { System.out.println(CreateException - Couldn't create TestDataSource bean.+ createException.getMessage()); }catch(Exception e) { e.printStackTrace(); }// test is an EJBObject // Invoca o método disponivél na interface remota do EJB java.util.List result = test.getPlace(); request.setAttribute(nameAtt, result); try{ request.getRequestDispatcher(/testServ.jsp).forward(request, response); }catch(ServletException se){ System.out.println(Erro no Dispatcher); } } protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub doGet(request, response); } In JSP I have: % java.util.List result = (java.util.List) request.getAttribute(nameAtt); for (java.util.Iterator iter = result.iterator(); iter.hasNext();) { com.samples.model.Place place = (com.samples.model.Place) iter.next(); out.println(Sitio: + place.getName() );} % What is wrong?? Thankx, Cláudia View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913962#3913962 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913962 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: JAAS and SEAM
Well I was also looking at a way to use the container based JAAS cababilities of Tomcat to do webauthentication. I have it working as I wanted it to work but the implementation is not how I want it to look like: 1. I have written a custom LoginModule that extends UsernamePasswordLoginModule and utilises a few EJB3 Entity beans to pull users and roles from my datamodel. 2. web.xml | security-constraint | web-resource-collection | web-resource-nameyour res name/web-resource-name | url-pattern/*/url-pattern | /web-resource-collection | auth-constraint | role-nameAuthorizedUser/role-name | /auth-constraint | user-data-constraint | transport-guaranteeNONE/transport-guarantee | /user-data-constraint | /security-constraint | security-role | description | The role required to access restricted content | /description | role-nameAuthorizedUser/role-name | /security-role | !-- ... -- | login-config | auth-methodFORM/auth-method | realm-nameRestricted Login/realm-name | form-login-config | form-login-page/login.jsf/form-login-page | form-error-page/error.jsf/form-error-page | /form-login-config | /login-config | 3. Place a login.xhtml and error.xhtml into your root and make it look something like this (bare minimum shown): | [...HTML...] | form action=j_security_check method=post | User ID:input type=text name=j_username /br/ | Password:input type=password name=j_password / | input type=submit value=Login / | /form | [...HTML...] | 4. Change the LoggedInInterceptor to something like this to propagate a User object into your session: | @AroundInvoke | public Object checkLoggedIn(InvocationContext invocation) throws Exception { | | if (Contexts.getSessionContext().get(loggedIn) instanceof User) { | log.info(User is already logged in); | return invocation.proceed(); | } else { | try { | Context ctx = new InitialContext(); | SomeBeanWithUserEntityAccess bcl = (SomeBeanWithUserEntityAccess) ctx.lookup(SomeBeanWithUserEntityAccess.class.getName()); | User user = bcl.getUser(invocation.getEJBContext().getCallerPrincipal().getName()); | Contexts.getSessionContext().set(loggedIn, user); | log.info(pushed user=+user.getId()+ into SessionContext); | } catch(NamingException e) { | log.error(e.getMessage()); | } | return invocation.proceed(); | } | | } | So what you get out of it: - when a user tries to access any page that was protected with the pattern in you web.xml he/she will be redirected to the login.xhtml page. - Username/password will then be checked by the JAAS subsystem and (depending on you login module) against your datamodel This is my first attemp to work with JAAS so this may be a crappy solution but it seems to work the way I want it to. Major drawback is that your database has to take 2 hits (1 by the JAAS layer to check username/password, 2 when I am pulling the userobject in the interceptor out of the db to propagate it into the session) and that you still have to use the @LoggedIn interceptor to make sure that there is alway a User object in your loggedIn session variable. It would be VERY nice if the JAAS subsystem would propagate a custom userobject into the session. Don't know if thats possible since I am new to JAAS an havent looked to deep into the LoginModule things yet. Maybe some JAAS guru can help out so that I don't need the LoggedInInterceptor anymore? Any suggestions on how to make the thing a little cleaner? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913963#3913963 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913963 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: JAAS and SEAM
a few more things to make the sample more complete: 1. put a login-config.xml into the META-INF dir of you .ear and make it look like this: | policy | application-policy name=YourAuthPolicyName | authentication | login-module code=com.yourdomain.yourloginmodule | flag=required / | /authentication | /application-policy | /policy | 2. put a login-service.xml into the root of your .ear that looks like this: | server | mbean code=org.jboss.security.auth.login.DynamicLoginConfig | name=jboss:service=DynamicLoginConfig | attribute name=AuthConfig | META-INF/login-config.xml | /attribute | !-- The service which supports dynamic processing of login-config.xml | configurations. | -- | depends optional-attribute-name=LoginConfigService | jboss.security:service=XMLLoginConfig | /depends | !-- Optionally specify the security mgr service to use when | this service is stopped to flush the auth caches of the domains | registered by this service. | -- | depends optional-attribute-name=SecurityManagerService | jboss.security:service=JaasSecurityManager | /depends | /mbean | /server | 3. put a jboss-app.xml into the META-INF of your .ear | jboss-app | loader-repository | yourdomain.com:loader=yourappname | /loader-repository | module | servicelogin-service.xml/service | /module | /jboss-app | 4. put a jboss-web.xml into the WEB-INF dir of your .war like this: | jboss-web | security-domainjava:/jaas/YourAuthPolicyName/security-domain | /jboss-web | Cheers, Thorsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913964#3913964 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913964 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Seam Webinar, Dec 7th - Can't hear Thomas Heute
Checking out the recorded webinar from December 7th. Gavin comes accross ok but it seems Heute is speaking from a phone. Can barely make out what he's saying. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913965#3913965 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913965 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam Webinar, Dec 7th - Can't hear Thomas Heute
Yes i realized that. It seems that live it went through ok (since nobody stopped me) but with the recorder i reached the saturation point... (We were both on phone, i just speak too loud) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913966#3913966 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913966 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: EventListener for authentication
unfortunatelly sessionlistener is called before user become authenticated.. but thx for the answer View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913968#3913968 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913968 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Confused by the installer...
Hello everybody, I seem to be a bit confused concerning the JBoss installer. When you choose to install the ejb3 configuration, the default configuration seems to be installed allthough the console states the initialization of cluster elements during start-up. Is the ejb3 enabled configuration a full fledged all configuration or has it some services removed? If the ejb3 installation is indeed an all configuration, what about farming and deploy-hasingleton? Is there some information out there to make the ejb3 configuration a complete all configuration? Help or info highly appreciated. Kind regards, Kurt *** Merry Christmas and happy Newyear *** View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913969#3913969 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913969 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Connection pool leak in JBoss 3.2.5 ???
Hi all, Something really strage is going on here. We are using JBoss 3.2.5 as ou A.S., Oracle 9i (.2.0.3.0) as our D.B. and Oracle JDBC Driver version 10g release 2 (10.2.0.1.0), running on a Linux Debian 3.1 - Sarge (kernel 2.4.26-bf2.4 - no NPTL support). We have 3 different applications running with 3 different datasources, one for each. One of them is perfectly running, but the other two apps have some problem sometimes. We get this stack trace: WARN [JBossManagedConnectionPool] Unable to fill pool | org.jboss.resource.JBossResourceException: Could not create connection; - | nested throwable: (java.sql.SQLException: ORA-01017: invalid username/password; logon denied ) | at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:168) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:508) | at ... | caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied | at oracle.jdbc.dbaccess.DBError.throwsSqlException(DBError.java:134) | ... And 2 minutes later: WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null | org.jboss.resource.JBossResourceException: Could not create connection; - | nested throwable: (java.sql.SQLException: ORA-01017: invalid username/password; logon denied ) | at ... The wierd thing is, this error is intermittent... the apps sometime work fine, sometime throw this exceptions. Has anyone faced something like this? I think it is either a problem (bug) of JBoss and/or JDBC driver, which is newer than the DB version. ps: we are using a newer jdbc driver because version 9i does not allow BLOBs bigger than 2,048 bytes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913973#3913973 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913973 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: JDBC persistance with pojo cache and performance issue
The sql statements are straight forward so I'm very skeptical that the problem is JBoss Cache cache loader. Can you turn logging level to debug and extract the sql statment going to the database then try to run it within informix client to see if the database itself is taking long to handle blobs? Also Can you try a different version of the jdbc driver. It might be the way the jdbc driver is handling blobs causing the slowness you're seeing. Finally, as Bela said you can change the cloumn types and even the create statement for the jboss cache table, if non of the above turned out better results. This will tune the sql statment better for informix. - Hany View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913974#3913974 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913974 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Microcontainer] - Re: How to access beans created by the bootstrap
I know this thread is now old and that I haven't post anything but my work took me away from JBoss Microcontainer for a while But finally, I understand what Adrian meant in his examples, and why there is no getBean(). The whole idea is quite simple, but given the fact that I had hard time with it, maybe other will, so i'll explain here what i finally understood. Basicly my question was how can i get my bean from the bootstrap in a simple main' program ? . In a small spring app, i would have done this : | public class MyApp | { | public static void main(String[] args) | { | ... | Component comp = context.getBean(component'); | } | } When i look at JBoss Container documentation and examples, i was looking for this kind of behavior. A method to call, something where my program could actually use the 'created bean'. And there I was wrong. As Adrian stated, the use of a '.getBean' method ruins the all concept of IoC as it tie the program to a specific API ( in this case Spring API). I agreed ( and i still agree) but i didn't see how to do without it, even when i look into the example. Then, it finally struck me ( i know, i know i'm quite slow) : There is actually no need for my program to get beans from the microcontainer as my program is another bean managed by the container. At the bootstrap , the microcontainer will create my program and execute its initialisation method ( or simply its constructor) and there the program actually start. So there is no 'main', no need to actually get the bean for the program. The progam is a POJO and its dependancies are resolved by the container ! We simply launch the bootstrap instead of the program. Now this all seems so clear, i almost feel stupid... : / I hope that this post will help other, stuck in the same misconception... ( otherwise this post will simply be another public humiliation). Thanks again Adrian ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913975#3913975 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913975 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: How to suspend and resume a process
Hi all, i think my question is like yours, but a little different. I don't want to handle it, i need a delay time like 20 days or any thing else, and i've tried to do it with timer tag on a simple node tag! but the timer has no actions and when the flow reachs this node, the delay timer dont work and bypass the node with the default transition, going to the next task ! if anyone knows how can i do it, without handling it and without a explicity signalling it, i'll be very happy! thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913978#3913978 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913978 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: How to suspend and resume a process
Hi mdonato, why doesn't the timer work? or better: how are the timers you tried defined? Rainer View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913980#3913980 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913980 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: JAAS and SEAM
JAAS is indepedent of any container layer so it knows nothing about the existence of a session. Your login module can choose to be coupled to a particular container and access the servlet request to populate the session if it wants as described here: http://wiki.jboss.org/wiki/Wiki.jsp?page=AccessingServletRequestForAuthentication The containers need a better mechanism for externalizing the authentication phase. JSR196 is the current proposal in this area that we are pursuing. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913981#3913981 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913981 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: How to suspend and resume a process
Hi, i'm trying to do another test with node type state ... i've done it with node type node and dont work !!! i'll put the result of the test here soon !! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913982#3913982 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913982 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection pool leak in JBoss 3.2.5 ???
Search the bug database: http://jira.jboss.com/jira/browse/JBAS View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913983#3913983 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913983 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Confused by the installer...
The name of the configuration and its contents are two seperate things. You can choose to call the installed configuration whatever you want, and that configuration can contain what ever you want. The default configuration name is default as otherwise, even with a single configuration you would have to run with a -c the-name-i-used-during-install to launch the configuration. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913984#3913984 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913984 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Remoting] - Re: tcp/ip socket communication
Moved to the remoting user forum. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913985#3913985 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913985 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: WSDOCServiceStepByStep help
ibsscott, did you ever get this problem figured out? I have exactly the same error showing up when trying to run my test client. I tested my webservices with a SOAP Message Console, and they are running fine. Here is the exact error that is being thrown. java.lang.ClassCastException at com.sun.xml.rpc.client.dii.CallInvokerImpl._postSendingHook(CallInvokerImpl.java:305) at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:324) at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:103) at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:492) at com.sun.xml.rpc.client.dii.CallInvocationHandler.doCall(CallInvocationHandler.java:121) at com.sun.xml.rpc.client.dii.CallInvocationHandler.invoke(CallInvocationHandler.java:85) at $Proxy0.login(Unknown Source) at com.wcom.rrs.remote.client.TestClient.main(TestClient.java:34) If you or anyone out there could help me, it would be greatly appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913986#3913986 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913986 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: How to suspend and resume a process
Hi, i've tried this one: state name=aguarda | timer duedate=3 minutes transition=confirmar-fechamento/timer | transition name=confirmar-fechamento to=confirma-fechamento/transition |/state | and this one : node name=aguarda | timer duedate=3 minutes transition=confirmar-fechamento/timer | transition name=confirmar-fechamento to=confirma-fechamento/transition |/node | and dont works how can i do a delay ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913987#3913987 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913987 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Please help -- 'Failed to create sec mgr'
Hi Scott, Thanks, and i am sorry. I had jbosssx.jar and jboss-jmx.jar in my war file. I added that to the application since in my Logout servlet i have this code. /* flush the security manager's cache of roles */ | InitialContext jndiCntx = new javax.naming.InitialContext(); | JaasSecurityManager securityManager = | (JaasSecurityManager) jndiCntx.lookup(Constants.JAAS_SECURITY_MANAGER_LOOKUP_NAME); | securityManager.flushCache(); | } After i removed the jbos*.jar from the war file i was able to login poperly. Thanks a lot, and once again sorry i missed this the first time. Can you please suggest an alternate way to logout from the application. Jobby View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913988#3913988 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913988 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Simple JAAS Configuration ?
Also make sure that you don't have any jboss*.jar files in your war. I actually removed the jboss*.jar files from my deployment and that worked like a charm. So i reverted the changes i mentioned to the jboss-service.xml. Mr.Scott from Jboss suggested this http://www.jboss.org/index.html?module=bbop=viewtopict=74266 Jobby View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913989#3913989 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913989 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam in JBoss Portal 2.2. Does it make sense and is it p
As I described in another thread, you can use Seam in a portal. Unfortunately, one of Seam's best features - conversations - doesn't work in a portal environment, and I can't really think of any way to make it work that doesn't involve building special support for Seam into JBoss Portal. I was quite surprised to discover that this was so problematic. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913990#3913990 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913990 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: CVS Seam and Injecting Stateful Session Beans
That was my next guess :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913991#3913991 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913991 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: How to suspend and resume a process
Did you check if the timer was created (check the Timer table in the db)? Is your SchedulerThread running? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913992#3913992 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913992 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: How to suspend and resume a process
Timer table was not created ! And my timer thread is running !!! here is the part of the flow task-node name=confirma-abertura | task name=task1 description=Confirmar abertura de admissoes swimlane=Supervisor-Cliente/task | event type=node-leave | action name=notificar class=br.com.glr.jbpm.handlers.MailToSwimlaneActionHandler config-type=bean | from[EMAIL PROTECTED]/from | swimlaneNamesSupervisor-Celula;Diretor-Operacional;Diretor-Geral;Gerente-Cliente;Operador-Celula/swimlaneNames | subjectConfirmada a abertura de admissoes/subject | message/message | /action | /event | transition name=confirmar to=aguarda /transition |/task-node |state name=aguarda | timer duedate=3 minutes transition=confirmar-fechamento/timer | transition name=confirmar-fechamento to=confirma-fechamento/transition |/state |task-node name=confirma-fechamento | task name=confirma description=Confirmar fechamento de admissoes swimlane=Supervisor-Cliente /task | event type=node-leave | action name=notificar class=br.com.glr.jbpm.handlers.MailToSwimlaneActionHandler config-type=bean | from[EMAIL PROTECTED]/from | swimlaneNamesSupervisor-Celula;Diretor-Operacional;Diretor-Geral;Gerente-Cliente;Operador-Celula/swimlaneNames | subjectConfirmado o fechamento de admissoes/subject | message/message | /action | /event | transition name=sim to=termino/transition |/task-node | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913993#3913993 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913993 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBoss Portal with SEAM. Does it make sense and is it pos
At the last Seam webinar Gavin and Thomas said that they just made the necessary changes for Seam to work in the Portal. I believe the major changes were to integrate with the Portlet session and not specifically use an HttpServletRequest. I don't think they have posted a new release of Seam yet, so you will have to build Seam from source to try it. Also they said that facelets will not yet work but that is pretty high on their priority list. You can check out the webinar replay at http://jboss.com/services/online_education. We are also very interested and tracking Portal / Seam integration. We are currently building portlets with JSF and EJB3, and really like the architecture.[/url] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913994#3913994 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913994 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - JBPM.tld
HI, I want to show the current task of a processInstance. And i want to use the tag lib of JBPM but i don't know how to use it. Could you give me the steps to do this. Please it's urgent Rq: Can i use it with the JDK1.4 because i had an exception like: ProcessImageTag (Unsupported major.minor version 49.0 when trying to insert the tag : jbpm:processimage task=1317/ in my jsp Merci :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913995#3913995 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913995 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Confused by the installer...
I see, the configuration provided with the JBoss installer can have whatever name you like. Now when I choose to install the ejb3 installation with whatever name I like (e.g. EJB3) by using the installer. Do I get the same configuration as I would have by downloading a ZIP archive and starting JBoss with the -c all option? I would like to have an EJB3 enabled configuration providing me all the same services as e.g. a jboss4.0.3/server/all configuration provided with the normal download. Thus providing everything like farm deployment, clustering, mail services, etc... Cheers, Kurt View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913996#3913996 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913996 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: How to suspend and resume a process
The timer TABLE was not created? Or there is no entry in the existing table? If you don't have a timer table you don't have timers, but then you should have lots of exceptions... Try setting a break point on the enter-node event and check whats happening. I do use timers extensively and they work perfectly... but I don't define them in the workflow, they're dynamically generated. But from what I've understood of timers they ought to be created (in the db) on the enter-node event and removed (canceled) on the leave-node event. Actually to actions are implictly defined for these events. = set a break point and have a look. Rainer View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913997#3913997 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913997 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Remoting] - Re: tcp/ip socket communication
I forgott to say that is not a Java application on the other side and that we do not serialize objects. It's plain text messages (XML). Thanks! Magnus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913998#3913998 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913998 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Please help -- 'Failed to create sec mgr'
Your code can depend on jboss features and compile time. You just cannot include the jboss jars that are needed to compile the components into the deployment. They will be there already. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913999#3913999 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913999 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - EntityManager lookUp in generics POJO
Is any possibility to retrieve Entity Manager in generics POJO ? I know that dependency injection annotations only works in EJB objects - not generic POJOs. Is possibility to get EntityManager via JNDI ?? Entity Manager JNDI name is not accessible in Global JNDI Namespace. Please help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914000#3914000 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914000 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: How to suspend and resume a process
The table exists ... and i've made extensive teste with it in task tags and i know that when you put a timer tag , it creates those events but in a node tag it dont works the other test of the timer is this: task-node name=task1 | task name=task1 swimlane=direct | timer duedate=30 seconds repeat=yes name=lembrete | action config-type=field class=br.com.glr.jbpm.handlers.MailToSwimlaneActionHandler |from[EMAIL PROTECTED]/from |subjectLembrete/subject |messageLembrete de novo/message | /action | /timer | /task | transition name=tr1 to=end1/transition |/task-node | but its a task timer !!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914002#3914002 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914002 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: WSDOCServiceStepByStep help
I decided to wait until the next generation of web services is released. The only reliable way I could use was to pass it as a String and then Marshal it into xml. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914003#3914003 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914003 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: EJB Database Access stall
One additional piece of information: sometimes, the stalled request eventually fails and produces this exception: | java.sql.SQLException: Closed Connection | at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168) | at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210) | at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:273) | at oracle.jdbc.pool.OraclePooledConnection.getConnection(OraclePooledConnection.java:189) | at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:251) | at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:163) | | ... (continues) | | It's a fairly long stack trace, but the next line down is from the database connection class constructor from my code. Any ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914004#3914004 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914004 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Web services Deployment
Hi. I'm trying to deploy a web service with JBOSS 4.0.3 and Oracle Jdeveloper 10G. The database i use is Oracle 10GR2. Here under is the wsdl file : ?xml version = '1.0' encoding = 'UTF-8'? !--Generated by the Oracle JDeveloper 10g Web Services WSDL Generator-- !--Date Created: Thu Dec 22 16:59:23 CET 2005-- definitions name=F_GET_WS targetNamespace=http://jboss_user/F_GET_WS.wsdl; xmlns=http://schemas.xmlsoap.org/wsdl/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; xmlns:tns=http://jboss_user/F_GET_WS.wsdl; xmlns:ns1=http://jboss-user/F_GET_WS.xsd; ns0:schema targetNamespace=http://jboss-user/F_GET_WS.xsd; xmlns=http://www.w3.org/2001/XMLSchema; xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/; xmlns:ns0=http://schemas.xmlsoap.org/wsdl// soap:binding style=rpc transport=http://schemas.xmlsoap.org/soap/http/ soap:operation soapAction= style=rpc/ soap:body use=encoded namespace=F_GET_WS encodingStyle=http://schemas.xmlsoap.org/soap/encoding// soap:body use=encoded namespace=F_GET_WS encodingStyle=http://schemas.xmlsoap.org/soap/encoding// soap:address location=http://REPLACE_WITH_ACTUAL_URL/ I've got this error : 17:00:00,916 WARN [ServiceController] Problem starting service jboss.web.deployment:war=WebServices.war,id=-1736483755 org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: resource -ref: jdbc/jboss_userCoreDS has no valid JNDI binding. Check the jboss-web/resource-ref.) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:366) ... and so on. What could be wrong ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914005#3914005 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914005 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Java and .NET
Hi guys, I am here again, well forgotted everything I post before. Let me change the question. Using JBoss4.0.3SP1, is possible to create a WS SEI (which use array types) and access it using a .NET program!?!?!? If yes, what king of WS style I need to create: RPC or DOCUMENT?!?! ENCODED or LITERAL?!!? If is possible to create such program: 1) I saw the AXIS manual and don't see any way to generate a mapping file, how can I do this using java2WSDL tool?!?! 2)What can I do mapping the types at the mapping file!?? 3)What can I do to create the ws4ee-deployment descriptor?!?! ps: If someone knows a link which show how to made this WS using the AXIS API will be very useful. Remember I would like to use array of objects (specifically String) and array of primitive data types (specifically boolean) Thanks all. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914006#3914006 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914006 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss AOP] - AspectFactory and classloading
I was wondering why GenericAspectFactory uses the thread context class loader by default to load aspect classes? |public Class getClazz() |{ | | { |clazz = Thread.currentThread().getContextClassLoader().loadClass(classname); | } | catch (ClassNotFoundException e) | |} | This is causing me some trouble when I deploy an MDB that needs to use a scoped Messaging instance (and there can only be a scoped Messaging instance with JBoss 4.x), because the MDB deployment is done by a ScannerThread whose thread context class loader is a UCL associated with the main loader repository. This UCL cannot access scoped Messaging interceptor classes and the MDB deployment fails with ClassNotFoundException. I fixed this by temporarily replacing the ScannerThread's (and any thread's that touches the AOP stack during deployment) context class loader during deployment, but I don't like at all this solution since I don't know what else this may break due to lateral effects. How about allowing for a pluggable classloader to use for aspect loading? An AspectXmlLoader.deployXML(Document, URL, ClassLoader) method would help me. Does this make sense? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914007#3914007 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914007 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Confused by the installer...
The all configuration should be similar, but it won't be exactly the same as the installer allows for an arbitrary selection of the components in the zip dist all configuration. This requires that services be broken up along the lines of installable features with dependencies. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914008#3914008 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914008 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Re: Problem running web services client in Chapter 5-Getting
I'm getting the same error message too. Any ideas? Thanks. Yingjun View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914009#3914009 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914009 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Trouble creatinga timer
Hi everybody. This workaround describe here works fine for many use cases :-) But it is limited: If a process starts a sub-process, the | session.getGraphSession().saveProcessInstance(pi); | only saves the logs timers for the parent process, not the sub-process! I have made a JIRA-Issue for that: http://jira.jboss.com/jira/browse/JBPM-477 Out temporary fix is also there View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914010#3914010 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914010 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Identity/Access Management/SSO UseCases
Currently, JBoss has support for SSO as: a) SSO across all webapps in a particular Host (Apache Tomcat behavior) b) SSO across all webapps in a cluster (JBossWeb/JBossCache offering) Apart from this there is support for Ldap integration via the LdapxxxLoginModules from the JBossSX framework I want to hear from users what usecases they have in the arena of Identity Management including WebSSO, User Provisioning, Federation etc. Please do share some of the usecases you have in your environment. Refrain from providing any company specific details, which will be boring and may sound legal alarms for you. Here is a rough outline of what you can post here: 1) How do you handle SSO in your environment? 2) How do you do User Provisioning - Password Maintenance, Account Maintenance etc? - Is the user information stored in a central ldap or across distributed data stores (ldap/db etc). - Do you use any kind of homegrown gui -webapp/ vendor tool to do user management? 3) Do you use federation with other websites outside your company, with your customers/partners etc? Please feel free to add as much detail as you wish. The objective behind this exercise is to see if we can enhance our security layer in the JBossAS to provide support for some of the usecases, you guys have. Reference: http://www.jboss.com/index.html?module=bbop=viewtopict=68103 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914011#3914011 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914011 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Servlet throws a exception when returning from a remote meth
Hi, I am having a application where I need to use resin-3.0.14 as a web server and jboss4.0.3SP1 as the application server. I am using stateless session bean's in EJB3. When I call a remote method on the EJB from the servlet I get the following exception in the servlet. I have deployed the same application on tomcat it works fine. java.lang.ClassNotFoundException: com.rewards.model.Category | at java.net.URLClassLoader$1.run(URLClassLoader.java:200) | at java.security.AccessController.doPrivileged(Native Method) | at java.net.URLClassLoader.findClass(URLClassLoader.java:188) | at java.lang.ClassLoader.loadClass(ClassLoader.java:306) | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:242) | at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:574) | at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:102) | at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1538) | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) | at org.jboss.aop.joinpoint.InvocationResponse.readExternal(InvocationResponse.java:107) | at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1753) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1711) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) | at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) | at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:73) | at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:242) | at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:112) | at org.jboss.remoting.Client.invoke(Client.java:226) | at org.jboss.remoting.Client.invoke(Client.java:189) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:41) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:46) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:40) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:41) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:88) | at $Proxy0.remoteCategory(Unknown Source) | at com.rewards.RewardsServlet.doPost(RewardsServlet.java:66) | at com.rewards.RewardsServlet.doGet(RewardsServlet.java:51) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99) | at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163) | at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208) | at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259) | at com.caucho.server.port.TcpConnection.run(TcpConnection.java:363) | at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490) | at com.caucho.util.ThreadPool.run(ThreadPool.java:423) | at java.lang.Thread.run(Thread.java:595) I have two methods in my Session bean. One returns a string and the other returns a object of type category which has two simple fields, name and description. The object is serializable and implements the serializable interface. The method which returns a string works fine. It gives the correct output. I am placing snippets of my session bean and servlet here. RewardsServlet protected
[JBoss-user] [Clustering/JBoss] - Re: clustering database
I downloaded and installed jboss-4.0.3SP1. I installed, on the first node, Apache with the mod_jk module, configurating it with my two nodes addresses in the conf/worker.properties file (I called my nodes node1 and node2). I also configured Jboss with this instructions: http://docs.jboss.org/jbossas/jboss4guide/r4/html/cluster.chapt.html#clustering-http-jboss I've started Apache and then Jboss on node1. It says: ... 16:38:19,828 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=8;loopback=false;mcast_addr=230.1.2.7;mcast_port=45577;mcast_recv_buf_size=8;mcast_send_buf_size=15;ucast_recv_buf_size=8;ucast_send_buf_size=15):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=2;min_interval=1):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=2;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=true;up_thread=true) 16:38:20,093 INFO [TreeCache] interceptor chain is: class org.jboss.cache.interceptors.CallInterceptor class org.jboss.cache.interceptors.LockInterceptor class org.jboss.cache.interceptors.UnlockInterceptor class org.jboss.cache.interceptors.ReplicationInterceptor 16:38:20,093 INFO [TreeCache] cache mode is REPL_ASYNC ... 16:38:22,250 INFO [TreeCache] viewAccepted(): new members: [37.255.132.19:2097] 16:38:22,265 INFO [TreeCache] state could not be retrieved (must be first member in group) 16:38:22,265 INFO [TreeCache] new cache is null (maybe first member in cluster) ... Then I deployed on node1 my application, and Jboss says: 16:39:31,562 INFO [EARDeployer] Init J2EE application: file:/C:/Programmi/jboss-4.0.3SP1/server/all/deploy/AddressbookApp.ear 16:39:33,078 INFO [EjbModule] Deploying AddressBookEJB 16:39:34,031 INFO [EjbModule] Deploying GestioneAddressBookEJB 16:39:35,203 INFO [ProxyFactory] Bound EJB Home 'AddressBookEJB' to jndi 'AddressBookHome' 16:39:38,250 INFO [STDOUT] CLASSPATH component C:\Programmi\Sun\AppServer\jdk\jre\lib\ext\dnsns.jar: java.util.zip.ZipException: invalid CEN header (bad signature) 16:39:38,468 INFO [ProxyFactory] Bound EJB Home 'GestioneAddressBookEJB' to jndi 'GestioneAddressBookHome' 16:39:38,468 INFO [EJBDeployer] Deployed: file:/C:/Programmi/jboss-4.0.3SP1/server/all/tmp/deploy/tmp25345AddressbookApp.ear-contents/AddressbookEJB.jar 16:39:38,703 INFO [TomcatDeployer] deploy, ctxPath=/addressbook, warUrl=.../tmp/deploy/tmp25345AddressbookApp.ear-contents/AddressbookWeb-exp.war/ 16:39:39,703 INFO [JBossCacheManager] init(): replicationGranularity_ is 0 and invaldateSessionPolicy is 2 16:39:39,906 INFO [JBossCacheManager] Starting JBossManager 16:39:39,953 INFO [JBossCacheManager] We are using mod_jk(2) for load-balancing. Will add JvmRouteValve. 16:39:40,296 INFO [EARDeployer] Started J2EE application: file:/C:/Programmi/jboss-4.0.3SP1/server/all/deploy/AddressbookApp.ear Then I launched Jboss on node2: ... 17:20:37,656 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=8;loopback=false;mcast_addr=230.1.2.7;mcast_port=45577;mcast_rec v_buf_size=8;mcast_send_buf_size=15;ucast_recv_buf_size=8;ucast_send_buf_size=15):PING(down_thread=false;num_initial_members=3;timeout=2000;up_t hread=false):MERGE2(max_interval=2;min_interval=1):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=fals e;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_si ze=100):pbcast.STABLE(desired_avg_gossip=2;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_t imeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=true;up_thread=true) 17:20:37,812 INFO [TreeCache] interceptor chain is: class org.jboss.cache.interceptors.CallInterceptor class org.jboss.cache.interceptors.LockInterceptor class org.jboss.cache.interceptors.UnlockInterceptor class org.jboss.cache.interceptors.ReplicationInterceptor 17:20:37,812 INFO [TreeCache] cache mode is REPL_ASYNC ... 17:20:40,015 INFO [TreeCache] viewAccepted(): new members: [SIGIP4:2097, 37.255.132.18:1074] 17:20:40,093 INFO [TreeCache] received the state (size=192 bytes) 17:20:40,109 INFO [TreeCache] transient state: 140 bytes 17:20:40,109 INFO [TreeCache] setting transient state 17:20:40,140 INFO [TreeCache] locking the old tree 17:20:40,156 INFO [TreeCache] locking the old tree was
[JBoss-user] [Security JAAS/JBoss] - Re: Please help -- 'Failed to create sec mgr'
Thanks, and appreciate a lot for your help. Jobby View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914017#3914017 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914017 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - cookie ain't set on Linux Tomcat 5.5
I'm migrating from j2sdk 1.4 to jdk1.5 and found following problem using Tomcat 5.5 on linux (gentoo). On windows machines probem doesn't occur. I'm using following code to set cookie with specified lifetime Cookie cookie = new Cookie(name, value); cookie.setMaxAge(3600); response.addCookie(cookie); Using this - cookie is not stoted to client. When i remove setting of life time - cooke is set OK. On windows cookei are set without any problems with lifetime. On linux i am unalbe to set cookei with specified lifetime. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914018#3914018 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914018 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - ClassNotFoundException when using resin, jboss and EJB3
Hi, I am having a application where I need to use resin-3.0.14 as a web server and jboss4.0.3SP1 as the application server. I am using stateless session bean's in EJB3. When I call a remote method on the EJB from the servlet I get the following exception in the servlet. I have deployed the same application on tomcat it works fine. java.lang.ClassNotFoundException: com.rewards.model.Category | at java.net.URLClassLoader$1.run(URLClassLoader.java:200) | at java.security.AccessController.doPrivileged(Native Method) | at java.net.URLClassLoader.findClass(URLClassLoader.java:188) | at java.lang.ClassLoader.loadClass(ClassLoader.java:306) | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:242) | at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:574) | at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:102) | at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1538) | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) | at org.jboss.aop.joinpoint.InvocationResponse.readExternal(InvocationResponse.java:107) | at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1753) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1711) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) | at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) | at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:73) | at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:242) | at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:112) | at org.jboss.remoting.Client.invoke(Client.java:226) | at org.jboss.remoting.Client.invoke(Client.java:189) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:41) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:46) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:40) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:41) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:88) | at $Proxy0.remoteCategory(Unknown Source) | at com.rewards.RewardsServlet.doPost(RewardsServlet.java:66) | at com.rewards.RewardsServlet.doGet(RewardsServlet.java:51) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99) | at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163) | at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208) | at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259) | at com.caucho.server.port.TcpConnection.run(TcpConnection.java:363) | at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490) | at com.caucho.util.ThreadPool.run(ThreadPool.java:423) | at java.lang.Thread.run(Thread.java:595) I have two methods in my Session bean. One returns a string and the other returns a object of type category which has two simple fields, name and description. The object is serializable and implements the serializable interface. The method which returns a string works fine. It gives the correct output. I am placing snippets of my session bean and servlet here. RewardsServlet protected
[JBoss-user] [JBossWS] - Re: Java and .NET
I answered the question you posted here http://www.jboss.com/index.html?module=bbop=viewtopict=74302 yesterday. If that is what you are refereing to. All of your .NET questions are answered here: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWSAndDotNet The answers to your other questions are as follows: 1) Do not use java2wsdl, if you use java2wsdl you are on your own. It generates incorrect wsdl, and does not generate a jaxrpc-mapping.xml file. This has been stated many times in the forums, and in the wiki pages. 2) Use wscompile to generate the jaxrpc-mapping.xml file 3) In most cases you do not need to create a ws4ee-deployment.xml file, and you should avoid doing so unless you have a specific problem where this is the only solution. -Jason View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914029#3914029 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914029 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: WSDOCServiceStepByStep help
Is there a reason why you guys are using the sun client instead of the jboss ws client? -Jason View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914032#3914032 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914032 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Problem Deleting Process Instance
Greetings. I would like to be able to delete a process instance on the fly. When I call GraphSession.deleteProcessInstance(), I get the following error: | 12:53:37,347 ERROR JbpmSession : org.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): [org.jbpm.graph.exe.Token#3939] | I'm not sure what it's telling me. Do I need to do some manual cleanup before calling this function? Thanx. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914034#3914034 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914034 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: JBPM randomly goes catatonic
Solved. My application communicates with JBPM via Rendezvous (Tibco) messages. I was incorrectly passing a JNI environment pointer (JNIEnv*) through the callback to the listening thread. You need to maintain or create a pointer to the JVM, and allocate a new JNIENV pointer in each thread. Who knew? Creating a new JNIEnv pointer in the listening thread eliminated my random JVM hangups. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914036#3914036 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914036 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Ping Timeout Problem Using JBoss JMS Queue With SAP XI 3.0
We are encountering the exact problem described in http://wiki.jboss.org/wiki/Wiki.jsp?page=IGetIOExceptionPingTimeoutHowDoIFixIt when we try to connect to a JMS queue on a JBoss 4.0.x server using a SAP XI 3.0 JMS Adapter class (specifically com.sap.aii.af.service.jms.WorkerJMSSender). I suspect that the code in this SAP class is coded as in the example in the FAQ posting above. Unfortunately, we do not have access to the SAP source code for this class (we would try to decompile the class file if we could find it in the 640+ jar files). I am curious to find out if any other JBoss users are working with SAP XI (eXchange Infrastructure) 3.0, and if they have encountered and resolved this problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914039#3914039 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914039 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: What does a previous actorid mean
You're using jBPM 3.0.x, right? There is a bug in the TaskInstance.setActorId() method: it fires the task-assign event before setting the previousActorId field. This has been fixed in 3.1. It seems simple to backport, so let us know if you cannot or do not want to migrate to 3.1. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914040#3914040 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914040 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: JBPM randomly goes catatonic
anonymous wrote : who knew? Nobody, because you didn't mention it earlier ;-) Back when I was in college I programmed a neural network in C++ with a Java front-end. Every n cycles the processing code would pause and notify the front end of its progress. And also at random the program freezed with no apparent reason. It turned out that the first few lines of native code I wrote and later forgot about, mistakenly kept local references to classes. Oh, subtle, mysterious world of native programming. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914046#3914046 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914046 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Java and .NET
Well Jason, I already did all procedures using wscompile but I continues got an error, let me show you everything I have, so you can help me...:-) ah, very thanks for help This is my interface: | package sei; | public interface RfidMgrWSSEI extends java.rmi.Remote { | public void readerEvent(int userId, String tagId, String readerId, long time, int eventId) throws java.rmi.RemoteException; | | public void readerEventEx(int userId, String[] tagId, String[] tagInfo, String readerId, long time, int eventId) throws java.rmi.RemoteException; | | public void tagChangeEvent(int userId, String tagId, String readerGroupId, boolean appeared, long time, int eventId) throws java.rmi.RemoteException; | | public void tagChangeEventEx(int userId, String[] tagId, String[] tagInfo, String readerGroupId, boolean[] appeared, long time, int eventId) throws java.rmi.RemoteException; | | public void deviceNotify(int userId, String readerId, boolean available, long time, int eventId, java.lang.String detail) throws java.rmi.RemoteException; | | }//End RfidMgrWSSEI interface | This is my Interface Implementation: | package sei; | import java.io.*; | import java.net.*; | import java.rmi.*; | import java.util.Date; | import server.StockControlServerInterface; | | public class RfidMgrWSImpl implements RfidMgrWSSEI { | | private StockControlServerInterface stockServer;//stock control interface | | public RfidMgrWSImpl(){ | | try{ | stockServer = (StockControlServerInterface)Naming.lookup(//localhost:1818/StockServer); | }//end try | catch(RemoteException re){ | re.printStackTrace(); | }//End catch | catch(NotBoundException nbe){ | nbe.printStackTrace(); | }//End catch | catch(MalformedURLException mue){ | mue.printStackTrace(); | }//end catch | | }//End RfidMgrWSImpl() constructor | | public void readerEvent(int userId, String tagId, java.lang.String readerId, long time, int eventId) throws java.rmi.RemoteException { | System.out.println(== READER EVENT ==); | System.out.println(USER ID : + userId); | System.out.println(TAG ID : + tagId); | System.out.println(READER ID: + readerId); | System.out.println(TIME : + new Date(time)); | System.out.println(EVENT ID : + eventId); | System.out.println(==); | }//end readerEvent() method | | public void readerEventEx(int userId, String[] tagId, String[] tagInfo, String readerId, long time, int eventId) throws java.rmi.RemoteException{ | System.out.println(== READER EVENT EX ==); | System.out.println(USER ID : + userId); | for(int i = 0; i tagId.length; i++){ | System.out.println(TAG ID[ + i + ]: + tagId); | System.out.println(TAG INFO[ + i + ]: + tagInfo); | }//end for | System.out.println(READER ID: + readerId); | System.out.println(TIME : + new Date(time)); | System.out.println(EVENT ID : + eventId); | System.out.println(); | }//end readerEventEx() method | | public void tagChangeEvent(int userId, String tagId, String readerGroupId, boolean appeared, long time, int eventId) throws java.rmi.RemoteException { | System.out.println(== TAG CHANGE EVENT ==); | System.out.println(USER ID : + userId); | System.out.println(TAG ID : + tagId); | System.out.println(READER ID: + readerGroupId); | System.out.println(APPEARED : + appeared); | System.out.println(TIME : + new Date(time)); | System.out.println(EVENT ID : + eventId); | System.out.println(==); | }//end tagChangeEvent() method | | public void tagChangeEventEx(int userId, String[] tagIds, String[] tagInfos, String readerGroupId, boolean[] appeared, long time, int eventId) throws java.rmi.RemoteException { | | /* for each identified tag */ | for(int i = 0; i tagIds.length; i++){ | | /* get the reader antenna */ | int index = tagInfos.lastIndexOf(antenna); | String ant = tagInfos.substring(index + 9, index + 10); | Integer antenna = new Integer(ant); | | /* send message to stock server */ | if(stockServer == null){ | System.out.println(STOCK SERVER IS NULL); | }//end if | else{ | System.out.println(TAG ID : + tagIds.substring(4)); |
[JBoss-user] [JBossWS] - Re: Java and .NET
So sorry, this is the error that I got from JBoss | 2005-12-22 16:32:42,734 ERROR [org.jboss.axis.providers.java.RPCInvocation] org.xml.sax.SAXException: Invalid element in sei._arrays.java.lang.StringArray - string | org.xml.sax.SAXException: Invalid element in sei._arrays.java.lang.StringArray - string | at org.jboss.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:432) | at org.jboss.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1168) | at org.jboss.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:244) | at org.jboss.axis.message.SOAPElementAxisImpl.publishToHandler(SOAPElementAxisImpl.java:1389) | at org.jboss.axis.message.RPCElement.deserialize(RPCElement.java:262) | at org.jboss.axis.message.RPCElement.getParams(RPCElement.java:396) | at org.jboss.axis.providers.java.RPCInvocation.prepareFromRequestEnvelope(RPCInvocation.java:235) | at org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:103) | at org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358) | at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73) | at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160) | at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123) | at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560) | at org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:200) | at org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:89) | at org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:911) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 2005-12-22 16:32:42,812 ERROR [org.jboss.webservice.server.ServerEngine] Server error: AxisFault | faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client | faultSubcode: | faultString: Invalid element in sei._arrays.java.lang.StringArray - string | faultActor: | faultNode: | faultDetail: | {http://xml.apache.org/axis/}stackTrace: org.xml.sax.SAXException: Invalid element in sei._arrays.java.lang.StringArray - string | at org.jboss.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:432) | at org.jboss.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1168) | at org.jboss.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:244) | at org.jboss.axis.message.SOAPElementAxisImpl.publishToHandler(SOAPElementAxisImpl.java:1389) | at org.jboss.axis.message.RPCElement.deserialize(RPCElement.java:262) | at org.jboss.axis.message.RPCElement.getParams(RPCElement.java:396) | at org.jboss.axis.providers.java.RPCInvocation.prepareFromRequestEnvelope(RPCInvocation.java:235) | at org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:103) |
[JBoss-user] [JBoss jBPM] - Re: How to suspend and resume a process
All right ... the timer is created in table and runs as it was supposed to run but the node is left and the timer still run i need to suspend the flow ... after the time has due, then goes to transition !!! and it is not happening what is wrong? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914048#3914048 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914048 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Batch update problem
Here is my irritating issue. I'm having two entity beans One is Film and another one is Copy. there is one to many relationship between them (there can be many copies of one film). I have created a web form were i put the film data and the count of copies. Then in the bussiness code I'm creating the film i persist the film bean and then i create count of copies times Copy bean and fill each copy data. When I try to persist them (the copies) I get ORA-02291 (Parent foreign key not found) - this is because a batch update takes place. The Film is not in the database. When i persist the film, and afterwards persist the copies I don't get this problem but I want to have the copies created immediately when the film data is specified. How can I make JBoss store the film data before storing the copies? I've tried the EntityManager.flush() but it doesn't work... I would appreciate any help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914050#3914050 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914050 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Scalability Of JGroups/JCache
How many machines can safely be members of a group? We have hundreds (400+) machines. Will JGroups work in this environment? How does JGroups compare to something like the Spread toolkit with this number of machines? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914052#3914052 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914052 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ClassNotFoundException when using resin, jboss and EJB3
This is for EJB2.1, but the same steps should apply. http://www.caucho.com/support/resin-interest/0011/0292.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914055#3914055 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914055 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ClassNotFoundException when using resin, jboss and EJB3
The client side proxy for the RewardsEJB is trying to unmarshall the Category object returned from the server side. This has to be a classpath issue. Can you please describe your classpath settings for your webserver? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914053#3914053 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914053 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - jBPM 3.1 alpha2: Could not deserialize a Serializable variab
Hi, When I try to retrieve a stored variableInstance (variable for a processInstance or a taskInstance) whose type is ByteArrayInstance (Serializable object for example), the object can not be deserialized. It seems that the byte array retrieved from database is truncated. Here is the stack trace. java.lang.RuntimeException: couldn't deserialize object at org.jbpm.context.exe.converter.SerializableToByteArrayConverter.revert(SerializableToByteArrayConverter.java:38) at org.jbpm.context.exe.VariableInstance.getValue(VariableInstance.java:102) at org.jbpm.context.exe.TokenVariableMap.getVariable(TokenVariableMap.java:201) at org.jbpm.context.exe.TokenVariableMap.getVariable(TokenVariableMap.java:72) at org.jbpm.context.exe.ContextInstance.getVariable(ContextInstance.java:106) at org.jbpm.context.exe.ContextInstance.getVariable(ContextInstance.java:94) at com.db.eps.common.workflow.analysis.jbpm.Jbpm31TaskManagementTest.test_step3_startWorkingOnFixingBroker(Jbpm31TaskManagementTest.java:261) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at 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) Caused by: java.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2165) at java.io.ObjectInputStream$BlockDataInputStream.readUTFBody(ObjectInputStream.java:2900) at java.io.ObjectInputStream$BlockDataInputStream.readUTF(ObjectInputStream.java:2701) at java.io.ObjectInputStream.readString(ObjectInputStream.java:1536) at java.io.ObjectInputStream.readTypeString(ObjectInputStream.java:1344) at java.io.ObjectStreamClass.readNonProxy(ObjectStreamClass.java:540) at java.io.ObjectInputStream.readClassDescriptor(ObjectInputStream.java:762) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1503) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at java.util.ArrayList.readObject(ArrayList.java:547) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at org.jbpm.context.exe.converter.SerializableToByteArrayConverter.revert(SerializableToByteArrayConverter.java:36) ... 21 more Any idea ? Thanks Patrick View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914054#3914054 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914054 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Batch update problem.
Here is my irritating issue. I'm having two entity beans One is Film and another one is Copy. there is one to many relationship between them (there can be many copies of one film). I have created a web form were i put the film data and the count of copies. Then in the bussiness code I'm creating the film i persist the film bean and then i create count of copies times Copy bean and fill each copy data. When I try to persist them (the copies) I get ORA-02291 (Parent foreign key not found) - this is because a batch update takes place. The Film is not in the database. When i persist the film, and afterwards persist the copies I don't get this problem but I want to have the copies created immediately when the film data is specified. How can I make JBoss store the film data before storing the copies? I've tried the EntityManager.flush() but it doesn't work... it seems like the flush() is the problem. When i go like that: em.persist(film); em.flush(); em.refresh(film); then i get: javax.ejb.EJBException: null; CausedByException is: No row with the given identifier exists: [pl.com.filmservice.par.Film#463] I would appreciate any help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914056#3914056 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914056 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJBException in Servlet (EJB3 Trailblazer)
Can you please provide the full stack trace with the root cause? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914057#3914057 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914057 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJB 3.0 and env-entry injection
If you download the entire source from CVS (jboss-head), there are examples in the ejb3 JUnit tests. Take a look at the enventry test. Here is an example bean and ejb-jar.xml @Stateless(name=TestEnvEntry) @Remote(TestEnvEntry.class) @RemoteBinding(jndiBinding=TestEnvEntry) public class TestEnvEntryBean implements TestEnvEntry { private static final Logger log = Logger.getLogger(TestEnvEntryBean.class); @Resource(name=maxExceptions) private int maxExceptions = 4; @Resource private int numExceptions = 3; private int minExceptions = 1; public int getMaxExceptions() { return maxExceptions; } public int getNumExceptions() { return numExceptions; } public int getMinExceptions() { return minExceptions; } } ejb-jar display-nameEnvEntry Tests/display-name enterprise-beans ejb-nameTestEnvEntry/ejb-name env-entry env-entry-namemaxExceptions/env-entry-name env-entry-typejava.lang.Integer/env-entry-type env-entry-value15/env-entry-value /env-entry env-entry env-entry-nameminExceptions/env-entry-name env-entry-typejava.lang.Integer/env-entry-type env-entry-value5/env-entry-value injection-target injection-target-classorg.jboss.ejb3.test.enventry.TestEnvEntryBean/injection-target-class injection-target-nameminExceptions/injection-target-name /injection-target /env-entry env-entry env-entry-nameorg.jboss.ejb3.test.enventry.TestEnvEntryBean/numExceptions/env-entry-name env-entry-typejava.lang.Integer/env-entry-type env-entry-value10/env-entry-value /env-entry ejb-nameExtendedTestEnvEntry/ejb-name env-entry env-entry-namemaxExceptions/env-entry-name env-entry-typejava.lang.Integer/env-entry-type env-entry-value14/env-entry-value /env-entry env-entry env-entry-nameminExceptions/env-entry-name env-entry-typejava.lang.Integer/env-entry-type env-entry-value6/env-entry-value injection-target injection-target-classorg.jboss.ejb3.test.enventry.ExtendedTestEnvEntryBean/injection-target-class injection-target-nameminExceptions/injection-target-name /injection-target /env-entry env-entry env-entry-nameorg.jboss.ejb3.test.enventry.ExtendedTestEnvEntryBean/numExceptions/env-entry-name env-entry-typejava.lang.Integer/env-entry-type env-entry-value11/env-entry-value /env-entry /enterprise-beans /ejb-jar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914058#3914058 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914058 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: On conversation usage patterns
I am thrilled to see the speed at which feedback in coming in and the interest in this new technology. SEAM could be a big one :) It reminds me of the old days... nowadays I look at finances too much, keep it up guys. Also if some of you have JBugs in your area then ping us for tech material to present, if not create a JBug :) marcf View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914059#3914059 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914059 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: WSDOCServiceStepByStep help
Maybe that is where the problem ismaybe the code is referencing the wrong Jar file. Here are the jars that I have in my classpath... jboss\client\jboss-jaxrpc.jar jboss\client\jboss-saaj.jar jboss\client\jboss-ws4ee.jar jboss\client\jboss-common-client.jar jboss\client\commons-discovery.jar jboss\client\commons-logging.jar jboss\client\wsdl4j.jar from the WebServices Developer Pack I am using jwsdp\jaxrpc\lib\jaxrpc-api.jar jwsdp\jaxrpc\lib\jaxrpc-spi.jar jwsdp\jaxrpc\lib\jaxrpc-impl.jar jwsdp\jwsdp-shared\lib\jax-qname.jar jwsdp\jwsdp-shared\lib\activation.jar jwsdp\jwsdp-shared\lib\mail.jar Based on Anil's suggestion from an earlier post I added jboss\client\jboss-ws4ee-client.jar to my classpath which did not seem to make any difference. I still got the class cast error. So please let me know if I use a wrong jar file, if there are conflicting jars in my classpath, and which one I should use. Your help is appreciated! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914060#3914060 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914060 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: IDE Tutorial Packaging Configuration
gwan, make sure you are using the Java perspective when you go into the project properties...if you are in the j2ee perspective, you will not see XDoclet or Packaging Configurations. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914061#3914061 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914061 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: EJB Behind Firewall
Hi Scott, I appreciate your response. The documentation was the first place that I searched for an answer. However, the docs indicate how to use JBoss behind a firewall by indicating which ports need to be opened. I don't have the option to open up ports so I am wondering, is there a good how-to on enabling a tunnel over https with JBoss. I have yet to come across one. Thanks for your time. Raoul View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914062#3914062 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914062 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - parameterized enum not supported ?
I just stumbled onto a problem with parameterized enums while experimenting with JBossIDE and EJB3. Some of my entities have embedded components which are enums. If I deploy, the tables are created correctly (components embedded in same table as containing entity...). But actually trying to persist an instance of this entity fails with an EJBException: org.hibernate.InstantiationException: No default constructor for entity ... Sure, it's true: my enum has no default constructor. But it's not allowed to have one! The compiler (Java 5.0.6) says only private constructors are allowed. From various examples on the web I take it that simple enumerations are no problem, but as soon as I parameterize it, Hibernate seems to think of the enum as an entity and tries to instantiate it with a public default constructor...and fails. Are parameterized enum not supported (using JBoss 4.0.3 with EJB3 Hibernate persistance)? Or have I missed some important point? Right now the only workaround I see is extracting the embedded enum component into a separate entity. The enum solution seems much more elegant though... Any input would be much appreciated thx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914064#3914064 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914064 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ClassNotFoundException when using resin, jboss and EJB3
I have included the following in my web-app tag of resin as suggested. The classpath tag given in the example does is I believe in the older version of resin. I tried to add the same but it gave me a dtd error. So I changed and have included the following. web-app id='/' document-directory='C:\projects\testresin' | class-loader |compiling-loader path=WEB-INF/classes/ |library-loader path=WEB-INF/lib/ | /class-loader | | jndi-link | jndi-namejava:comp/env/jndi-name | factoryorg.jnp.interfaces.NamingContextFactory/factory | init-param java.naming.provider.url=localhost:1099/ | /jndi-link | /web-app In my web-inf/lib I have all the classes mentioned in the document except user.jar which I could not find and also instead of the ejb.jar I have ejb-management.jar and ejb-persistence.jar. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914065#3914065 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914065 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user