[jboss-user] [JBoss jBPM] - Decision node has problem with the handler class.

2008-01-02 Thread rainhust
the jpdl:

  | task-node name=chief examine
  | description
  | ??
  | /description
  | task name=chief examine
  | description
  | 
  | /description
  | assignment 
class=demo.workflow.assignment.ChiefAssignment/assignment
  | controller
  | variable access=read name=reimbursementId 
mapped-name=rid/variable
  | /controller
  | /task
  | transition to=requester fix the reimbursement form 
name=need modify form/transition
  | transition to=decision name=to result/transition
  | /task-node
  | 
  | decision name=decision
  | description
  | 
  | /description
  | handler class=demo.workflow.action.DecisionProcess/handler
  | transition to=handle result name=to result/transition
  | transition to=boss examine name=to boss 
examine/transition
  | transition to=financial affairs process name=to financial 
affairs process/transition
  | /decision
  | 
  | 

use this code to end the taskInstance:

  | public static void main(String[] args) {
  | JbpmConfiguration config=JbpmConfiguration.getInstance();
  | JbpmContext jbpmContext=config.createJbpmContext();
  | 
  | TaskInstance ti = jbpmContext.getTaskInstance(18);
  | 
  | ti.end(to result); // this will go to the Decision node,cause 
exception
  | //ti.end(need modify form); // if use this test, everything is ok.
  | jbpmContext.close();
  | 
  | 
  | }
  | 

when the process go to the Decision node , cause error.

15:56:21,764 [main] DEBUG Token : token[9] is unlocked by token[9]
  | 15:56:21,780 [main] ERROR GraphElement : action threw exception: id to load 
is required for loading
  | java.lang.IllegalArgumentException: id to load is required for loading
  | at org.hibernate.event.LoadEvent.init(LoadEvent.java:51)
  | at org.hibernate.event.LoadEvent.init(LoadEvent.java:33)
  | at org.hibernate.impl.SessionImpl.get(SessionImpl.java:812)
  | at org.hibernate.impl.SessionImpl.get(SessionImpl.java:808)
  | at 
demo.workflow.action.ProcessResultAction.execute(ProcessResultAction.java:24)
  | at org.jbpm.graph.def.Action.execute(Action.java:122)
  | at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:264)
  | at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:220)
  | at 
org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:190)
  | at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:174)
  | at org.jbpm.graph.def.Node.enter(Node.java:303)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
  | at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$42da374e.enter(generated)
  | at org.jbpm.graph.def.Transition.take(Transition.java:151)
  | at org.jbpm.graph.def.Node.leave(Node.java:394)
  | at 
org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:136)
  | at org.jbpm.graph.node.Decision.execute(Decision.java:152)
  | at org.jbpm.graph.def.Node.enter(Node.java:319)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
  | at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$42da374e.enter(generated)
  | at org.jbpm.graph.def.Transition.take(Transition.java:151)
  | at org.jbpm.graph.def.Node.leave(Node.java:394)
  | at org.jbpm.graph.node.TaskNode.leave(TaskNode.java:209)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
  | at 
org.jbpm.graph.node.TaskNode$$EnhancerByCGLIB$$7edde70c.leave(generated)
  | at org.jbpm.graph.exe.Token.signal(Token.java:195)
  | at org.jbpm.graph.exe.Token.signal(Token.java:166)
 

[jboss-user] [JBoss Seam] - Swapping JSF implementation in JEE5 AS

2008-01-02 Thread hubaghdadi
Hi.
I have been reading an article at java.sun.com regarding what is new in JEE5.
According to the article, it is impossible to swap JSF implementation, we are 
forced to use the application server's JSF version.
If this is the case, how can we use Trinidad for example in a Seam application 
deployed in JEE5 AS?
Thanks.

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

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


[jboss-user] [JBoss Tools (users)] - Re: (empty) seam web project fail?

2008-01-02 Thread [EMAIL PROTECTED]
for me it sounds like you actually did succeed in creating the seam project but 
can't run it, correct ?

It looks like you are running JBoss with Java 1.4 since otherwise you shouldn't 
see UnsupportedClassVersionError.

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

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


[jboss-user] [JBossWS] - Re: How to replace REPLACE_WITH_ACTUAL_URL with dot form IP

2008-01-02 Thread [EMAIL PROTECTED]
Hi,

   you can set it up in file jbossws.sar/META-INF/jboss-beans.xml by setting 
the text value of

/deployment/[EMAIL PROTECTED]'WSServerConfig']/[EMAIL 
PROTECTED]'webServiceHost']

element

Richard

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

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


[jboss-user] [JBoss Seam] - Re: Page history

