[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.NoInitialContextException error when access

2007-03-06 Thread emcwoo
jaikiran, thanks for your help.  However, the error occurred no matter how I 
set the java.naming.provider.url, even for a non-exist URL.  From the error 
message on the client side quoted below, the problem seems related to the 
property java.naming.factory.initial=org.jnp.interfaces.HttpNamingContextFactory


Detail error message:

 [java] javax.naming.NoInitialContextException: Cannot instantiate class: 
org.jnp.interfaces.HttpNamingContextFactory [Root exception is 
java.lang.ClassNotFoundException: org.jnp.interfaces.HttpNamingContextFactory]
 [java] at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
 [java] at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
 [java] at javax.naming.InitialContext.init(InitialContext.java:223)
 [java] at javax.naming.InitialContext.(InitialContext.java:175)
 [java] at 
org.jboss.example.jms.common.Util.doesDestinationExist(Util.java:43)
 [java] at 
org.jboss.example.jms.common.ExampleSupport.setup(ExampleSupport.java:146)
 [java] at 
org.jboss.example.jms.common.ExampleSupport.run(ExampleSupport.java:57)
 [java] at 
org.jboss.example.jms.queue.QueueExample.main(QueueExample.java:134)
 [java] Caused by: java.lang.ClassNotFoundException: 
org.jnp.interfaces.HttpNamingContextFactory
 [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 [java] at java.security.AccessController.doPrivileged(Native Method)
 [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
 [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
 [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
 [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
 [java] at java.lang.Class.forName0(Native Method)
 [java] at java.lang.Class.forName(Class.java:242)
 [java] at 
com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
 [java] at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
 [java] ... 7 more

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

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


[jboss-user] [JBossCache] - Re: Retrieving state problem

2007-03-06 Thread kkrivopustov
Thank you for reply.

Two days ago I set logging level for org.jgroups to INFO (previously it was 
WARN), and the problem magically disappeared - I still can't reproduce it. Now 
it says created socket to ... on the new node and input_cookie is bela on 
the master node.

If it appears again, I will play with logging and TCPPING timeouts.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem

2007-03-06 Thread gopinathb4u
I will give it a try. 

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

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


[jboss-user] [EJB 3.0] - Re: @ManyToOne results in tinyblob

2007-03-06 Thread hispeedsurfer
Hi Andy,

thank you for response. I think mixing annotations levels was the cause of my 
problem. Now it works.

Thanks


Bye
Andi

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

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


[jboss-user] [Clustering/JBoss] - java.io.NotSerializableException: net.sf.jasperreports.engin

2007-03-06 Thread luca.xlb
Hi all.

My application generate a report using  a servlet.


I get the following exception, while I try to generate a report.

Any advice?

I've check all my operation on session, but I never store a jasperreport object.




23:19:18,331 ERROR [JBossCacheService] externalizeSession(): exception occurred 
externalizing session SessionBasedClusteredSession[id: FmIsgWXdBI9h2SzqUVH3aA** 
lastAccessedTime: 1173046714136 version: 21 lastOutdated: 1173046736399]
java.io.NotSerializableException: 
net.sf.jasperreports.engine.util.DefaultFormatFactory
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at java.util.HashMap.writeObject(HashMap.java:1039)
at sun.reflect.GeneratedMethodAccessor170.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at java.util.Hashtable.writeObject(Hashtable.java:813)
at sun.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at 
org.jboss.web.tomcat.tc5.session.SessionBasedClusteredSession.writeExternal(SessionBasedClusteredSession.java:175)
at 
org.jboss.web.tomcat.tc5.session.JBossCacheService.externalizeSession(JBossCacheService.java:1023)
at 
org.jboss.web.tomcat.tc5.session.JBossCacheService.putSession(JBossCacheService.java:312)
at 
org.jboss.web.tomcat.tc5.session.JBossCacheClusteredSession.processSessionRepl(JBossCacheClusteredSession.java:121)
at 
org.jboss.web.tomcat.tc5.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:1093)
at 
org.jboss.web.tomcat.tc5.session.JBossCacheManager.storeSession(JBossCacheManager.java:648)
at 
org.jboss.web.tomcat.tc5.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:49)
at 
org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:98)
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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)


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

Reply to the post : 

[jboss-user] [JBoss Seam] - SeamPortletPhaseListener Vs TransactionalSeamPortletPhaseLis

2007-03-06 Thread h.cahyadi
What is the difference between SeamPortletPhaseListener and 
TransactionalSeamPortletPhaseListener ? can anyone give me a brief description

Thanx and regards,
-haric- 

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

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


[jboss-user] [Security JAAS/JBoss] - Re: exception when run jboss-4.0.4 with the jboss federation

2007-03-06 Thread charles751
I change jdk from 1.4.2 to 1.5.0 and tested the sso framework,but there were 
still some errors.

I guested these errors maybe be associated with the file of users_en.properties 
in the jboss-identity-management.jar,but i do not know how to change it.

the errors:

2007-03-06 17:00:38,718 ERROR [org.jboss.security.idm.IdentityManager] 
org.jboss.security.idm.IdentityManager
java.util.MissingResourceException: 
Can't find bundle for base name users, locale zh_CN

at 
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)

at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)

at java.util.ResourceBundle.getBundle(ResourceBundle.java:549)

at org.jboss.security.idm.demo.DemoLoginProvider.(DemoLoginProvider.java:47)


thanks for your apply.

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

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


[jboss-user] [Security JAAS/JBoss] - How set permissions to the specific user allow to restart Jb

2007-03-06 Thread changemylife
Hi all!

I have two problems that need some helps from anyone:

1. My operating system is XP2, I use jboss-4.0.5.GA. I assume that have three 
person with usernames are A, B and C. And now, I want A and B are 
allow restart JBoss server, C is not allow! How I can do ?

2. I have two bean called Bean1 and Bean2. If copy both of them into deploy 
folder (on server), the deploy is ok! But now, how the server check to server 
can deploy Bean1 not Bean2. How I can do this ?

   If can, please show me some links to solve my problems.

Thanks! 

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

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


[jboss-user] [Installation, Configuration Deployment] - How set permissions to the specific user allow to restart Jb

2007-03-06 Thread changemylife
Hi all!

I have two problems that need some helps from anyone:

1. My operating system is XP2, I use jboss-4.0.5.GA. I assume that have three 
person with usernames are A, B and C. And now, I want A and B are 
allow restart JBoss server, C is not allow! How I can do ?

2. I have two bean called Bean1 and Bean2. If copy both of them into deploy 
folder (on server), the deploy is ok! But now, how the server check to server 
can deploy Bean1 not Bean2. How I can do this ?

If can, please show me some links to solve my problems.

Thanks!

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

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


[jboss-user] [JBoss Seam] - Re: @In(create = true) @Out works fine in 1.1.5.GA and not i

2007-03-06 Thread msystems
[EMAIL PROTECTED] wrote : I cannot reproduce this behavior. If a page action 
begins a conversation, everything works just fine for me.

What can I say? Very odd :-)

But now it works fine for me and it also works fine for you, so everybody are 
happy :-)

Thanks for your time and help.


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

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


