[jboss-user] [JBoss jBPM] - How to get history variables and processInstanceId from Hist

2009-07-15 Thread rujimethut
I am very new in jBPM, Can anybody teach me how to get history variables and 
processInstanceId from the HistoryTask?

In the implementation classes such as HistoryTaskImpl it contains fields of 
variableName and its value and the processInstanceId field, but it seems not 
provide any public api to access those fields. 


Wattanapol.



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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243637
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - jbpm4.0 history var (bug?)

2009-07-15 Thread clt.phoenix
I have wrote a demo command to set variables history enabled, but it seems that 
 the variables was saved to jbpm4_hist_var, but the variable's value was 
doesn't saved.

In the source code, I saw that the HistoryVariableImpl was created before 
setValue , and the HistoryVarialbeUpdate event was fired in setValue, but 
there's no session.save() for the HistoryVariableUpdateImpl , so is it the 
reason?



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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243639
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Variable missing in assignment handler

2009-07-15 Thread lpiccoli
i think i may have found the issue with why my sub process has now variable 
instances.

it seems that  the variables need to be 'explicit' copied into the new process 
definition. The following snippet now correctly sets the variable in the new 
sub process.
 

  | 
  | process-state name='Sub Process'
  |   variable name='itp.id' access='read' mapped-name='itp.id' /
  |   sub-process name='sub'/
  | 
  | 

From the docs 
http://docs.jboss.com/jbpm/v3.2/userguide/html_single/#graphorientedprogramming

it describes this exact process.
anonymous wrote : 
  | 10.8. Process composition
  | In general, When a subprocess is started, all variables with read access 
are read from the super process and fed into the newly created sub process 
before the signal is given to leave the start state. When the sub process 
instances is finished, all the variables with write access will be copied from 
the sub process to the super process. The mapped-name attribute of the variable 
 element allows you to specify the variable name that should be used in the sub 
process.
  | 

However i dont want to 'explicitly' copy all my variables over to the new 
process. I am hoping there is an 'implicit' copy that i have not found yet.

I have not seen this functionality in any of the unit tests i have been 
viewing, so any help is appreciated.

-lp

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243641
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Caching, hybernate and using enums = no go

2009-07-15 Thread ZeroTolerance
I have a solution for my problem.

I replaced the switch statement in the Request class with an if() else 
statement.

I am now able to deploy the application.

Let this be a lesson for all:

Do not use enum with javassist and switch statements together!
Although if() else isn't beautiful programming it does the job and that's the 
most important thing!

Thanks all that replied to my posting.

Regards,
Werner

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243642
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - HistoryVariable create bug ?

2009-07-15 Thread clt.phoenix
In the source code of VariableCreate.java 
anonymous wrote : 
  | 
  |   | HistoryTaskImpl historyTask = null;
  |   | TaskImpl task = variable.getTask();
  |   | if (task!=null) {
  |   |   long taskDbid = task.getDbid();
  |   |   historyTask = (HistoryTaskImpl) 
  |   |   dbSession.get(HistoryTaskImpl.class, taskDbid);
  |   | }
  |   | 
  |   | HistoryVariableImpl historyVariable = new 
HistoryVariableImpl(historyProcessInstance, historyTask, variable);
  |   | 
  | 

The HistoryTaskImpl was get by the TaskImpl  id, but In my case the taskImpl id 
may be not the same with HistoryTaskImpl id ...

so some time I cann't get the history variable.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243645
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: Jmx port automatic binding

2009-07-15 Thread remnet

release : 5.1

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243649
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Lost portlet(remote) request parameter - portal-bridges-

2009-07-15 Thread jbossqwest
Hi,
 Was this issue resolved, can you please share the solution here. Kind of 
urgent, would appreciate the solution .

Thanks,
Maurya

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243650
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Messaging 1.4.0 SP3 with JBoss AS 4.2.3

2009-07-15 Thread sahanal
Thank you for the response. 

JBM version: jboss-messaging-1.4.0.SP3

We have a pure app server which connects to JBM. we use durable subscribers. 
Only JBoss restart is solving the problem. client(my appserver) restart is not 
helping, which means creating new Connection and Session. Also when client is 
restarted we are able to see the following error: 
javax.jms.IllegalStateException: Cannot create a subscriber on the durable 
subscription since it already has subscriber(s)
. Here is the Jboss log


2009-07-14 17:57:51,925 DEBUG 
[org.jboss.remoting.transport.socket.ServerThread] 
WorkerThread#0[127.0.0.1:3979] closing socketWrapper: 
ServerSocketWrapper[Socket[addr=/127.0.0.1,port=3979,localport=4457].117459c]
2009-07-14 17:57:51,925 DEBUG 
[org.jboss.jms.server.remoting.ServerSocketWrapper] wrote CLOSING byte
2009-07-14 17:57:51,925 DEBUG 
[org.jboss.remoting.transport.socket.SocketWrapper] 
ServerSocketWrapper[Socket[addr=/127.0.0.1,port=3979,localport=4457].117459c] 
closing
2009-07-14 17:57:51,925 DEBUG 
[org.jboss.remoting.transport.socket.ServerThread] 
WorkerThread#1[127.0.0.1:3978] closing socketWrapper: 
ServerSocketWrapper[Socket[addr=/127.0.0.1,port=3978,localport=4457].db1df1]
2009-07-14 17:57:51,925 DEBUG 
[org.jboss.jms.server.remoting.ServerSocketWrapper] wrote CLOSING byte
2009-07-14 17:57:51,925 DEBUG 
[org.jboss.remoting.transport.socket.SocketWrapper] 
ServerSocketWrapper[Socket[addr=/127.0.0.1,port=3978,localport=4457].db1df1] 
closing
2009-07-14 17:57:51,925 DEBUG [org.jboss.remoting.InvokerRegistry] removed 
SocketClientInvoker[25724e, bisocket://10.11.151.170:2050639998] from registry
2009-07-14 17:57:51,925 DEBUG 
[org.jboss.remoting.transport.socket.MicroSocketClientInvoker] 
SocketClientInvoker[25724e, bisocket://10.11.151.170:2050639998] disconnecting 
...2009-07-14 17:57:51,925 DEBUG 
[org.jboss.remoting.transport.socket.SocketWrapper] 
ClientSocketWrapper[Socket[addr=/127.0.0.1,port=4235,localport=56656].1440636] 
closing
2009-07-14 17:57:51,925 DEBUG 
[org.jboss.remoting.callback.ServerInvokerCallbackHandler] 
ServerInvokerCallbackHandler[ab474q-8irr1u-fx4e2z0n-1-fx4e2ze3-4+ab474q-8irr1u-fx4e2z0n-1-fx4e2zg9-9]
 shut down
2009-07-14 17:57:56,035 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] 
Periodic recovery - first pass Tue, 14 Jul 2009 17:57:56
2009-07-14 17:57:56,035 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] 
StatusModule: first pass 
2009-07-14 17:57:56,035 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] 
[com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_3] - TORecoveryModule - 
first pass
2009-07-14 17:57:56,035 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] 
[com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - 
first pass
2009-07-14 17:58:06,035 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] 
Periodic recovery - second pass Tue, 14 Jul 2009 17:58:06
2009-07-14 17:58:06,035 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] 
AtomicActionRecoveryModule: Second pass 
2009-07-14 17:58:06,035 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] 
[com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - 
second pass
2009-07-14 17:58:06,035 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] 
[com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - 
second pass
2009-07-14 17:58:07,222 DEBUG 
[org.jboss.jms.server.security.SecurityMetadataStore] No SecurityMetadadata was 
available for SDSCMPCAMESSAGES1, using default security config
2009-07-14 17:58:37,176 DEBUG 
[org.jboss.jms.server.security.SecurityMetadataStore] No SecurityMetadadata was 
available for SDSCMPCAMESSAGES1, using default security config
2009-07-14 17:59:07,209 DEBUG 
[org.jboss.jms.server.security.SecurityMetadataStore] No SecurityMetadadata was 
available for SDSCMPCAMESSAGES1, using default security config
2009-07-14 17:59:37,163 DEBUG 
[org.jboss.jms.server.security.SecurityMetadataStore] No SecurityMetadadata was 
available for SDSCMPCAMESSAGES1, using default security config
2009-07-14 18:00:06,039 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] 
Periodic recovery - first pass Tue, 14 Jul 2009 18:00:06
2009-07-14 18:00:06,039 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] 
StatusModule: first pass 
2009-07-14 18:00:06,039 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] 
[com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_3] - TORecoveryModule - 
first pass
2009-07-14 18:00:06,039 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] 
[com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - 
first pass
2009-07-14 18:00:07,258 DEBUG 
[org.jboss.jms.server.security.SecurityMetadataStore] No SecurityMetadadata was 
available for SDSCMPCAMESSAGES1, using default security config
2009-07-14 18:00:16,039 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] 
Periodic recovery - second pass Tue, 14 Jul 2009 18:00:16
2009-07-14 18:00:16,039 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] 
AtomicActionRecoveryModule: 

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: mapped-name is required for jdbc

