[jboss-user] [JBoss AOP] - Re: probleam in granularity of interception

2006-12-11 Thread flavia.rainone
I've just run an example and it works to me, no matter whether the servlet 
calls directly the constructor, or the private constructor of 
HealthWatcherFacade does it.

Please, run your servlet only with the pontcut:

  | 
  | 


and the binding:

  | 
  | 
  | 
  | 
  |  
  | 
  | 

And tell me if you can see on the aopc log something like:


  |  [aopc] [debug] was HealthWatcherFacade converted: true
  | 

This line will appear either way. The only thing is that JBoss AOP should 
instrument it. If it doesn't, this line will appear with a false instead of 
true.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992823
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: regarding the database change from OBE to Oracle

2006-12-11 Thread cocampo
Why don't you try to rebuild jbpm.sar? Search the forum on how to do this.

Regards.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992822
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Problem with SIMPLE JSF deployment on jboss-5.0.0

2006-12-11 Thread tswall
I just noticed that the web.xml config stuff didn't paste as it actually 
appears. Here's my whole web.xml file:



http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>

   
  com.sun.faces.displayConfiguration
  true
   


FacesServlet
javax.faces.webapp.FacesServlet


FacesServlet
*.faces




Thanks,
Scott Wall

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992820
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: How to implement Federated SSO using our own custom logo

2006-12-11 Thread [EMAIL PROTECTED]
njw-

You are correct. The src and binary dist were accidentally out-of-sync. That 
issue is resolved now, and they should be in-sync.

http://jira.jboss.com/jira/browse/JBSSO-22


sorry about the incovenience. 

[in-my-defense]
the update was put out at 4 am in Germany while I was half dead from jet lag ;)
[/in-my-defense]


Thanks
Sohil

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992819
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Running jbpm31 on mysql5.x ? error of org.jbpm.command.E

2006-12-11 Thread cocampo
Check your hibernate.cfg.xml, verify if you can find a line like this one...


  | 
  | 

Regards.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992818
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Problem with SIMPLE JSF deployment on jboss-5.0.0

2006-12-11 Thread tswall
I have tried to deploy an extremely simple web-app with JSF tags in the Beta1 
version of jboss-5.0. I configured the FacesServlet as described in the WIKI...


FacesServlet
javax.faces.webapp.FacesServlet


FacesServlet
*.faces


The app only has a single, very simple (2 properties) managed-bean, one JSF 
page with only a single  tag. The server fails to start up with 
the following log output...

09:20:01,730 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
09:20:01,731 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta1 
(build: CVSTag=https://svn.jboss.org/repos/jbossas/tags/JBoss_5_0_0_Beta1 
date=200611191849)
09:20:01,732 INFO  [ServerImpl] Home Dir: 
/Users/tswall/Applications/jboss-5.0.0.Beta1
09:20:01,732 INFO  [ServerImpl] Home URL: 
file:/Users/tswall/Applications/jboss-5.0.0.Beta1/
09:20:01,732 INFO  [ServerImpl] Library URL: 
file:/Users/tswall/Applications/jboss-5.0.0.Beta1/lib/
09:20:01,733 INFO  [ServerImpl] Patch URL: null
09:20:01,733 INFO  [ServerImpl] Server Name: default
09:20:01,733 INFO  [ServerImpl] Server Home Dir: 
/Users/tswall/Applications/jboss-5.0.0.Beta1/server/default
09:20:01,737 INFO  [ServerImpl] Server Home URL: 
file:/Users/tswall/Applications/jboss-5.0.0.Beta1/server/default/
09:20:01,737 INFO  [ServerImpl] Server Data Dir: 
/Users/tswall/Applications/jboss-5.0.0.Beta1/server/default/data
09:20:01,738 INFO  [ServerImpl] Server Temp Dir: 
/Users/tswall/Applications/jboss-5.0.0.Beta1/server/default/tmp
09:20:01,738 INFO  [ServerImpl] Server Config URL: 
file:/Users/tswall/Applications/jboss-5.0.0.Beta1/server/default/conf/
09:20:01,738 INFO  [ServerImpl] Server Library URL: 
file:/Users/tswall/Applications/jboss-5.0.0.Beta1/server/default/lib/
09:20:01,738 INFO  [ServerImpl] Root Deployment Filename: jboss-service.xml
09:20:01,762 INFO  [ServerImpl] Starting Microcontainer, 
bootstrapURL=file:/Users/tswall/Applications/jboss-5.0.0.Beta1/server/default/conf/bootstrap-beans.xml
09:20:02,173 INFO  [ProfileImpl] Using profile 
root:/Users/tswall/Applications/jboss-5.0.0.Beta1/bin/file:/Users/tswall/Applications/jboss-5.0.0.Beta1/server/default/profile
09:20:02,578 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.5.0_06-68,"Apple Computer, Inc."
09:20:02,578 INFO  [ServerInfo] OS-System: Mac OS X 10.4.8,i386
09:20:02,611 INFO  [JMXKernel] Legacy JMX core initialized
09:20:04,360 INFO  [WebService] Using RMI server codebase: 
http://scott-walls-computer.local:8083/
09:20:04,548 INFO  [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, 
RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server 
SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
09:20:08,497 INFO  [Embedded] Catalina naming disabled
09:20:08,515 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in 
the classpath. Will load the default rule set.
09:20:08,516 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in 
the classpath. Will load the default rule set.
09:20:08,661 INFO  [AprLifecycleListener] The Apache Tomcat Native library 
which allows optimal performance in production environments was not found on 
the java.library.path: 
.:/Users/tswall/Library/Java/Extensions:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
09:20:08,721 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on 
http-0.0.0.0-8080
09:20:08,721 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8009
09:20:08,721 INFO  [Catalina] Initialization processed in 205 ms
09:20:08,721 INFO  [StandardService] Starting service jboss.web
09:20:08,724 INFO  [StandardEngine] Starting Servlet Engine: 
JBossWeb/2.0.0.Beta1
09:20:08,750 INFO  [StandardHost] XML validation disabled
09:20:08,765 INFO  [Catalina] Server startup in 44 ms
09:20:10,401 INFO  [ServiceEndpointManager] WebServices: jbossws-2.0.0.CR2.DEV 
(date=200611171751)
09:20:10,814 INFO  [TomcatDeployment] deploy, ctxPath=/epweb, 
warUrl=.../tmp/deploy/EPWebArchieve36668-exp.war/
09:20:11,067 INFO  [WebappLoader] Dual registration of jndi stream handler: 
factory already defined
09:20:11,124 ERROR [BaseModelMBean] Exception invoking method addChild
java.lang.RuntimeException: org.jboss.xb.binding.JBossXBException: Failed to 
parse source: Unexpected end of ZLIB input stream
at 
org.jboss.web.tomcat.tc6.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:264)
at org.jboss.web.tomcat.tc6.WebAppLoader.start(WebAppLoader.java:104)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4198)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMetho

[jboss-user] [JBoss jBPM] - Re: Regarding database connection from HSQLDB to ORACLE

2006-12-11 Thread cocampo
For instructions read chapter 8 of the manual.

Regards.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992814
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Eclipse IDE (users)] - Server Start problem

2006-12-11 Thread sergmor
Hello I have a problem with JBossEclipse IDE beta 2 and JBoss AS 4.0.4. The 
thing is that I start the server and the IDE never recognizes that the server 
is actually running. So in the console I see the server started, but i get the 
message that the server failed to start.
Does anyone have a clue of why this happens?
Thnx in advance!


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992812
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: online dvd demo is down

2006-12-11 Thread [EMAIL PROTECTED]
Thanks. The database was in a bad state.  

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992811
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: @Asynchronous / Dispatcher not bound

2006-12-11 Thread m_hess
Hmmm OK. So maybe anybody else also experienced this errormessage?

  | [17:24:37] [admin1] [ERROR] [...erceptors.ExceptionInterceptor:370  ] >> 
redirecting to debug page
  | javax.ejb.EJBTransactionRolledbackException: 
org.jboss.seam.InstantiationException: Could not instantiate Seam component: 
org.jboss.seam.core.dispatcher
  | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:93)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | [...]
  | 


  | Caused by: org.jboss.seam.InstantiationException: Could not instantiate 