[jboss-user] [JBossWS] - Re: generated wsdl always has port 8080 (even when it should

2007-03-06 Thread RomeuFigueira
Simplified answer:
anonymous wrote : File: modify 
/server/default/deploy/jbossweb-tomcat55.sar/server.xml
  | Change: Connector port=8180 address=${jboss.bind.address}
  | Motive: Makes JBoss AS run on port 8180 instead of the previous 8080
  | 
  | File: modify 
/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml
  | expload and remove jbossws.beans
  | Change: 8180
  | Motive: Makes JBoss WS check properly port 8180 

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

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


[jboss-user] [JBoss Portal] - Flexing JBoss Portal - Q1

2007-03-06 Thread johanwasserman
I'm new to Felx and JB Portal (about a month on each), and have to develop this 
sexy app.  I insisted on using JB Portal and Flex

Using Portal 2.4.0 GA, on JBoss 4.0.5 GA, FLex Builder 2, MySQL, LDAP (Apache 
DS), and have the LDAP login thing configured and working (I need to optionally 
extend the login thing as well by supplying the company id as a third parameter 
to login, that will search the subtree of the company [o=companyID] for the 
user).

Now I'd like to replace the User Portal with a Fex login app (instead of 
redirecting to the (sory guys) ugly login page provided by portal.

I need a startoff, where or what do I use to acheive this.

I was thinking of using the login.jsp 
([JBP-install]/server/defualt/deploy/jboss-portal.sar/portal-server.war/login.jsp)
 and HTTPService on Flex to call the jsp, but when I use the jsp I get an ugly:
HTTP Status 400 - Invalid direct reference to form login page
The request sent by the client was syntactically incorrect (Invalid direct 
reference to form login page).

Anyone done this, or busy doing this, or have a good idea of how to do this, 
help would be greatly appreciated. (Since time is against me and I've been 
putting something small on a block to get these wonderfull technologies to 
provide a solution)

Thank you, dankie, faleminderit, merci, chokrane, Barak Allahu fiik, 
chnorakaloutioun, tesekkur edirem, a ni kié, milesker, dziakuju, dhanyabaad, a 
ni kié, hvala, trugéré, merci / blagodaria, (thint ko) kyay tzu, tin pa te, 
gràcies, salamat, xièxie, grazie, hvala, dekuji, tak, dank u wel, dankon, 
tänan, akpé, takk fyri, vinaka, kiitos, merci, dankewol, gracie, gracias, 
danke, efharisto, aguyjé, aabhar, mèsi, mahalo, toda, dhanyavad, köszönöm, 
takk, terima kasih, go raibh maith agat, grazie, arigatô, tanemirt, 
dhanyavadagalu, akun, murakoze, kam sah hamnida, sobodi, tenki, spas, khob 
chai, gratias ago, paldies, choukrane, aciu, dank ju wel, merci, blagodaram, 
misaotra, terima kasih, nanni, grazzi, aabhar, bayarlalaa, takk, mercé, danki, 
mersi, dziekuje, obrigado, najis tuke, multumesc, spacibo, faafetai lava, 
gratzias, tapadh leibh, hvala, waita, meharbani, stuutiyi, dakujem, hvala, 
hvala, gracias, asante, tack, salamat po, mauruuru, nanedri, rahmat, kop khun k!
 rap, yekeniele, sagolun, tau
diakuiu, shukriya, merci, diolch, mèsi, djiere dieuf, enkosi, a dank, o sheun, 
ngiyabonga
In Advance

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

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

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


[jboss-user] [Security JAAS/JBoss] - Re: exception when run jboss-4.0.4 with the jboss federation

2007-03-06 Thread charles751
to sohil.shah:

If i have run the jboss as successfully, i can not find a user name and 
password to login the web application.Where is the login information?

What should i do at the next step to test the cross domain sso web application?

My english is so poor that i can not express my appreciation for your apply.
Thanks for your help.



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

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


[jboss-user] [JBoss Seam] - Re: nested conversation with explicit id

2007-03-06 Thread ebu
I would really appreciate any help!

wbr, eugen.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Jboss installation without X11

2007-03-06 Thread micho
onother sorry, but reading the manual helped :-(

It is possible to start the installer with some options in textmode without 
graphical environment.

java -jar jems-installer-1.2.0.jar -installGroup ejb3-clustered 
installpath=/opt/jboss-4.0.5

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Installing JBoss/ejb3 without X-window on Linux

2007-03-06 Thread micho
try this:
http://www.jboss.com/index.html?module=bbop=viewtopicp=4025336

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

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


[jboss-user] [JBoss jBPM] - Re: Getting context variable

2007-03-06 Thread kukeltje
this is all in the documentation, examples, etc...etc...etc

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

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


[jboss-user] [EJB 3.0] - Problem while deploying some demo EJB

2007-03-06 Thread KingOfSweetness
Hi ,

i tried to deploy and test a sample application that i retrieved from this 
link: http://www.laliluna.de/ejb-3-struts-tutorial-jboss.html

while i am attempting to access the welcome page at:
http://localhost:8080/EJBStrutsWeb/welcome.do
i can easily display the welcome page but when i try to test some EJB 
functionalities i have this error stack and i don't find the reason at all ;(


  | [STDOUT] 10:53:30,696 ERROR [[action]] Servlet.service() for servlet action 
threw exception
  | java.lang.RuntimeException: javax.naming.NameNotFoundException: BookDaoImp 
not bound
  | at 
de.laliluna.library.struts.action.CreateSampleDataAction.execute(CreateSampleDataAction.java:52)
  | 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.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(Unknown Source)
  | Caused by: javax.naming.NameNotFoundException: BookDaoImp 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 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 sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
  | at sun.rmi.transport.Transport$1.run(Unknown Source)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at sun.rmi.transport.Transport.serviceCall(Unknown Source)
  | at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
  | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown 
Source)
  | at java.lang.Thread.run(Unknown Source)
  | at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
  | at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
  | at sun.rmi.server.UnicastRef.invoke(Unknown Source)
  | at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | at javax.naming.InitialContext.lookup(Unknown Source)
  | at 
de.laliluna.library.struts.action.CreateSampleDataAction.execute(CreateSampleDataAction.java:47)
  | ... 24 more
  | 
  | 

i am using MyEclipse5 and  jboss-4.0.4.GA , i even tried with jboss-4.0.5.GA 
and even jboss-5.0.0.Beta1 but still have the same error , can anyone please 
try to help me i am really desperated

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

Reply to the post : 

[jboss-user] [JBoss Portal] - Flexing JBoss Portal - Q2

2007-03-06 Thread johanwasserman
Where is the best place to put your flex libraries and stuff (for data 
services, etc) so as to have full access for your Flex apps to the jboss api's 
and stuff.

Would just adding your flex.war to the deploy directory do the trick, and then 
you put all your Flex apps in there?  Would you from there have access to 
create new admin interface and login page portlets for JB Portal?  Will you be 
able to secure your flex apps propperly from there?

Fanks in advance 

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

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


[jboss-user] [JNDI/Naming/Network] - ClassCastException upon jndi lookup after upgrade from 3.2.8

2007-03-06 Thread hgsdc
Hi forum.

I have already searched the forums and wiki and found that this might be class 
loader related. I just can seem to get it working. Here's the scene:

I have a web app placed in a war file, say app-web.war
I have a ejb app placed in a ejb jar file, say app-ejb.jar
The whole thing is packed in an ear file, say app.ear

All interfaces are local.

I get the classcast exception during casting of the found home interface (via 
jndi) to the concrete home interface:

In my web app servlet I do:

MyHome home = (MyHome) ServiceLocator.GetHome(serviceId)

In the ServiceLocator static class i perform the lookup in jndi:

// Lookup is just fine
Object ref = initial.lookup(getServiceName(serviceId));

// Cast to the common EJBHome interface
return (EJBLocalHome) ref;

Upon casting to MyHome interface in servlet I get the class cast exception.

Can someone instruct me how to exactly pack my app-web.war, app-ejb.jar and the 
app.ear to overcome this issue?

I built my ear and it's contents with an ANT script.

Thanks in advance.

Regards

Henrik 




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

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


[jboss-user] [JBoss Portal] - Re-Theming

2007-03-06 Thread johanwasserman
Anyone has a laymens how-to on re-theming the base portal, and then theming per 
company?  I would like to have a main theme, and then depending on the user who 
logs in, chanage the theme to the company theme for that user.  Oh, and there 
will be many companies using the site.

Quite new to JBoss Portal and the documentation is difficult to understand for 
a laymen like me (yea, I'm a dumb-ass)...

Fanks in advance...

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

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


[jboss-user] [JBoss Portal] - Re: Flexing JBoss Portal - Q1

2007-03-06 Thread [EMAIL PROTECTED]
No you shouldn't call login.jsp directly, it cannot work. You are redirected to 
this page when you try to access a protected resource.

The configuration of the form-login-page is in portal-server.war/WEB-INF/web.xml

You could point to your flex page, but your flex form would need to call 
j_security_check as done in login.jsp

I don't know flex so i can't tell if at the end you can make it work or not. 
Let us know if you succeed.


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

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


[jboss-user] [JBoss Portal] - Re: Flexing JBoss Portal - Q1

2007-03-06 Thread Antoine_h
hello,

yes, you can (and it is a good way to) use the login.jsp.
the file is defined in the web.xml.
for any reason I don't know, I could not have it work with another name of 
file, replacing this file name.
so better just to keep this file name and modify the file.

I don't know the flex things, but what you can do is :
a) modify the login.jsp to show a nice login window.
b) put in the login.jsp a redirection (meta refresh) to send the user to 
whatever authentification application you want. You just have to go back from 
this application with provided the right things for tomcat : ie : the principal 
and the group.

both are working. 
the b) option is more heavy to build and to tune to have work properly. It is 
only needed if you have to authenticate with special means (card, code number 
from a list, etc...) that are not provided as standard authentication by tomcat.

the other question is : do you really need Flex things in the middle of 
authentification process ?
if so, you may look also at SSO, to get the authentification propagated.

also : for LDAP, version 2.6 (alpha 2) propose some authentification based on 
LDAP. You may want to look at it, at how it works.

hope it helps...


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

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


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

2007-03-06 Thread Antoine_h
Look at the layout strategy, the theme and rendering strategy.
There are classes you can overide to get the thing done the way you want.
look at previous post for this. and also the wiki.

that is the proper way to do it.

You can also look in the jsp of the layout, how the css are injected. 
you may change this / or add the thing to get your thing done for each user.

with the defineObject stuff, you can get the request, then the user (if 
logged), and then build a specific jsp tag to inject the right css depending of 
the user.

that is the proper and minimal way to do it. 

another way, more quick and dirty.
if you have a portlet that is in all the pages (lets say the UserPortlet).
you can use the feature of each portlet can add it's own css stylesheet, to 
add a css depending on the user. 
This css is supposed to be there only for the portlet, but the css item can 
impact the whole page.
this overidding css can change the logo, some colors etc...

you can build a portlet that show nothing, and add it in all the pages, instead 
of using the UserPorltet or whatsoever portlet made for other things.

there is a previous post about how to add a portlet on all the pages, direclty 
in the layout, instead of adding it in all the pages descriptors...

look at previous post for all this...


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

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


[jboss-user] [JBoss Portal] - Re: Flexing JBoss Portal - Q1

2007-03-06 Thread Antoine_h
posted the same time as Thomas.

when I say :
yes, you can (and it is a good way to) use the login.jsp.
the file is defined in the web.xml. 

that is : not calling it directly, but letting tomcat do it in its login 
process
as Thomas noted it.

look at tomcat authentification process to see more of how the whole thing 
works...

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

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


[jboss-user] [JCA/JBoss] - Spontaneous undeployment under stress load

2007-03-06 Thread ktorn
I'm unsure where to post this, but as this issue manifested itself whilst 
stress loading a Resource Adapter I though I'd post it here.

As anyone ever witnessed the spontaneous undeployment of farmed applications 
(in a JBoss cluster) when an application is under stress?

We're managing this feat when flooding a custom built TCP listening Resource 
Adapter with concurrent requests (TCP packets). The RA works well with between 
50 and 100 concurrent requests, but as soon as we increase the load to 500+ 
concurrent requests the cluster starts undeploying a number of applications, 
most totally unrelated to the RA.

I've so far been unable to replicate this on my dev machine (stress test 
client, JBoss and DB all running locally) but it keeps happening on our test 
setup (stress test client, JBoss and DB on 3 separate machines). We've tried 
ruling out the cluster, by only running one JBoss instance, and it also 
undeployed most applications under stress on its own.

I'm trying to replicate this on my machine so that I can get some more details, 
but I thought I'd ask here for any hints in case it rings any bells with anyone.

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

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


[jboss-user] [EJB 3.0] - Re: Database Connection Pooling?

2007-03-06 Thread fhh
Not if you do have 50 concurrent users. The connection is only returned to the 
pool when you close it. This obviuosly means it is not used anymore.

Connection pooling will not give you any kind of multiplexing of database 
access. This is not possible due to the fact that database transactions are 
bound to a certein connection.

Regards

Felix

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

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


[jboss-user] [JBoss Messaging] - Re: ejb3mdb example

2007-03-06 Thread asturn
I installed JBoss 4.0.5 GA using the jems-installer-1.2.0.GA.jar:

I started the jems-installer-1.2.0.GA.jar and used the EJB3 support (without 
clustering) and the standard configuration. 