2009-07-15 Thread neelesh.parulkar
Here is snippet from web.xml and -ds.xml respectively:


web.xml:

resource-ref
DB Connection
res-ref-namejdbc/LOYALTY/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref



hsqldb-ds.xml:

local-tx-datasource
   
 !-- The jndi name of the DataSource, it is prefixed with 
java:/ --
 !-- Datasources are not available outside the virtual 
machine --
 jndi-namejdbc/LOYALTY/jndi-name  
  
connection-urljdbc:mysql://192.168.1.109:3306/LOYALTY/connection-url 
   
 !-- The driver class --
 driver-classcom.mysql.jdbc.Driver/driver-class
 !-- The login and password --
 user-nameroot/user-name
 root
 !-- The maximum connections in a pool/sub-pool --
 max-pool-size5/max-pool-size
 !-- track unclosed statements --
 track-statementstrue/track-statements
   
  !-- REQUIRED IN JBOSS 4.0.5GA; TRYING IN JBOSS 3.2.5 FOR 
CONSISTENCY --

type-mappingmySQL/type-mapping
 
   /local-tx-datasource


I am facing same problem with Jboss 5.1.0 GA. However I am able to deploy the 
war on 4.2.3 GA successfully. Only change in web.xml being a wrapper tag around 
resource-ref as jboss-web. This is not required in Jboss 5.x.x as this gives 
invalid schema related errors.











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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243654
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: [EJB 2 in JBoss 5] Error on ClassCastException

2009-07-15 Thread leethor5
The entire exception is : 


  | javax.naming.NameNotFoundException: 
fr.monappli.modele.traitement.service._menu.delegate.MenuService not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
  | at sun.reflect.GeneratedMethodAccessor318.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
  | at sun.rmi.transport.Transport$1.run(Transport.java:159)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
  | at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
  | at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
  | at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  | at java.lang.Thread.run(Thread.java:619)
  | at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
  | at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
  | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
  | at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682)
  | at javax.naming.InitialContext.lookup(InitialContext.java:392)
  | at 
fr.gouv.defense.sicagem.modele.traitement.service._menu.ServiceAccessor.getMenuService(ServiceAccessor.java:32)
  | at 
fr.gouv.defense.sicagem.webapp._filter.UserContext.init(UserContext.java:77)
  | at 
fr.gouv.defense.sicagem.webapp._page.ApplicationAfficheAction.projectExecute(ApplicationAfficheAction.java:126)
  | at 
fr.gouv.defense.sicagem.webapp._strutsClasseBases.ActionBase.frameworkExecute(ActionBase.java:49)
  | at 
com.airial.framework.struts.FrameWorkAction.execute(FrameWorkAction.java:40)
  | at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
  | at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
  | at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
  | at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
  | at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
  | at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
  | at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
  | at 
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:696)
  | at 
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:667)
  | at org.apache.jsp.logonVerifDpc_jsp._jspService(logonVerifDpc_jsp.java:113)
  | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
  | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
  | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
  | at 

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: mapped-name is required for jdbc

2009-07-15 Thread neelesh.parulkar
I have already tried putting mapped-name in resource ref but no luck..

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243655
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: [EJB 2 in JBoss 5] Error on ClassCastException

2009-07-15 Thread leethor5
context.lookup(homeJndi)

returns :

$Proxy855 : fr/monappli/ejb/menu/MenuSLHome

Any ideas ?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243658
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Messaging 1.4.0 SP3 with JBoss AS 4.2.3

2009-07-15 Thread gaohoward
Hi,

Please give the cp version of JBM, like 1.4.0.sp3-cp07.

The problem seems your client has crached before you close any 
subscribers/session/connections.



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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243661
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Bug: inject WebServiceContext at AroundInvoke

2009-07-15 Thread MrTed
Hi, I had the same problem using JBoss 4.2.3 and JBossWS 3.1.1
I have resolved it via such work around placed in my Interceptor:

  | /**
  |  * Returns true if current context has a webservice context available. 
This
  |  * method is a workaround for not working injection of the 
WebServiceContext
  |  * via Resource annotation.
  |  *
  |  * @param ctx InvocationContext
  |  * @return true if WebServiceContext is available, false otherwise.
  |  */
  | private boolean isWebServiceContext(InvocationContext ctx) {
  | try {
  | WebServiceContext wsc = null;
  | Field wrapped = 
ctx.getClass().getDeclaredField(wrapped);
  | if (wrapped != null) {
  | wrapped.setAccessible(true);
  | Object sbctx = wrapped.get(ctx);
  | if (sbctx != null) {
  | Field ctxField = 
sbctx.getClass().getDeclaredField(ctx);
  | if (ctxField != null) {
  | ctxField.setAccessible(true);
  | Object context = 
ctxField.get(sbctx);
  | if (context != null) {
  | Field webServiceCtx = 
context.getClass().getDeclaredField(webServiceContext);
  | if (webServiceCtx != 
null) {
  | 
webServiceCtx.setAccessible(true);
  | wsc = 
(WebServiceContext) webServiceCtx.get(context);
  | return wsc != 
null;
  | }
  | }
  | }
  | }
  | }
  | } catch (NoSuchFieldException e) {
  | // silent
  | } catch (IllegalArgumentException e) {
  | // silent
  | } catch (IllegalAccessException e) {
  | // silent
  | }
  | return false;
  | }
  | 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243663
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: windowState not set on ActionRequest