Seam component: org.jboss.seam.core.dispatcher
  | at org.jboss.seam.Component.newInstance(Component.java:1724)
  | at org.jboss.seam.Component.getInstance(Component.java:1627)
  | at org.jboss.seam.Component.getInstance(Component.java:1594)
  | at org.jboss.seam.Component.getInstance(Component.java:1573)
  | at org.jboss.seam.Component.getInstance(Component.java:1568)
  | at org.jboss.seam.core.Dispatcher.instance(Dispatcher.java:237)
  | at 
org.jboss.seam.interceptors.AsynchronousInterceptor.invokeAsynchronouslyIfNecessary(AsynchronousInterceptor.java:24)
  | 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)
  | [...]
  | 


  | Caused by: javax.naming.NameNotFoundException: Dispatcher not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:626)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588)
  | at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | at org.jboss.seam.Component.instantiateSessionBean(Component.java:1029)
  | at org.jboss.seam.Component.instantiate(Component.java:1015)
  | at org.jboss.seam.Component.newInstance(Component.java:1720)
  | ... 170 more
  | [...]
  | 

The Dispatcher components gets installed on startup:

  | [16:55:06] [] [INFO ] [...org.jboss.seam.Component  :245  ] >> 
Component: org.jboss.seam.core.dispatcher, scope: STATELESS, type: 
STATELESS_SESSION_BEAN, class: org.jboss.seam.core.Dispatcher, JNDI: 
Dispatcher/local

And we do have the local interface annotated (not the implementing classes 
method).

Any ideas or insights?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992809
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: How to implement Federated SSO using our own custom logo

2006-12-11 Thread njw
Ok... after several hours I think I've finally answered my own question

The two versions of the SSO package (source and binary-only) are DIFFERENT - 
the version of jboss-sso-tomcat5.jar in the binary download doesnt have 
PlainAutoSSOLogout.class but the version in the older, source does (as do the 
the versions in the Seam hotels and DVD demos). 

I'm now using the version from the source download and have now gone past the 
stage of this classloader error.

The binary version is 
JBoss Federated SSO - 1.0.0.Beta-Update 1  size 10 MB dated 12/7/06
  | 
  | jar file - 01/11/2006  06:1810,589 jboss-sso-tomcat5.jar
  | 
  | jar contents
  | META-INF/
  | META-INF/MANIFEST.MF
  | org/
  | org/jboss/
  | org/jboss/security/
  | org/jboss/security/valve/
  | org/jboss/security/valve/SSOAutoLogin.class
  | org/jboss/security/valve/SSOAutoLogout.class
  | org/jboss/security/valve/SSOSession.class
  | org/jboss/security/valve/SSOTokenManager.class
  | 
and the source is 

  | JBoss Federated SSO - 1.0.0.Beta-Update 1 size 44 MB dated 11/20/06
  | 
  | jar file - 21/11/2006  00:0519,028 jboss-sso-tomcat5.jar
  | 
  | jar contents
  | META-INF/
  | META-INF/MANIFEST.MF
  | org/
  | org/jboss/
  | org/jboss/security/
  | org/jboss/security/valve/
  | org/jboss/security/valve/PlainSSOAutoLogin.class
  | org/jboss/security/valve/PlainSSOAutoLogout.class
  | org/jboss/security/valve/PlainSSOTokenManager.class
  | org/jboss/security/valve/SSOAutoLogin.class
  | org/jboss/security/valve/SSOAutoLogout.class
  | org/jboss/security/valve/SSOSession.class
  | org/jboss/security/valve/SSOTokenManager.class
  | 

Just to make things 'interesting', there are a number of differences in the two 
versions where it appears that the binary version is more up-to-date. e.g

from the binary download public LDAPIdentityProvider(String id, Properties 
properties)
  | source download public LDAPIdentityProvider()


[rant mode]Ok, I know this is still in beta but it would be nice if the 
distributions were consistent with each other rather than me wasting hours of 
my time debugging them[/rant mode] :-)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992810
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Configuring a new login page for Portal

2006-12-11 Thread PeterJ
Though on second thought, this idea of yours sort of ruins single sign-on, 
which is one of the purposes behind running a portal to begin with.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992807
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Interfacing to a IMAP / POP3 server via JMS

2006-12-11 Thread toni
I have looked at the wiki. But unfortunately the solution you pointed me to, 
requires the POP3/IMAP accounts to be known at deploy time.

They have to be defined inside the ejb-jar.xml.

Is there any other solution, which enables JMS delivery for incoming emails for 
which the pop3/imap accounts can be configured at run time?



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992800
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: CLOSE_WAIT and socket.close() issue

2006-12-11 Thread [EMAIL PROTECTED]
JBossWS clients utilize remoting code. Did you take at the remoting docs? 
http://labs.jboss.com/portal/jbossremoting/docs/guide/JBoss_Remoting_Guide.pdf

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992805
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Configuring a new login page for Portal

2006-12-11 Thread PeterJ
I have never tried that, so I cannot say if it will work or not.  Since you 
appear to have everything set up to try this already, why don't you try it and 
see if it works and post your results?  (That is how I figure out most of this 
stuff, by trying it myself.  Some of my ideas work, others don't.  Either way I 
learn a lot.)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992803
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: @Asynchronous / Dispatcher not bound

2006-12-11 Thread [EMAIL PROTECTED]
@Asynchronous requires EJB3 support.  Although I haven't tried it outside of 
AS, it should work fine with the embedded EJB3 on tomcat.  

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992801
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Required info on Session attribute event listener threw exce

2006-12-11 Thread [EMAIL PROTECTED]
Hi Everyone !!

Previously i have posted a query and now i can make out where exactly the 
problem is lying...

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

Here is actual log trace from server.log file


  | 
  | ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/test]] 
Session attribute event listener threw exception 
  | 
  | java.lang.RuntimeException: Could not resolve beanClass method from proxy 
call: public abstract void javax.ejb.EJBLocalObject.remove() throws 
javax.ejb.RemoveException,javax.ejb.EJBException
  | at 
org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:169)
  | at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
  | at $Proxy128.remove(Unknown Source)
  | at 
net.java.dev.strutsejb.web.SessionRemover.attributeRemoved(SessionRemover.java:39)
  | at 
org.apache.catalina.session.StandardSession.removeAttributeInternal(StandardSession.java:1623)
  | at 
org.apache.catalina.session.StandardSession.removeAttribute(StandardSession.java:1179)
  | at 
org.apache.catalina.session.StandardSession.removeAttribute(StandardSession.java:1151)
  | at 
org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1234)
  | at 
org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:129)
  | at 
org.apache.jsp.update2AppTrans_jsp._jspService(update2AppTrans_jsp.java:85)
  | 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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)
  | 
  | 

Here i have found that there its the tomcat instance running with EJB3 deployer 
which is invalidation the session. I haven't got much assistance in this regard.

Please assist on this regard because here i m just stuck up with session bean 
funcationality. Message driven and stateless session bean are running smooth 
fashion but just session invalidate problem from tomcat is creatin the problem.

Any suggestion would be a great help for me

Looking forward for you responses...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992799
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Why Stateful (with one L) and not Staefull (with double

2006-12-11 Thread PeterJ
I am tempted to answer this question but alas, while I am conversant in Java, 
the question you are asking is about English, in which I am not as conversant. 
:-)

Typically in English, appending the word 'full' to another word requires that 
you drop one of the l's (as in successful), whereas when you append the word 
'less' to another word, you keep both s's (as in hopeless).   And yes, knowing 
these all of these nitpicky little rules is hopeless.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992798
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - EJB3 Update instead of delete

2006-12-11 Thread anotherjavaguy
JBoss 4.0.4 GA

I'm trying to work out a cascade delete issue with an old schema. 

User Object has a list of Permission Objects. (I can publish more code if u 
need) 

When I delete user,  hibernate is creating Update statements and trying to set 
the user_id in permission table to null, what I want is for hibernate to write 
a delete statement for the permission. 

I've tried playing around with the mapping and I googled up something about 
using @SQLDelete to override the sql but this isnt an available annotation from 
the client lib directory. Not sure where its from.  