Then I installed the JBM 1.2.0 GA with the ant build script in the util 
directory, started JBoss using run ?c messaging, and executed the ant in the 
examples/ejb3mdb directory.

System: Windows XP, jdk1.5.0_11

The same procedure works perfectly with the JBM 1.0.1.SP4.


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

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


[jboss-user] [JBoss Seam] - Re: How can i popup a browser window?

2007-03-06 Thread fhh
I do it in a project but I'm not sure if it is the best way to do it. Here it 
goes:

You have a event-scoped Seam component:

  | 
  | @Name(jspopup)
  | public class JsPopup {
  | 
  |   private String name;
  |   private String url;
  |   private int height;
  |   private int width;
  |  // etc.
  |   
  | 
  | /* Getters and Setters */
  | 
  | 
  | }
  | 

In your action method you create the popup component and outject it. Now
add some javascript at he beginning of the page:


  | c:if test! empty popup
  | 
  |script language=javascsript
  |var vWinUsers = window.open('
  | #{jspopup.url}', 
#{jspopup.name},'width=#{jspopup.width},width=#{jspopup.height});
  | vWinUsers.opener = self;
  | vWinUsers.focus()
  |/script
  | 
  | /c:if
  | 

If you find a better way to do it please let me know.

Regards

Felix

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

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


[jboss-user] [JBoss Portal] - Re: Flexing JBoss Portal - Q1

2007-03-06 Thread johanwasserman
Thanks Thomas, Antoine

Your answers gave me a good idea of what to do, but now I have a stupid 
question, where is the origin of j_security_check?

See, with Flex you can use Remote Objects, you write an action script and 
declare your remote object, with parameters, and then I would be able to use 
j_security_check much like in the jsp.

Example:
I have a bean (using himernate)
package pah.to
public class User {
  private String username;
  public User();
  public User(String username) { this.username = username; }
  public String getUsername() { return this.username; }
  public void setUsername(String username) { this.username = username; }
}

In Flex I decalre an Action Script
package com.blah {
 [Managed]
 [RemoteClass(alias=path.to.User)]
public class User {
  public function User() {}
  public function setUsername(username:String);
  public var username:String;
}

(note, mistakes above are accidental, the code above is just provided for quick 
and dirty illustrative purpose and might not be 100% correct)

Get the idea so far?  Ok, no I can call setUsername in my flex app.
I know that was a quick and dirty, and hope it helps you to see what I am 
looking for.  I need a package to make an ActionScript Class off so I can call 
j_security_check  or am I missing the ball tragically?

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

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


[jboss-user] [JNDI/Naming/Network] - Problem with NameNotFoundException after the local interface

2007-03-06 Thread heineson
Hi,

I have a problem with an application using a stateless EJB 2.1 session bean. 
The problem occurs during deploying and initializing.

First I get a message like this:

2007-02-28 17:20:46,380 DEBUG [org.jboss.ejb.StatelessSessionContainer] End 
java:comp/env for EJB: EJBSingletonInvoker
2007-02-28 17:20:46,394 INFO  
[org.jboss.ejb.plugins.local.BaseLocalProxyFactory] Bound EJB LocalHome 
'EJBSingletonInvoker' to jndi 'EJBSingletonInvoker_local'

Then an error like this during init of the app when trying to create the bean:

2007-02-28 17:21:47,645 DEBUG 
[com.computas.mt.jboss.server.startup.StartupService] Starting failed 
mt.computas.com:service=Startup
com.computas.cx.exception.BeansException: Could not create session bean of 
class interface com.computas.cx.invocation.ejb.EJBSingletonInvoker
...
Caused by: javax.naming.NameNotFoundException: EJBSingletonInvoker_local not 
bound

I can't figure out what is causing this? I must add that we are using a 
clustered environment with two servers (JBoss 4.0.4GA) and the problem occurs 
when both servers are started before the deployment. If only the server we 
deploy to is up all seems to be fine. Both servers know of each other and forms 
a cluster perfectly.

Thanks in advance!
/Jonas Heineson

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

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


[jboss-user] [JBossCache] - Re: Configure EvictionPolicy on JBoss 4.0.5 Doubt

2007-03-06 Thread [EMAIL PROTECTED]
Do you know if there are any other caches running in the same app server, and 
perhaps trailblazer is talking to the wrong one?  You can tell by looking in 
the JMX console.

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

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


[jboss-user] [JBoss jBPM] - Problem: SOAP Body Encoded

2007-03-06 Thread agusgr
Hello, 
When my process invoke a external web service, I have this exception.anonymous 
wrote : 2007-03-06 13:30:36,812 DEBUG 
[org.jbpm.bpel.integration.jms.StartListener] caught exception while passing 
control to process, searching for handler
  | org.jbpm.bpel.BpelException: encoded use not supported
  | at 
org.jbpm.bpel.integration.client.SoapClient.writeRpcBody(SoapClient.java:212)
  | at 
org.jbpm.bpel.integration.client.SoapClient.writeMessage(SoapClient.java:199)
  | 
The soap message has the following properties:
anonymous wrote : SOAP Body: http://webservices.tekever.eu/ip2pais
  | SOAP Body: encoded
  | SOAP Body: http://schemas.xmlsoap.org/soap/encoding/
That's means that jbpm-bpel Beta 3 doesn't support encoding in the SOAP 
messages??
I think yes, but I would like some qualified confirmation.
Thank you,

Agus

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with installing jBPM BPEL 1.1-Beta3

2007-03-06 Thread agusgr
Look in {jbossHome}/server/default/log/server.txt and look for the messages

Agus

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4025373
___
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 use my custom tags in the task.jsp page

2007-03-06 Thread kukeltje
in 3.2 custom tags are supported, just use jsf. In 3.1 (which you use I guess) 
you have to create your own webfrontend to do this dynamically (meaning per 
page/task)

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM recruitment advice needed - UK market

2007-03-06 Thread kukeltje
Am I allowed to work from The Netherlands? I can com over there now and then :-)

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

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


[jboss-user] [Installation, Configuration Deployment] - Drools in Eclipse (ObjectWeb Lomboz 3.1.2)

2007-03-06 Thread prasnuts
Hi,

I'm new to eclipse. What we are to use is ObjectWeb Lomboz 3.1.2 and I need to 
use drools with it. I did the usual thing, putting the plugin and features in 
the respective directories and restarted. But it didn't work.

Even when I searched for the installed plug in it doesn't show drools... I will 
be thankful to anyone who lets me out of this situation.

Is there a stand alone IDE to use Drools as I need to get start up and running 
soon.

Thank you,
prasnuts.

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

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


[jboss-user] [JBossWS] - ClassNotFoundException and a generated __JBossWS_... class

2007-03-06 Thread jimmycallaghan
We're deploying a JBoss WS application and getting a nasty error:


  | 13:24:34,303 ERROR [AbstractServlet] Error processing web service request
  | javax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: 
javax.xml.bind.MarshalException: java.lang.ClassNotFoundException: 
com.telrock.mint.business.ejb3.webservice.__JBossWS_MintService_MintPort_getSummary
  | at 
org.jboss.ws.soap.SOAPContentElement.getXMLFragment(SOAPContentElement.java:187)
  | at 
org.jboss.ws.soap.SOAPContentElement.expandToDOM(SOAPContentElement.java:844)
  | at 
org.jboss.ws.soap.SOAPContentElement.getChildNodes(SOAPContentElement.java:761)
  | at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:211)
  | ...
  | ...
  | 
  | Caused by: org.jboss.ws.binding.BindingException: 
javax.xml.bind.MarshalException: java.lang.ClassNotFoundException: 
com.telrock.mint.business.ejb3.webservice.__JBossWS_MintService_MintPort_getSummary
  | at 
org.jboss.ws.jaxrpc.encoding.JAXBSerializer.serialize(JAXBSerializer.java:112)
  | at 
org.jboss.ws.soap.SOAPContentElement.getXMLFragment(SOAPContentElement.java:172)
  | ... 30 more
  | Caused by: javax.xml.bind.MarshalException: 
java.lang.ClassNotFoundException: 
com.telrock.mint.business.ejb3.webservice.__JBossWS_MintService_MintPort_getSummary
  | at 
org.jboss.ws.jaxb.JAXBMarshallerImpl.marshal(JAXBMarshallerImpl.java:181)
  | at 
org.jboss.ws.jaxrpc.encoding.JAXBSerializer.serialize(JAXBSerializer.java:100)
  | ... 31 more
  | Caused by: java.lang.ClassNotFoundException: 
com.telrock.mint.business.ejb3.webservice.__JBossWS_MintService_MintPort_getSummary
  | at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
  | at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
  | at org.jboss.ws.utils.JavaUtils.loadJavaType(JavaUtils.java:81)
  | at 
org.jboss.ws.jaxb.JAXBMarshallerImpl.marshal(JAXBMarshallerImpl.java:126)
  | 

There is nothing special about the code and we're not trying to use an isolated 
classloader or anything. When the relevant classes are included as a stand 
alone application everything works OK. When we deploy the exact same classes 
with the main project we get this error.

The client code was generated in Eclipse from the WSDL URL that was provided by 
JBoss on deploying the application. I've added a classloader log and I can't 
find any mention of the __JBoss...getSummary class however I do find a 
__JBoss...getSummaryBeanInfo class.

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

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


[jboss-user] [JBossWS] - Re: ClassNotFoundException and a generated __JBossWS_... cla

2007-03-06 Thread jimmycallaghan
I should also note that we get this error from the server when we run the 
client. This is not an error thrown BY the client.

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

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


[jboss-user] [JBoss Seam] - CSS background image ending conversation?

2007-03-06 Thread lcoetzee
Hi,

we make use of several different CSS to improve the accessibility of the page  
currently viewed. While a page is viewed we have a long running conversation. I 
make use of some javascript to change the default style sheet to one with a 
different background and fonts. In this CSS a new background image is 
specified, which is then retrieved from the server:

  | body {
  | color:#FFF;
  | background-color: #000;
  | background-image:url(../../images/backgroundBlack.gif);
  | background-position:left;
  | background-repeat:repeat-y;
  | }
  | 
A call is made to the backend to get the image (and the CSS). Unfortunately 
this call does not contain the conversationId, resulting in the Seam framework 
ending the conversation (resulting in all sorts of problems when the next step 
with the new view options is tried).  The behavior is correct when I use the 
new stylesheet, but with the background-image specification commented out.