2009-07-15 Thread hilmer
Okay

I simply do a return from my processAction and then, (according to the spec), 
in the subsequent doView call renderRequest.getWindowState() should return 
WindowState.MINIMIZED, but it also returns WindowState.NORMAL, so then the bug 
lies here?

What does work is if you call 
actionResponse.setWindowState(WindowState.MINIMIZED) in processAction, in this 
case the doView is not called at all, and the portlet is indeed minimized.
But if this is how it is supposed to work I really need a way to check the 
incomming actionRequest for the windowstate parameter.

Something like: 
  | if (actionRequest.getWindowState() == WindowState.MINIMIZED)
  |actionResponse.setWindowState(WindowState.MINIMIZED)
  | 

But as stated before this does not work.

To me there is definitely a bug somewhere.

--Soren

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243664
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: War deployment

2009-07-15 Thread sicard_51
Hi,

Thx for your answers guys. If i correctly understand, i have to move to 5.1.0 
to have my deployment temped (i checked but it is not the case now). I'll try 
then.



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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243665
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss 5.1.0GA with JBM2.0.0. b3

2009-07-15 Thread jmesnil
guntherv wrote : Next I tried to find the testQueue of the MDB sample using 
the JMX console as pointed out by ataylor, but I fail to find the MBean. 
  | 

There is a bug in JBM 2.0.0.Beta3 which prevents its MBeans to show up in AS 5 
JMX console.
The bug is fixed in the trunk and there is a workaround for Beta3, see 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4240363 


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243666
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: dependencies classes used in process

2009-07-15 Thread johan.kumps
Hi Kukeltje,

Thanks for replying!

I'm using 4.0 final. 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243668
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Messaging 1.4.0 SP3 with JBoss AS 4.2.3