Can someone give me a hint on how I can accomplish this. 

Thanks




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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992797
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - EntityQuery pagination

2006-12-11 Thread rsmol
Hello, I'm quite new to JSF and Seam. I've followed docs and using seam-gen 
I've managed to generate entities and frontend for them. Now I have class 
LogsList that extends EntityQuery. It works fine, however I would like provide 
user with possibility to change the results per page.

Generated class has method getMaxResults() and hard coded 25 in it. It seems 
that EntityQuery is stateless? After changing set/get methods for maxResults I 
do not know how to provide initial value (there are 1M+ entries in DB). I can't 
do that as there is @Create annotated method validate and this one is used 
every time I refresh results. When I Override the method it seems that 


  | if(getMaxResults() == null) {setMaxResults(25)}
  | 

condition always pass. In the LogsList.xhtml (section tableControl) I've 
provided:

  | 
  | 
  | 
  | 
  | 
  | 
And I though that when I click next page, the currently selected valued is 
assigned to logsList and then proper number of records should be displayed. 
What am I missing? Or shall I uses statefull object like "settings" to store 
such an information?

I've managed to achieve this using Statefull EJB, but I'would love to use this 
EntityQuery object. I've digged through the source code of examples (great way 
of inspiration) but they either use Statefull EJB or functionality is not 
provided. I would also like to restrict search with some restrictions.
Can anybody give me any hints? I might be confused of when to use @In and 
when/how use setters of property.





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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992792
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: J2ME / jbossws > 1.0.4

2006-12-11 Thread [EMAIL PROTECTED]
But you can volunteer ;)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992794
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: J2ME / jbossws > 1.0.4

2006-12-11 Thread [EMAIL PROTECTED]
Here is the corresponding issue: 

http://jira.jboss.org/jira/browse/JBWS-1381

As you can see it's scheduled for 1.2.0.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992793
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: show user logged

2006-12-11 Thread den74
i answered myself, 
just need to put small scriptlet 
request.getRemoteUser();
in menu.jsp

thx

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992790
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - @Asynchronous / Dispatcher not bound

2006-12-11 Thread m_hess
Hi,

just a short question: Is the @Asynchronous Annotation only supposed to be 
working on JBoss AS ? Or should a deployment on/in Tomcat be working as well?

bye, Michael

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992791
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Login encryption not working

2006-12-11 Thread ewade
Gee, then what are the module options hashAlgorithm and hashEncoding for? 

In the user's guide you say anonymous wrote : This module supports password 
stacking, password hashing and unathenticated identity. Looking up password 
hashing, I see the manual says,  anonymous wrote : These modules generally work 
with plain text passwords, but can also be configured to support hashed 
passwords to prevent plain text passwords from being stored on the server side. 

Again, we're trying to use your database module for login and specify hashing 
and encoding of plaintext passwords.

If you don't support that, perhaps you need to change your documentation. So 
its just a bit more clear how and what these options are intended to do.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992789
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Deploying zipped war in JBoss 5

2006-12-11 Thread PeterJ
The beta of JBoss AS 5.0 does not support hot deployment (see the readme file). 
 Therefore, you will have to copy the war file to the deploy directory first 
and then start (or restart) the server.

And no, you cannot modify the beta to support hot deployment (well you could, 
but it would take you a long time to figure it out).  There has already been a 
forum discussion on this topic.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992788
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - online dvd demo is down

2006-12-11 Thread pbrewer_uk
Not sure where I should post/ email this, but for your info the dvd demo at
http://dvdstore.demo.jboss.com/browse.seam is currently down (see trace below).

Hope to see it back up soon.

javax.ejb.EJBTransactionRolledbackException: 
javax.persistence.PersistenceException: 
org.hibernate.exception.GenericJDBCException: Cannot open connection
  | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:93)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188)
  | at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
  | at $Proxy244.doSearch(Unknown Source)
  | at sun.reflect.GeneratedMethodAccessor90408.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
  | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:1283)
  | at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1242)
  | at org.jboss.seam.Component.getInstance(Component.java:1209)
  | at org.jboss.seam.Component.getInstance(Component.java:1195)
  | at 
org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
  | at 
com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
  | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
  | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
  | at 
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
  | at 
com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
  | at com.sun.facelets.component.UIRepeat.getValue(UIRepeat.java:143)
  | at com.sun.facelets.component.UIRepeat.getDataModel(UIRepeat.java:121)
  | at com.sun.facelets.component.UIRepeat.setIndex(UIRepeat.java:305)
  | at com.sun.facelets.component.UIRepeat.process(UIRepeat.java:333)
  | at com.sun.facelets.component.UIRepeat.encodeChildren(UIRepeat.java:617)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:234)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doF

[jboss-user] [EJB 3.0] - Wrong column type: expected: numeric(10, 0)

2006-12-11 Thread cheng.lee
Configuration:
JBoss-seam-1.1.0.CR2
JBoss-4.0.5.GA (EJB3 clustered profile)

Problem: Mapping MySQL DECIMAL to java's BigDecimal, results into failed 
deployment. Message below:

javax.persistence.PersistenceException: org.hibernate.HibernateException: Wrong 
column type: bb, expected: numeric(10,0)
at 
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:698)
at 
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
at 
org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:264)
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.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:102)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy159.start(Unknown Source)
at 
org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:96)
at 
org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:467)
at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:317)
at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBean

[jboss-user] [JBoss jBPM] - Error while deploying, IOException trying to read the servle

2006-12-11 Thread mcscorer
Hi!

When I try to deploy processes I always get this error...


START
java.io.FileNotFoundException: 
http://localhost:8080/jbpm/deploy?archive=file://C:\DOKUME~1\jacobi\LOKALE~1\Temp\change-management.par38833.tmp
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at 
org.jbpm.ui.action.DeployProcessActionDelegate.deployProcessWithServlet(Unknown 
Source)
at org.jbpm.ui.action.DeployProcessActionDelegate.access$1(Unknown Source)
at org.jbpm.ui.action.DeployProcessActionDelegate$1.run(Unknown Source)
at 
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
at 
org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)
at 
org.jbpm.ui.action.DeployProcessActionDelegate.showProgressMonitorDialog(Unknown
 Source)
at org.jbpm.ui.action.DeployProcessActionDelegate.run(Unknown Source)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at 
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at 
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
END
Can anybody help me?

thx

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992784
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - jbpm webapp login

2006-12-11 Thread fuligj
Hello!

In Jbpm Starter kit there are a login.jsp, that relate to userBean. So i 
tought, the login method handled by userBean. But not really, because i rewrote 
it, but nothing become. By wich method handled the login in jbpm webapp? I read 
about filters and tomcat valves, but its not clear.


Can anyone help me, what should i do?

Thanks!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992783
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Oracle Datasource not bound to JNDI

2006-12-11 Thread javabean42195
Hi,

I am using JBoss 4.0.2 and want to configure a Datasource to an Oracle Database 
with JNDI. When I run my application I get the following error:
 javax.naming.NameNotFoundException: OracleDS not bound

In my session bean I get the Datasource like this:

InitialContext ctx = new InitialContext();  
DataSource ds = (DataSource)ctx.lookup("OracleDS");
Connection conn = ds.getConnection();

I have the Oracle JDBC driver ojdbc14.jar in the directory 
jboss-4.0.2\server\default\lib

My ejb-jar.xml looks like this:


http://java.sun.com/dtd/ejb-jar_2_0.dtd";>


   DBManager
   DBManager
   
  
  
 DBManagerEJB
 DBManagerEJB
 dbmanager.DBManagerHome
 dbmanager.DBManager
 dbmanager.DBManagerEJB
 Stateless
 Container
 
jdbc/OracleDS
javax.sql.DataSource
Container
Shareable
 
  
   
   
   


My jboss.xml looks like this:


http://www.jboss.org/j2ee/dtd/jboss.dtd";>


   
  
 DBManagerEJB
 ejb/DBManagerEJB
 
jdbc/OracleDS
javax.sql.DataSource
java:OracleDS
 
  
   
   
   


The file oracle-ds.xml in the directory jboss-4.0.2\server\default\deploy looks 
like this:




OracleDS

jdbc:oracle:thin:@lahn.test.esri-de.net:1521:krb73


oracle.jdbc.driver.OracleDriver
krb
krb
5
100





org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter




Oracle9i





Does anybody have an idea what I do wrong or what I am missing?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992782
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Configuring a new login page for Portal

2006-12-11 Thread portalgeek
Hi,

  Thank you very much for your reply.  I tried changing the login.jsp and it 
worked.

  But this is what i want to achieve. We have our won portal. So when we say 
http://localhost/portal/portal/MyPortal--> it should take us to our login page 
and for all other it should take to default Jboss login page.

 I was thinking since each portal has its own war file. Can we configure in 
web.xml of that specific Portal, the login file ?.

 Please throw some light.

thanks
 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992780
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: ERROR: invalid byte sequence for encoding

2006-12-11 Thread santtuh
anonymous wrote : 19:39:06,208 ERROR [JDBCExceptionReporter] ERROR: invalid 
byte sequence for encoding "UTF8": 0x00 

It's a bug in postgresql <-> hibernate interaction.

'name' is a string that contains the '\0' (NUL) character. Hibernate passes it 
on to postgresql without conversion. Postgresql thinks it is invalid and spits 
an error.

Quick fix is to do

name = name.replace('\0', ' ');

or something on top of the function.

The real fix would be to teach postgresql about NUL characters, or 
alternatively convert them in hibernate.

Hope this helps.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992779
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - communication between two cluster node

2006-12-11 Thread npandya_in
Dear all,
   I am able to successful cluster enviornment between two jboss and mod_dk.

Now i am using hardware load balancer instead of mod_jk. My load balancer is 
workign fine. 

After Both server start success fully i got only one node in both node. means 
total number of node : 1

Note: I am using JBoss 4.0.2 on Linux
Same cluster name set in both node's tc5-cluster-service.xml

please help me i am realy stuck

Thank in advance..

Regards,
Nirav Pandya.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992778
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - communication between two cluster node

2006-12-11 Thread npandya_in
Dear all,
   I am able to successful cluster enviornment between two jboss and mod_dk.

Now i am using hardware load balancer instead of mod_jk. My load balancer is 
workign fine. 

After Both server start success fully i got only one node in both node. means 
total number of node : 1

Note: I am using JBoss 4.0.2 on Linux
Same cluster name set in both node's tc5-cluster-service.xml

please help me i am realy stuck

Thank in advance..

Regards,
Nirav Pandya.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992777
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Single RoadMap for User Login on Swing and JBOSS

2006-12-11 Thread CarlosDelfino
Hi, I am New on JBoss Security, and new in English too!

Please, I need one simple Road Map for configure JAAS Kerberos Login on client 
and propagate to JBoss 4.0.4 with EJB 3.

In the Client I have sucess with Kerberos Login, but I need use 
LoginJNDIInitialContext or other method for Authenticate on JBoss server, and I 
not have how I send my Password for KerberosLoginModule on JBoss JAAS, I Try 
use the ClientLoginModule, but even so I need send the password too, but I only 
have Kerberos Information after Login process, like KerberosPrincipal and 
KerberosTiket and KerberosKey.

I dont know if I make wrong, I have read many papers foruns, like this, on 
Internet and not undestand i need make for this work.

This is my config-login.xml:

  | 
  | 
  | 
  | 
  | true
  | 
  | 
  | true
  | 
  | 
  | data/group.properties
  | true
  | 
  | 
  | 
  | 
This is my Client Code for get InitialContext on JBoss:

  | props.put("java.naming.factory.initial", 
"org.jboss.security.jndi.JndiLoginInitialContextFactory");
  | props.put(Context.SECURITY_PRINCIPAL,
((KerberosPrincipal)subject.get
  | Principals(KerberosPrincipal.class).toArray()[0]).getName());
  | // Here I need my Credencials, How I get?
  | //props.put(Context.SECURITY_CREDENTIALS,  "?");
  | InitialContext ctx = new InitialContext(props);
  | .
  | // here I get and use EJB3
  | 
this is the JBoss log:

  | 2006-12-06 17:34:41,113 DEBUG 
[org.jboss.remoting.transport.socket.ServerThread] WAKEUP in SERVER TH
  | READ
  | 2006-12-06 17:34:41,114 DEBUG 
[org.jboss.remoting.transport.socket.ServerThread] beginning dorun
  | 2006-12-06 17:34:42,216 INFO  
[examples.jaaskerberos.ejb.EJBSeguroStatefull] Inicializado
  | 2006-12-06 17:34:42,217 INFO  
[examples.jaaskerberos.ejb.EJBSeguroStatefull] Context: null
  | 2006-12-06 17:34:42,218 INFO  
[examples.jaaskerberos.ejb.EJBSeguroStatefull] PostConstruct
  | 2006-12-06 17:34:42,218 INFO  
[examples.jaaskerberos.ejb.EJBSeguroStatefull] Context: org.jboss.ejb3
  | [EMAIL PROTECTED]
  | 2006-12-06 17:34:42,219 INFO  [STDOUT] Debug is  true storeKey false 
useTicketCache false useKeyTab 
  | false doNotPrompt false ticketCache is null KeyTab is null 
refreshKrb5Config is false principal is n
  | ull tryFirstPass is false useFirstPass is false storePass is false 
clearPass is false
  | 2006-12-06 17:34:42,220 INFO  [STDOUT]  [Krb5LoginModule] user 
entered username: carlos.delf
  | [EMAIL PROTECTED]
  | 2006-12-06 17:34:42,360 INFO  
[examples.jaaskeberos.loginmodule.MyLoginModule] /home/projetos/java/f
  | erramentas/jboss-versions/jboss-4.0.5.GA/data/group.properties2006-12-06 
2006-12-06 17:34:42,475 DEB
  | UG [org.jboss.remoting.transport.socket.ServerThread] begin thread wait
  | 
and this is client erro msg:

  | Exception in thread "main" javax.ejb.EJBAccessException: Authentication 
failure
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.handleGeneralSecurityException(Ejb3Authent
  | icationInterceptor.java:70)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:70)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:
  | 102)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:319)
  | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
  | at 
org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java
  | :82)
  | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828)
  | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681)
  | at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358)
  | at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412)
  | at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239)
  | at 
org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:190)
  | at org.jboss.remoting.Client.invoke(Client.java:525)
  | at org.jboss.remoting.Client.invoke(Client.java:488)
  | at 
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invo

[jboss-user] [JBoss Portal] - Re: Remove

2006-12-11 Thread indyJones
Yep, thats it...

Thanks for the help...

Indy

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992775
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Layout and Themes - 2.6

2006-12-11 Thread indyJones
JBoss Portal - 2.6

I am trying to upgrade my 2.2 portal theme to 2.6 and I am having problems...

Here is myLayout.war...

myLayout.ear
/META-INF
  application.xml
/myLayout.war
  layout.css
  /layouts
 index.jsp
  /WEB-INF
 theme-basic.lib.tld
 jboss-web.xml
 portal-layouts.xml
 portal-themes.xml
 /theme
  
portal-layout.tld

Gives me a error on "themeName" tag in my index.jsp. Like it cant find my 
theme

Am I missing something?

Thanks

Indy


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992773
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Possible: Decide to end task instance or not?

2006-12-11 Thread thedog
A workflow has a task where parameters (process variables) for the further 
workflow steps should be set. When the actor has defined all parameters, it 
will end the task.

Wanted: Check that the parameters are really correct before leaving (ending the 
task instance)

At the moment I have a CheckAction on end-task events that will throw an 
IllegalStateException. At first I thought that this would stop jBPM from ending 
the task: The client who called endTask gets the exception, the task instance 
is kept un-ended. But it seems that the jBPM just got confused: workflow 
execution continues (next task is started) but old task is not ended (even when 
task is blocking).


  | 
  |  
  | 
  | 


Is there a possibility to do this kind of check?

I know that I could put an decision node after the tasknode and loop back to 
the task but it would be nice when the caller could get an exception 
immediately when trying to (illegally) end the task (endTask, exception, 
reportError) instead of endTask, sleep, getTaskList, 
findTaskWithSameExecutionTokenAsBefore, reportError



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992774
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Wrong package name for nested object properties