I am running Seam 1.1.6GA.

It there anyway to prevent my conversation from being ended when the backend 
receives the get for this image ? I have the feeling that there should be a 
url-pattern  in my web.xml which I can configure so that this request is not 
handled by JSF/Seam (but my knowledge is way too limited). 

Any suggestions welcome.

Thanks
Louis

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

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


[jboss-user] [JBossCache] - Re: JBossCache 1.3 - CacheStoreInterceptor does not commit t

2007-03-06 Thread [EMAIL PROTECTED]
I presume you don't even see the output from 

  | log.trace(transactional so don't put stuff in the cloader yet.);
  | 

Do you have a simple unit test that recreates this?

Also, I know you don't wish to upgrade to 1.4.x (although I recommend it for 
various other reasons), could you try this there as well and see if the problem 
still exists?

Thanks,

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

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


[jboss-user] [JBossWS] - update jboss 4.0.5 to jbossws 1.2 breaks wstools

2007-03-06 Thread teknokrat
I downloaded and installed the latest jbossws 1.2 as per instructions i.e. ant 
deploy-jboss40 and now when i run wstools.bat i get 


  | Exception in thread main java.lang.NullPointerException
  | at java.io.File.init(File.java:222)
  | at 
org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:283)
  | at org.jboss.ws.tools.WSTools.process(WSTools.java:137)
  | at org.jboss.ws.tools.WSTools.generate(WSTools.java:69)
  | at org.jboss.ws.tools.WSTools.generate(WSTools.java:119)
  | at org.jboss.ws.tools.WSTools.main(WSTools.java:58)
  | 

This was working fine before the install.

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

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


[jboss-user] [JBossWS] - JBossWS-1.2.0.GA invalid wsdl generated when using @jXmlSche

2007-03-06 Thread centecbertl
Hi,

While the @javax.xml.bind.annotation.XmlSchema annotation within the 
package-info.java of an class not inheriting from other packages works 
perfectly, JBossWS generates the following error for derived datatypes:


  | 14:35:02,173 ERROR [ServiceEndpointPublisher] Cannot obtain waURL for: 
webservice-test.ear/webservice-test.jar
  | 14:35:02,283 ERROR [JBossXSErrorHandler] 
[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve.4.2]::Message=src-resolve.4.2:
 Error resolving component 'ns1:aClass'. It was detected that 'ns1:aClass' is 
in namespace 'http://test.org/wsclient/a', but components from this namespace 
are not referenceable from schema document 'null'. If this is the incorrect 
namespace, perhaps the prefix of 'ns1:aClass' needs to be changed. If this is 
the correct namespace, then an appropriate 'import' tag should be added to 
'null'.


The Parameter classes causing this problem are a.AClass, b.Bclass defined in 
the packages a, and b with the following package-info.java  @XmlSchema  
annotations:

file a/package-info.java:

  | @javax.xml.bind.annotation.XmlSchema(namespace =  
http://test.org/wsclient/a; )
  | package a;
  | 

file a/AClass.java:

  | package a;
  | public class AClass {
  | int a;
  | 
  | public int getA() {
  | return a;
  | }
  | public void setA(int testInt) {
  | this.a = testInt;
  | }
  | }
  | 

file b/package-info.java:

  | @javax.xml.bind.annotation.XmlSchema(namespace =  
http://test.org/wsclient/b; )
  | package b;
  | 

file b/BClass.java

  | package b;
  | 
  | public class BClass extends a.AClass  {
  | String b;
  | 
  | public String getB() {
  | return b;
  | }
  | public void setB(String testString) {
  | this.b = testString;
  | }
  | }
  | 

The relevant part of the generated WSDL (which is visible under jbossws/service 
is:


  | xs:schema targetNamespace=http://test.org/wsclient/b; version=1.0
  |   xs:complexType name=bClass
  | xs:complexContent
  |   xs:extension base=ns1:aClass
  | xs:sequence
  |   xs:element minOccurs=0 name=b type=xs:string/
  | /xs:sequence
  |   /xs:extension
  | /xs:complexContent
  |   /xs:complexType
  | /xs:schema
  | xs:schema targetNamespace=http://test.org/wsclient/a; version=1.0
  |   xs:complexType name=aClass
  | xs:sequence
  |   xs:element name=a type=xs:int/
  | /xs:sequence
  | /xs:complexType
  | /xs:schema
  | 

where the declaration of bClass references the ns1 namespace without declaring 
it.

The same thing happens when aClass is aggreagated by bClass.

My Test Envrionment is
  JBossAS 4.0.5, JBossWS-1.2.0.GA  (compiled according to the Howto in the Wiki 
after checking out the sources from svn , installed using the projects 
deploy-jboss40 ant-target)

(PS: if this a a new issue I could provide you with the complete example 
code/maven project to reproduce the problem)

Best Regards,
Bertl

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

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


[jboss-user] [Security JAAS/JBoss] - Logon from a non-protected page

2007-03-06 Thread [EMAIL PROTECTED]
I have the following requirements:
   - use container security JAAS.
   - my users need to logon from a non-protected page.
   - depending on the situation (first logon, password expired ...) I need to 
redirect the user to a password update page. 

How can I do that? The default behavior of j_security_check does not satisfy 
these requirements.

Thank's,
Anderson Souza

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

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


[jboss-user] [JBoss Portal] - separating layout from theme?

2007-03-06 Thread FredF
Hello.

I am using JBoss Portal 2.6 and I want to use the same theme on page A and page 
B but use different number of columns for the pages. Is this possible? As far 
as I can see, the number of columns is defined within each theme, so this is 
tightly coupled and not separatable.

I do not want to define two almost identical themes for the two pages just 
because they use different number of columns. 

The ideal situation for us would be to define some parts of the theme, eg. 
portlet images (portlet-titlebar-right, left, center etc), number of colums and 
the widht of the columns and assign this to each portal page aside from the 
other theme properties like background image.

What are the chances of seeing these features in the nearest two months?


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

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


[jboss-user] [EJB 3.0] - Re: Problem while deploying some demo EJB

2007-03-06 Thread Wolfgang Knauf
Hi ! 

I think that the remote/local JNDI names in BookDaoImp  are wrong.
JBoss EJB3 builds a default JNDI name as EARName/EJBName/local or 
EARName/EJBName/remote. The earname part of the name is missing.

Take a look at the jndiview in your JMX console, this will tell you to which 
name the bean is bound.

I suspect something like EJBStruts/BookDaoImp/remote.

Hope this helps

Wolfgang

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

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


[jboss-user] [JBoss jBPM] - icant get EntityManager in my Action Class implements Action

2007-03-06 Thread anasseh
hi,



  | public class CallGetMNIdimplements ActionHandler {
  |
  |@PersistenceContext
  | private EntityManager em;
  |   public void execute(ExecutionContext executionContext) throws Exception {
  | 
  | /*line 80  --*/ PivotMap  pivotMap =   (PivotMap ) em.
  | 
  |   createQuery();
  | 
  | }
  | 
  | 



14:12:27,484 ERROR [STDERR] java.lang.NullPointerException
  | 14:12:27,484 ERROR [STDERR] at 
org.test.action.CallGetMNId.execute(CallGetMNId.java:80)
  | 14:12:27,484 ERROR [STDERR] at 
org.jbpm.graph.def.Action.execute(Action.java:123)
  | 14:12:27,484 ERROR [STDERR] at 
org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:235)
  | 14:12:27,484 ERROR [STDERR] at 
org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212)
  | 14:12:27,500 ERROR [STDERR] at 
org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182)
  | 14:12:27,500 ERROR [STDERR] at 
org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166)
  | 14:12:27,500 ERROR [STDERR] at 
org.jbpm.graph.def.Node.enter(Node.java:301)
  | 14:12:27,500 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor126.invoke(Unknown Source)
  | 14:12:27,500 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 14:12:27,500 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 14:12:28,000 ERROR [STDERR] at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
  | 14:12:28,000 ERROR [STDERR] at 
org.jbpm.graph.def.Node_$$_javassist_48.enter(Node_$$_javassist_48.java)
  | 14:12:28,000 ERROR [STDERR] at 
org.jbpm.graph.def.Transition.take(Transition.java:119)
  | 14:12:28,000 ERROR [STDERR] at 
org.jbpm.graph.def.Node.leave(Node.java:383)
  | 14:12:28,000 ERROR [STDERR] at 
org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:136)
  | 14:12:28,500 ERROR [STDERR] at 
org.jbpm.graph.node.Decision.execute(Decision.java:146)
  | 14:12:28,500 ERROR [STDERR] at 
org.jbpm.graph.def.Node.enter(Node.java:316)
  | 14:12:28,500 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor126.invoke(Unknown Source)
  | 14:12:28,500 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 14:12:28,500 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 14:12:28,500 ERROR [STDERR] at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
  | 14:12:29,000 ERROR [STDERR] at 
org.jbpm.graph.def.Node_$$_javassist_48.enter(Node_$$_javassist_48.java)
  | 14:12:29,000 ERROR [STDERR] at 
org.jbpm.graph.def.Transition.take(Transition.java:119)
  | 14:12:29,000 ERROR [STDERR] at 
org.jbpm.graph.def.Node.leave(Node.java:383)
  | 14:12:29,000 ERROR [STDERR] at 
org.jbpm.graph.node.StartState.leave(StartState.java:70)
  | 14:12:29,000 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 14:12:29,000 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 14:12:29,500 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 14:12:29,500 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 14:12:29,500 ERROR [STDERR] at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
  | 14:12:29,500 ERROR [STDERR] at 
org.jbpm.graph.def.Node_$$_javassist_48.leave(Node_$$_javassist_48.java)
  | 14:12:29,500 ERROR [STDERR] at 
org.jbpm.graph.exe.Token.signal(Token.java:178)
  | 14:12:29,500 ERROR [STDERR] at 
org.jbpm.graph.exe.Token.signal(Token.java:123)
  | 14:12:29,500 ERROR [STDERR] at 
org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217)
  | 14:12:29,500 ERROR [STDERR] at 
org.test.service.ManagerBean.vnaDemande(ManagerBean.java:124)
  | 14:12:29,500 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 14:12:29,500 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 14:12:29,500 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 14:12:29,500 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 14:12:29,500 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | 14:12:29,500 ERROR [STDERR] at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | 14:12:29,500 ERROR [STDERR] at 