2009-07-15 Thread sahanal
Not sure how to get the CP version. in the Manifest file, i have this info

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 1.5.0_13-b05 (Sun Microsystems Inc.)
Specification-Title: JBoss Messaging
Specification-Version: 1.4.0.SP3
Specification-Vendor: JBoss Inc. (http://www.jboss.org/)
Implementation-Title: JBoss Messaging
Implementation-URL: http://www.jboss.org/
Implementation-Version: 1.4.0.SP3 (build: CVSTag=JBossMessaging_1_4_0_
 SP3 date=200712131418)
Implementation-Vendor: JBoss Inc. (http://www.jboss.org/)
Implementation-Vendor-Id: http://www.jboss.org/


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243670
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: War deployment

2009-07-15 Thread jaikiran
Temping is an internal thing of the AS. What you need is exploded deployment 
http://www.jboss.org/community/wiki/ExplodedDeployment

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243673
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Messaging 1.4.0 SP3 with JBoss AS 4.2.3

2009-07-15 Thread gaohoward
OK you already have the version right. You are using the 1.4.0.sp3. Current 
release is 1.4.0.sp3-cp08 for EAP and 1.4.4.GA for JBoss 4.2.3.GA. 
Can you try the latest version? They have a lot bug fixes.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243674
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: node_enter event trouble

2009-07-15 Thread jbpm_user369
I must be getting blind or something to confuse a dash with an underscore...
BTW what I have entered in Google was jbpm node_enter event which was useless.
Thanks for your time

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243685
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-07-15 Thread dickson1888
Hi all,

Good news! Finally, with trial and error to set different parameter, I can use 
LdapLoginModule to work fine now.

Now I try to figure out the alternate setting for Ldap login.

share with our ok config: 
--
login-module code=org.jboss.security.auth.spi.LdapLoginModule
  flag=required
module-option name=java.naming.factory.initial 
com.sun.jndi.ldap.LdapCtxFactory
/module-option
module-option name=java.naming.provider.url
ldap://ldap.ust.hk/
/module-option
module-option name=java.naming.security.authentication
simple
/module-option

module-option name=principalDNPrefixuid=/module-option

module-option 
name=principalDNSuffix,ou=people,o=my.com/module-option
module-option 
name=rolesCtxDNou=people,o=my.com/module-option
module-option name=uidAttributeIDuid/module-option
module-option name=matchOnUserDNfalse/module-option
module-option name=roleAttributeIDuserClass/module-option
module-option name=roleAttributeIsDNfalse/module-option
module-option name=searchTimeLimit5/module-option
module-option name=searchScopeONELEVEL_SCOPE/module-option
/login-module

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243696
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM 4.0 - Missing Class JpdlExecution

2009-07-15 Thread OOMicha
Hi folks,

unfortunately I have the same problem. So, did you remove
the file jbpm.jdpl.hbm.xml containing this bad entity link or any other file? 

Another work around seems to be the following: copy the missing class
org.jbpm.pvm.internal.model.ExecutionImpl from the old 4.0RC1-jar to the newer 
one.



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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243701
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Problem with JBoss and DataSource

2009-07-15 Thread Gabry86
Hi!!

I've a problem. i'm developing an application with Google Web Toolkit run on 
server JBoss 4.2.2. I'm using a DataSource, and it´s good. The problem is that 
i modify the file web.xml to add the datasource:

?xml version=1.0 encoding=UTF-8?
web-app version=2.5 xmlns=http://java.sun.com/xml/ns/javaee; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd;

Conecta con la BD oracle
servlet-nameComunicaBD/servlet-name
servlet-classorg.yournamehere.server.ComunicaBDImpl/servlet-class

servlet-mapping
servlet-nameComunicaBD/servlet-name
url-pattern/ComunicaBD/url-pattern
/servlet-mapping
session-config
session-timeout
30
/session-timeout
/session-config
welcome-file-list
welcome-filewelcomeGWT.html/welcome-file
/welcome-file-list
jboss-web
context-rootAsignacion/context-root
/jboss-web
resource-ref
res-ref-nameportalDS/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref
/web-app

the lines in bold are new. If i remove this lines, the aplication runs, but if 
i put it, the server don't executes the aplication. This is wrong??

Help and Thanks

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

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBAS5.1: ${} deployment notation - Newbie information re

2009-07-15 Thread simon_temple
Thanks Peter.

But that's potentially a huge number of system properties to be set via a 
command line if you heavily customise JBAS configuration.

I could exceed the command line length on some operating systems...

Shame you can't specify something like a properties bundle to the deployers.






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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243721
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: How to get cache size programmatically

2009-07-15 Thread somboss
It appears that CacheJmxWrapper and CacheJmxWrapperMBean are deprecated in 
jbosscache-core-3.1.0.GA

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243728
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-15 Thread sanches
snjeza,

Is developer supposed to be able to turn on Maven Integration for new projects 
like EJB Project or Enterprise Application Project?

I upgraded to Version: 1.0.0.M3-N200907101443-H38,
but do not see Maven Integration Facet in:
File-New-EJB Project-Configuration-Modify

Thanks,
Alex.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243733
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: STDERR in JBoss startup with jBPM 4.0

2009-07-15 Thread jbarrez
Filed an issue for it: https://jira.jboss.org/jira/browse/JBPM-2429

Although, I believe the userguide is already updated, I'll do a re-check on the 
complete guide.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243739
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Websphere 6.1 and jBPM 4

2009-07-15 Thread jbarrez
jBPM4 hasnt been tested yet on Websphere. But when you use jBPM as a standalone 
library, I don't expect any problems.

There is no dependency on EJB3 to function correctlym jBPM is Java SE library.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243741
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jbpm4.0 history var (bug?)

2009-07-15 Thread jbarrez
Variable history isnt completely worked out yet, should be in one of the next 
releases.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243742
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How to get history variables and processInstanceId from

2009-07-15 Thread jbarrez
Variable history isnt completely worked out yet, should be in one of the next 
releases.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243743
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM 4.0 - Missing Class JpdlExecution

2009-07-15 Thread jbarrez
The jbpm.jpdl.hbm.xml file should be deleted, the JpdlExecution class has been 
removed from 4.0.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243744
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: War deployment

2009-07-15 Thread sicard_51
Thx you very much !

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243750
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - CachedConnectionManager Closing a connection for you

2009-07-15 Thread weberj
Hi, 

looks like JBoss is closing a hibernate connection for me, which is not good.

The solution seems to be on 
http://www.jboss.org/community/wiki/ConfigCachedConnectionManager

but it does not apply for JBoss 5.1.
How do you get around the problem for JBoss 5.1 ?

Thanks,
Juergen

7:27:02,076 INFO  [CachedConnectionManager] Closing a connection for you.  
Please close them yourself: 
org.jboss.resource.adapter.jdbc.jdk6.wrappedconnectionj...@41d1d3
java.lang.Throwable: STACKTRACE

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243751
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - JPDL Eclipse plugin source for JBPM 4.0-CR release

2009-07-15 Thread @tul
Hi,
Can any one tell me where can i find the Source code for JPDL Eclipse plugin. 
If any one know the path of JBOSS SVn path for the same then it would be really 
helpful
thanks 


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243754
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Certification issue when moved web service from war to ejb3

2009-07-15 Thread jaro777
Hello @,

  I have following  scenario:

We have war and ejb3 project deployed within ear. Web layer access .Net web 
service over ssl. Keystore/trustore is defined in 
Ear/War/WB-INF/jboss-wsse-client.xml. It works nice.

I want to move the logic which calls web service into ejb (and call the ejb in 
web layer). I moved jboss-wsse-client.xml into Ear/Ejb/META-INF and also 
corresponding keystore and trustore file + I refactored code.

Unfortunately I get No certificate found error when I try to access web 
service. Even there is no reference to jboss-wsse-client.xml file in server.log 
after refactoring - like it is ignored totally.

Any idea what is wrong?

Jboss: 4.2.3
WS: 
jbossws-3.0.1-native-2.0.4.GA (build=200803312
 044)

Thanks
jaro

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243756
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Clustering issue

2009-07-15 Thread rinku05
I am using jboss application server 4.2.1.GA, jboss portal 2.6.2, apache 2.2 
for my load balancing and clustering setup.

Clustering is happening fine.

But I am facing an issue:

I created a tab say TAB1 after logging to SERVER1.I am able to see TAB1.
Now, when I logged to SERVER2, I am not able to see TAB1, even though I'll 
restart the servers.

But after one day or even more, the TAB1 will appear and can be seen on both 
the servers.

Similarly if I am renaming a sub menus, deleting tab, deleting submenu; the 
changes are reflected immediately on the server from which the changes are done 
but are not reflected on the other server immediately.

I am not sure what is going wrong. At present I can not move to different 
version of server.

Any help in this regard will be greatly appreciated.

Regards,
Rinku

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243759
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Clustering issue

2009-07-15 Thread prabhat....@jboss.com
The best would be for you to upgrade the jboss portal and/or Jboss ASversion 
you are using as later versions of portal had few clustering fixes. 

Clustering is kind of setup where I would recommend you get support contract as 
they have hardware and environment to reproduce your problem.

Now, for your problem, looks like some sessions need to be flushed right away 
given that you are seeing replication at later stage.



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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243763
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: invoking WS

2009-07-15 Thread jpredpos
I 'm not using servlet jar. 
But my app. contains:

Jersey 1.0 and Metro 1.4.

It's strange that the same .war works fine at jboss 4.0.5 ... 

thanks

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243765
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Clustering issue

2009-07-15 Thread rinku05
Hello prabhat,

Thanks for you reply. For clustering I am using TCP protocol instead of UDP. Is 
this causing the delay?Can this be a network issue or firewal setting causing 
the problem?

Regards,
Rinku

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243766
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - WS differents ports

2009-07-15 Thread jpredpos
Hi, 

Is possible to open two differents ports for WS REST? 
for example: 
http:://localhost:8080/admin/reloadSomething
and
http://localhost:8082/users/doSomething

thanks 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243767
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: dependencies classes used in process

2009-07-15 Thread jbarrez
Johan, 

The main issue here is that classes need to be found by the classloader on 
deploy-time, since they are instantiated for caching purposes.

If you use the JBoss integration, you could put these dependencies in the 
userlibs folder. 

The other 'workaround' is to have the deployment of processes in your webapp 
itself. Eg write an EJB to deploy the processes, so that your domain classes 
can be found on the regular classpath.

But thanks for pointing us to this issue. We'll definitely have a discussion on 
how to ease the development in regular web apps.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243771
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Using JBoss Tools in Maven projects

2009-07-15 Thread snjeza
I have fixed https://jira.jboss.org/jira/browse/JBIDE-4604 , but there isn't 
any successful build yet that includes this fix. 
The new build will require m2eclipse = 0.9.9.200907071528 that can be updated 
from the http://m2eclipse.sonatype.org/update-dev update site.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243773
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - java.lang.NullPointerException in CreateDeploymentQueryCmd.j

2009-07-15 Thread Zajs
Hello, i'm trying launch jBPM on tomcat 6.0 + spring + hibernate + blazeDS. 

I debugged programm and found that instanse of 
org.jbpm.pvm.internal.session.DbSession is missed. can any one tell why its 
happened?

java.lang.NullPointerException 
 at 
org.jbpm.pvm.internal.cmd.CreateDeploymentQueryCmd.execute(CreateDeploymentQueryCmd.java:38)
 
 at 
org.jbpm.pvm.internal.cmd.CreateDeploymentQueryCmd.execute(CreateDeploymentQueryCmd.java:33)
 
 at 
org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
 
 at 
org.jbpm.pvm.internal.spring.CommandTransactionCallback.doInTransaction(CommandTransactionCallback.java:50)
 
 at 
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
 
 at 
org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:79)
 
 at 
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
 
 at 
org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) 
 at 
org.jbpm.pvm.internal.repository.RepositoryServiceImpl.createDeploymentQuery(RepositoryServiceImpl.java:88)
 
 at com.lorisit.jbpm.Test.getStartActivityNames(Test.java:45) 
 at com.lorisit.jbpm.Test$$FastClassByCGLIB$$632a54d4.invoke() 
 at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) 
 at 
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
 
 at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
 
 at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
 
 at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
 
 at 
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
 
 at 
com.lorisit.jbpm.Test$$EnhancerByCGLIB$$d55d736e.getStartActivityNames() 
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
 at java.lang.reflect.Method.invoke(Unknown Source) 
 at 
flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:421)
 
 at 
flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
 
 at 
flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1503) 
 at 
flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:884)
 
 at 