2006-12-11 Thread oglueck
Thomas, I am trying to come up with a patch. I have some questions:

It looks, although a WSDL file is specified, the meta data is still built from 
the Java code. Are there any plans to use the WSDL exlusively in that case?

If you have
 @WebMethod f(MyBean a)
the JSR181MetaDataBuilder would assign the namespace of the Webservice to the 
MyBean type (or override with @WebParam). However in other places the 
convention is to use the reversed package name of MyBean for its namespace. Why 
this inconsistency?

If MyBean has a property of the MyOtherBean, there is no way to specify its 
namespace. What does the JAWS spec define in that case? 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992770
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: probleam in granularity of interception

2006-12-11 Thread fabiocsilva

I changed file jboss-aop.xml. The shown error is abnormal because the class is 
present in jar of the WEB-INF/lib directory.

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 


Result: 



  | 11:10:00,068 ERROR [STDERR] [warn] AOP Instrumentor failed to transform 
aspects.dataManagement.nonpersistent.DataCollectionNonPersistent
  | 11:10:00,080 ERROR [STDERR] java.lang.RuntimeException: 
javassist.NotFoundException: healthGuide.IHealthUnitRepository
  | 11:10:00,081 ERROR [STDERR] at 
org.jboss.aop.pointcut.FieldMatcher.visit(FieldMatcher.java:113)
  | 11:10:00,081 ERROR [STDERR] at 
org.jboss.aop.pointcut.ast.ASTField.jjtAccept(ASTField.java:43)
  | 11:10:00,081 ERROR [STDERR] at 
org.jboss.aop.pointcut.Util.has(Util.java:464)
  | 11:10:00,082 ERROR [STDERR] at 
org.jboss.aop.pointcut.Util.has(Util.java:453)
  | 11:10:00,082 ERROR [STDERR] at 
org.jboss.aop.pointcut.ExecutionConstructorMatcher.visit(ExecutionConstructorMatcher.java:95)
  | 11:10:00,082 ERROR [STDERR] at 
org.jboss.aop.pointcut.ast.ASTHasField.jjtAccept(ASTHasField.java:37)
  | 11:10:00,082 ERROR [STDERR] at 
org.jboss.aop.pointcut.MatcherHelper.visit(MatcherHelper.java:127)
  | 11:10:00,082 ERROR [STDERR] at 
org.jboss.aop.pointcut.ast.ASTAnd.jjtAccept(ASTAnd.java:37)
  | 11:10:00,082 ERROR [STDERR] at 
org.jboss.aop.pointcut.MatcherHelper.visit(MatcherHelper.java:118)
  | 11:10:00,082 ERROR [STDERR] at 
org.jboss.aop.pointcut.ast.ASTSub.jjtAccept(ASTSub.java:37)
  | 11:10:00,083 ERROR [STDERR] at 
org.jboss.aop.pointcut.MatcherHelper.visit(MatcherHelper.java:98)
  | 11:10:00,083 ERROR [STDERR] at 
org.jboss.aop.pointcut.ast.ASTBoolean.jjtAccept(ASTBoolean.java:37)
  | 11:10:00,083 ERROR [STDERR] at 
org.jboss.aop.pointcut.MatcherHelper.visit(MatcherHelper.java:88)
  | 11:10:00,083 ERROR [STDERR] at 
org.jboss.aop.pointcut.MatcherHelper.matches(MatcherHelper.java:83)
  | 11:10:00,083 ERROR [STDERR] at 
org.jboss.aop.pointcut.PointcutExpression.matchesExecution(PointcutExpression.java:191)
  | 11:10:00,083 ERROR [STDERR] at 
org.jboss.aop.instrument.JoinpointClassifier$3.matches(JoinpointClassifier.java:99)
  | 11:10:00,083 ERROR [STDERR] at 
org.jboss.aop.instrument.JoinpointSimpleClassifier.classifyJoinpoint(JoinpointSimpleClassifier.java:65)
  | 11:10:00,084 ERROR [STDERR] at 
org.jboss.aop.instrument.JoinpointClassifier.classifyConstructorExecution(JoinpointClassifier.java:160)
  | 11:10:00,084 ERROR [STDERR] at 
org.jboss.aop.instrument.ConstructorExecutionTransformer.classifyConstructor(ConstructorExecutionTransformer.java:484)
  | 11:10:00,084 ERROR [STDERR] at 
org.jboss.aop.instrument.ConstructorExecutionTransformer.transform(ConstructorExecutionTransformer.java:141)
  | 11:10:00,084 ERROR [STDERR] at 
org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.java:660)
  | 11:10:00,084 ERROR [STDERR] at 
org.jboss.aop.AspectManager.translate(AspectManager.java:908)
  | 11:10:00,084 ERROR [STDERR] at 
org.jboss.aop.AspectManager.transform(AspectManager.java:820)
  | 11:10:00,084 ERROR [STDERR] at 
org.jboss.aop.standalone.AOPTransformer.aspectTransform(AOPTransformer.java:88)
  | 11:10:00,085 ERROR [STDERR] at 
org.jboss.aop.standalone.AOPTransformer.transform(AOPTransformer.java:75)
  | 11:10:00,085 ERROR [STDERR] at 
sun.instrument.TransformerManager.transform(TransformerManager.java:122)
  | 11:10:00,085 ERROR [STDERR] at 
sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:155)
  | 11:10:00,085 ERROR [STDERR] at 
java.lang.ClassLoader.defineClass1(Native Method)
  | 11:10:00,085 ERROR [STDERR] at 
java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  | 11:10:00,085 ERROR [STDERR] at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
  | 11:10:00,085 ERROR [STDERR] at 
java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
  | 11:10:00,086 ERROR [STDERR] at 
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
  | 11:10:00,086 ERROR [STDERR] at 
java.net.URLClassLoader$1.run(URLClassLoader.java:195)
  | 11:10:00,086 ERROR [STDERR] at 
java.security.AccessController.doPrivileged(Native Method)
  | 11:10:00,086 ERROR [STDERR] at 
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | 11:10:00,086 ERROR [STDERR] at 
org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:672)
  | 11:10:00,086 ERROR [STDERR] at 
org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:652)
  | 11:10:00,086 ERROR [STDERR] at 
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | 11:10:00,087 ERROR [STDERR] at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190)
  | 11:10:00,087 ERROR [STDERR] at 
org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
  | 11:10:00,087 ERROR

[jboss-user] [Beginners Corner] - Why Stateful (with one L) and not Staefull (with double L) i

2006-12-11 Thread CarlosDelfino
Hi All!

I have one single question, Why the annotations for EJB Statefull have one L 
and not double L?

The annotation for Steless have Double S, but I think in the same way, 
Stateless Annotations should must be Stateles, no?


Thanks!


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992767
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: probleam in granularity of interception

2006-12-11 Thread fabiocsilva
I changed the way of packaging, with loadtime weaving activated, without 
success. The instantiations are not intercepted if they occur of indirect way.  
   
I already tried to use keywords execution, call and construction.

What it can be happening? 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992765
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Update Seam JSF library againts JBoss5

2006-12-11 Thread mzeijen
Or are only the Tomahawk components not recommended?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992763
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Data transfer issue

2006-12-11 Thread vikash.anand
I have an index.jsp page where i have a form. Form data is showing perfectly in 
processAction. 
All i need is to show values from index.jsp to Result.jsp. Both pages are 
deployed as different pages on same tab. How can i do that? 

I tried for samples on net but alas i failed.

Does anyone have any sample for this. if yes can u mail me at [EMAIL PROTECTED]
I am very new to JBoss Portal. Please help.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992759
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: SEAM and Tomahawk

2006-12-11 Thread esoares
Thanks guys.

ADF and ICEFaces really seems to be awesome libraries.


I will skip tomahawk.

cheers.

Eddy

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992758
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Regarding database connection from HSQLDB to ORACLE

2006-12-11 Thread vamsikirankumar.k
Hi,
 I want my jbpm application to use Oracle database,before it was using HSQLDB 