[jboss-user] [JBoss jBPM] - Re: Problem BPEL: SOAP Messages in a web service invocation

2007-03-06 Thread kukeltje
Ah, ok 'lords' and toads (i.e. someone with high pretences)

Now I can rest in peace (the coming night that is) 

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

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


[jboss-user] [JBoss Portal] - Re: separating layout from theme?

2007-03-06 Thread [EMAIL PROTECTED]
Theme and layout are disctinct.

You *can* do both in the same file for simplicity, but the default is to have a 
layout *and* a theme.

Look at the renaissance theme, it is just a CSS, it goes with the default 
layout which is a 2 column layout.

So you can already have a single theme and several layout to use on different 
pages.

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

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


[jboss-user] [JBoss Portal] - Re: Flexing JBoss Portal - Q1

2007-03-06 Thread johanwasserman
Thanks guys, I think I found the solution, will post it here in a couple of 
hours, but before I waste more time, the most important question:

Should I provide the login.jsp as a portlet in the User Portlet, in other 
words, the user portlet itself contains the login.jsp instead of redirecting to 
it, and I log in, would that work?

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

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


[jboss-user] [JBoss Seam] - Re: nested conversation with explicit id

2007-03-06 Thread raffaele.camanzo
Hi Eugen,

I did not try with nested conversation but I don't see any counter-indication 
(and I hope that there are not), anyway, if you need to switch to a 
conversation with a given id (or known, this is necessary for this mechanism) 
you can try to do this:


  | Manager.instance().switchConversation(conversationIdToSwitchTo);
  | 

Hope this will be useful for you.

Regards,
Raffaele Camanzo

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

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


[jboss-user] [JBoss Portal] - Re: separating layout from theme?

2007-03-06 Thread FredF
Ok. Thats weird, because our shipped portal had just one css file with both 
theme and layout defined in it. What do I name the file containing the layout 
and where do I put it? Also how do I set a page to utilize this layout css file?

thanks.

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

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


[jboss-user] [JBoss Seam] - Help with StaleObjectStateException needed

2007-03-06 Thread krica
I can't understand why I'm getting a StaleObjectStateException in my action. Or 
rather, I understand why, but I don't understand why the entity is not up to 
date.

This is a simplified version of my action:


  | @In(create = true)
  | EntityManager database;
  | 
  | @In
  | @Out
  | private User loggedInUser; //created by Authenticator
  | 
  | @DataModel
  | private ListListBidItem listBidItems = new ArrayListListBidItem();
  | 
  | @Begin(join = true)
  | public void addBidItem(ActionEvent event){
  | ListBidItem newItem = new ListBidItem();
  | listBidItems.add(newItem);
  | }
  | 
  | @End
  | public void yesConfirmSave() {
  | confirming = false;
  | //database.refresh(loggedInUser); //doesn't seem to help
  | Date now = new Date();
  | Bid bid = new Bid();
  | bid.setCreatedOn(now);
  | bid.setCreatedBy(loggedInUser);
  | bid.setBidder((Bidder) loggedInUser);
  | ((Bidder) loggedInUser).setBid(bid);
  | 
  | for (ListBidItem lbi: listBidItems) {
  | BidItem bi = lbi.getBidItem();
  | bi.setCreatedBy(loggedInUser);
  | bi.setCreatedOn(now);
  | bi.setBid(bid);
  | bid.getBidItems().add(bi);
  | }
  | database.persist(bid);
  | loggedInUser = bookBuildingDatabase.merge(loggedInUser);
  | }
  | 

pages.xml is simple:

  | page view-id=/restricted/createBid.xhtml
  | restrict#{s:hasRole('Bidder')}/restrict
  | navigation from-action=#{bidderBidManager.yesConfirmSave}
  | end-conversation/
  | redirect view-id=/restricted/createBid.xhtml/
  | /navigation
  | /page
  | 

The User entity has a property:


  | @Version
  | @Column(name=VERSION)
  | protected int version;
  | 

Now, when yesConfirmSave is called the first time after log in, everything 
works fine. When the user trues to save a second Bid, however, the 
StaleObjectStateException is thrown. From debugging the addition of the second 
bid, I can see that the the loggedInUser's Bid is correctly set, but the 
version number is not up to date. Adding the database.refresh() call does not 
seem to help either.

(I know the use case does not make sense, seeing as a user can only have one 
bid, but please disregard that :) )

Thanks


Here's the stack trace:

  | [2007-03-06 18:20:25,781] ERROR 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/TTS-BookBuilding].[Blocking
 Servlet] Servlet.service() for servlet Blocking Servlet threw exception 
  | javax.faces.FacesException: Error calling action method of component with 
id bidForm:_id64
  | at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:106)
  | at 
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
  | at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
  | at 
com.icesoft.faces.webapp.xmlhttp.BlockingServlet.renderCyclePartial(BlockingServlet.java:473)
  | at 
com.icesoft.faces.webapp.xmlhttp.BlockingServlet.receiveUpdates(BlockingServlet.java:442)
  | at 
com.icesoft.faces.webapp.xmlhttp.BlockingServlet.executeRequest(BlockingServlet.java:324)
  | at 
com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:186)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | 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.Http11AprProcessor.process(Http11AprProcessor.java:833)
  | at 
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
  | at 
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: javax.faces.el.EvaluationException: /restricted/createBid.xhtml 
@90,154 action=#{bidderBidManager.yesConfirmSave}: 

[jboss-user] [EJB 3.0] - EJBAccessException upon destroy when using SecurityDomain

2007-03-06 Thread ngeadah
I'm facing the same problem as outlined in the following thread:

http://jboss.org/index.html?module=bbop=viewtopict=98307

I did not see any solution posted to this.  Basically, an EJBAccessException is 
thrown once the destroy() method is called for Beans secured with 
@SecurityDomain.  As the author of the thread explains, the thread calling 
destroy (which is initiated by the user logging out) has already expired the 
session, which probably results in null credentials and as such disallows the 
destroy call.  Any suggestions?[/url]

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with installing jBPM BPEL 1.1-Beta3

2007-03-06 Thread rainstar79
I found messages (but they don't tell me anything) like :-(
anonymous wrote : 
  | 2007-03-06 14:20:37,591 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] 
Could not create table with SQL: CREATE CACHED TABLE JMS_MESSAGES ( MESSAGEID 
INTEGER NOT NULL, DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP 
CHAR(1), MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) )
  | java.sql.SQLException: Table already exists: JMS_MESSAGES in statement 
[CREATE CACHED TABLE JMS_MESSAGES]
  | at org.hsqldb.jdbc.Util.throwError(Unknown Source)
  | at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
  | at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:251)
  | at 
org.jboss.mq.pm.jdbc2.PersistenceManager.createSchema(PersistenceManager.java:277)
  | at 
org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1796)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor2.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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at sun.reflect.GeneratedMethodAccessor9.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 $Proxy4.start(Unknown Source)
  | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
  | 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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 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 $Proxy34.start(Unknown Source)
  | at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | at sun.reflect.GeneratedMethodAccessor55.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 

[jboss-user] [JBoss Seam] - Re: How to use ice:dataTable and @DataModel?

2007-03-06 Thread Newlukai
Hi,

I still don't get this working.

Regards
Newlukai

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4025411
___
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 use my custom tags in the task.jsp page

2007-03-06 Thread anmaru
thaks for you help, but if the 3.1 doesn't support tag libs how work the 
ProcessImageTag?, that is tag lib too.

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

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


[jboss-user] [JBoss Portal] - Re: separating layout from theme?

2007-03-06 Thread [EMAIL PROTECTED]

See:
http://docs.jboss.com/jbportal/v2.6/user-guide/en/html/dynamicity.html#pagethemelayout
To choose your layout and theme using the management portlet (note that you can 
do it in the XML descriptors as well)

Here is the doc for packaging theme and layout.
http://docs.jboss.com/jbportal/v2.6/reference-guide/en/html/themeandlayouts.html