flex.messaging.endpoints.AbstractEndpoint$$FastClassByCGLIB$$1a3ef066.invoke() 
 at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) 
 at 
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
 
 at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
 
 at 
org.springframework.flex.core.MessageInterceptionAdvice.invoke(MessageInterceptionAdvice.java:59)
 
 at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
 
 at 
org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor.invoke(ThrowsAdviceInterceptor.java:126)
 
 at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
 
 at 
org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:582)
 
 at 
flex.messaging.endpoints.AMFEndpoint$$EnhancerByCGLIB$$a5f80c55.serviceMessage()
 
 at 
flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:121)
 
 at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158) 
 at 
flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44) 
 at 
flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
 
 at 
flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:146)
 
 at 
flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:278) 
 at 
flex.messaging.endpoints.AMFEndpoint$$EnhancerByCGLIB$$a5f80c55.service() 
 at 
org.springframework.flex.servlet.MessageBrokerHandlerAdapter.handle(MessageBrokerHandlerAdapter.java:101)
 
 at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
 
 at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
 
 at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
 
 at 
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
 
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) 

[jboss-user] [JBoss Portal] - Navigator levels

2009-07-15 Thread pablo123
Hi, 
In default installation in portal navigator I can navigate only in two levels 
of pages. In the administrator section I can add more than two levels of pages. 
Is there a way to increase numbers of levels that navigator can display?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243776
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Installing a context leads to resolve of other unrelated con

2009-07-15 Thread jaikiran
I was looking at the deployment framework/MC kernel flow and noticed this code 
in the AbstractController:

  | public void install(ControllerContext context) throws Throwable
  |{
  | // removed irrelevant code from forum post
  | ... 
  |   install(context, trace);
  |}
  | 


  | protected void install(ControllerContext context, boolean trace) throws 
Throwable
  |{
  |   
  |  // set the required state
  |  ControllerMode mode = context.getMode();
  |  context.setRequiredState(mode.getRequiredState());
  | 
  |  if (trace)
  | log.trace(Installing  + context.toShortString());
  | 
  |  context.setController(this);
  |  DependencyInfo dependencies = context.getDependencyInfo();
  |  if (trace)
  |  {
  | String dependsOn = [];
  | if (dependencies != null)
  | {
  |try
  |{
  |   SetDependencyItem set = dependencies.getIDependOn(null);
  |   if (set != null)
  |  dependsOn = set.toString();
  |}
  |catch (Throwable t)
  |{
  |   log.warn(Exception getting dependencies:  + t);
  |   dependsOn = null;
  |}
  | }
  | if (dependsOn != null)
  |log.trace(Dependencies for  + name + :  + dependsOn);
  |  }
  | 
  |  boolean ok = incrementState(context, trace);
  |  if (ok)
  |  {
  | try
  | {
  |registerControllerContext(context);
  | }
  | catch (Throwable t)
  | {
  |// This is probably unreachable? But let's be paranoid
  |ok = false;
  |throw t;
  | }
  |  }
  |  if (ok)
  |  {
  | // Jaikiran: Why do we do this?
  | resolveContexts(trace);
  |  }
  | ...

1) We start with install a specific context
2) Increment the state of that specific context
3) Register the controller context for that specific context
4) Resolve other (unrelated) contexts. Why do we do this? As an example, when 
a specific context = A is being installed why do we start resolving (which 
internally involves incrementing/moving the context to different state) 
contexts B, C etc... which are not related to A? Or am i wrong in understanding 
this piece of code?


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243784
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBAS5.1: ${} deployment notation - Newbie information re

2009-07-15 Thread PeterJ
Then use the properties service - it lets you identify a file containing system 
properties - and you can even specify the filename as a property. Look at 
server/default/deploy/properties-service.xml.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243786
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: ServiceBean and depends clause - Help Please

2009-07-15 Thread rnicholson10
I added the following dependency using the jboss.xml file (which is in the 
META-INF directory in the EAR file):


  | ?xml version='1.0' encoding='UTF-8' ?
  | jboss
  | enterprise-beans
  | session
  | ejb-nameInputServiceBean/ejb-name
  | 
dependsjboss.j2ee:ear=phase-test.ear,jar=phase-input.jar,name=SourceBridgeCheckTimerBean,service=EJB3/depends
  | /session
  | /enterprise-beans
  | /jboss
  | 

And with the fully qualified class name for the service bean:


  | ?xml version='1.0' encoding='UTF-8' ?
  | jboss
  | enterprise-beans
  | session
  | 
ejb-namecom.paddypower.phase.input.bean.service.InputServiceBean/ejb-name
  | 
dependsjboss.j2ee:ear=phase-test.ear,jar=phase-input.jar,name=SourceBridgeCheckTimerBean,service=EJB3/depends
  | /session
  | /enterprise-beans
  | /jboss
  | 

But neither of these seems to work. The SourceBridgeCheckTimerBean always loads 
after the ServiceBean which would indicate that the depends clause has no 
effect. 

Am I specifying the ejb-name correctly? The depends clause is specified in the 
same way I used in the ServiceBean previously.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243788
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Installing a context leads to resolve of other unrelated

2009-07-15 Thread alesj
Whenever something gets installed we try to move whatever can be moved.
Or how else are you gonna know what and when something can be moved?
e.g. you might have some implicit dependencies
* some bean sets some static flag, the other one inspects that as its dependency
* we put something into JNDI, something else tries to pull that out

Not to mention it would be too much + duplicated work to check for only those 
which might be affected by this new install / move.
Whereas this is simple, but pretty much bullet proof concept.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243789
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - session.createTextMessage() returns null?

2009-07-15 Thread AdrianWoodhead
I've noticed some strange behaviour in JBM 2.0.0.BETA3. We have a client 
application which queues up messages and sends them periodically to a topic. 
Sometimes the client gets into a strange state where:

message = session.createTextMessage();

returns null. I've never seen this happen before. The strange thing is that it 
doesn't happen on every call to createTextMessage. It will work for a few 
calls, then return null, then work again for a few more etc. It also doesn't 
happen all the time, our other client application running the same code at the 
same time does not exhibit this behaviour. In what cases would this method 
return null? The spec says nothing about this other than that a JMSException 
should be throw if an error occurs creating the message.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243790
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBAS5.1: ${} deployment notation - Newbie information re

2009-07-15 Thread PeterJ
Oh, and one other thought - the correct way to specify different port number is 
to use the binding service. See 
server/default/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml. 
This file defines groups of port bindings that you can select from the command 
line like this:

run -Djboss.service.binding.set=xxx

where xxx is the desired configuration, such as ports-01.

The predefined binding set includes the default bindings and the others are 
incremental in nature (example: port = default port + 100). But you can make a 
copy of the default port set and specify custom binding and then use that set.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243791
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: session.createTextMessage() returns null?

2009-07-15 Thread timfox
Are you sure it's really returning null?

The code from JBossSession::createTextMessage is just this:


  | public TextMessage createTextMessage() throws JMSException
  |{
  |   checkClosed();
  | 
  |   return new JBossTextMessage(session);
  |}
  | 

So I don't see how any well behaved JVM could return null, even under error 
conditions. If the creation of the text message proceeds you'll get a non null 
object. If it throws an exception, then an exception should be thrown from the 
method.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243795
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: invoking WS