so i made changes in datasource name and hibernate dialect but it is showing 
Entity Media not found and could not find datasource if any have solution pls 
send what r the steps to be follwed to get connected to oracle db.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992757
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Multiple SEI's with wstools

2006-12-11 Thread Duffcase
Just found out, thanks to the link pbowker sent me, that I dont need to 
manually merge the webservices.xml files. Just needed to add append="true" to 
the webservices element of the config, and wstools does the job for me! :)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992756
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: EntityManager is loosing updates

2006-12-11 Thread konstantin.ermakov
Hi!

   I am tracing my flush() statement, and I am sure that is happens before I am 
trying to read the data. 

 If I understand it correctly, flush() is commiting the data and with the next 
manager.createQuery run the new data should be available.

Is it true, or flush() is doing some background work?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992754
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Deployed ear file generated with seam-gen

2006-12-11 Thread thejavafreak
Hi all,

I got this error message when deploying a generated ear file using seam-gen 
from Seam 1.1.0CR1. 


  | 19:14:24,774 ERROR [SeamExceptionFilter] uncaught exception handled by Seam
  | javax.servlet.ServletException: Servlet execution threw an exception
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:313)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:206)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter
  | .java:32)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:206)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilt
  | er.java:46)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
  | lter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
  | alve.java:228)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
  | alve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
  | yAssociationValve.java:174)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
  | e.java:86)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
  | ava:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
  | ava:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
  | ve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
  | a:212)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
  | :818)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
  | ss(Http11Protocol.java:624)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
  | 5)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: java.lang.LinkageError: loader constraints violated when linking 
java
  | x/el/ELContext class
  | at com.sun.facelets.el.ELAdaptor.getELContext(ELAdaptor.java:45)
  | at 
com.sun.facelets.impl.DefaultFaceletContext.(DefaultFaceletCont
  | ext.java:85)
  | at 
com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:91)
  | at 
com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java
  | :510)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.jav
  | a:553)
  | at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha
  | se.java:133)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:290)
  | ... 22 more
  | 19:14:24,774 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces 
Servlet
  |  threw exception
  | java.lang.LinkageError: loader constraints violated when linking 
javax/el/ELCont
  | ext class
  | at com.sun.facelets.el.ELAdaptor.getELContext(ELAdaptor.java:45)
  | at 
com.sun.facelets.impl.DefaultFaceletContext.(DefaultFaceletCont
  | ext.java:85)
  | at 
com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:91)
  | at 
com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java
  | :510)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.jav
  | a:553)
  | at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha
  | se.java:133)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:206)
  | at 
org.jboss.seam.se

[jboss-user] [JBoss Seam] - Re: Update Seam JSF library againts JBoss5

2006-12-11 Thread mzeijen
Good idea. I also believe that using the myfaces library isn't recommended 
anymore from Gavin because the quality isn't that great.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992753
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Update Seam JSF library againts JBoss5

2006-12-11 Thread thejavafreak
Hi all,

Would it be possible in the next Seam generator version not to use myfaces 
listener when generating the web.xml and not to use myfaces library?

I think this is better to avoid conflict with JBoss 5 since JBoss 5 is not 
using the myfaces library anymore.

Just a two cents.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992752
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Component-driven events scope

2006-12-11 Thread cavani
I want suggest a second approach for the same feature:

@Observer(String[] value, boolean create)

Where the "boolean create" indicate if that component should be create when it 
not exists.

I dig a little on Seam code and conclude that this is very easy to do. This 
information could be setted on Init.ObserverMethod and Event.raiseEvent() could 
be changed to consider that.


This is less power than previous approach but is simple too.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992751
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Difference between version_ column in process definition

2006-12-11 Thread kukeltje
one version  is the version of the process definition itself, the other is the 
version of the process definition that was used to start the process instance 
(so the engine knows which definition to use to execute the instance)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992750
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Component-driven events scope

2006-12-11 Thread cavani
Done!

http://jira.jboss.org/jira/browse/JBSEAM-579

Thanks,

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992745
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: EntityManager is loosing updates

2006-12-11 Thread gnulp
I think you are "loosing updates" because you trigger several stateless 
session-beans in parallel (very often and fast) ...

So you have concurrent access to your data --> I was assuming, that you will 
get an exception telling you that you have the wrong version to update the 
object - unfortunatelly I don't know what's going on with your exception that 
you got.

I know it works, because we have also concurrent calls - and we get nice 
exceptions in case of two "threads" are manipulating the data ...

...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992746
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Using mod_jk12

2006-12-11 Thread torben.frojonck
I have in mind to use the apache webserver as frontend and Jboss as backend. I 
am trying to install the mod_jk12 by following the link
http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss

I have compiled the mod_jk module, but wen I start the apache server I get the 
error 
Attachning shm:/etc/httpd/logs/jk.shm errno=13
in the mod_jk.log under apache.
Does somebody know, what that mean.

I know the question is more directed towards Apache than Jboss. But I hope you 
anyway can help. At least to the correct Apache forum.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992744
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Customizing jBBM using own jsp's

2006-12-11 Thread kukeltje
read the seam documentation. It's all in there

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992743
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Generate a seam enabled JSF page from XML using XSLT

2006-12-11 Thread markbakker
Hi,

You must be kidding!
XSLT is for year 2004 and beyond, or maybe for FO pdf generation.
Seam stateful applications you don't generate with XSLT:-)

Kind regards,

Mark

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992742
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: intercept TransactionManager->commit()

2006-12-11 Thread gnulp
tried everything, but it seems not to be possible in ejb3 ...

unfortunatelly  javax.ejb.SessionSynchronization is just useable in statefull 
session-beans, but I have stateless session-beans ...

The problem arises in combination with cascading storing of entities that is 
supported in ejb3 ==> when a statless session-bean updates an entity with 
relations you have no chance to get a clue which objects have been modified!

You might use ejbs PreUpdate to get an idea which object has been updated, but 
that is not called synchronously ==> in other words the callback happens after 
you left the stateless function call (so no way to be manipulated within an 
interceptor !). You can also not implement some fiunctionality in the 
PreUpdate-Call itself because you are not allowed to use entityManagers there 
--> so I hoped to solve it with AOP - but NOPE ;-)


Anyhow - thx


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992739
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Document/Literal and multiple inputs

2006-12-11 Thread tobake
Hi!

I trying to get this dummyMethod to work with document/literal


public class Test {
  | 
  | @WebService(name="testWS", serviceName="TestService")
  | @SOAPBinding(style=SOAPBinding.Style.DOCUMENT,
  | use=SOAPBinding.Use.LITERAL,
  | parameterStyle = SOAPBinding.ParameterStyle.BARE)
  | 
  | @WebMethod
  | public String dummyService(String input, String input2) {
  | log.debug("dummyService was called");
  | return "Okey I am here";
  | }
  | }   
  | 
  | 


This did work when I only had one input parameter. But when testing with 
multiple inputs I get the following error when trying to deploy to jboss.