If you look at the sources of the portal you got you will find the layout 
defined here:
core/src/bin/portal-core-war/layouts/generic/*.jsp
and the default theme here:
core/src/bin/portal-core-war/themes/renaissance/*



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

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


[jboss-user] [Installation, Configuration Deployment] - Re: JBOSS Logging Problem

2007-03-06 Thread PeterJ
Logging in jboss is handled via the server/xxx/conf/log4j.xml file.  See 
http://wiki.jboss.org/wiki/Wiki.jsp?page=Logging

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

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


[jboss-user] [JBossCache] - Re: How to use JBossCache within WebSphere?

2007-03-06 Thread inrusu
WinXP/WAS 6.1.0.3

All the jbosscache required libraries are copied in AppServer/lib/ext - and 
will be loaded by the extension classloader. I've created a CustomService

JbossCache is configured with CacheMode REPL_SYNC. Whatever is put the cache 
are classes loaded by one of the application class loader.

Whenever jboss-cache tries to deserializes content it says it can't find the 
class - which is normal. The only UGLY workaround is to load the classes put in 
cache with the same or higher classloader, or use INVALIDATION_SYNC as 
CACHE_MODE and then no application content is sent accross.

Do others have different ideas ?

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

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


[jboss-user] [JBossCache] - Re: JBossCache 1.3 - CacheStoreInterceptor does not commit t

2007-03-06 Thread archanaa_panda
Yie 

I have solved the problem!!! 

Actually I should have used an XADataSource for the underlying database to use 
global transactions for the cache. 

The clue of the problem was in comments of 
TxInterceptor.RemoteSynchronizationHandler.afterCompletion()

 -// this should really not be done here -
// it is supposed to be post commit not actually run the commit

Actually in 2-phase commit, the transaction would already have been committed, 
so there is no way that connection.commit() would be called in 
CacheStoreInterceptor.

I would recommend that this should be included as a part of the faq or jboss 
cache tutorials - that whenever we are using a backing store with application 
server's TransactionManager, we should always use an XADataSource.

attribute name=CacheLoaderConfiguration
  | config
  | passivationfalse/passivation
  | preload//preload
  | sharedtrue/shared
  | cacheloader
  | 
classorg.jboss.cache.loader.JDBCCacheLoader/class
  | properties
  | cache.jdbc.table.name=jbosscache
  | cache.jdbc.table.create=true
  | cache.jdbc.table.drop=false
  | 
cache.jdbc.table.primarykey=jbosscache_pk
  | cache.jdbc.fqn.column=fqn
  | cache.jdbc.fqn.type=varchar(255)
  | cache.jdbc.node.column=node
  | cache.jdbc.node.type=blob
  | cache.jdbc.parent.column=parent
  | 
cache.jdbc.datasource=AshleyCacheDataSource
  | /properties
  | asyncfalse/async
  | 
fetchPersistentStatetrue/fetchPersistentState
  | ignoreModificationsfalse/ignoreModifications
  | /cacheloader
  | /config
  | /attribute 


OR 

attribute name=CacheLoaderConfiguration
  | config
  | passivationfalse/passivation
  | preload//preload
  | sharedtrue/shared
  | cacheloader
  | 
classorg.jboss.cache.loader.JDBCCacheLoader/class
  | properties
  | cache.jdbc.table.name=jbosscache
  | cache.jdbc.table.create=true
  | cache.jdbc.table.drop=false
  | 
cache.jdbc.table.primarykey=jbosscache_pk
  | cache.jdbc.fqn.column=fqn
  | cache.jdbc.fqn.type=varchar(255)
  | cache.jdbc.node.column=node
  | cache.jdbc.node.type=blob
  | cache.jdbc.parent.column=parent
  | 
cache.jdbc.driver=oracle.jdbc.xa.client.OracleXADataSource
  | 
cache.jdbc.url=jdbc:oracle:thin:@localhost:1521:ACRMDEV
  | cache.jdbc.user=FASTDEV
  | cache.jdbc.password=fastdev123$
  | /properties
  | asyncfalse/async
  | 
fetchPersistentStatetrue/fetchPersistentState
  | ignoreModificationsfalse/ignoreModifications
  | /cacheloader
  | /config
  | /attribute

Took me 2 days for this problem but I must say it was a wonderful experience 
and great sleuthing ;)

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

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


[jboss-user] [JBoss Portal] - Re: separating layout from theme?

2007-03-06 Thread FredF
thanks a bunch!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4025419
___
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 use my custom tags in the task.jsp page

2007-03-06 Thread kukeltje
ok... sorry.. sigh... 3.1 can support any taglib you want, you just 
cannot customize the taskform per task (that is what MOST people want when they 
use the words custom tags... 

PLEASE be more specific in what you want... since you seem to be aware that the 
processimage is a custom tag, it should not be to hard to find out how it works.

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

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


[jboss-user] [JBoss Messaging] - Socket Timeout wit JBoss Messaging 1.0.1 SP4

2007-03-06 Thread oleznew
Hi,
I am having a client that connects to a reliable queue as a receiver. 
It consumes messages correctly, but when no messages arrive, it stops 
processing after about 60 seconds with the following error:


  | 
  | [07/03/06 15:27:15.348] DEBUG: SocketClientInvoker[4d41e2, 
socket://10.196.110.62:7776] got exception java.net.SocketTimeoutException: 
Read timed out
  | [07/03/06 15:27:15.349] DEBUG: [EMAIL PROTECTED] closing
  | [07/03/06 15:27:15.352] ERROR: Got marshalling exception, exiting
  | java.net.SocketTimeoutException: Read timed out
  | at java.net.SocketInputStream.socketRead0(Native Method)
  | at java.net.SocketInputStream.read(SocketInputStream.java:129)
  | at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
  | at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
  | at java.io.FilterInputStream.read(FilterInputStream.java:66)
  | at 
org.jboss.serial.io.JBossObjectInputStream.read(JBossObjectInputStream.java:193)
  | at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.readVersion(MicroSocketClientInvoker.java:902)
  | at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:552)
  | at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
  | at 
org.jboss.remoting.ConnectionValidator.doCheckConnection(ConnectionValidator.java:126)
  | at 
org.jboss.remoting.ConnectionValidator.run(ConnectionValidator.java:195)
  | at java.util.TimerThread.mainLoop(Timer.java:432)
  | at java.util.TimerThread.run(Timer.java:382)
  | [07/03/06 15:27:15.419] DEBUG: ConnectionValidator failed to ping via 
SocketClientInvoker[4d41e2, socket://10.196.110.62:7776]
  | java.rmi.MarshalException: Socket timed out.  Waited 1000 milliseconds for 
response while calling on InvokerLocator 
[socket://10.196.110.62:7776/?clientSock
  | 
etClass=org.jboss.jms.client.remoting.ClientSocketWrapperdataType=jmsmarshaller=org.jboss.jms.server.remoting.JMSWireFormatserializationtype=jbosssocket
  | 
.check_connection=falseunmarshaller=org.jboss.jms.server.remoting.JMSWireFormat];
 nested exception is:
  | java.net.SocketTimeoutException: Read timed out
  | at 
org.jboss.remoting.transport.socket.SocketClientInvoker.handleException(SocketClientInvoker.java:117)
  | at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:613)
  | at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
  | at 
org.jboss.remoting.ConnectionValidator.doCheckConnection(ConnectionValidator.java:126)
  | at 
org.jboss.remoting.ConnectionValidator.run(ConnectionValidator.java:195)
  | at java.util.TimerThread.mainLoop(Timer.java:432)
  | at java.util.TimerThread.run(Timer.java:382)
  | Caused by: java.net.SocketTimeoutException: Read timed out
  | at java.net.SocketInputStream.socketRead0(Native Method)
  | at java.net.SocketInputStream.read(SocketInputStream.java:129)
  | at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
  | at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
  | at java.io.FilterInputStream.read(FilterInputStream.java:66)
  | at 
org.jboss.serial.io.JBossObjectInputStream.read(JBossObjectInputStream.java:193)
  | at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.readVersion(MicroSocketClientInvoker.java:902)
  | at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:552)
  | ... 5 more
  | [07/03/06 15:27:15.421] DEBUG: 
ConnectionValidator[SocketClientInvoker[4d41e2, socket://10.196.110.62:7776], 
pingPeriod=2000 ms]'s connections is invalid
  | [07/03/06 15:27:15.427] DEBUG: removed SocketClientInvoker[4d41e2, 
socket://10.196.110.62:7776] from registry
  | [07/03/06 15:27:15.427] DEBUG: SocketClientInvoker[4d41e2, 
socket://10.196.110.62:7776] disconnecting ...
  | [07/03/06 15:27:15.429] DEBUG: 
ConnectionValidator[SocketClientInvoker[4d41e2, socket://10.196.110.62:7776], 
pingPeriod=2000 ms] stopped, returning true
  | [07/03/06 15:27:15.514] ERROR: Caught exception from connection
  | java.lang.Exception: Could not connect to server!
  | at 
org.jboss.remoting.ConnectionValidator.run(ConnectionValidator.java:201)
  | at java.util.TimerThread.mainLoop(Timer.java:432)
  | at java.util.TimerThread.run(Timer.java:382)
  | 
  | 
  | 

What is the reason for that? How can it be fixed?

Many Thanks,
Leznew

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4025421
___
jboss-user mailing list

[jboss-user] [JBoss Portal] - Re: CSS header injection

2007-03-06 Thread fahlen
Thank you for your reply. The name ProcesosInternos, actually is the name of my 
web application. I've tried changing the path for the CSS in all kinds of ways, 
but to no avail. If I find what I'm doing wrong, I'll let you know...

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

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


[jboss-user] [Management, JMX/JBoss] - Re: SAR file directory structure question

2007-03-06 Thread [EMAIL PROTECTED]
You don't need any of the WEB-INF stuff, expect maybe for myJar.jar that should 
be moved to the top level dir, inside MySync.sar

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

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


[jboss-user] [JCA/JBoss] - Re: Spontaneous undeployment under stress load

2007-03-06 Thread ktorn
I finally got access to the test server logs, and found these lines 
particularly interesting:


  | (ScannerThread) WARN  [FileURLLister] Could not list directory 
'/jboss/server/default/farm', reason unknown
  | (ScannerThread) WARN  [FileURLLister] Could not list directory 
'/jboss/server/default/deploy', reason unknown
  | (ScannerThread) DEBUG [MainDeployer] Undeploying 
file:/jboss/server/default/farm/some-app.ear
  | (ScannerThread) DEBUG [MainDeployer] Undeploying 
file:/jboss/server/default/deploy/some-other-app.ear
  | 

And so on...

Spontaneous app undeployment due to the ScannerThread not being able to read 
the deploy and farm directories, possibly due to the load put on the server. So 
my conclusion is  that CPU starvation is causing the undeployment issue.

This is not a problem as we will never hit this kind of load when live, but 
still looks like odd behaviour and something that might be addressed more 
gracefully (i.e. issue warning when not able to read farm/deploy dirs, but 
don't undeploy by default).

As this is not directly related to the ResourceAdapter, feel free to move this 
thread to a more suitable location.

I will now investigate if this is something worth raising as a bug.

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

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


[jboss-user] [JBoss Messaging] - Re: ejb3mdb example

2007-03-06 Thread [EMAIL PROTECTED]
I have not tried this combination, so there might indeed be a problem. I will 
try it and get back to you.

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

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


[jboss-user] [JBoss Messaging] - java.lang.NoClassDefFoundError: org/jboss/aop/WeavingStrateg

2007-03-06 Thread macross27
Hi!

I#ve got a problem with a test application I try to write. If I execute the 
following piece of code, I get the exception java.lang.NoClassDefFoundError: 
org/jboss/aop/WeavingStrategy on the last line. I don't know at all what to do 
with it. Google and a forum search didn't turn up anything. Also the messaging 
documentation didn't help (or at least I haven't found anything). This is the 
code:


  | // properties of context
  | Properties props = new Properties();
  | props.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
  | props.put(Context.PROVIDER_URL, jnp://127.0.0.1:1099);
  | props.put(java.naming.factory.url.pkgs, 
org.jboss.naming:org.jnp.interfaces); 
  | props.put(jnp.disableDiscovery, true);
  | 
  | // prepare context for JNDI look ups   
  | InitialContext jndiContext = new InitialContext(props);
  | 
  | // get connection factory via JNDI look up
  | ConnectionFactory factory = 
(ConnectionFactory)jndiContext.lookup(/ConnectionFactory);
  | 

I use JBoss AS 5.0.0 Beta 1. The configuration is unmodified. Has anyone tips 
where to do research or any hints what might be wrong? Thanks in advance.

Cheers,
Sebastian

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

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


[jboss-user] [EJB 3.0] - howto? new entity persist with aggregates that are already p

2007-03-06 Thread hanasakijiji
JBoss 4.0.5 - EJB3 - Entity Beans

** The problem is - the foreign key column is not set on the newInstance Row.  
thus the inserted value is NULL.


There is an new instance of a class that is being worked on as follows:
aggregate = // retrieve / find in database - ie: already persisted
  | newInstance = new NewInstance();
  | newinstance.setValue(aggregate)
  | em.persist(newInstance)

newInstance is saved, as a new row, in the RDBMS just fine; however, the 
aggregate_fk (see below for table) is set to null - actually I think it is not 
even in the insert statement.

NewInstance.get/setValue are defined below:
@OneToOne(cascade=CascadeType.ALL)
  | @JoinColumn(name=aggregate_fk, insertable=false, updatable=false, 
referencedColumnName=pk)
  | public Aggregate getValue() { return aggregate; }

NewInstance Table (Pseudo Notation for sql)
integer pk
  | char(10) column1
  | integer aggregate_fk -- foreign key reference to aggregate table

Aggregate is actually a lookup table as below
integer pk
  | char(15) key
  | varchar(64) value

*Note: this table is referenced by many other tables in the system; therefore, 
it cannot contain annotations of OneToMany (etc..) to a specific other table.




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

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


[jboss-user] [JBossWS] - Encoding problem in jbossws-1.2.0

2007-03-06 Thread fheldt
Hi folks,

i gave jboss-2.4.0.CR1 with jbossws-1.2.0 a try and it started without any 
problems. Then i build a simple Webservice SB


  | @Remote
  | public interface HelloWS
  | {
  | public String hello(String s);
  | }
  | 


  | @Stateless
  | @WebService(
  | name=Hello,
  | serviceName=HelloService
  | )
  | @SOAPBinding(
  | style=SOAPBinding.Style.RPC,
  | use=SOAPBinding.Use.LITERAL
  | )
  | public class HelloEJB implements HelloWS
  | {
  | @WebMethod
  | public String hello(@WebParam(name=name) String s) {
  | return Hallöchen  + s;
  | }
  | }
  | 

After deploying (The WSDL looks fine under 
http://127.0.0.1:8080/HelloService/HelloEJB?wsdl), i can call the hello method 
from eg a .NET client or the Web Services Explorer in eclipse and get the 
following result:

  | calling hello(Müller):
  | 
  | return (string):  Hallöchen Müller  
  | 

As you can see, there's a problem with utf-8 encoding.

Did i miss something or is this a known problem?

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

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

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


[jboss-user] [JBoss Messaging] - Re: Socket Timeout wit JBoss Messaging 1.0.1 SP4

2007-03-06 Thread [EMAIL PROTECTED]
Could you please send us a simple test and the procedure to reproduce the 
problem?

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

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


[jboss-user] [Security JAAS/JBoss] - Re: exception when run jboss-4.0.4 with the jboss federation

2007-03-06 Thread [EMAIL PROTECTED]
Charles-

use:

user1:password
user2:password


Thanks

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

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


[jboss-user] [EJB 3.0] - Re: JNDI and Client Application

2007-03-06 Thread alexg79
First of all, when you ask for help, enclose your code with the code tag (use 
the buttons provided).
Next, package your session beans in a .jar file. The .ejb3 extension is 
deprecated.
Third, the correct JNDI path is //(remote|local).
Just because you packaged your beans in a directory named beans doesn't mean 
it has anything to do with JNDI bindings. Session beans are usually part of 
some application, and (afaik) the application name dictates the default binding 
for them.
You can find out if your beans were deployed correctly by checking the JNDI 
browser in the JMX console of JBoss.
There are plenty of examples regarding this -- try out some of them before 
asking for help here.

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

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


[jboss-user] [JBoss Seam] - Re: s:dynamicImage is possible in Seam 1.1.5

2007-03-06 Thread petemuir
I've updated this in cvs so you apply transforms to the image - take a look at 
the user manual.

Please put a feature request in JIRA if other transform are needed.

http://jira.jboss.com/jira/browse/JBSEAM-993

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

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


[jboss-user] [JBoss Portal] - Re: CSS header injection

2007-03-06 Thread [EMAIL PROTECTED]
Your style.css shouldn't be in the WEB-INF since it is not accessible from 
outside.

Move the cc directory to the root of your war and do

  | link type='text/css' rel='stylesheet' href='css/Styles.css' /
  | 

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

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


[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.NoInitialContextException error when access

2007-03-06 Thread jaikiran
anonymous wrote : Caused by: java.lang.ClassNotFoundException: 
org.jnp.interfaces.HttpNamingContextFactory

Hmmm Try this, change 

anonymous wrote : 
java.naming.factory.initial=org.jnp.interfaces.HttpNamingContextFactory

to

java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory

P.S.: The org.jboss.naming.HttpNamingContextFactory is present in the jboss.jar 
file. In case you dont have this jar file in your classpath, you can find it in 
%JBOSS_HOME%\server\default\lib folder




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

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


[jboss-user] [JBossCache] - Re: How to use JBossCache within WebSphere?

2007-03-06 Thread [EMAIL PROTECTED]
Have a look at 
http://labs.jboss.com/file-access/default/members/jbosscache/freezone/docs/1.4.0/TreeCache/en/html/treecache_marshaller.html
  .

It describes the API services can use that want to cache objects whose classes 
are invisble to JBC's classloader.

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

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


[jboss-user] [JBoss Seam] - Re: nested conversation with explicit id

2007-03-06 Thread raffaele.camanzo
I forgot an important note: I tried to do this from a long running conversation 
and Seam switches from one long running to the other long running conversation 
without any problem.

Regards,
Raffaele Camanzo

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

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


[jboss-user] [JBossCache] - Re: JBossCache 1.3 - CacheStoreInterceptor does not commit t

2007-03-06 Thread [EMAIL PROTECTED]
:-)  Glad you solved your problem.  And thanks for the tip re: XADataSources - 
will certainly add it to the FAQs.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException upon jndi lookup after upgrade from 3

2007-03-06 Thread jaikiran
Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions 
especially the jmx-console method mentioned over there.



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

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


[jboss-user] [JBoss Portal] - Deleted default page leaves protal unusable.

2007-03-06 Thread Samuel Weston
I've been exploring the JBoss portal (its great) and have encountered the 
following:

I accidentally deleted the default page. Now, when I try to load my site, I get 
a 500 page not found with a stack trace.

I can log in to the Admin page (I bookmarked it) but the 
ManagementPortletWindow displays a null pointer exception error with no way to 
specify another default page.

Is there any way to recover from this, short of a complete re-install?

Technical Info:
JBoss Portal + AS Bundle Download 2.4.1
PostgreSQL 8.2 backend
Windows Server 2003

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4025446
___
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 use my custom tags in the task.jsp page

2007-03-06 Thread anmaru
thanks again, but yes i need to customize the pages of the jbpm with my tags,  
but when i iclude that in the page task.jsp  for example or in another mine 
doesnt show anything of my tags i dont now why because i have anothers wars 
(not jbmp process) working with this tags.

im testing whit this test page and doesnt work, 

%@ taglib uri=estructura-tags-beesoft prefix=tag %
%Locale localidad=Locale.getDefault();%


probando
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1




tag:encabezado titulo=Create lengage=%=localidad%/





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

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


[jboss-user] [JBoss Seam] - Re: NPE when opening pages.xml with jBPM editor

2007-03-06 Thread [EMAIL PROTECTED]
Better to ask in the jBPM forum.

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

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


[jboss-user] [JBoss Seam] - Re: How can i popup a browser window?

2007-03-06 Thread chicochen
i am not very clear, could you paste all codes here, or send them to [EMAIL 
PROTECTED], thanks a lot!

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

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


[jboss-user] [JBoss Seam] - Re: JSF IDE support

2007-03-06 Thread [EMAIL PROTECTED]
This is what we will get from the Exadel partnership :-)

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

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


[jboss-user] [JBoss Portal] - Re: Deleted default page leaves protal unusable.

2007-03-06 Thread [EMAIL PROTECTED]
2 options:

1 - Drop the database, you would end up with a fresh start
2 - Edit: portal-core-sar/conf/data/default-object.xml
and change the if-exists value at the top from keep to overwrite

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

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


[jboss-user] [JBoss Messaging] - Re: java.lang.NoClassDefFoundError: org/jboss/aop/WeavingStr

2007-03-06 Thread PeterJ
The missing class can be found in the 
server/default/deployers/jboss-aop-jboss5.deployer/jboss-aop-jdk50.jar file, 
add that to your classpath.  (I have found that the jars in 5.0 beta 1 are not 
packaged all that well, not everything is in jbossall-client.jar, like it 
should be. But then, it is a beta...)

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

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


[jboss-user] [JBoss Seam] - Re: SeamPortletPhaseListener Vs TransactionalSeamPortletPhas

2007-03-06 Thread [EMAIL PROTECTED]
Same as SeamPhaseListener vs. TransactionalSeamPhaseListener.

One does Seam-managed-transactions.

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

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


[jboss-user] [JBoss Seam] - Re: Booking example, Tomcat, EJB3 and thou...

2007-03-06 Thread [EMAIL PROTECTED]
Right. Now are you sure that that file actually makes it into the right place 
in the WAR?

Do you see it getting found in the Seam startup log?

Now, where are the lines in your log that show the mc and EJB3 container 
starting up?

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

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


[jboss-user] [JBoss Portal] - ipc example doesn't work with JBoss Portal 2.6alpha2

2007-03-06 Thread mylas
I've open the ipc example on eclipse.
I've import all the jar gived with the project.
But, when I want to import those jar in the server repository it makes JBoss 
server failing to start. (but, all the compilation steps in eclipse work as 
well).

Do you have the jar compatible with the Portal2.6alpha2 ?

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

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


[jboss-user] [JBoss Seam] - Re: Req: I18N mail function

2007-03-06 Thread petemuir
I think there is a problem with facelets and changing the charset.  Do you have 
a way that works?  We really need to get the facelets guys to fix this 
otherwise.

I've double checked, and the headers are set (note that Seam sends out 
multipart messages so we don't set these parameters in the message header but 
in the header for the multipart).

I'm not sure how you change the charset of headers - how do you?

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

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


[jboss-user] [JBoss Seam] - Re: Can I end a conversation programmatically?

2007-03-06 Thread [EMAIL PROTECTED]
I really do not understand what you think is buggy or unexpected here. The id 
attribute of @Begin should *always* be contain a value binding that uniquely 
identifies the conversation. That's the whole point. If two conversations have 
the same id, they are the same conversation! 

I also don't understand why you think that calling end() should result in a 
call to some @End method.

Perhaps you are just trying to get too complicated here? Why not start out 
trying to understand conversations w/o all these exotic features, and once 
you've got that down, worry about the extra stuff like explicit conversation 
ids.


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

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


[jboss-user] [JBoss jBPM] - Conditional Transitions

2007-03-06 Thread apill
See http://jira.jboss.com/jira/browse/JBPM-454

Is there any documentation for this feature? 

And...is it supported in the jPDL designer for Eclipse?

Thanks.
Adrian

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

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


[jboss-user] [Messaging, JMS JBossMQ] - ConfigJBossMDB

2007-03-06 Thread prylance
Hi,
 
I'm having some trouble trying to maximise JMS throughput using JBoss. I've 
tried using both JBossMQ and activeMQ within JBoss AS 4.0.5. I am using EJB3. I 
read the JBoss wiki page on configuring MDBs:
 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMDB
 
There is an interesting comment in 'general pooling notes':
 
'In most use cases (common configurations) the delivery server session pool (15 
concurrent strictly pooled sessions/threads) throttles the MDB pool (100 
instances non strictly pooled) making it irrelevant.'
 
I think this may relate to my problem, but I confess I don't know exactly what 
is meant by 'delivery server session pool'. I'm firing large numbers of 
messages from several clients and many threads to a queue on my server. I only 
ever seem to have about 20 MDBs processing the messages. I think my throughput 
would increase if I had more MDBs in the pool, but I can't figure out how to 
increase this.
 
- How do I increase the number of pooled MDBs? 
- Is my MDB pool size not growing because the delivery server session pool is 
throttling it? I'm not sure what the delivery server session pool is or how to 
increase it; is this referring to the tx-connection-factory configuration in 
my *-jms-ds.xml? 
 

Thanks,
Peter

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

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


[jboss-user] [JBossWS] - Re: ClassNotFoundException and a generated __JBossWS_... cla

2007-03-06 Thread jimmycallaghan
I'll also add that we're using JBoss404GA.

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

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


[jboss-user] [JBoss jBPM] - Re: Beginner: invoce web services from process: Hello, ATM,

2007-03-06 Thread meghanai_99
Can someone tell me if JBPM-BPEL supports wsa addressing like it shows here in 
this thread? 

Where can I get schema for bpel-application.xml? 
'http://jbpm.org/bpel/bpel_application_1_0.xsd' is not valid.

Thank you,
Meghana

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

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


[jboss-user] [JBoss Seam] - seam-gen and mutiple foreign keys

2007-03-06 Thread NielsH
I have generated a project with seam-gen based on generate-entities. All works 
fine, except for the generation of the home interfaces. In one of my tables I 
have two foreign keys to the same table. In the home interface two references 
are created to the appropriate object, but with the same name (which of course 
doesn't compile).

Here is a simplified example:
Table 1

  | CREATE TABLE test
  | (
  |   id int4 NOT NULL DEFAULT nextval('test_id_seq'::regclass),
  |   name varchar,
  |   id_test2_1 int4,
  |   id_test2_2 int4,
  |   CONSTRAINT test_pkey PRIMARY KEY (id),
  |   CONSTRAINT test_id_test2_1_fkey FOREIGN KEY (id_test2_1)
  |   REFERENCES test2 (id) MATCH SIMPLE
  |   ON UPDATE NO ACTION ON DELETE NO ACTION,
  |   CONSTRAINT test_id_test2_2_fkey FOREIGN KEY (id_test2_2)
  |   REFERENCES test2 (id) MATCH SIMPLE
  |   ON UPDATE NO ACTION ON DELETE NO ACTION
  | ) 
  | 
Table2

  | CREATE TABLE test2
  | (
  |   id int4 NOT NULL DEFAULT nextval('test2_id_seq'::regclass),
  |   name varchar,
  |   CONSTRAINT test2_pkey PRIMARY KEY (id)
  | ) 
  | 

First Entity

  | @Entity
  | @Table(name = test, schema = public)
  | public class Test implements java.io.Serializable {
  | 
  | private int id;
  | private Test2 test2ByIdTest22;
  | private Test2 test2ByIdTest21;
  | private String name;
  | 
  | public Test() {
  | }
  | 
  | public Test(int id) {
  | this.id = id;
  | }
  | public Test(int id, Test2 test2ByIdTest22, Test2 test2ByIdTest21,
  | String name) {
  | this.id = id;
  | this.test2ByIdTest22 = test2ByIdTest22;
  | this.test2ByIdTest21 = test2ByIdTest21;
  | this.name = name;
  | }
  | 
  | @Id
  | @Column(name = id, unique = true, nullable = false)
  | @NotNull
  | public int getId() {
  | return this.id;
  | }
  | 
  | public void setId(int id) {
  | this.id = id;
  | }
  | @ManyToOne(fetch = FetchType.LAZY)
  | @JoinColumn(name = id_test2_2)
  | public Test2 getTest2ByIdTest22() {
  | return this.test2ByIdTest22;
  | }
  | 
  | public void setTest2ByIdTest22(Test2 test2ByIdTest22) {
  | this.test2ByIdTest22 = test2ByIdTest22;
  | }
  | @ManyToOne(fetch = FetchType.LAZY)
  | @JoinColumn(name = id_test2_1)
  | public Test2 getTest2ByIdTest21() {
  | return this.test2ByIdTest21;
  | }
  | 
  | public void setTest2ByIdTest21(Test2 test2ByIdTest21) {
  | this.test2ByIdTest21 = test2ByIdTest21;
  | }
  | 
  | @Column(name = name, length = 0)
  | @Length(max = 0)
  | public String getName() {
  | return this.name;
  | }
  | 
  | public void setName(String name) {
  | this.name = name;
  | }
  | 
  | }
  | 

second entity


  | @Entity
  | @Table(name = test2, schema = public)
  | public class Test2 implements java.io.Serializable {
  | 
  | private int id;
  | private String name;
  | private SetTest testsForIdTest21 = new HashSetTest(0);
  | private SetTest testsForIdTest22 = new HashSetTest(0);
  | 
  | public Test2() {
  | }
  | 
  | public Test2(int id) {
  | this.id = id;
  | }
  | public Test2(int id, String name, SetTest testsForIdTest21,
  | SetTest testsForIdTest22) {
  | this.id = id;
  | this.name = name;
  | this.testsForIdTest21 = testsForIdTest21;
  | this.testsForIdTest22 = testsForIdTest22;
  | }
  | 
  | @Id
  | @Column(name = id, unique = true, nullable = false)
  | @NotNull
  | public int getId() {
  | return this.id;
  | }
  | 
  | public void setId(int id) {
  | this.id = id;
  | }
  | 
  | @Column(name = name, length = 0)
  | @Length(max = 0)
  | public String getName() {
  | return this.name;
  | }
  | 
  | public void setName(String name) {
  | this.name = name;
  | }
  | @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy 
= test2ByIdTest21)
  | public SetTest getTestsForIdTest21() {
  | return this.testsForIdTest21;
  | }
  | 
  | public void setTestsForIdTest21(SetTest testsForIdTest21) {
  | this.testsForIdTest21 = testsForIdTest21;
  | }
  | @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy 
= test2ByIdTest22)
  | public SetTest getTestsForIdTest22() {
  | return this.testsForIdTest22;
  | }
  | 
  | public void setTestsForIdTest22(SetTest testsForIdTest22) {
  | this.testsForIdTest22 = testsForIdTest22;
  | }
  | 
  | }
  | 

Home interface of first entity. Here we have two Test2Home references, both 
with the name test2Home.


  | @Name(testHome)
  | public class TestHome extends EntityHomeTest 

[jboss-user] [JBoss Seam] - DataModel, Factory and Stale Data

2007-03-06 Thread smutchler
Is it possible to use a SSB with a DataModel.  It's funny that the examples in 
the books and the JBoss web site use a SFSB and then say it's not a good idea 
to use SFSB with Seam.  The problem I have with SSB is that the data is often 
stale.  If you modify it in another SB (or even the same SB) and then return to 
the page it is showing the stale data.  There has to be a way to do this 
without using SFSB or resorting to using a conversation.  I can do this with 
straight JSF easily.

Your help is GREATLY appreciated!

Here is my SFSB:

@Stateful
@Scope(ScopeType.SESSION)
@Name(inventoryAction)
public class InventoryActionImpl implements Serializable, InventoryAction {

Logger log = Logger.getLogger(InventoryActionImpl.class);

@DataModel
private List inventory;

@DataModelSelection
@Out(required = false)
private Car car;

@PersistenceContext(type = PersistenceContextType.EXTENDED)
private EntityManager em;

@Factory(value = inventory)
public void fetchInventory() {
CarDAO carDAO = new JPACarDAO(em);
inventory = carDAO.filterByStatus(Car.STATUS_AVAILABLE);
}

public String buy() {
return buy_car_admin;
}

public String edit() {
return edit_car_info;
}

public String createNew() {
car = new Car();
return add_car;
}

public String deleteInventory() {

List toBeDeleted = new ArrayList();

for (Car car : inventory) {
if (car.isSelected()) {
toBeDeleted.add(car);
}
}

// delete from database
CarDAO carDAO = new JPACarDAO(em);
carDAO.delete(toBeDeleted);

// refresh cached inventory (seems to work) 
// but I'm screwed if another SB updates the data
fetchInventory();

return null;
}

@Remove
@Destroy
public void destroy() {
}

}


Thanks,

Scott



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

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


[jboss-user] [JBoss Seam] - Re: clear object from conversation

2007-03-06 Thread damianharvey
Thanks.

For anyone else looking for this, it's in the reference, and you use the 
following code:
Contexts.removeFromAllContexts(myObjectHome);

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

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


  1   2   3   >