2009-07-15 Thread PeterJ
It is probably working in 4.0.5 because whatever older version of the servlet 
classes you are picking up probably matched what is in 4.0.5.  You have to find 
where the old servlet classes are coming from. Try this. Add '-verbose:class' 
to the JAVA_OPTS in the run script and run the app server again. This option 
causes the JVM to print out each class loaded and the JAR file it came from. 
You will have to redirect stdout (or is it stderr?) because this option 
produces a lot of output. Look for where  javax.servlet.http.HttpServlet comes 
from.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243794
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: WS differents ports

2009-07-15 Thread PeterJ
You can open multiple HTTP ports be defining additional Connector entries in 
the server.xml file. You did not mention the JBoss AS version so I will leave 
it to you to locate the file (there is only one) since its location seems to 
change with every release. 

I haven't tried this specifically with web services, but it should work. 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243799
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBAS5.1: ${} deployment notation - Newbie information re

2009-07-15 Thread simon_temple
Thanks again Peter.

...feeling a little embarrassed now I found further details of this in the book 
JBOSS in Action.  A book I'm finding really useful BTW, although it looks like 
I need to study it some more ;-)


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243801
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM Task Forms Example Not Working

2009-07-15 Thread jbarrez
You are correct, see my comment on the issue

https://jira.jboss.org/jira/browse/JBPM-2423

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243804
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - DLQ not recieving messages upon Exception

2009-07-15 Thread sjunejo
Hi All,

For now I am running single jBoss 4.2.3GA (which is going to be part of a jBoss 
cluster). I want to test the JMS FailOver. I am using two Queues called 'Queue' 
where my browser will put message and MDB will post it to my remote app server 
let say port '20005' using Resource Adaptor and 'ReplyQueue' from where 
response will be fetched and give it back to browser.

Now I have stoped my app server on 20005 and started back on 20003. In the 
meantime I have deployed one more MDB called MDB-DLQ which will get activated 
when default DLQ will recieve message when my first DLQ should get failed to 
post message.

I have check the jBoss cosole and it shows that my Queue depth is '1' but after 
failure message is not re-directed to defaul jBoss DLQ (DLQ depth= 0) where my 
other MDB is waiting???

My configuartions are...

destinations-service.xml

?xml version=1.0 encoding=UTF-8?
  | 
  | !-- $Id: jbossmq-destinations-service.xml 25907 2004-11-16 04:32:39Z ejort 
$ --
  | 
  | !-- 
  || This file defines the default Queues and Topics that JBossMQ
  || ships with.  The default Queues and Topics are used by the 
  || JBoss test suite and by the sample jms programs.
  ||
  || You can add other destinations to this file, or you can create other
  || *-service.xml files to contain your application's destinations.
  |  --
  | 
  | server
  |   !-- Destination without a configured SecurityManager or without a 
  |a SecurityConf will default to role guest with read=true, write=true,
  |create=false.
  |   --
  |   mbean code=org.jboss.mq.server.jmx.Queue
  |  name=jboss.mq.destination:service=Queue,name=Queue
  | depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager/depends
  |   /mbean
  |   mbean code=org.jboss.mq.server.jmx.Queue
  |  name=jboss.mq.destination:service=Queue,name=ReplyQueue
  | depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager/depends
  |   /mbean
  |   
  | /server 
  | 

Do I have to specify to redeliver the message to DLQ??? or whats missing 
here...???...jBoss should redeliver the message by itself...how to configure 
it

Thanks

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243806
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: determining which version of JBoss Tools I have in JBDS

2009-07-15 Thread nickboldt
Within Eclipse / JBDS, do: Help  About  Features

Then compare those versions with what's on the various update sites.

https://www.jboss.org/tools/download/

Or, use these rules:

JBDS 2.0.0 ~= JBT 3.0.0
JBDS 2.1.0 ~= JBT 3.0.x + extra runtime support
JBDS 3.0.0 ~= JBT 3.1.0


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243807
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: session.createTextMessage() returns null?

2009-07-15 Thread AdrianWoodhead
Yeah, you are right, that code can't return null. I will have another look at 
our code, my guess is that due to the number of deploys we have done recently 
with different versions there is a mismatch in line numbers which is confusing 
the issue here. Sorry about that.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243809
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: ServiceBean and depends clause - Help Please

2009-07-15 Thread rnicholson10
Ok, the jboss.xml is definitely being picked up, so it must be the way I'm 
referencing the service bean is incorrect...


  | 2009-07-15 15:35:24,600 DEBUG 
[org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper] (HDScanner) 
Parsing file: zipentryhand...@12863780[path=phase-test.ear/META-INF/jboss.xml 
context=file:/opt/jboss-5.1.0.Beta1-jdk6/server/default/deploy/ 
real=file:/opt/jboss-5.1.0.Beta1-jdk6/server/default/deploy/phase-test.ear/META-INF/jboss.xml]
 for type: class org.jboss.metadata.ejb.jboss.JBossMetaData
  | 
  | 2009-07-15 15:35:24,635 DEBUG 
[org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper] (HDScanner) Parsed 
file: 
zipentryhand...@12863780[path=phase-test.ear/META-INF/jboss.xmlcontext=file:/opt/jboss-5.1.0.Beta1-jdk6/server/default/deploy/
 
real=file:/opt/jboss-5.1.0.Beta1-jdk6/server/default/deploy/phase-test.ear/META-INF/jboss.xml]
 to: org.jboss.metadata.ejb.jboss.jboss50metad...@1f
  | 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243812
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: DLQ not recieving messages upon Exception

2009-07-15 Thread ataylor
looks like you are using JBossMQ, this is the JBoss Messaging forum, try the MQ 
forum they should be able to help you

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243813
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Error deploying simple servlet

2009-07-15 Thread xmedeko
Hi,

is you are using WPT plugin (and I guess you are) then a hot run should be 
working for you. Don't export your project. Just deploy it. If you do not see 
it in the list of the deployable stuff, then you have probably made just plain 
Java project. You have to make Java Web project.

Whey you deploy your project directly, then hot run should work fine for JSPs, 
HTMLs, etc. You can double click on the JBoss server in the server view and set 
the Publishing interval to 0sec if you are impatient.

But if you change some Java code, you have to redeploy the whole application. 
The redeploy is made via touching the web.xml file. There's a special button in 
Eclipse top tool bar for this - such a white hand with index finger pointing 
up, tooltip is Touch descriptors. Or you can right click on the war node in 
Jboss server and chose Full redeploy

Other possibility is to use JBoss Tools Archiver. Then you may have just plain 
Java project. Just pack your project by JBoss archiver and chose automatic 
archive update or update it manually by pressing one button.

Cheers
Andy

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243815
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - JBPM Migration 3.2.* - 4.*

2009-07-15 Thread johncarl81
I am very excited about the beta release of JBPM4.  From what I have read it 
has native Spring integration, which is something I require on my current 
project.  We have had a lot of success with JBPM 3.2.2 processes in our 
production user management system (custom, I wrote), but have hit a couple road 
blocks in terms of the Spring integration module (timers, sub-processes, etc).  
The module really is incomplete.

What are the plans for a migration tool or any other possibilities for 
migrating the 3.2.* schema to a 4.* schema?  I would hate to have to loose all 
the production data or do a manual data conversion myself.