12:17:44,644 ERROR [MainDeployer] Could not create deployment: 
file:/C:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp14496icr3.ear-contents/icr3.war
  | org.jboss.ws.WSException: Attempt to map multiple operation inputs to: 
{http://webservice.icr3.com/jaws}dummyService


I have tried parameterStyle.WRAPPED and then it deploys but in that case it is 
giving me strange result when I try to consume the service with my .NET 
consumer application. I simply dont get the right input parameters in my proxy.

instead of looking like this :
proxy.dummyService(String input1, String input2)



it shows this :

proxy.dummyService(tester.jbossws.dummyService dummyService1)   




Help is appriciated. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992733
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How can I assign attribute of the complex object?

2006-12-11 Thread pkovgan
Ok, it is easy to resolve.

I just installed apache tcp monitor and sniffed for output message from my 
partner webservice.

Then I used XML Spy and its XPath utility to get correct Xpath to the element 
of the SOAP responce.

This was in my case: query="/return/impl0:id"

So thanks for everybody.






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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992732
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - How to send a parameter with checkbox in JSF in order to get

2006-12-11 Thread lara
I have an object of type Group. Each group has an ID, name & description. I 
want to list the groups and add a checkbox next to each one. In the form, I 
have a button Add, when it is clicked, I should be able to get first all the 
groups selected. I want to know how can I send the ID of the checked group with 
the  because I need to have the ID in the bean in 
order to perform some actions. Is that possinle?

The code in the JSF looks as follow:


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

Note that value="#{groupList}"  is the List of groups and groupsSelected is a 
boolean variable which has it setter and getter defined in the bean.
What I did for now is to save the list of boolean variable into an array and 
for example, if the second index contains a value true, I check the second 
element in the groupList and gets its ID from the bean. This doesn't work when 
I add sorting and things will be confused that is why I want to send the ID 
from the JSF page. Can anyone propose any solution?


Any help is appreciated!
Thanks in advance.
Regards

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992731
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Problem using command executor (batch update error)

2006-12-11 Thread Fleury
Hey,

I'm trying to use the command executor for asynchronous continuation. I get the 
following error :


[java] 50034 [JbpmCommandExecutor] DEBUG 
org.jbpm.persistence.db.DbPersistenceService  - committing hibernate transaction
 [java] 11:12:19,941 ERROR AbstractFlushingEventListener:301 - Could not 
synchronize database state with session
 [java] org.hibernate.StaleStateException: Batch update returned unexpected 
row count from update [0]; actual row count: 0; expected: 1
 [java] at 
org.hibernate.jdbc.Expectations$BasicExpectation.checkBatched(Expectations.java:61)
 [java] at 
org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome(Expectations.java:46)
 [java] at 
org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:24)
 [java] at 
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2338)
 [java] at 
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2242)
 [java] at 
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2542)
 [java] at 
org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:92)
 [java] at 
org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
 [java] at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
 [java] at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
 [java] at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
 [java] at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
 [java] at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
 [java] at 
org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
 [java] at 
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
 [java] at 
org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:162)
 [java] at org.jbpm.svc.Services.close(Services.java:211)
 [java] at org.jbpm.JbpmContext.close(JbpmContext.java:141)
 [java] at 
org.jbpm.msg.command.CommandExecutorThread.executeCommand(CommandExecutorThread.java:144)
 [java] at 
org.jbpm.msg.command.CommandExecutorThread.run(CommandExecutorThread.java:79)


I cannot find the problem. 
Thanks for your advices.

LF



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992727
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: First JBoss Seam book released

2006-12-11 Thread [EMAIL PROTECTED]
I'm trying to understand what happened to the printed version release date, and 
why some people in some countries can't purchase the book.

Unfortunately everything has to go through the safari website till it is 
printed. Once printed you will be able to get it from any bookstore.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992728
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Getting Exception while trying to access a Stateless EJB

2006-12-11 Thread jaikiran
anonymous wrote :  Properties props = new Properties();
  | 
  | 
props.put(Context.INITIAL_CONTEXT_FACTORY,"org.jboss.naming.HttpNamingContextFactory");
  | props.put(Context.PROVIDER_URL,"jnp://localhost:8080");
  | Context ctx = new InitialContext(props); 

This should be:

Properties props = new Properties();
  | 
  | 
props.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
  | props.put(Context.PROVIDER_URL,"jnp://localhost:1099");
  | Context ctx = new InitialContext(props); 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992726
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: wstools and Log4J

2006-12-11 Thread martinconnolly
thanks Sam. Will try this out.

MC

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992725
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: JBoss equivalence to Sun's deploytool in security config

2006-12-11 Thread jaikiran
AFAIK, there's no such GUI tool in JBoss

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992724
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Problem downloading AOP

2006-12-11 Thread flavia.rainone
Indeed, there is something wrong with the link.
While we don't fix this, please, select "Other JBoss Projects Downloads" in the 
combo box of the address:
 http://labs.jboss.com/portal/jbossaop/download/index.html 

And a link to download JBoss AOP 1.5.1GA will be shown.

Thanks!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992718
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: HowTo Link LDAP-Group with Roles?

2006-12-11 Thread Zwitsch
Hi,
Thanks for your help. I wrote my own LoginModule which extends the 
LdapExtLoginModule of Jboss to manage to correctly get the full DN of the group.

Thanks
Zwitsch

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992717
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Dynamic Deployement with JBoss AS

2006-12-11 Thread flavia.rainone
Did you follow all the instructions of as in the following link?
http://labs.jboss.com/portal/jbossaop/docs/1.5.0.GA/docs/aspect-framework/examples/annotated-injboss/annotated-injboss.html


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992716
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Calling a servlet from bean

2006-12-11 Thread purna_cherukuri
Hi,

I am using jboss-portal with myfaces.  

I have an application which contain a managed bean.  When i click one button,  
it will call bean method.  From that method i have to access a Servlet which is 
in other application.  So wht should i do?  

I tried to use dispatch method like below, but it is giving me 
IllegalStateException.  

  | FacesContext.getCurrentInstance().getExternalContext().dispatch(url);
  | 
Plz give some clues

Thanks in advance..



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992715
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Running jbpm31 on mysql5.x ? error of org.jbpm.command.Execu

2006-12-11 Thread dengzi725
I run jbpm3.1 on mysql4.x very well . and i try to get it to run on mysql5.x , 
find some following errors . someone can help to find the issues? Thanks very 
much . 



2006-12-08 16:22:39,576 DEBUG net.sf.ehcache.Cache - 
org.jbpm.graph.def.Node.events: Is element with key 
org.jbpm.graph.def.Node.events#10 expired?: false 
2006-12-08 16:22:39,576 DEBUG org.jbpm.msg.db.DbMessageService - sending msg 
'[EMAIL PROTECTED]' to destination 'CMD_EXECUTOR' 
org.hibernate.MappingException: Unknown entity: 
org.jbpm.command.ExecuteNodeCommand 
at 
org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:512)
 
at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1272) 
at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:180) 
at 
org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:460)
 
at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:84)
 
at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
 
at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:520) 
at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:513) 
at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:509) 
at org.jbpm.db.MessagingSession.save(MessagingSession.java:48) 
at org.jbpm.msg.db.DbMessageService.send(DbMessageService.java:58) 
at org.jbpm.graph.def.Node.enter(Node.java:314) 
at org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke() 
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) 
at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
 
at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$14af7d34_2.enter() 
at org.jbpm.graph.def.Transition.take(Transition.java:119) 
at org.jbpm.graph.def.Node.leave(Node.java:383) 
at org.jbpm.graph.node.StartState.leave(StartState.java:70) 
at org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke() 
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) 
at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
 
at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$14af7d34_2.leave() 
at org.jbpm.graph.exe.Token.signal(Token.java:174) 
at org.jbpm.graph.exe.Token.signal(Token.java:123) 
at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217) 
at 
org.jbpm31.example.action.WorkflowManager.forwardTaskInstaceNext(WorkflowManager.java:226)
 
at 
org.jbpm31.example.action.WorkflowAction.startProcess(WorkflowAction.java:700) 
at org.apache.jsp.workflow.start_jsp._jspService(start_jsp.java:49) 
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) 
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311) 
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) 
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) 
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
 
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
 
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563) 
at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
 
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563) 
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195) 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
 
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164) 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563) 
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563) 
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972) 
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209) 
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:670) 
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:517)
 
at org.apac

[jboss-user] [JBoss Portal] - show user logged

2006-12-11 Thread den74
Hi everyone, i'm lookink for a simple and quick way to make visible the user 
logged and i was thinking to make a small changes on the UserPortlet. Has 
someone ideas about how to do?

thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992712
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: rmi.NoSuchObjectException

2006-12-11 Thread nsv
Hi 

I have the same problem , But this is no windows machine, Please help me

I am accessing the rmi in a different way 

  String rmihost = schedulerURL + "/" + schedulerName; 
//"rmi://localhost:1099/Scheduler";
  | logger.debug("scheduler rmi host is : " + rmihost);
  | sch = (Scheduler) Naming.lookup(rmihost);
  | logger.debug("scheduler is : " + sch);

Please help...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992711
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 1.1.0 CR2, @RequestParameter

2006-12-11 Thread [EMAIL PROTECTED]
This is fixed in CVS.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992710
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: question about application scope component?