2008-01-02 Thread Marx3
Can I use built-in conversation stack so each page would start conversation?
So one page = one conversation.

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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.0GA + Maven2 doesn`t work...

2008-01-02 Thread Marx3
I saw this blog but I prefer complete example. I think it's much better to have 
good working example.

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

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


[jboss-user] [JBossWS] - Re: DateTime Format errors

2008-01-02 Thread [EMAIL PROTECTED]
Hi Matthew,

   you have two options:

 * mark date field as required in your WSDL contract

or

 * throws Exception when you receive date with value null

Richard

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

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


[jboss-user] [JBossWS] - Re: JBossWS integration with Standalone Tomcat

2008-01-02 Thread [EMAIL PROTECTED]
yogeshkb wrote : Is their any further plans to support Tomcat in future..?
  | 

There are no plans to support Tomcat integration in near future

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

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


[jboss-user] [JBossWS] - Re: problem with jbossws examples

2008-01-02 Thread [EMAIL PROTECTED]
Hi,

   your problem can be your service depends directly or indirectly on classes 
that are not on the classpath.

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

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


[jboss-user] [JBossWS] - Re: jbossws2.0.2 codepage problems

2008-01-02 Thread [EMAIL PROTECTED]
Hi,

   it seems you are fighting with your system default settings. You can specify 
the default encoding on commandline when starting JBoss server.

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

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


[jboss-user] [JBoss Seam] - Re: JBoss Tools candidate release

2008-01-02 Thread Marx3
i've used RHDS and when I saw it isn't free i've tried JBoss Tools. I use them 
in production environment.
I've downloaded WTP, JBossTools and only one plugin PropertiesEditor, nothing 
more.
WTP+JBossTools is totally unstable. It hangs (I can click menu etc but no 
action is made) and sometimes Eclipse closes without any warning or error. 
There is something wrong with such setup. Problem is in part with WTP, because 
I had similair behaviours - sudden exiting - with WTP only, and in part with 
JBossTools (hanging).

Now I'm back to RHDS beta - it's stable as rock.

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

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


[jboss-user] [JBoss Seam] - Re: Maven2 example application for Seam2

2008-01-02 Thread Marx3
Very good idea! We need something which works. Unfortunatelly I can't help 
because i'm not good with Maven

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

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


[jboss-user] [JBoss Seam] - Re: injection in tests ?

2008-01-02 Thread berkay
any solution ?

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

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


[jboss-user] [Beginners Corner] - insert record in associated tables

2008-01-02 Thread vikramchhetryy
Hi All,
I have two associated tables viz. User and LoginInfo.
User table contains:-
UserId
FirstName

LoginInfo table contains:-
UserName
Password

i want to insert data in both the tables from a single screen.
I have no idea how to do that using EntityManager class.

Any help would be appreciated.

-Vikram


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

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


[jboss-user] [JBoss Tools (users)] - Re: problem configuring testing with Seam project

2008-01-02 Thread laksu
I already was using 2.0.1.CR1. I just had thought Seam did not get initialized 
properly and so the Entity Manager. And I thought that was because i had 
something missing with the embedded JBoss. I discovered the thegenerated log4j 
configuration was at ERROR level so i did not see what actually happened down 
there. I changed it, traced it and solved the issue.
Thank you very much.

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

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


[jboss-user] [JBoss Seam] - @Startup usage

2008-01-02 Thread hubaghdadi
Hi.
What is the typical usage of @Startup annotation?
Thanks.

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

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


[jboss-user] [Beginners Corner] - Re: insert record in associated tables

2008-01-02 Thread vikramchhetryy
vikramchhetryy wrote : 
  | LoginInfo table contains:-
  | UserName
  | Password
  | 

Correction-
LoginInfo table contains:-
UserId
UserName
Password


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

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


[jboss-user] [JBoss Seam] - Re: Database flush problem

2008-01-02 Thread mirko27
Merging gave me following stacktrack:

  | uncaught exception
  | java.lang.IllegalStateException: Could not commit transaction
  | at 
org.jboss.seam.jsf.SeamPhaseListener.commitOrRollback(SeamPhaseListener.java:592)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsAfterPhase(SeamPhaseListener.java:325)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:226)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:184)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | at 
com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17)
  | at 
com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCyclePartial(ReceiveSendUpdates.java:67)
  | at 
com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:43)
  | at 
com.icesoft.faces.webapp.http.core.IDVerifier.service(IDVerifier.java:25)
  | at 
com.icesoft.faces.webapp.http.core.ViewBoundServer.service(ViewBoundServer.java:52)
  | at 
com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)
  | at 
com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)
  | at 
com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
  | at 
com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:29)
  | at 
com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:117)
  | at 
com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:37)
  | at 
com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
  | at 
com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
  | at 
com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:76)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
  | at 
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
  | at 
org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855)
  | at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
  | at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542)
  | at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:440)
  | at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366)
  | at 
com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:54)
  | at 
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
  | at 
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
  | at 
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
  | at 

[jboss-user] [JBossWS] - Unsupported content type Exception while consuming JbossWS

2008-01-02 Thread techie_techie
Hi,

My web service is hosted on Jboss 4.0.4 GA and Jboss WS 1.0.2 GA. Web service 
is document/literal style and JSR181 based.

I have created JBossWS 1.0.2 web service client to consume the web service 
using JAX-RPC style - ServiceFactory method as given in the sample examples of 
the Jboss WS 1.0.2 GA.

Service is over HTTPS and so did the necessary SSL configuration on the client 
to access the service.

Web service client code is invoked through a JSP.

With this way, I am able to invoke some services but when invoking one 
particular service I am getting the following exception.

Any idea what is missing? Is it something to do with MessageFactory?


2007-12-31 16:00:59,125 DEBUG 
[org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker] connect called for: 
[EMAIL PROTECTED]
  | 2007-12-31 16:00:59,125 DEBUG 
[org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker] Setting request 
header with SOAPAction : 
  | 2007-12-31 16:00:59,125 DEBUG 
[org.jboss.remoting.transport.http.ssl.HTTPSClientInvoker] Setting request 
header with Content-Type : text/xml; charset=UTF-8
  | 2007-12-31 16:00:59,156 DEBUG 
[org.jboss.ws.binding.soap.SOAPMessageUnMarshaller] getMimeHeaders from: 
{null=[HTTP/1.1 200 OK], ResponseCodeMessage=OK, 
Set-cookie=[JSESSIONID=2000581CECAB64B685C0648F6E818CB2;Path=/webauth;Secure], 
Transfer-encoding=[chunked], http.basic.password=admin12, Date=[Mon, 31 Dec 
2007 10:13:45 GMT], http.basic.username=admin, Server=[Sun-ONE-Web-Server/6.1], 
HEADER={SOAPAction=, Content-Type=text/xml; charset=UTF-8}, 
Content-type=[text/html;charset=ISO-8859-1], ResponseCode=200}
  | 2007-12-31 16:00:59,156 DEBUG [org.jboss.ws.soap.MessageFactoryImpl] 
createMessage: [contentType=text/html; charset=ISO-8859-1]
  | 2007-12-31 16:00:59,156 ERROR 
[org.jboss.ws.binding.soap.SOAPMessageUnMarshaller] Cannot unmarshall 
SOAPMessage
  | javax.xml.soap.SOAPException: Unsupported content type: text/html; 
charset=ISO-8859-1
  |  at 
org.jboss.ws.soap.MessageFactoryImpl.createMessageInternal(MessageFactoryImpl.java:204)
  |  at 
org.jboss.ws.binding.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:76)
  |  at 
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:175)
  |  at 
org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:81)
  |  at 
org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
  |  at org.jboss.remoting.Client.invoke(Client.java:525)
  |  at org.jboss.remoting.Client.invoke(Client.java:488)
  |  at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:186)
  |  at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:687)
  |  at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404)
  |  at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
  |  at $Proxy58.getAllServiceDomains(Unknown Source)
  |  at org.apache.jsp.nrsm_jsp._jspService(nrsm_jsp.java:173)
  |  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  |  at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  |  at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
  |  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  |  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  |  at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  |  at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  |  at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |  at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
  |  at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
  |  at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
  |  at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
  |  at 
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:419)
  |  at 
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)
  |  at 
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
  |  at 
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
  |  at 
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
  |  at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
  |  at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
  |  at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  |  at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |  at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
  |  at 

[jboss-user] [EJB 3.0] - Why does Thread.getContextClassLoader in an stateless bean r

2008-01-02 Thread yanfengzhang
I'm using JBoss AS 4.2.2.

I worked out an ear with a war and a ejb-jar and several library jars in it. 
Some more information:
1. there is a very simple servlet in the war which do nothing more than 
retrieving some messages from the back-end stateless session beans and showing 
them in the browser.
2. In the ejb-jar, I have several stateless beans and an interceptor class 
which has a method for @PostConstruct. In all the beans and the interceptor, I 
added something like the following:
 
  | System.out.println(Thread class loader: 
+Thread.currentThread().getContextClassLoader());
  | System.out.println(local class loader:  + 
this.getClass().getClassLoader());
  | 

The output is somehow amazing to me: the thread class loader is always 
WebappClassLoader for the stateless beans and interceptor! and the local class 
loader is UnifiedClassLoader3 in stateless session beans and interceptors and 
in servlet WebappClassLoader.

Should not the Thread.currentThread().getContextClassLoader() in stateless 
beans and interceptors return the same class loader as 
this.getClass().getClassLoader() (that is UnifiedClassLoader3 instead of 
WebappClassLoader)? Is that a bug?

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

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


[jboss-user] [JBoss Seam] - Re: Using @In to inject a reference to a bean in a different

2008-01-02 Thread EoinByrne
Sorry for the late responce - just got back from the holiday break. 

I have both beans annotated with @Name however the pojo is not.  Looking over 
the initial post it looks a little cryptic so I'll try to clarify it a little

In Jar A:
Pojo containing common code
Bean 1 - Stateless Bean using the @Name annotation

In Jar B:
Bean 2 extends Pojo - its stateful and named, it contains an instance var (Bean 
1) which is injected using the @In annotation but the refrence is null at 
runtime.

Initially everything was in one jar and Bean 2 was stand alone and it worked 
fine but now I'd like to seperate out some of the common stuff so I can reuse 
it in another project.

From what I can see in the documentation what I am trying to do should work 
fine, both beans should be in the same application scope because they are both 
living in the same ear file.



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

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


[jboss-user] [JBoss Seam] - Re: Swapping JSF implementation in JEE5 AS

2008-01-02 Thread [EMAIL PROTECTED]
Trinidad isn't a JSF implementation, it is a set of components (like RichFaces) 
for JSF. It runs on any JSF implementation AFAIK.

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

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


[jboss-user] [JBoss Seam] - Re: Maven2 example application for Seam2

2008-01-02 Thread [EMAIL PROTECTED]
anonymous wrote : Would it require the new version of JBoss Embedded to be 
released first?

Highly unlikely, there is nothing wrong with Seam or Embedded here, just the 
way Maven sets up the classpath when running tests.

anonymous wrote : Hopefully those working on Seam and/or JBossEmbedded can 
review this before their respective projects make their next releases.

Its not likely to happen for the next release, but perhaps 2.0.2

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

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


[jboss-user] [JBoss Seam] - Re: about component Name convention

2008-01-02 Thread [EMAIL PROTECTED]
What version of Seam?

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

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


[jboss-user] [JBoss Seam] - Re: injection in tests ?

2008-01-02 Thread [EMAIL PROTECTED]
If you are running SeamTest, then it should be an integration test. Post the 
whole log from the failed test, including the container start.

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

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


[jboss-user] [JBoss Seam] - Re: Swapping JSF implementation in JEE5 AS

2008-01-02 Thread hubaghdadi
I don't know a lot about Trinidad but AFAIK Trinidad offers a complete 
replacement of JSF standard components.
So, in order to use Trinidad, my application has to use a JSF implementation 
(like Sun RI or Apache MyFaces)?
And if it is the case, it is impossible to deploy Trinidad  MyFaces on JEE5 AS 
according to JEE5 restriction...
Please correct my if I'm wrong.

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

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


[jboss-user] [JBoss Seam] - Re: selectItems and enums

2008-01-02 Thread [EMAIL PROTECTED]
AFAIK this isn't possible, you need to expose your Enum values e.g. via an 
@Factory

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

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


[jboss-user] [JBoss Seam] - Back

2008-01-02 Thread Marx3
I have a form to submit picture. This form can be called from many different 
other forms, because I can attach pictures to many different objects. Hovewer I 
would like to have Back button acting like BackButton in browser. So I should 
always back to the form which has called my form. How should it be done in Seam?

Let's face simple example: FormObjectA and FormObjectB calls FormPicture.
How to define Back button so it back to caller?

I've tried:
1)many buttons with rendered attribute one for each caller (works but 
tedious) connected with many rule if-outcome in XML
2)render button with binding method returning proper action (has problems when 
binding takes place in stateful bean)
3)navigation from-action=back and rule-if connected with some parameter set 
in bean - working, but there are problems with passing parameter
4) What I think about but don't know how to make properly is to program 
javascript:go(-1) and have faith in proper behaviour of backButton covered by 
Seam.

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

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


[jboss-user] [JBoss Seam] - Re: @Startup usage

2008-01-02 Thread [EMAIL PROTECTED]
To cause a Application or Session scoped component to be started when the 
application or session starts.

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

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


[jboss-user] [JBoss Seam] - Re: Swapping JSF implementation in JEE5 AS

2008-01-02 Thread [EMAIL PROTECTED]
hubaghdadi wrote : So, in order to use Trinidad, my application has to use a 
JSF implementation (like Sun RI or Apache MyFaces)?

Yes.

anonymous wrote : And if it is the case, it is impossible to deploy Trinidad  
MyFaces on JEE5 AS according to JEE5 restriction...

Assuming you mean JBoss AS 5 by JEE5, then I think you can

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

but of course this would be untested/unsupported by JBoss. I suggest you ask 
about this on a JBoss AS forum.

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

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


[jboss-user] [JBoss Seam] - Re: Problem upgrading to Seam 2.0.1.CR1

2008-01-02 Thread [EMAIL PROTECTED]
Please file a JIRA issue, this was a bug we introduced in CR1, sorry about that.

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

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


[jboss-user] [JBoss Seam] - Re: One Seam component calling another

2008-01-02 Thread breako
Thanks for the replies, you spotted my mistake.
Happy New Year!

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

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


[jboss-user] [JBoss Seam] - Determining Database Type.

2008-01-02 Thread breako
Hi,
I have an EntityManager and I want to determine database type. This not part of 
the JPA spec, however some JPA vendors e.g. hibernate have a getConnection() 
API in their EntityManager implementation.
If you cast to this implementation and get a connection you can determine 
database type.

If using Seam Managed EntityManager, Seam injects a 
org.jboss.seam.persistence.EntityManagerProxy instance. So this API is not 
available. 
Is there any other way I can determine database type?

Reason I ask is because, we have to support a number of different database 
types and have to be able to determine dynamically and at runtime the database 
type to handle some custom stuff.

Regards


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

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


[jboss-user] [JBoss Portal] - Should we use Portlets+EJB3 for componentized enterprise app

2008-01-02 Thread avogt_sundn
We consider a design of uniform building blocks for an enterprise application 
portal, were the building blocks are EAR files that deliver UI as well as 
busines logic in one deployment. I'm interested in your opinion on this. Let me 
explain that:

- we want to build up on the best practices and open standards
- building blocks (one EAR) group business use cases
- the portal presents the available use cases to the user as it chooses from 
the deployed use cases (that calls for some kind of registry, hopefully EJB 
jndi is sufficient)

- we create portal pages for each instance of a use case (that gives the user 
something like tabbed browsing: one tab for each use case),
- on that page there are several portlets from different EARs (!) that are 
grouped and controlled under guidance of one orchestrating building block (an 
EJB), while the portlet implementation remains within the boundaries of its  EAR
- a use case has a page flow
- we have a portlet that has navigation menu for the page flow
- we have on the use case portal page a working region where at one time there 
will only be one portlet displayed
- the page flow is beyond JSF page flow: it can render various portlets on the 
working area. When the portlet (the jsf app within, to be exactly) finishes its 
user interaction, the page flow takes over and renders the next portlet in flow 
to the working area

Why the efforts? We want to have those building blocks to be highly reusable, 
especially the UI must be reusable as is; the cohesion within the building 
block is high since it s coupled with its UI as well as with its database tier.

What i need is some kind of injection of portlets within other portlets (or at 
least their controllers), so that one controller calls another when he likes to 
give him preset values and when he wants to extract return values from the 
portlets.

In the Seam group I read warnings not to declare dependencies on EJBs from 
foreign ear files because of class loader issues, and I read that it was not 
possible to biject EJBs from foreign ears.

So I was thinking about leveraging the Seam concepts to the Portal?
I could imagine that portal page to be the visualization of something like a 
new SEAM context.

Any opinions to that?

Armin

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

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


[jboss-user] [JCA/JBoss] - Re: Destroying connection that could not be successfully mat

2008-01-02 Thread vickyk
I need to see the logs to get more details , enable the log tracing for 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool and attach it 
here . 

 try
  |   {
  |  Object matchedMC = 
mcf.matchManagedConnections(Collections.singleton(cl.getManagedConnection()),
  |subject, cri);
  |  if (matchedMC != null)
  |  {
  | if (trace)
  |log.trace(supplying ManagedConnection from 
pool:  + cl);
  | cl.grantPermit(true);
  | return cl;
  |  }
  | 
  |  //Match did not succeed but no exception was thrown.
  |  //Either we have the matching strategy wrong or the
  |  //connection died while being checked.  We need to
  |  //distinguish these cases, but for now we always
  |  //destroy the connection.
  |  log.warn(Destroying connection that could not be 
successfully matched:  + cl);
  |  synchronized (cls)
  |  {
  | checkedOut.remove(cl);
  |  }
The above code is from 
http://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_2/connector/src/main/org/jboss/resource/connectionmanager/InternalManagedConnectionPool.java

It is this code which is displaying the warning .
Looks to me the issue with matchManagedConnection implementation of MCF . 
Give me more details about the MCF implementation of matchManagedConnection .


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

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


[jboss-user] [JBoss Seam] - Re: Lazy loading exception with Seam EM

2008-01-02 Thread [EMAIL PROTECTED]
One way is to use

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

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

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


[jboss-user] [JBoss Seam] - Re: JBoss Tools candidate release

2008-01-02 Thread [EMAIL PROTECTED]
http://blog.xam.dk/archives/79-Eclipse-The-Memory-Hog-resolved!.html

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

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


[jboss-user] [EJB 3.0] - Re: Em.persist in loop

2008-01-02 Thread kaviarasu
Ya em.merge helped me 
Thank u

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

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


[jboss-user] [JBoss Seam] - Re: @Startup usage

2008-01-02 Thread hubaghdadi
By started you mean created?
Why would I use @Startup if I already have @Create?

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

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


[jboss-user] [JBoss Seam] - Richfaces with Maven and Tomcat 6

2008-01-02 Thread rmcalderero
Hello,

Is there any working 'mavenized' seam application with richfaces as one of its 
dependencies?

I've tried different dependencies in the pom based on some non official blogs, 
but none worked. Maybe some can provide one.

Our app was based on the jboss-seam-jpa example and is deployed under tomcat6. 
The app runs ok when the jars are included manually.

pom.xml

  | ?xml version=1.0 encoding=UTF-8?
  | project xmlns=http://maven.apache.org/POM/4.0.0;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;
  | 
  |   modelVersion4.0.0/modelVersion
  |   groupIdorg.fundacionctic.seam/groupId
  |   artifactIdmonitor/artifactId
  |   packagingwar/packaging
  |   namemonitor/name
  |   version0.1/version
  |   urlhttp://fundacionctic.org/url
  | 
  |   !--  
  | pluginRepositories
  | pluginRepository
  | idapache.snapshots/id
  | url
  | 
http://people.apache.org/repo/m2-snapshot-repository/
  | /url
  | /pluginRepository
  | /pluginRepositories
  | --
  | 
  | build
  | finalNamemonitor/finalName
  | plugins
  | plugin
  | artifactIdmaven-war-plugin/artifactId
  | configuration
  | 
warSourceDirectoryWebContent/warSourceDirectory
  | /configuration
  | /plugin
  | 
  | plugin
  | groupIdorg.apache.maven.plugins/groupId
  | artifactIdmaven-compiler-plugin/artifactId
  | configuration
  | source1.5/source
  | target1.5/target
  | encodingutf8/encoding
  | /configuration
  | /plugin
  | 
  | /plugins
  | /build
  | 
  | 
  | repositories
  | repository
  | idjboss.org/id
  | namejboss.org/name
  | urlhttp://repository.jboss.com/maven2/url
  | /repository
  | /repositories
  | 
  | 
  | dependencies
  | 
  | dependency
  | groupIdjunit/groupId
  | artifactIdjunit/artifactId
  | version3.8.1/version
  | scopetest/scope
  | /dependency
  | 
  | !-- TestNG --
  | dependency
  | groupIdorg.testng/groupId
  | artifactIdtestng/artifactId
  | version5.0/version
  | classifierjdk15/classifier
  | scopetest/scope
  | /dependency
  | 
  | dependency
  | groupIdjavax.servlet/groupId
  | artifactIdservlet-api/artifactId
  | version2.5/version
  | scopetest/scope
  | /dependency
  | 
  | dependency
  | groupIdjavax.el/groupId
  | artifactIdel-api/artifactId
  | version1.0/version
  | scopetest/scope
  | /dependency
  | 
  | !-- Seam --
  | dependency
  | groupIdorg.jboss.seam/groupId
  | artifactIdjboss-seam/artifactId
  | version2.0.0.GA/version
  | exclusions
  | exclusion
  | artifactIdel-api/artifactId
  | groupIdjavax.el/groupId
  | /exclusion
  | /exclusions
  | /dependency
  | 
  | dependency
  | groupIdorg.jboss.seam/groupId
  | artifactIdjboss-seam-ui/artifactId
  | version2.0.0.GA/version
  | exclusions
  | exclusion
  | artifactIdel-api/artifactId
  | groupIdjavax.el/groupId
  | /exclusion
  | /exclusions
  | /dependency
  | 
  | dependency
  | groupIdorg.jboss.seam/groupId
  | artifactIdjboss-seam-debug/artifactId
  | version2.0.0.GA/version
  | exclusions
  | exclusion
  | artifactIdservlet-api/artifactId
  | 

[jboss-user] [Beginners Corner] - Migrating to JBoss 4.2.2.GA

2008-01-02 Thread puzz
Hi,

Before migrating we had a lot of 

WARN  [TxConnectionManager] Prepare called on a local tx. Use of local 
transactions on 
a jta transaction with more than one branch may result in inconsistent data in 
some cases of failure

in our jboss log files.

Since we migrated it seems this warning instead generates an error.
I've also seen in other discussions that this warning now (in JBoss 4.2) 
generates errors.

I'm not really sure why we're getting the WARN/error in the first place.

An example of when the WARN/error is thrown:
A stateless EJB 3 session bean, where I use two other stateless beans to 
retrieve data from db. I try to retrieve the data from both stateless beans in 
the same method. And, voila, I get an error in JBoss 4.2 when retrieving data 
from the second stateless bean. I remember that the above mentioned WARN was 
generated when the method was done when we used an earlier version of JBoss.

Anyone has an idea what I should do to correct this?

/Best regards, HÃ¥kan Jacobsson - System developer in Sweden

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

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

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


[jboss-user] [EJB 3.0] - Uploading multiple files from Client to server

2008-01-02 Thread kaviarasu
Hi 
i want to upload all  files from a folder in Client to Server 
Im using jsf as a front ent 
When if i test it in client side with Server in same machine and checks for the 
folder and upload all files it working 
But when the server is in remote palce how to upload all files from client 
folder to the server

I pasted my sample coding . I browse one file from the folder and using that i 
find the path to the folder and upload all fles from the folder  



  File f=new File(vname1);
  File f1=new File(f.getParent());
  int i=0;
  if(f1.isDirectory())
  {
  for(File a:f1.listFiles())
  {
FileInputStream fr 
= newFileInputStream(a);   FileOutputStream fw = new 
FileOutputStream(new File(location1,a.getName())); 
  while((i=fr.read())!=-1)
  {
  fw.write(i);
}
  fw.close();
  fr.close();
  }


the above code works when the server is in same machine 

when the server is in remote place it not working 

Thanks in advance 
happy new year 
Regards
Kaviarasu

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

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


[jboss-user] [JBoss/Spring Integration] - Re: Jboss 5 Beta 2 and Spring Deployer

2008-01-02 Thread alesj
Aha, forgot to mention. :-)

The behavior changed a bit, the default name is now the name of the -spring.xml 
file.
Renaming your -spring.xml file to spring-inject-spring.xml should do the trick.
If that doesn't help, also place your Spring module higher in the 
application.xml, since the order matters - spring module should be deployed 
before ejb3 module - if the ejb's use spring beans at some initialization.
If that also doesn't help, we'll need to introduce some dependency in our 
spring-deployers-beans.xml.

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

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


[jboss-user] [JBoss Seam] - Re: pageflow and parameters transmition

2008-01-02 Thread gazadonf
Hi, and happy new year to all of you.

No i don't.

I suppressed all of myPageNamepage.xml in the WebContent and in my pages.xml i 
only have reference to my pagefolws.

Here is my pages.xml

  | ?xml version=1.0 encoding=UTF-8?
  | pages xmlns=http://jboss.com/products/seam/pages;
  |xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |xsi:schemaLocation=http://jboss.com/products/seam/pages 
http://jboss.com/products/seam/pages-2.0.xsd;
  |login-view-id=/login.xhtml
  |no-conversation-view-id=/index.xhtml  
  | 
  | page view-id=/login.xhtml
  | navigation from-action=#{identity.login}
  |   rule if=#{identity.loggedIn}
  | redirect view-id=/Activity.xhtml/ 
  | /rule
  | /navigation
  | /page
  | page view-id=/Activity.xhtml login-required=true
  | begin-conversation join=true pageflow=monPageflow/
  |/page   
  | 
  |page view-id=*
  | navigation from-action=#{identity.logout}
  |   end-conversation/
  |  redirect view-id=/login.xhtml/redirect
  | /navigation
  |/page
  | 
  | 
  | exception class=org.jboss.seam.framework.EntityNotFoundException
  | redirect view-id=/error.xhtml
  | messageNot found/message
  | /redirect
  | /exception
  | 
  | exception class=javax.persistence.EntityNotFoundException
  | redirect view-id=/error.xhtml
  | messageNot found/message
  | /redirect
  | /exception
  | 
  | exception class=javax.persistence.OptimisticLockException
  | end-conversation/
  | redirect view-id=/error.xhtml
  | messageAnother user changed the same data, please try 
again/message
  | /redirect
  | /exception
  | 
  | exception class=org.jboss.seam.security.AuthorizationException
  | redirect view-id=/error.xhtml
  | messageYou don't have permission to do this/message
  | /redirect
  | /exception
  | 
  | exception class=org.jboss.seam.security.NotLoggedInException
  | redirect view-id=/login.xhtml
  | messagePlease log in first/message
  | /redirect
  | /exception
  | 
  | exception class=javax.faces.application.ViewExpiredException
  | redirect view-id=/error.xhtml
  | messageYour session has timed out, please try again/message
  | /redirect
  | /exception
  | 
  | exception class=javax.faces.application.IllegalNavigationException
  | redirect view-id=/error.xhtml
  | messageYour session has timed out, please try again/message
  | /redirect
  | /exception
  |  
  | exception
  | redirect view-id=/error.xhtml
  | messageUnexpected error, please try again/message
  | /redirect
  | /exception
  | 
  | 
  | 
  | /pages
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: @Startup usage

2008-01-02 Thread sdegardin
@Startup cause the Application or Session scoped component to be started 
(instantiated) when the application or session starts.
Class level annotation

@Create Specifies that the method should be called when an instance of the 
component is instantiated by Seam. 
Method level annotation



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

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


[jboss-user] [Clustering/JBoss] - Using the scheduler in a cluster

2008-01-02 Thread teknokrat
We are setting up a clustered instance of jboss 4.2.2. One of our services is 
triggered via the scheduler to run periodically. Is there any information 
available as to what we need to do for this to work properly in a clustered 
environment? 

cheers 

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

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


[jboss-user] [JBoss Seam] - Re: seam-gen : reverse DB : many-to-many convention ?

2008-01-02 Thread [EMAIL PROTECTED]
exactly.

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

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


[jboss-user] [JBoss Seam] - Re: error in creating JBPM process with seam-generated Home

2008-01-02 Thread [EMAIL PROTECTED]
I guess the error occurs when creating the process, not when processing the 
method (the process is created after the method completes successfully).

But it is very hard to understand from that stack trace what the problem is. 
Post the process, lets see if we can eyeball a problem with it./

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

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


[jboss-user] [JBoss Seam] - Re: Action execution upon page load

2008-01-02 Thread fady.matar
Thanks Pete,
Could that become a new feature request? I believe it can be useful when 
rendering UI components.

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

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


[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-02 Thread [EMAIL PROTECTED]
trouby wrote : I still don't get it, what about links that -should- start a 
new conversation? is it possible to combine begin/end annotations together for 
the same method? like ending the current conversation and starting a new one?

Yes, but you have to end the current conversation before a redirect, and start 
a new conversation after a redirect (you can do this from pages.xml or from 
annotations). I've not seen a great use case for this though.


anonymous wrote : btw, I have a seam link which invoke an method that is 
annotated with @Begin, invoking the same link just after the first invocation 
throws begin method invoked from a long-running conversation, try using 
@Begin(join=true), so what should I do in such situation?? I don't want 
-another- conversation to start in this case,

If you want to join the current conversation, use join=true, otherwise, design 
your app so the use can't be on that page when a long running conversation is 
in progress.

anonymous wrote : I guess I'm doing something wrong, as in seam booking example 
the 'setHotel' is annotated with @Begin and can be invoked many times without 
this exception,

Yes, because you can't be on the page which calls this method and inside a long 
running conversation.

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

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


[jboss-user] [JBossCache] - JDBCCacheLoader bad performance when writing to DB

2008-01-02 Thread gmeroz
I use JDBCCacheLoader (JBossCache 2.0.0GA  Oracle in JBossAS) to persist a 
cahe to DB. When the cache is big it takes hours to persist.

It takes a lot of time to write the item into the DB. i loaded YourKit profiler 
to analyze the problem and learned that most time is spent in running SQL 
commands. YouKit shows that the time is spent mostly on Oracle driver's 
executeQuery  pingDatabase commands and that the following SQL commands are 
run:

1. 2600 * insert into jbosscache_table (obvious)
2. 15000 * select node from jbosscache_table where fqn=?
3. 600 * update jbosscache_table set node=? where fqn=?

i don't understand why there are 6 times more select statements than 
insert. 

Is it related to the number of '/' in the item key?

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

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


[jboss-user] [JBoss Seam] - Re: Action execution upon page load

2008-01-02 Thread [EMAIL PROTECTED]
Yes, it is something we have discussed (and consider useful), but it is 
currently hard to implement (I think we would need an  extension point added to 
facelets OR to use gravel style inline to the page declarations of stuff like 
page actions). So, do open a JIRA issue.

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

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


[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-02 Thread [EMAIL PROTECTED]
gus888 wrote : No, you didn't do anything wrong. As I posted above, the 
@Begin in booking example always was invoked in the same bean (hotelBooking), 
so no exception thrown.

What Seam component conversation demarcation is expressed in has no effect on 
conversation boundaries or behaviour.

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

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


[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-02 Thread [EMAIL PROTECTED]
trouby wrote : So if the same method that is annotated with @begin is invoked 
within the same bean -instance- a new conversation is created without exception?

No, this is not true.

anonymous wrote : what's the difference between a new conversation starting 
from the same bean instance or from different bean instance? why the behavior 
is different?

There is no difference, if there is, it is a bug.

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

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


[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-02 Thread [EMAIL PROTECTED]
trouby wrote : Well, sorry for being so annoying but I still don't get the 
point, If I have buttons that should start a conversation, propagation='none' 
is not an option

Normally I find that you don't want to start a new conversation whilst another 
one is running. Post your use case for this.

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

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


[jboss-user] [JBoss Portal] - Jboss Portal - Partial Refresh

2008-01-02 Thread adriano.ferranti
Does anybody have already used the partial refresh in JBoss Portal? I've 
followed the steps as described in reference guide, but the portal still 
performing a full refresh instead of just refreshing the changed portlet. 
Perhaps I'm missing some step.
If someone has some link for an example application using this feature or 
something like that, it would be nice !


Thanks

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

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


[jboss-user] [JBoss Portal] - What happened to IPC support in JBoss Portal 2.6.3?

2008-01-02 Thread mhinten
What happened to IPC support in JBoss Portal 2.6.3?

I cannot find any useful information in de reference guide, other than the 
following line:

IPC Inter-Portlet Communication API enables portlets to create links to other 
objects such as a page, portal or
window

But no other information is given. Previous versions of JBoss Portal included 
some documentation on IPC. Is that documentation still accurate? And why was it 
deleted from the current version?

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

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


[jboss-user] [JBoss Seam] - Re: MySQL Database with Seam Setup.. IS it correct?

2008-01-02 Thread [EMAIL PROTECTED]
Run seam-gen, it gives you the option to choose MySQL. Then take a look at the 
generated files.

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

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


[jboss-user] [JBoss Seam] - Re: Determining Database Type.

2008-01-02 Thread [EMAIL PROTECTED]
Use getDelegate to get the underlying JPA provider.

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

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


[jboss-user] [JBoss Seam] - Re: pageflow and parameters transmition

2008-01-02 Thread [EMAIL PROTECTED]
You need them ;) - otherwise the home doesn't know which object to manage.

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

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


[jboss-user] [JBoss Seam] - Re: Seam BPM - is there a way to 'filter' taskInstanceList

2008-01-02 Thread javabeats
Certainly. And contribute it back, should the code be good and useful for other 
people as well. ;)

I was hoping I could hook a drools-kind-of-solution here to easily swap it in 
runtime, or even disable such filtering capability as the user sees fit. That 
can still be accomplished by extending the component, as you suggested, but it 
implies in more coding - and, a script seemed like a better way.

But I see no problems extending it - the everlasting beauty of OOP in Java =D

Rodrigo

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

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


[jboss-user] [JBoss Seam] - Re: Database flush problem

2008-01-02 Thread mirko27
?

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

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


[jboss-user] [JBoss Seam] - Re: Design question with Rich GWT Ajax Client

2008-01-02 Thread sdegardin
Any idea ?

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

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


[jboss-user] [JBoss jBPM] - Process Instance Var Delete, (bug?)

2008-01-02 Thread MattOwens
Hi,

I've been working with JBPM for a while now, i've downloaded the source from 
CVS, everything seems to work fine except the deletion of process instance 
variables. 

As part of my unit tests, the code checks the database to which hibernate is 
connecting (Oracle in this case), to see if the tables are left in exactly the 
same state as which they began. All tests pass except the deletion of process 
instance variables. 

The strange thing is, the runtime reports the variable as deleted 
getProcessInstance.getVariables().size() is returned as 0, even though the 
records still exist in the db table jbpm_variableinstance.

Is this by design?
Thanks
M


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss 4.2.2: JMXException when starting JBoss withJBossTools

2008-01-02 Thread NSchweig
Hello,

I´m new to Jboss and Jboss Tools and the mailing-list.
Following problem I posted 2 days ago to the mailing list but received no 
answer; I don´t know if I took the right address?
(jboss-user@lists.jboss.org)

I hope, anybody can help me!! Thanks for that.

I tried to start Jboss (4.2.2 GA) with Eclipse and Jboss Tools.
I tried starting without any application, only JBoss and I wanted to look at 
the jmx-console.

In the console there appears the message that the server started successfully.

Output: 

13:43:16,613 INFO  [Server] Starting JBoss (MX MicroKernel)...
13:43:16,613 INFO  [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: 
SVNTag=JBoss_4_2_2_GA date=200710221139)
13:43:16,613 INFO  [Server] Home Dir: C:\Programme\jboss-4.2.2.GA
13:43:16,628 INFO  [Server] Home URL: file:/C:/Programme/jboss-4.2.2.GA/
13:43:16,628 INFO  [Server] Patch URL: null
13:43:16,628 INFO  [Server] Server Name: default
13:43:16,628 INFO  [Server] Server Home Dir: 
C:\Programme\jboss-4.2.2.GA\server\default
13:43:16,628 INFO  [Server] Server Home URL: 
file:/C:/Programme/jboss-4.2.2.GA/server/default/
13:43:16,628 INFO  [Server] Server Log Dir: 
C:\Programme\jboss-4.2.2.GA\server\default\log
13:43:16,628 INFO  [Server] Server Temp Dir: 
C:\Programme\jboss-4.2.2.GA\server\default\tmp
13:43:16,628 INFO  [Server] Root Deployment Filename: jboss-service.xml
13:43:17,082 INFO  [ServerInfo] Java version: 1.6.0_03,Sun Microsystems Inc.
13:43:17,082 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.6.0_03-b05,Sun Microsystems Inc.
13:43:17,082 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
13:43:17,550 INFO  [Server] Core system initialized
13:43:20,175 INFO  [WebService] Using RMI server codebase: 
http://127.0.0.1:8083/
13:43:20,175 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:jboss-log4j.xml
13:43:20,738 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA 
version) - JBoss Inc.
13:43:20,738 INFO  [TransactionManagerService] Setting up property manager 
MBean and JMX layer
13:43:20,910 INFO  [TransactionManagerService] Starting recovery manager
13:43:20,988 INFO  [TransactionManagerService] Recovery manager started
13:43:20,988 INFO  [TransactionManagerService] Binding TransactionManager JNDI 
Reference
13:43:23,816 INFO  [EJB3Deployer] Starting java:comp multiplexer
13:43:24,207 INFO  [STDOUT] no object for null
13:43:24,207 INFO  [STDOUT] no object for null
13:43:24,238 INFO  [STDOUT] no object for null
13:43:24,253 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
13:43:24,253 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
13:43:26,410 INFO  [NativeServerConfig] JBoss Web Services - Native
13:43:26,410 INFO  [NativeServerConfig] jbossws-native-2.0.1.SP2 
(build=200710210837)
13:43:27,566 INFO  [Embedded] Catalina naming disabled
13:43:27,722 INFO  [AprLifecycleListener] The Apache Tomcat Native library 
which allows optimal performance in production environments was not found on 
the java.library.path: 
C:\Programme\Java\jre1.6.0_03\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Programme\Java\jre1.6.0_03\bin\client;C:\Programme\Java\jre1.6.0_03\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Sun\AppServer\bin;;;øûýËå?|Kæ?|
13:43:27,785 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on 
http-127.0.0.1-8080
13:43:27,785 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on 
ajp-127.0.0.1-8009
13:43:27,785 INFO  [Catalina] Initialization processed in 224 ms
13:43:27,785 INFO  [StandardService] Starting service jboss.web
13:43:27,785 INFO  [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
13:43:27,832 INFO  [Catalina] Server startup in 46 ms
13:43:27,941 INFO  [TomcatDeployer] deploy, ctxPath=/, 
warUrl=.../deploy/jboss-web.deployer/ROOT.war/
13:43:28,722 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, 
warUrl=.../deploy/http-invoker.sar/invoker.war/
13:43:28,847 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, 
warUrl=.../deploy/jbossws.sar/jbossws-context.war/
13:43:28,957 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, 
warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
13:43:29,707 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, 
warUrl=.../deploy/management/console-mgr.sar/web-console.war/
13:43:30,097 INFO  [MailService] Mail Service bound to java:/Mail
13:43:30,285 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
13:43:30,332 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
13:43:30,378 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
13:43:30,425 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
13:43:30,503 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jms/jms-ra.rar
13:43:30,550 

[jboss-user] [Javassist user questions] - javax.naming.CommunicationException JBOSS 4.0.2

2008-01-02 Thread hemalmca
Hi 

I am new in the JBOSS community. I am facing one problem in JMSMQ. I am working 
JMSMQ. In my application there are nearly 16 standalone client which connected 
to JBOSS server through test/Topic. And every five minute each client send a 
JMS message to the server and server respond back as a jms message. But in long 
run neary 2 to 3 days i found the following exception from the client side.

javax.naming.CommunicationException: Receive timed out [Root exception is java.n
et.SocketTimeoutException: Receive timed out]
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:11
19)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1196)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:516)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.realsoft.JMSSender.sendMessage(JMSSender.java:40)
at com.realsoft.Test1.main(Test1.java:7)
Caused by: java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive(Native Method)
at java.net.DatagramSocket.receive(Unknown Source)
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:10
89)
... 6 more


Can anybody help me in resolving this issue.

Thanks in advance

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

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


[jboss-user] [JBoss Seam] - Weird Richfaces / pages.xml behavior

2008-01-02 Thread fady.matar
My application requires to authentication all the pages. The approach for 
ensuring that a user is logged is specified as follows in my pages.xml

page view-id=*
  |   navigation
  | rule if-outcome=home
  |   redirect view-id=/home.xhtml /
  | /rule
  |   /navigation
  | /page

Now this messes up Richfaces and the components are no longer rendered 
properly. It used to work fine before what has changed? 

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

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


[jboss-user] [EJB 3.0] - Re: Confused EJB3 Beginner - Ignored EJB3 Annotations

2008-01-02 Thread skidvd
Aha!  It turns out that my Annotations are not being ignored - I just did not 
understand that I can (apparently) not mix both field and method level 
Annotations.

My class has several read-only attributes (i.e. there is no associated set 
methods).  In general, I would prefer to put my Annotations on the method level 
for code clarity sake.  However, when doing this for the read-only attributes, 
I got an error complaining that a setter could not be found.  This error 
message went away when I moved those Annotations to the field.  Apparently 
though, this had the undersired effect of making all attributes 'field' access 
and effectively ignored all of my other method-based Annotations for columne 
name, length, etc.

So, my questions now are:

1. Is there an EJB3 standard way of mixing both field and method access types?  
I would like to have my default for method, but be able to override in 
exception cases such as the read-only attribute discussed above.

2. Is there a better way to handle read-only attributes that do NOT have an 
associated setter?

TIA!


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - In Linux environment , jboss-4.2.2.GA don't startup

2008-01-02 Thread javang
Hi all
  I am install jboss-4.2.2.GA  in Linux environment ,the os env is 
os.version: 2.6.9-11.ELsmp and the java runtime env is java.runtime.version: 
1.5.0_06-b05,but when i type ./run.sh script to start jboss Server, the server 
is not successful runing,I get some exception trace:
2008-01-01 16:23:37,537 ERROR [org.jboss.deployment.MainDeployer] Could 
not initialise deployment: file:/usr/jbossB/server/all/deploy/ejb3.deployer/
org.jboss.deployment.DeploymentException: Failed to find 
META-INF/jboss-service.xml for archive ejb3.deployer
2008-01-01 16:23:37,543 DEBUG 
[org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: [EMAIL 
PROTECTED] url=file:/usr/jbossB/server/all/deploy/ejb3.deployer/, 
deployedLastModified=0 }
org.jboss.deployment.DeploymentException: Failed to find 
META-INF/jboss-service.xml for archive ejb3.deployer
2008-01-01 16:23:37,550 ERROR [org.jboss.deployment.MainDeployer] Could 
not initialise deployment: 
file:/usr/jbossB/server/all/deploy/jboss-aop-jdk50.deployer/
org.jboss.deployment.DeploymentException: Failed to find 
META-INF/jboss-service.xml for archive jboss-aop-jdk50.deployer
   2008-01-01 16:23:37,576 ERROR [org.jboss.deployment.MainDeployer] Could 
not initialise deployment: 
file:/usr/jbossB/server/all/deploy/jboss-bean.deployer/
org.jboss.deployment.DeploymentException: Failed to find 
META-INF/jboss-service.xml for archive jboss-bean.deployer
   2008-01-01 16:23:37,648 ERROR [org.jboss.deployment.MainDeployer] Could 
not initialise deployment: 
file:/usr/jbossB/server/all/deploy/jboss-web.deployer/
org.jboss.deployment.DeploymentException: Failed to find 
META-INF/jboss-service.xml for archive jboss-web.deployer
   2008-01-01 16:23:37,882 ERROR [org.jboss.deployment.MainDeployer] Could 
not initialise deployment: 
file:/usr/jbossB/server/all/deploy/httpha-invoker.sar/
org.jboss.deployment.DeploymentException: Failed to find 
META-INF/jboss-service.xml for archive httpha-invoker.sar
   2008-01-01 16:23:37,891 ERROR [org.jboss.deployment.MainDeployer] Could 
not initialise deployment: 
file:/usr/jbossB/server/all/deploy/jboss-web-cluster.sar/
org.jboss.deployment.DeploymentException: Failed to find 
META-INF/jboss-service.xml for archive jboss-web-cluster.sar
  2008-01-01 16:23:37,915 ERROR [org.jboss.deployment.MainDeployer] Could 
not initialise deployment: file:/usr/jbossB/server/all/deploy/snmp-adaptor.sar/
org.jboss.deployment.DeploymentException: Failed to find 
META-INF/jboss-service.xml for archive snmp-adaptor.sar
  Everyone can help me ,thanks a lot
  Javang!
  


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

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


[jboss-user] [JBoss Seam] - Re: Seam BPM - is there a way to 'filter' taskInstanceList

2008-01-02 Thread kukeltje
Rodrigo,

For jBPM the 'pooled actors' is in one way nothing more than a string. So there 
might be a possible different solution

Creating a swimlane with the 'shippers' as assignment/role is possible and you 
can then have a custom assignment handler attached to this that returns another 
string with the 'correct value' e.g. shipper-americas, shipper-emea, 
shipper-south-pole. Which string is returned can be decided upon by e.g. drools 
based on whatever info you provide. 

If you know which area a shipper is in (also e.g. via drools) you can just use 
the normal group tasklist.



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

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


[jboss-user] [JBoss Seam] - Re: Seam 2 + JBoss Portal 2.6 portlets

2008-01-02 Thread wesleyhales
Yes, we know about them and are still working on it. Hopefully we will have a 
complete solution very soon.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: In Linux environment , jboss-4.2.2.GA don't startup

2008-01-02 Thread jaikiran
See this 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3982206#3982206

I guess, you too are running into the same issue.


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: In Linux environment , jboss-4.2.2.GA don't startup

2008-01-02 Thread javang
Hi 
  Thank you very much !
  I check exception trace happen folder,but in my Linux env is META-INF not 
meta-inf, Everyone have some good ideas ?
  thks
  Javang

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

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


[jboss-user] [Beginners Corner] - Re: JBoss, JNDI and BMP's

2008-01-02 Thread jaikiran
For some reason, the Entity beans mentioned in your ejb-jar.xml are not be 
deployed. I haven't worked on entity beans. However i tried out a sample 
application which had a annotated entities (EJB3.x style) and Session beans 
(EJB 2.x style). The session bean the persistence unit both deployed fine and 
were available in the JNDI tree. I could not give Entity beans (BMP) a try as i 
dont have a ready setup for the same. 

By the way, any reasons why you are using Entity Beans with EJB3?


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

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


[jboss-user] [JBoss Seam] - Propagation of Persistence Context in Seam

2008-01-02 Thread breako
 Hi,
If Seam managed EntityManagers are being used, the Persistence Context 
propagates between the EntityManagers that are in the same conversation. This 
is very good and useful.

I am just wondering if another component, for example an EJB is using an 
EntityManager in the same transaction as a Seam Component which has a Seam 
managed EntityManager, would the Persistence Context propagate. I doubt it. but 
just want to make sure that it is correct to say:
Seam only propagates persistence contexts between Seam managed EntityManagers 
used in the same web request?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - problem in har deployment outside ear file

2008-01-02 Thread Gauravthere

Hello everyone,


i was using a har file(with .har extension  hibernate-service.xml along with 
hbm mapping files in metainf folder) inside my project ear file , but than i 
need to place that har file outside ear filefor that i was using har 
deployer but dont succeeded...now after extensive search i came to know that 
from jboss 4.0.3 har deployer is no longer supported and har deployment is now 
handled by SARDeployer.

so give me suggestion how to deploy my har file from outside ear filewhat 
settings are required in hibernate-service.xml etc.

if possible can anyone provide a sample file or any tutorial link

thanks in advance

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

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


[jboss-user] [Microcontainer] - Re: migrating from ServiceMBeanSupport

2008-01-02 Thread jhalliday
 You are missing the point and some code/xml

Yes, thanks Ales, the missing link seems to be the functionality in 
TestServiceControllerLifecycleCallback. I had assumed that declaring the 
annotation was sufficient, but it seems that nothing in the current AS trunk 
actually does anything with that annotation, or at least not at a sufficiently 
early stage in the lifecycle to be useful.

The code in TestServiceControllerLifecycleCallback is generic, not specific to 
the TransactionManager service. IMO it should be present in the AS, but I don't 
see it. Do I need to include it in the TS side of the integration module? To my 
mind the functionality should really be provided via bootstrap-beans, so in the 
xml for the TransactionManager I can simply reference the ServiceLifecycle bean 
rather than having to declare it first. Or perhaps one of the existing beans 
already has this functionality?

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

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


[jboss-user] [JBoss Seam] - Re: about component Name convention

2008-01-02 Thread Fangzx
I use JBoss Seam 2.0.0GA.

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

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


[jboss-user] [JBoss Seam] - Re: Determining Database Type.

2008-01-02 Thread breako
[EMAIL PROTECTED] wrote : Use getDelegate to get the underlying JPA provider.
Thanks for that Peter.
The complete solution just in case anyone is interested is:

  | Object localEMObject = ((EntityManagerProxy)em).getDelegate();
  | HibernateSessionProxy hsb = (HibernateSessionProxy)localEMObject;
  | connection =  hsb.connection();
  | DatabaseMetaData dbMD = connection.getMetaData();
  | String database = dbMD.getDatabaseProductName();
  | 

This forum is very good btw.

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

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


[jboss-user] [JBoss Seam] - Re: How to access HttpServletResponse when not use JSF clien

2008-01-02 Thread Fangzx
Thanks,that sovle my problem!

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - How to deny application access on JBoss startup?

2008-01-02 Thread jova73
Hi,
I have a problem when users try to access my J2EE application at JBoss startup 
if the application is not fully deployed.
The web application is deployed before the EJB components so sometimes a user 
accesses a JSP, the JSP calls a servlet which calls a not yet deployed EJB and 
the result is a deploy error... and the application doesn't work at all until a 
JBoss restart.

I would like to deny the access to the application until it is completely 
deployed: is there something to configure in order to accomplish it?

Thanks,
Andrea




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

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


[jboss-user] [JBoss jBPM] - Making JBPM and Hibernate Work Together

2008-01-02 Thread yairfr
hi ,

i am trying to make JBPM use Hibernate session .
the JBPM code worked with before .
the error i get is :


  | 16:15:07,937 ERROR [STDERR] org.hibernate.MappingException: Named query not 
known: GraphSession.findLatestProcessDefinitionQuery
  | 
  |   at 
org.hibernate.impl.AbstractSessionImpl.getNamedQuery(AbstractSessionImpl.java:70)
  | 
  |   at org.hibernate.impl.SessionImpl.getNamedQuery(SessionImpl.java:1253)
  | 
  |   at 
org.jbpm.db.GraphSession.findLatestProcessDefinition(GraphSession.java:150)
  | 
  |   at 
org.jbpm.db.GraphSession.deployProcessDefinition(GraphSession.java:67)
  | 
  |   at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:173)
  | 
  |   at 
com.mts.WF.Engine.RequestsHandler.deployProcess(RequestsHandler.java:250)
  | 
  |   at 
com.mts.WF.Engine.RequestsHandler.handleRequest(RequestsHandler.java:88)
  | 
  |   at com.mts.WF.Engine.WorkerThread.run(WorkerThread.java:30)
  | 
  | 

the code :

 
  | JbpmConfiguration conf = JbpmConfiguration.getInstance();
  | context = conf.createJbpmContext();
  | 
//context.setSession(HibernateSessionFactory.getSessionFactory().getCurrentSession());
  | 
  | 
  | String fileName = 
FileHandler.assembleName(req.processProperties.Path+req.processProperties.Name, 
processdefinition.xml);
  | FileInputStream fis;
  | fis = new FileInputStream(fileName);
  | 
  | ProcessDefinition pd = 
ProcessDefinition.parseXmlInputStream(fis);
  | if (pd == null) {
  | logger.error(Unable to read definition:  + fileName);
  | //context.close();
  | return;
  | }
  | 
  | context.deployProcessDefinition(pd);
  | 

the error happens on the last line .
i have tried to make JBPM work with the already opened Hibernate session 
by :

context = conf.createJbpmContext();

context.setSession(HibernateSessionFactory.getSessionFactory().getCurrentSession());

but is has crash because no CurrentSession is configured in the 
hibernate.cfg.xml 
i have tried entering this property with thread, JTA , MANAGED 
values - with no success .
how can i resolve it ?

Thanks,
Yair

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

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


[jboss-user] [JBoss Seam] - Re: Weird Richfaces / pages.xml behavior

2008-01-02 Thread kukeltje
Fady, 

What version of seam? Is something in jBPM cvs or is it not related?

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

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


[jboss-user] [JBoss Portal] - Re: What happened to IPC support in JBoss Portal 2.6.3?

2008-01-02 Thread [EMAIL PROTECTED]
Look at the chapter:
12.8.2. Achieving Inter Portlet Communication with the events mechanism

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

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


[jboss-user] [Beginners Corner] - Migration to JBoss 4.2.2.GA (again)

2008-01-02 Thread puzz
Hi,

I posted earlier about our problems migrating to JBoss 4.2.2.GA.
To clarify my problem: 
We're using two postgresql databases. And I'm trying to access both databases 
in a single EJB3 Stateless Session Bean method (one database via JDBC through a 
DataSource and the other via another Stateless Session Bean and its 
EntityManager). I think before migration this only lead to a WARN in the JBoss 
server log:

[TxConnectionManager] Prepare called on a local tx. Use of local transactions 
on 
a jta transaction with more than one branch may result in inconsistent data in 
some cases of failure

Now I get an exception:



  | 2008-01-02 07:16:58,093 WARN  [com.arjuna.ats.jta.logging.loggerI18N] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] 
Adding multiple last resources is disallowed. Current resource is [EMAIL 
PROTECTED]
  | 2008-01-02 07:16:58,099 WARN  [org.hibernate.util.JDBCExceptionReporter] 
SQL Error: 0, SQLState: null
  | 2008-01-02 07:16:58,099 ERROR [org.hibernate.util.JDBCExceptionReporter] 
Could not enlist in transaction on entering meta-aware object!; - nested 
throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to 
enlist resource, see the previous warnings. tx=TransactionImple  ac, 
BasicAction: 7f01:ac47:477b38ef:148 status: ActionStatus.ABORT_ONLY ); - 
nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist 
in transaction on entering meta-aware object!; - nested throwable: 
(javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist 
resource, see the previous warnings. tx=TransactionImple  ac, BasicAction: 
7f01:ac47:477b38ef:148 status: ActionStatus.ABORT_ONLY ))
  | 2008-01-02 07:16:58,101 ERROR [STDERR] 
javax.ejb.EJBTransactionRolledbackException: 
org.hibernate.exception.GenericJDBCException: Cannot open connection
  | 2008-01-02 07:16:58,102 ERROR [STDERR]  at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:87)
  | 2008-01-02 07:16:58,102 ERROR [STDERR]  at 
org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
  | 2008-01-02 07:16:58,102 ERROR [STDERR]  at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
  | 2008-01-02 07:16:58,102 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2008-01-02 07:16:58,102 ERROR [STDERR]  at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
  | 2008-01-02 07:16:58,102 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2008-01-02 07:16:58,102 ERROR [STDERR]  at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
  | 2008-01-02 07:16:58,102 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2008-01-02 07:16:58,102 ERROR [STDERR]  at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | 2008-01-02 07:16:58,102 ERROR [STDERR]  at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
  | 2008-01-02 07:16:58,102 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2008-01-02 07:16:58,103 ERROR [STDERR]  at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
  | 2008-01-02 07:16:58,103 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2008-01-02 07:16:58,103 ERROR [STDERR]  at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | 2008-01-02 07:16:58,103 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 2008-01-02 07:16:58,103 ERROR [STDERR]  at 
org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:240)
  | 2008-01-02 07:16:58,103 ERROR [STDERR]  at 
org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:210)
  | 2008-01-02 07:16:58,103 ERROR [STDERR]  at 
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84)
  | 2008-01-02 07:16:58,103 ERROR [STDERR]  at 
$Proxy354.getBiddingStatePerDate(Unknown Source)
  | 2008-01-02 07:16:58,103 ERROR [STDERR]  at 
com.smtb.bidengine.rule.position.PositionRuleMgr.executeAw(PositionRuleMgr.java:535)
  | 2008-01-02 07:16:58,103 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 2008-01-02 07:16:58,103 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 2008-01-02 07:16:58,103 ERROR [STDERR]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - JBoss 4.2.2.GA App Works with localhost but not with machi

2008-01-02 Thread ssinger
I am having an odd problem.

I have an application that I deploy in JBoss AS 4.2.2.GA.  The application 
works fine when I access it through the localhost URL.  However, when I try 
to use the machine name, it will not work.  Even the JBoss Console behaves the 
same way -- it comes up with the localhost URL and not with the machine name. 
 It also does not work with the IP address... just localhost  (Note -- I am 
running this on the machine that the application is installed on, so it is not 
any network or firewall settings)

Now, when I deploy the application in JBoss AS 4.0.4.GA, everything works fine. 
 It (and the JBoss Console) work fine with both the 'localhost, the machine 
name, or the IP address in the URL.

So... I'm assuming there must be some change in the Web access in 4.2.2.GA that 
I'm missing.  Anybody have any ideas?  Thanks in advance.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: re-deploy on JBoss-5.0.0.Beta2

2008-01-02 Thread vbatista
Hi,
   I have done some tests with JBoss-5.0.0Beta2 and Beta3, with the same 
results on both versions:
- If I have an exploded ear, if I touch the ear directory, it gets 
re-deployed. Although if I touch the application.xml nothing happens;
- If I have an exploded war inside my ear, I can't re-deploy it. I tried 
touching web.xml and the war directory;
- If I have an exploded web application (no ear in this case), I can 
re-deploy it by touching its directory. If I touch web.xml nothing happens.


   How can I re-deploy an exploded war inside an exploded ear? I don't wan't 
the entire ear to get re-deployed. I just wan't the war re-deployed.

   Any help would really be appreciated.
   Thanks in advance.
   Best regards,
  Victor

   PS: Is there any configuration on JBoss-5.x like the old one:

  |   attribute 
name=URLComparatororg.jboss.deployment.scanner.PrefixDeploymentSorter/attribute
  | 

 This was a nice feature to have control over the deployment order of our 
applications.




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

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


[jboss-user] [JBoss Seam] - Re: Weird Richfaces / pages.xml behavior

2008-01-02 Thread fady.matar
It's not related at all, let me correct one thing. Usually to achieve 
authentication on all the pages you need to add the login-required=true 
attribute in the page tag

However when this attribute is added, 

  | page view-id=* login-required=true
  | ...
  | /page
  | 
the whole application is messed up. 



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

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


[jboss-user] [JBoss Seam] - Re: selectItems and enums

2008-01-02 Thread nicoliniyo
This worked for me:


  | ...
  | @DataModel
  | private ListPais paisList;
  | 
  |@Factory(paisList)
  | public String listAll() {
  |personList= entityManager.createQuery(from Pais).getResultList();  
  | }
  | ...
  | 

xhtml:

  | ...
  | h:selectOneMenu value=#{estePais.formaAplicacionRetenciones}
  | s:convertEnum/s:convertEnum
  | s:enumItem 
label=#{m['OPCIONIMPUESTOPORDENTRO']} enumValue=PORDENTRO/s:enumItem
  | s:enumItem 
label=#{m['OPCIONIMPUESTOPORFUERA']} enumValue=PORFUERA/s:enumItem
  | /h:selectOneMenu
  | 
  | ..
  | 

Wher Enum Values are: PORDENTRO, PORFUERA
Hope to give u some lights!

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JBoss 4.2.2.GA App Works with

2008-01-02 Thread jaikiran
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss42FAQ


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

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


[jboss-user] [JBoss Portal] - Re: What happened to IPC support in JBoss Portal 2.6.3?

2008-01-02 Thread mhinten
Thank you Thomas. And my apologies for overlooking this in de documentation. 

I Guess that Inter Portlet communication (with a space between inter and 
portlet) was the one search string I did not try yet. Thanks again. I will give 
it a try and report back wether I succeeded or not.

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

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


[jboss-user] [JBoss Seam] - Re: s:convertEntity with ajax support

2008-01-02 Thread jrwsampson
I get the same thing when using a h:selectManyListbox, has anyone figured out 
how to make this work?

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

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


[jboss-user] [EJB/JBoss] - Test and Production deployment

2008-01-02 Thread bbleafs
I want to build two Jar files of EJBs and deploy them to one JBoss AS.  They 
essentially will contain the same EJBs, but the EJBs in one Jar file will 
connect to a test database and the other EJBs in the other Jar file will 
connect to a production database.

How can I achieve this deploying to one instance of JBoss?  I know how to setup 
the two data sources in JBoss but how do deploy these two Jar files to JBoss 
and have the client make a call to jboss to return the correct EJBs ( test or 
production )?

Any ideas?

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

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


[jboss-user] [JBoss jBPM] - TaskInstance Problem

2008-01-02 Thread gutierrez.ge
Hi guys, i have a taskinstance and when i click on the next button the task is 
ended, but the next task is never created, on the process template i have a 
node running after ending that task, but i cant see the debugs that i added 
because i'd have to re-deploy the hole process (the logs line where added after 
having this problem) and it's already in production, is there any way that can 
substitude the class file of that node so it can take the new one without 
having to re-deploy?

Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Spring and Seam managed persistence contexts

2008-01-02 Thread rhasselbaum
Hmm... pretty cool. How does the factory know what session to use? Must be 
storing some contextual state in thread-local storage?

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

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


[jboss-user] [JBoss Seam] - Re: ejb + seam from swing gui

2008-01-02 Thread cavani
This feature should be very similar with WebServices implementation, is it not?

just my two cents...

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Create plugin for a web application

2008-01-02 Thread jaikiran
If you change a jsp file in your web application then you dont have to do 
anything. The change will be automatically picked up. However if you change a 
class file then you will have to touch the web.xml for the application to be 
redeployed

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

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


[jboss-user] [JBoss Seam] - Re: Propagation of Persistence Context in Seam

2008-01-02 Thread breako
breako wrote :  Hi,
  | If Seam managed EntityManagers are being used, the Persistence Context 
propagates between the EntityManagers that are in the same conversation. This 
is very good and useful.
  | 
  | I am just wondering if another component, for example an EJB is using an 
EntityManager in the same transaction as a Seam Component which has a Seam 
managed EntityManager, would the Persistence Context propagate. I doubt it. but 
just want to make sure that it is correct to say:
  | Seam only propagates persistence contexts between Seam managed 
EntityManagers used in the same web request?
Or to put this question another way, what is the scope of the propagation of 
the persistence context? How does seam know how far to propagate it?

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JBoss 4.2.2.GA App Works with

2008-01-02 Thread ssinger
Thanks!  You wouldn't believe how many topics match localhost!  

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

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


[jboss-user] [JBoss Seam] - convertEntity not working with a4j:support

2008-01-02 Thread jrwsampson
I have a multi-select dropdown that I want to use with a4j:support. When I add 
Seam's convertEntity tag the selectManyListbox doesn't bind the selected items 
to the value, it returns an empty array every time. Without the convertEntity 
tag the AJAX call sends up an array of strings with the package name and the 
seam id, e.g.: [EMAIL PROTECTED]

Is there a workaround, or something I am missing? I am going to try writing a 
custom converter, but I am not sure what to do with the seam id... in other 
words how do i get the entities db id from the strings that get bound to the 
listbox?


  | h:outputLabel value=Please select one or more advertisers.div /
  | h:selectManyListbox 
value=#{campaignSelector.selectedAdvertisers}
  | s:selectItems 
value=#{campaignSelector.availableAdvertisers} var=advertiser 
label=#{advertiser.name} /
  | a4j:support event=onchange 
reRender=campaignSelector /
  | s:convertEntity /
  | /h:selectManyListbox
  | /h:outputLabel
  | 



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

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


  1   2   3   >