Also, I assume there is going to be a JBoss Happy Pad for 4.*.  Is this correct?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243816
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How to get history variables and processInstanceId from

2009-07-15 Thread rujimethut
Thank you jbrrez, I will be looking forward for this feature.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243817
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: About JBoss user's configuration

2009-07-15 Thread xmedeko
the_sinner wrote : my application falls down when 4 users or more login and 
use it.

It looks more like a bug in your application? Or does your app is so resource 
consuming? 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243818
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM Migration 3.2.* - 4.*

2009-07-15 Thread jbarrez
anonymous wrote : I am very excited about the beta release of JBPM4. 

jBPM4 isnt beta anymore ... GA was released last Friday. But we're very happy 
that you are excited :-)

anonymous wrote : From what I have read it has native Spring integration, which 
is something I require on my current project. We have had a lot of success with 
JBPM 3.2.2 processes in our production user management system (custom, I 
wrote), but have hit a couple road blocks in terms of the Spring integration 
module (timers, sub-processes, etc). The module really is incomplete.

The new spring-integration fixes all the flaws of the Spring module approach. 
Take a look at the dev guide for documentation about the Spring integration.

anonymous wrote : What are the plans for a migration tool or any other 
possibilities for migrating the 3.2.* schema to a 4.* schema? I would hate to 
have to loose all the production data or do a manual data conversion myself.
  | 
  | Also, I assume there is going to be a JBoss Happy Pad for 4.*. Is this 
correct?

The jBPM 4.0 distribution has a 'migration tool' for process definitions 
(xmls). This will get you started, but will not cover every feature yet. Also, 
check the dev guide for more info.

For data migration, we simply don't have the team resources to work out a 
complete database migration. So unless someone hire JBoss consultants to do it 
and open sources it, this will not happen.

Note that jBPM4 is designed so it can run next to jBPM3 (no package name 
clashes or database schema clashes).

More migration info, see devguide: 
http://docs.jboss.com/jbpm/v4.0/devguide/html_single/

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243820
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Variable missing in assignment handler

2009-07-15 Thread kukeltje
Implicit is possible by extending and overriding the subprocess node 
implementation.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243821
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Newlines/spaces in SOAPMessage

2009-07-15 Thread alessio.sold...@jboss.com
This reminds me of something related to CR/LF when dealing with signatures.
Where do you get the soap elements content from? are you reading them from file?


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243822
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: HistoryVariable create bug ?

2009-07-15 Thread kukeltje
anonymous wrote : but In my case the taskImpl id may be not the same with 
HistoryTaskImpl id

Why? Because you implemented something yourself, or by something jBPM does. If 
the latter is the case, Please make a unittest that demonstrates the problem. 


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243823
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Using SUN's SAAJ implementation

2009-07-15 Thread alessio.sold...@jboss.com
See my reply on the other thread you opened on this.
Besides that, you can't use Sun's SAAJ implementation directly on JBoss AS with 
JBossWS-Native.
If you really want to get rid of jbossws-native-saaj anyway, you can try 
JBossWS-CXF and/or JBossWS-Metro.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243824
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: Installing a context leads to resolve of other unrelated

2009-07-15 Thread jaikiran
alesj wrote : 
  | Or how else are you gonna know what and when something can be moved?
  | 
Isn't that the job of the deployers (ex: BeanMetadataDeployer) to install 
(which internally will move it to various states) the specific context(s)?

alesj wrote : 
  | e.g. you might have some implicit dependencies
  | * some bean sets some static flag, the other one inspects that as its 
dependency
  | * we put something into JNDI, something else tries to pull that out
  | 
Shouldn't an implicit dependency be turned (by some piece of code) into an 
explicit dependency? For #1, the other bean is actually depending on the some 
bean for the static flag, so shouldn't this dependency be created explicitly? 
Same holds for #2

alesj wrote : 
  | Not to mention it would be too much + duplicated work to check for only 
those which might be affected by this new install / move.
  | Whereas this is simple, but pretty much bullet proof concept.

Looking at what resolveContexts does:
1) Get all possible From and To states
2) Try to resolve all contexts for each of these From state to To state
3) #2 internally involves resolving dependencies of each of these contexts
4) Install any resolved contexts

Isn't this expensive (correct me if i am wrong) and is being done for every 
context being installed.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243825
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: node_enter event trouble

2009-07-15 Thread kukeltje
:-) Google often is of assistence with replacing chars or even different 
spelling. Why it does not help with a _ vs - is strange

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243826
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JPDL Eclipse plugin source for JBPM 4.0-CR release

2009-07-15 Thread kukeltje
JBoss Tools project

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243827
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Any recommendation how to use JBM2 Producers Pool?

2009-07-15 Thread adridi
Thanks Tim and Andy!
The JCA adapter pool works great for me.

Abdel

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243829
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: sending Soap message with timeout

2009-07-15 Thread alessio.sold...@jboss.com
The point here is SAAJ does not define an API for setting the timeout directly 
using the SOAPConnection. So you need to use some kind of proprietary stuff.
Forget about Axis, you can't use it with JBossWS. Take a look at the 
JBossWS-Native (I assume that's what you're using) 
org.jboss.ws.core.client.HTTPRemotingConnection that is used under the hood by 
org.jboss.ws.core.soap.SOAPConnectionImpl (which in turn is the JBossWS-Native 
impl of SOAPConnection).
HTTPRemotingConnection basically receives and endpoint object which can be an 
instance of EndpointInfo. That can contain a properties map including 
org.jboss.ws.timeout property. Setting that, you should be able to basically 
achieve what you get setting the same prop in the request context when 
performing a call through a ws port.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243831
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: JBoss WS Pojos endpoint authentication

2009-07-15 Thread alessio.sold...@jboss.com
https://jira.jboss.org/jira/browse/JBWS-2697

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243835
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: java.lang.NullPointerException in CreateDeploymentQueryC

2009-07-15 Thread shekharv
Could you post your jbpm configuration?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243837
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Problem with JBoss and DataSource

2009-07-15 Thread PeterJ
The issue is that once you place a resource-ref into web.xml, then the app 
expects to find the resource in the local naming context 
(java:/comp/env/portalDS). But you need to tell JBoss AS to map the name back 
to the java: namespace. To do that, place an entry for the datasource in 
WEB-INF/jboss-web.xml:

jboss-web
  |   resource-ref
  | res-ref-nameportalDS/res-ref-name
  | jndi-namejava:portalDS/jndi-name
  |   /resource-ref
  | /jboss-web

Also, please use 'code' tags around your XML text - select the text and click 
the Code button above the editor window.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243838
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: sending Soap message with timeout

2009-07-15 Thread sbutt
Thanks for your reply but i solved that problem using Jboss ESB's internal HTTP 
router class: org.jboss.soa.esb.actions.routing.http.HttpRouter

One can send soap messages with it as well, and set connection/socket Timeouts 
(http properties) etc as well.

Thanks.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243839
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: node_enter event trouble

2009-07-15 Thread shekharv
funny you say that Ronald, coz it actually does prompt a correction for me, :P

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243842
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: JBossAS 5.1.0.GA 3.1.2.GA META-INF