2006-12-11 Thread [EMAIL PROTECTED]
You must use XSDs, not a DTD. Look at the booking example to see how.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992709
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Communication between two EAR's

2006-12-11 Thread [EMAIL PROTECTED]
Hi 
I've two EAR's to deploy on jboss server.

EAR B is dependent on EAR A i.e. EAR B is referring to few classes in EAR A. 
I hope I 've to add an entry somewhere to say that EAR B is dependent on EAR A, 
then only I won't get classNotFoundException at runtime. It might me in 
jboss-app.xml. 

Could you please let me know how can I make EAR B to communicate with EAR A 
without any runtime error?

Thanks in Advance

Ramesh



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992707
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Multiple SEI's with wstools

2006-12-11 Thread Duffcase
Ok, thanks for your reply. 

I had a look at that, but it didn't really help me out much, other than 
confirming that the structure I had was correct.


I searched around a bit more and found this post:

http://www.jboss.org/index.html?module=bb&op=viewtopic&t=8&postdays=0&postorder=asc&start=10


which answers my question. Seems I need different config files for each SEI, 
since wstools will overwrite my files on each run.

Also I need to manually merge the webservices.xml files.
The post also points at annotations and JSR181, which might be an alternative.

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992706
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How can I assign attribute of the complex object?

2006-12-11 Thread pkovgan
Ok ,
I'll try to give concrete example:

I failed on last assign in BPEL description below.
Actually I did not fail(no errors), but I do know that last invoke was not 
completed. Probably because last assign is wrong.

My process should connect to WS called Customer and retrieve Complex object as 
response:

My bpel is:

 
  | 
  | http://xtp.sap.com/bp/salesOrderCreation"; 
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"; 
xmlns:tns="http://xtp.sap.com/bp/salesOrderCreation"; 
xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/"; 
xmlns:impl1="http://com.sap.xtp/services/Salesorder"; 
xmlns:impl2="http://com.sap.xtp/services/Item"; 
xmlns:impl0="http://com.sap.xtp/services/Customer"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2003/03/business-process/
  |   http://schemas.xmlsoap.org/ws/2003/03/business-process/";>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  |  


As you noticed last assign takes variable _var2 from call to WS,
WSDL of this WS below:


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


Could you help me?
What's wrong in my variable/part/query?What is wrong in WSDL?

Please, help.

Thanks in advance.





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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992705
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: question about application scope component?

2006-12-11 Thread jboss-Nth-Fan
Hi Folks,

I have the exact same issue here, however not sure how to use the seam-Managed 
EM.

Just to be sure, is it the one in: "13.4.2. Using a Seam-managed persistence 
context" from the Seam Ref Doc 1.1.CR2 ?

I've tried (as per ref) to add it to the components.xml, no luck

  | 
  | 

The DTD for components.xml does not seem to like the 'core' tag, or is the 
Documentation incorrect ?

Any pointers will be helpful !

Yeyo


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992704
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - regarding the database change from OBE to Oracle

2006-12-11 Thread vamsikirankumar.k
Hi,
I am trying to run the jbpm application by replacing the OBE with Oracle.To do 
this i replaced org.hibernate.dialect.HSQLDialect to 
org.hibernate.dialect.OracleDialect and java:/DefaultDS to 
java:/EntityMedia,changed driver-class,user-name,password,url and Jndi name in 
the jbpm.sar.cfg file and when i started running the server the log files r 
showing an error as DataSource not found.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992703
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Missing Content-Length in response

2006-12-11 Thread evantill
Thank you very much for the response.
I am using the GSOAP C/C++ lib for the implementation of the client.

The GSOAP lib consider an HTTP 500 response without content as a failure and 
not as a SOAP FAULT. 
And the library use the header Content-Length to know if the response is empty 
or not.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992702
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: problem in connecting to RMI , please help , i need help

2006-12-11 Thread nsv
Somebody please help

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992700
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: java.lang.ClassCastException: $Proxy79 getting conext

2006-12-11 Thread helloween0809
I met the same problem.

and the same code runs correctly in a java eclipse. 


= the code ===

public class MainFrame {

public static void main(String[] args) throws Exception {

Properties props = new Properties();

props.setProperty("java.naming.factory.initial", 
"org.jnp.interfaces.NamingContextFactory");
props.setProperty("java.naming.factory.url.pkgs", 
"org.jboss.naming:org.jnp.interfaces");
props.setProperty("java.naming.provider.url", "localhost:1099");

InitialContext initCtx = new InitialContext(props);

Rankgrade rankgrade = 
(Rankgrade)initCtx.lookup("RankgradeBean/remote");

}

}



=== the excepiton 

16:16:28,064 WARN  [RequestProcessor] Unhandled Exception thrown: class 
java.lang.ClassCastException
16:16:28,064 ERROR [[action]] Servlet.service() for servlet action threw 
exception
java.lang.ClassCastException: $Proxy100
at 
com.ufmobile.mstreet.rank.action.RankGradeAction.execute(RankGradeAction.java:57)
at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)


= the JNDI ===

  +- StreetBean (class: org.jnp.interfaces.NamingContext)
  |   +- local (proxy: $Proxy92 implements interface 
com.ufmobile.mstreet.street.bo.Street,interface 
org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBLocalObject)
  |   +- remote (proxy: $Proxy91 implements interface 
com.ufmobile.mstreet.street.bo.Street,interface 
org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject)
  +- RankplaceBean (class: org.jnp.interfaces.NamingContext)
  |   +- local (proxy: $Proxy75 implements interface 
com.ufmobile.mstreet.rank.bo.Rankplace,interface 
org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBLocalObject)
  |   +- remote (proxy: $Proxy73 implements interface 
com.ufmobile.mstreet.rank.bo.Rankplace,interface 
org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject)
  +- QueueConnectionFactory (class: org.jboss.naming.LinkRefPair)





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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992699
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Java Client of Embedded EJB3 into Tomcat5.5.20 problem

2006-12-11 Thread coral
Is it prossible to use eclipse java class to call embedded EJB3 into Tomcat?

I knew it's easy for Jboss ejb3 to make it work. But for embedded ejb3 it maybe 
can not work. 
I try the codes as Jboss EJB3

  | final Hashtable properties = new Hashtable();
  | 
properties.put("java.naming.factory.initial","org.jnp.interfaces.LocalOnlyContextFactory");
  | 
properties.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
  | InitialContext ctx = new InitialContext(properties);
  | RemoteIntf remote = (RemoteIntf) ctx.lookup(RemoteIntf.class.getName());
  | remote.runMethod();
  | 
It will throw exception when run on InitialContext ctx = new 
InitialContext(properties);
The exception is:

  | javax.naming.NamingException: Local server is not initialized
  | at 
org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45)
  | at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
  | at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
  | at javax.naming.InitialContext.init(InitialContext.java:223)
  | at javax.naming.InitialContext.(InitialContext.java:197)
  | at test.Test.main(Test.java:34)
  | 

Did the error message means not find service? I think every step I do is 
correct, but...

Thanks for any reply

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992698
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - how to retrieve jsp or html text fields using jbpm

2006-12-11 Thread skpeddi
Iam new to jbpm,any body can help me how to start my process using my own 
application with jbpm but iam not using jbpm starters kit.
I created one jsp page (with one text field and one submit button)when iam 
clicking that button how to retrieve the parameters using jbpm.

In normal webapplications using request.getParameter("") we  can retrieve the 
values .But in jbpm how to use the API to retrieve the values.

I was stucked from 3 days .Any body can help me in this manner.


Suresh Kumar.G

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992697
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Eclipse IDE (users)] - Re: IDE 2.0.0.Beta2 - JBoss Server Configuration - EJB3 Proj

2006-12-11 Thread Huber
It works!!!

Thank you very much!!!

You are right: i have selected JBoss Server and not JBoss Inc in my earlier 
trials (I did not notice the possibility of JBoss Inc)

Thank you very much for your help!

Johannes

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992696
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: problem in connecting to RMI , please help , i need help

2006-12-11 Thread nsv
Do i need to do something in the configuration file

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992695
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: problem in connecting to RMI , please help , i need help

2006-12-11 Thread nsv
i am not able to call the ejb through rmi

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992694
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


<    1   2