2009-07-15 Thread alessio.sold...@jboss.com
As a reference, I'd suggest you to take a look at the jbossws wsse sample 
artifacts that are built for AS5 in jbossws testsuite. Basically AS 5 is strict 
to standards regarding where to load resources from.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243843
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Junit failed.

2009-07-15 Thread PeterJ
Looking at this code and the error message, I believe that the error message 
has nothing to do with the code, but rather that the junit task within ant is 
incorrect. As a guess, I suspect that the Client.class file is in the wrong 
location relative to the classpath - the error seems to say that it found 
Client.class in a base directory rather than within the 
com/ip6networks/calling_card_registration/test/ directory.

If the above does not help you, please post the full target that include the 
junit task. When posting that, please enclose it within 'code' tags - select 
the XML text and click the Code button above the editor window. Also, use the 
Preview button to ensure proper formatting before clicking Submit.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243844
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM Migration 3.2.* - 4.*

2009-07-15 Thread johncarl81
Thank you for the quick reply.

jbarrez wrote : anonymous wrote : I am very excited about the beta release of 
JBPM4. 
  | 
  | jBPM4 isnt beta anymore ... GA was released last Friday. But we're very 
happy that you are excited :-)
  | 

Even better... where am I getting my dated information?

jbarrez wrote : 
  | Note that jBPM4 is designed so it can run next to jBPM3 (no package name 
clashes or database schema clashes).
  | 

That might be an acceptable solution, to run 3  4 in tandem, but might make 
the application a bit bloated, especially with the wacky spring integration 
module... I'll certainly keep it in mind.

jbarrez wrote : 
  | More migration info, see devguide: 
http://docs.jboss.com/jbpm/v4.0/devguide/html_single/

Thanks for the link to the dev guide... I had not found that documentation yet.

I am going to give the upgrade and data migration to version 4 a try.  We are 
not using a lot of the functionality in 3 and this might help us in the move.  
If you are interested I will keep you informed.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243845
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to enable Directory Browsing on jboss 5 like in IIS

2009-07-15 Thread miracles
Hey,

Thanks it's work.

But I have one more Q, Can I configured that to point to a path, to one folder 
only and if i can haven secure that it will be great ?

And how if you can.

Thank You :)


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243846
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: DOM API on SOAPElementImpl causes NotImplementedExceptio

2009-07-15 Thread alessio.sold...@jboss.com
get/setTextContent has recently been implemented in NodeImpl. Something else is 
simply not implemented yet. Feel free to create a jira issue for this and link 
that here (btw this is an easy chance for contributing adding a small patch ;-) 
).

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243847
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Failed shutdown attempt

2009-07-15 Thread zyadamec
I know this is kind of an older topic, but I am having a similar issue.

OS: Win 2k3 
JDK: 1.5.0_16

When attempting a shutdown using 'shutdown -s' or using jopr's shutdown 
command.  The think i have noticed is that the actual 'java.exe' process does 
not seem to fully exit holding on to the ports.  We are looking into a solution 
on our end, but for now we have to kill the java process manually before 
restarting jboss.  

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243848
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: WebService Client with MTOM

2009-07-15 Thread alessio.sold...@jboss.com
Despite having a basic implementation of WS-Policy, JBossWS-Native does not 
support policies for setting MTOM. This means you need to manually set mtom on 
client side (please refer to the documentation) or switch to JBossWS-CXF / 
JBossWS-Metro.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243849
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-07-15 Thread PeterJ
anonymous wrote : can we write a custom login module?

Yes, you can. You can use any of the existing login modules as a guideline. 
Most likely you will want to subclass the UsernamePasswordLoginModule class.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243850
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: org.jboss.ws.WSException: Cannot uniquely indentify oper

2009-07-15 Thread alessio.sold...@jboss.com
Sure, lots of people use JBossWS as client of Microsoft ws endpoints.
This said, there might be something weird with the wsdl. Can you try posting it?

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243851
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: missing ant.properties.examples

2009-07-15 Thread alessio.sold...@jboss.com
Btw there's been a timeframe in the past where the ant.properties.example was 
missing (you had a custom ant.properties instead). This has already been fixed 
anyway.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243852
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: JBoss 5.0.1.GA, JBossWS 3.0.5, JDK 1.6 - java.lang.Unsup

2009-07-15 Thread alessio.sold...@jboss.com
Thanks Peter for spreading the right directions on this topic.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243855
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Error in a web application on JBoss: javax.servlet.ServletEx

2009-07-15 Thread fabriciorsf
The following page the error occurs during execution of a web application in 
JBoss:


  | HTTP Status 500 -
  | 
  | type Exception report
  | 
  | message
  | 
  | description The server encountered an internal error () that prevented it 
from fulfilling this request.
  | 
  | exception
  | 
  | javax.servlet.ServletException: Wrapper cannot find servlet class 
XXXServlet or a class it depends on
  | 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:81)
  | 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:177)
  | 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
  | org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
  | 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
  | 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
  | 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
  | 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
  | java.lang.Thread.run(Thread.java:619)
  | 
  | root cause
  | 
  | java.lang.ClassNotFoundException: XXXServlet
  | java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  | java.security.AccessController.doPrivileged(Native Method)
  | java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | java.lang.ClassLoader.loadClass(ClassLoader.java:307)
  | java.lang.ClassLoader.loadClass(ClassLoader.java:252)
  | 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:81)
  | 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:177)
  | 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
  | org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
  | 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
  | 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
  | 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
  | 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
  | java.lang.Thread.run(Thread.java:619)
  | 
  | note The full stack trace of the root cause is available in the Apache 
Tomcat/5.0.30 logs.
  | Apache Tomcat/5.0.30
  | 

I think that has something to do with web.xml descriptor.

Contents of web.xml:

  | ?xml version=1.0 encoding=ISO-8859-1?
  | 
  | !DOCTYPE web-app
  | PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
  | http://java.sun.com/j2ee/dtds/web-app_2_2.dtd;
  | 
  | web-app
  | servlet
  | servlet-nameXXXServlet/servlet-name
  | servlet-classXXXServlet/servlet-class
  | /servlet
  | servlet-mapping
  | servlet-nameXXXServlet/servlet-name
  | url-pattern/XXXServlet/url-pattern
  | /servlet-mapping
  | welcome-file-list
  | welcome-fileprincipal.jsp/welcome-file
  | /welcome-file-list
  | 
  | resource-ref
  | ...
  | /resource-ref
  | 
  | session-config
  | session-timeout30/session-timeout
  | /session-config
  | 
  | /web-app
  | 

And to ensure that the XXXServlet.class is at the correct location, is 
displayed below of the output of command:
jar -tf folder-jboss_deploy/.war


  | ~$ jar -tf folder-jboss_deploy/xxx.war
  | ...
  | META-INF/ejb-jar.xml
  
  | META-INF/jboss.xml  
  
  | WEB-INF/classes/XXXServlet.class
  
  | WEB-INF/classes/com/jspsmart/upload/File.class  
  
  | WEB-INF/classes/com/jspsmart/upload/File.class.hacked   
  
  | WEB-INF/classes/com/jspsmart/upload/File.class.original 
  
  | WEB-INF/classes/com/jspsmart/upload/Files.class
  | ...
  | 

Someone could help me this problem?

Now, thanks!

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243856
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user