[jboss-user] [JBoss Tools (users)] - Re: How to get the source code?

2009-05-06 Thread nickboldt
I can think of a lot of words for the ongoing problems with hibernate.org... 
though all are NSFW. :)

The site is up at the moment. Enjoy it while you can before it disappears again.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Probelm webapp deplotment in JBoss 5 with user session persi

2009-05-06 Thread apache605
Hi Please help me to solve this issue.
i am trying to deploy web application with session persistence JDBC storage in 
oracle database table.
when i am using the below code in the context.xml file in JBoss 4.2.1.GA it 
sotres perfectly the user session object in to database table.


CONTEXT.XML  FILE CODE
---

?xml version=1.0 encoding=UTF-8?
  | Context docBase=/SamApp path=/SamApp reloadable=true
  | Manager className=org.apache.catalina.session.PersistentManager 
debug=99
  | Store className=org.apache.catalina.session.JDBCStore
  | connectionURL=jdbc:oracle:thin:scott/ti...@almdbserv:1521:orcl
  | driverName=oracle.jdbc.driver.OracleDriver
  | sessionAppCol=app_name
  | sessionDataCol=session_data
  | sessionIdCol=session_id
  | sessionLastAccessedCol=last_access
  | sessionMaxInactiveCol=max_inactive
  | sessionTable=tomcat_sessions
  | sessionValidCol=valid_session
  | debug=99 
  | /Store
  | /Manager
  | /Context



**

 - But when i am using the same in jboss-5.0.0.GA then it throws the below 
exception .
- pls anyone help me to sole it.


--
2009-05-01 18:48:17,546 ERROR 
[org.jboss.web.tomcat.service.deployers.JBossContextConfig] (main) XML error 
parsing: WEB-INF/context.xml
org.jboss.xb.binding.JBossXBException: Failed to parse source: Store not found 
as a child of Manager
at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:183)
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:133)
at 
org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:571)
at 
org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:542)
at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
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:597)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
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:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy36.start(Unknown Source)
at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at 
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at 
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at 

[jboss-user] [EJB 3.0] - Re: EJBTHREE-1800

2009-05-06 Thread henrikthuesen
I am working on the same project as hilmer, and I would like to answer the 
above questions:

We currently have about 290 stateless session beans and no other kind of beans. 
Most of them have references via @EJB to 1-4 other beans. We have about 5 
servlets and some special beans, which have more @EJB annotations in the order 
of 10-20.

We use both @Resource and @PersistenceContext; @Resource not so often, but we 
do have quite a few DAOs with references to  EntityManagers.

The number of methods per bean varies a lot, but it certainly fit into the 
range 2-20, where 20 is very rare. Typically in the order of 9 methods. 

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

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


[jboss-user] [JNDI/Naming/Network] - Re: JNDI lookup for failed!

2009-05-06 Thread rajeshhanu
Hi kiran,

thanks for ur replay. i tried both ports 8080, 1099 also. but i got same error.

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

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


[jboss-user] [JBoss Portal] - how to create own theme for jboss portal 2.7.0

2009-05-06 Thread pooja.ambre
Hi friends,

how to create our own theme for the portal from scratch
plz help me out

thanks 
regards

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

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


[jboss-user] [EJB 3.0] - Re: Authorization failure when accessing a data source from

2009-05-06 Thread japase
It helped thanks!
The application is working now (but, of course, still with the suggested work 
around for EJB deployment order, i.e. with the mappedName attribute)


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

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


[jboss-user] [Clustering/JBoss] - Problem in JBoss 5 clustering

2009-05-06 Thread apache605
Hi i am trying to impl. the clustering in JBoss 5.0.0.GA with two nodes on 
two different system. the configuration called node1 and node2 .

System A (node1) - 192.168.1.140
System B (node2) - 192.168.1.141

i am staring the two instances to form the cluster with the below command


run.bat -c node1 -b 192.168.1.140 -Djboss.messaging.ServerPeerID=1

run.bat -c node2 -b 192.168.1.141 -Djboss.messaging.ServerPeerID=2


but the two instances does not form the cluster and while starting the instance 
itself. 
i am not getting the below messages in the server. 
i am using the default partition not changed any setting in the JBoss server.

--
[DefaultPartition] Initializing partition DefaultPartition
[DefaultPartition] Number of cluster members: 1
[DefaultPartition] Other members: 0
[DefaultPartition-HAPartitionCache] JBoss Cache version: JBossCache
'Alegrias' 2.1.1.GA
[DefaultPartition] Fetching serviceState (will wait for 3 milliseconds):
[DefaultPartition] State could not be retrieved (we are the first member in
group)

--


and when the instance starts it shows the below log


*



  JBoss Bootstrap Environment

  JBOSS_HOME: E:\jboss-5.0.0.GA

  JAVA: D:\Program Files\Java\jdk1.5.0_12\bin\java

  JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m 
-XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Ds
un.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360

  CLASSPATH: E:\jboss-5.0.0.GA\bin\run.jar

===

run.bat: unused non-option argument:c
run.bat: unused non-option argument: node1
run.bat: unused non-option argument: b
run.bat: unused non-option argument: 192.168.1.140
run.bat: unused non-option argument: Djboss.messaging.ServerPeerID=1
12:16:24,605 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
12:16:24,620 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: 
SVNTag=JBoss_5_0_0_GA date=200812042120)
12:16:24,620 INFO  [ServerImpl] Bootstrap URL: null
12:16:24,620 INFO  [ServerImpl] Home Dir: E:\jboss-5.0.0.GA
12:16:24,620 INFO  [ServerImpl] Home URL: file:/E:/jboss-5.0.0.GA/
12:16:24,620 INFO  [ServerImpl] Library URL: file:/E:/jboss-5.0.0.GA/lib/
12:16:24,620 INFO  [ServerImpl] Patch URL: null
12:16:24,620 INFO  [ServerImpl] Common Base URL: file:/E:/jboss-5.0.0.GA/common/
12:16:24,620 INFO  [ServerImpl] Common Library URL: 
file:/E:/jboss-5.0.0.GA/common/lib/
12:16:24,620 INFO  [ServerImpl] Server Name: default
12:16:24,620 INFO  [ServerImpl] Server Base Dir: E:\jboss-5.0.0.GA\server
12:16:24,620 INFO  [ServerImpl] Server Base URL: file:/E:/jboss-5.0.0.GA/server/
12:16:24,620 INFO  [ServerImpl] Server Config URL: 
file:/E:/jboss-5.0.0.GA/server/default/conf/
12:16:24,620 INFO  [ServerImpl] Server Home Dir: 
E:\jboss-5.0.0.GA\server\default
12:16:24,620 INFO  [ServerImpl] Server Home URL: 
file:/E:/jboss-5.0.0.GA/server/default/
12:16:24,620 INFO  [ServerImpl] Server Data Dir: 
E:\jboss-5.0.0.GA\server\default\data
12:16:24,620 INFO  [ServerImpl] Server Library URL: 
file:/E:/jboss-5.0.0.GA/server/default/lib/
12:16:24,620 INFO  [ServerImpl] Server Log Dir: 
E:\jboss-5.0.0.GA\server\default\log
12:16:24,620 INFO  [ServerImpl] Server Native Dir: 
E:\jboss-5.0.0.GA\server\default\tmp\native
12:16:24,620 INFO  [ServerImpl] Server Temp Dir: 
E:\jboss-5.0.0.GA\server\default\tmp
12:16:24,620 INFO  [ServerImpl] Server Temp Deploy Dir: 
E:\jboss-5.0.0.GA\server\default\tmp\deploy
12:16:25,449 INFO  [ServerImpl] Starting Microcontainer, 
bootstrapURL=file:/E:/jboss-5.0.0.GA/server/default/conf/bootst
rap.xml
12:16:26,152 INFO  [VFSCacheFactory] Initializing VFSCache 
[org.jboss.virtual.plugins.cache.IterableTimedVFSCache]
12:16:26,167 INFO  [VFSCacheFactory] Using VFSCache 
[IterableTimedVFSCache{lifetime=1800, resolution=60}]
12:16:26,824 INFO  [CopyMechanism] VFS temp dir: 
E:\jboss-5.0.0.GA\server\default\tmp
12:16:27,667 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
12:16:32,183 INFO  [ServerInfo] Java version: 1.5.0_12,Sun Microsystems Inc.
12:16:38,089 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
1.5.0_12-b04,Sun Microsystems Inc.
12:16:38,089 INFO  [ServerInfo] OS-System: Windows 2003 5.2,x86
12:16:38,120 INFO  [JMXKernel] Legacy JMX core initialized
12:16:42,808 INFO  [ProfileServiceImpl] Loading profile: default from: 
org.jboss.system.server.profileservice.repository
.serializabledeploymentreposit...@113f501(root=E:\jboss-5.0.0.GA\server, 
key=org.jboss.profileservice.spi.profile...@143
b82c3[domain=default,server=default,name=default])
12:16:42,808 INFO  [ProfileImpl] Using 
repository:org.jboss.system.server.profileservice.repository.SerializableDeployme
ntreposit...@113f501(root=E:\jboss-5.0.0.GA\server, 
key=org.jboss.profileservice.spi.profile...@143b82c3[domain=default,

[jboss-user] [Beginners Corner] - Re: Cant deply an .ear file into the JBOSS.

2009-05-06 Thread chairill
jaikiran wrote : anonymous wrote : 
:/usr/jboss/jboss-5.0.0.GA/server/default/deploy/application1.ear/webapp1.war/WEB-INF/classes/META-INF/application.xml
  | 
  | Looks like you have the application.xml at the wrong place 
(WEB-INF/classes/META-INF/application.xml). The application.xml should be at 
.ear/META-INF/application.xml
  | 
actually im trying to deploy adf application from jdev11g to jboss5.0.0Ga 
server.but i'm having a difficulty to do that

i'm using jdeveloper 11g to create the application.xml file. when i created 
deployment descriptor file its automatically reside there. what happend if i 
just removed the files? should it work?



everytime i created application.xml files.. i got error below  ..there is 
something wrong with the .xml files. please help me

anonymous wrote : 
  | *** CONTEXTS IN ERROR: Name - Error
  | 
  | vfszip:/usr/jboss/jboss-5.0.0.GA/server/default/deploy/application3.ear - 
org.xml.sax.SAXException: cvc-complex-type.2.4.b: The content of element 
'application' is not complete. One of 
'{http://java.sun.com/xml/ns/javaee:display-name, 
http://java.sun.com/xml/ns/javaee:icon, 
http://java.sun.com/xml/ns/javaee:module}' is expected. @ 
vfszip:/usr/jboss/jboss-5.0.0.GA/server/default/deploy/application3.ear/ejb1.jar/META-INF/application.xml[4,15]
  | 
  | 


this is the application.xml looks like
anonymous wrote : 
  | ?xml version = '1.0' encoding = 'windows-1252'?
  | application xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/application_5.xsd; version=5 
xmlns=http://java.sun.com/xml/ns/javaee;
  | display-nameModel-application/display-name
  | 
  | 


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

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


[jboss-user] [EJB 3.0] - Re: EJB jar cannot be deployed as a library (JBoss 5.0.1.GA)

2009-05-06 Thread jaikiran
anonymous wrote : org.jboss.deployers.spi.DeploymentException: Error deploying 
subscription.ear: Container 
jboss.j2ee:ear=subscription.ear,jar=application.ear,name=AnswerDAOImpl,service=EJB3

1) It's strange that the log mentions jar=application.ear. Is there an 
application.ear inside the subscription.ear?

2) I think the disabling of scanning of lib folder in an EAR, is still an issue 
http://www.jboss.org/index.html?module=bbop=viewtopict=143590

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

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


[jboss-user] [JBoss Tools (users)] - Re: Jboss Seam tool for eclipse issue

2009-05-06 Thread akazakov
Or just move your sources from src/hot to src/main folder.

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

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


[jboss-user] [EJB 3.0] - Re: Authorization failure when accessing a data source from

2009-05-06 Thread jaikiran
japase wrote : 
  | The application is working now
  | 
Good to know :)

japase wrote : 
  |  (but, of course, still with the suggested work around for EJB deployment 
order, i.e. with the mappedName attribute)
  | 

We are working on that part.


 

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

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


[jboss-user] [JBoss Portal] - Re: user role and several portals

2009-05-06 Thread bilou690
hello,

thanks for your response.

anonymous wrote : 
  | If you don't add a protocol to the URL, your browser is probably trying to 
resolve the href as a relative path.
  | 

how can i add this protocole please?

thank you again

bilel

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Which folder does hibernate.jar, hibernate-annotations.j

2009-05-06 Thread jaikiran
ezanih wrote : BTW what IDE do you use ? You have not used Eclipse before ? 
How do you do your Java/JEE programming then ?
  | 
I do use Eclipse, but just as a plain code editor. I don't use it (or any other 
plugins) for packaging the application or deploying to the server :) I use Ant 
(or other build tools) to do the packaging stuff.

ezanih wrote : 
  |  Actually looking at the many forum replies I have received from the JBoss 
and Hibernate sites, many of the posters do recommend copying files to the 
JBoss server libraries - for example, if there is a later version or for 
ClassNotFound exceptions.
  | 
That's an easy way out, but is risky since you are changing the jar versions on 
which the server was tested and shipped. And if other applications on the same 
server rely on the previous versions, then there's no way those applications 
will work. 



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

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


[jboss-user] [Beginners Corner] - Re: Web Application Context Logging (log4j) Question

2009-05-06 Thread jaikiran
This is the right forum :)

Are you packaging any log4j jars with your application?

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

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


[jboss-user] [EJB 3.0] - Re: EJBTHREE-1800

2009-05-06 Thread jaikiran
Thanks for this information, henrikthuesen. 

How much time does this application take to deploy on JBossAS-5.1.0 CR1?

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

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


[jboss-user] [JBoss Portal] - Logout with expired session requires login twice

2009-05-06 Thread apa99
Hi,
I am having problem when logout button is hit and also the session is expired.
In my header.jsp, I have the following line for logout action:
   a href=/portal/signout?location=/portal/portal/myPortalLogout/a   This 
redirects me to my login page, but requires me to login twice. When I first 
provide my user credential, login page is redisplayed.
If logout button is hit when the session is not expired, everything works 
correctly.
Is there a configuration that I am missing?
Does anyone have an idea on this?

Thanks in advance.

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

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


[jboss-user] [JBoss Portal] - Re: user role and several portals

2009-05-06 Thread bilou690
thank you so much  apemberton 

i add (http://) before the url and it's ok

bye and thank you again

bilou690


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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JDBC Cache loader error - Unable to build interceptor ch

2009-05-06 Thread sridhar_ratna
still i am getting the same error

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

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


[jboss-user] [Clustering/JBoss] - Re: JBoss Cluster using Gossip Router

2009-05-06 Thread amardeep21
Hi,

We are starting jboss using -b option.

./run.sh -c vpn -b vpnip
./run.sh -c static -b staticip

So, bind address should be of VPN node and connection should go to VPN IP :5446
instead if keep trying on STATIC IP:5446

One thing to notice was the jndi lookup goes to VPN IP but why it slips to 
STATIC IP 
to create ejb connection where it should go to VPN IP.

I have compared the config and can't locate what could be the problem.

Extract from the jboss-service.xml

mbean code=org.jboss.naming.NamingService
  | name=jboss:service=Naming
  | xmbean-dd=resource:xmdesc/NamingService-xmbean.xml
  | !-- The call by value mode. true if all lookups are unmarshalled using
  |  the caller's TCL, false if in VM lookups return the value by reference. --
  |  attribute name=CallByValuefalse/attribute
  |  !-- The listening port for the bootstrap JNP service. Set this to -1
  |  to run the NamingService without the JNP invoker listening port. --
  |  attribute name=Port1099/attribute
  | attribute name=BindAddress${jboss.bind.address}/attribute
  | !-- The port of the RMI naming service, 0 == anonymous --
  |  attribute name=RmiPort1098/attribute
  |  attribute name=RmiBindAddress${jboss.bind.address}/attribute
  |  !-- The thread pool service used to control the bootstrap lookups --
  |  depends optional-attribute-name=LookupPool
  |  proxy-type=attributejboss.system:service=ThreadPool/depends
  |  !-- An example of using the unifed invoker as the transport.
  | depends optional-attribute-name=InvokerProxyFactory
  | proxy-type=attributejboss:service=proxyFactory,type=unified,target=Naming
  | /depends--
  | depends optional-attribute-name=Naming
  |  proxy-type=attributejboss:service=NamingBeanImpl/depends
  | /mbean


!-- The Connector is the core component of the remoting server service. --
  |!-- It binds the remoting invoker (transport protocol, callback 
configuration, --
  |!-- data marshalling, etc.) with the invocation handlers.  --
  |mbean code=org.jboss.remoting.transport.Connector
  |   name=jboss.remoting:service=Connector,transport=socket
  |   display-name=Socket transport Connector
  |  
  |  attribute name=Configuration
  |   config
  | !-- Other than transport type and handler, none of these 
configurations are required (will just use defaults). --
  | invoker transport=socket
  |attribute name=dataType 
isParam=trueinvocation/attribute
  |attribute name=marshaller 
isParam=trueorg.jboss.invocation.unified.marshall.InvocationMarshaller/attribute
  |attribute name=unmarshaller 
isParam=trueorg.jboss.invocation.unified.marshall.InvocationUnMarshaller/attribute
  |attribute name=clientMaxPoolSize 
isParam=true2000/attribute
  |attribute name=socketTimeout 
isParam=true60/attribute
  |attribute 
name=serverBindAddress${jboss.bind.address}/attribute
  |attribute name=serverBindPort4446/attribute
  |!-- attribute 
name=clientConnectAddress216.23.33.2/attribute --
  |!-- attribute name=clientConnectPort/attribute --
  |attribute name=enableTcpNoDelay 
isParam=truetrue/attribute
  |!-- attribute name=backlog200/attribute--

Thanks,
Amardeep

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

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


[jboss-user] [JBoss Portal] - Re: Problem with PortletSession

2009-05-06 Thread je.a.le
you should look for PortalEventListener.
when user login, logout or session expire, your listener will get a callback. 
You can set your portalsession attribute here.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Which folder does hibernate.jar, hibernate-annotations.j

2009-05-06 Thread ezanih
Jaikiran:

Many thanks !!! I cannot thank you enough !!! Thank you !!! Thank you !!! Thank 
you !!!

I just realized that up till today, I have been WRONGLY copying all the 
physical files and messing up my JBoss AS server's libraries. Unbelievable!!! I 
cannot believe how I ended up in this mess and yet got my programs to work thus 
far by physically copying the files !!!

You are absolutely right !!! The best way is to create a lib folder within 
Eclipse and copy and paste directly any library or jar files you may need 
through the Package Explorer IDE.

What happens is that Eclipse will create that lib folder I just created within 
the Eclipse IDE physically into the Windows file system under the Eclipse 
workspace and in your relevant application's project folder. So for example you 
would have all your library files in a folder like this : 
C:\MyEclipseWorkspace\MyJavaProject\lib.

It can be very confusing ... yes, it can be. I mean, how many lib folders can 
you see in a typical Java programmer's PC. There's one in the JDK, one the JRE, 
two lib folders in the JBoss AS server directory and also one lib folder each 
Hibernate package you download. There are also many common files with the same 
names splattered everywhere...such as javaassist.jar (there's one in JBoss and 
one in the JDK.1.5.0_14). Also one can be confused with where to save 
ojcbd14.jar, for example.

With respect to ojcbd14.jar, if I installed my Oracle client and it saved 
ojcbd14.jar in Folder A, what would happen if I get an updated version of 
Oracle (for example 11)? The same with my Hibernate packages I downloaded. What 
do I do with all the zip and gz.tar files? I have to uncompress and expand them 
to some folder. So if I want to use hibernate-entitymanager-3.4.0.jar, for 
example, is it correct do download hibernate-entitymanager-3.4.0.zip from the 
Hibernate download site and then expand it to C:\hibernate-entitymanager-3.4.0 
and then copy the resulting hibernate-entitymanager.jar into my lib folder 
within Eclipse? I think that's probably the way so that 
hibernate-entitymanager.jar would be copied into my project's lib folder and 
not affect others. I guess the downside is there will be a lot of duplicate 
files for each project setup. I thought just copying the most updated jar ONLY 
ONCE to the JBoss\server\lib folder would suffice to serve all the Java apps I 
create !
 which uses JBoss. I was wrong. Anyway, I will have to try to adapt to this new 
habit right away. Thanks once again!

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

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

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


[jboss-user] [JBoss Portal] - Re: Handling PortalSessionEvent.SESSION_DESTROYED event

2009-05-06 Thread je.a.le
Why not using a portalsession attribute ?? 
login - set
logout or session expired - unset
in your portlet, redirect to the appropriate jsp according of this attribute 
state.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - org.hibernate.SessionException: Session is closed!

2009-05-06 Thread rosariogeorge
Hi,

Our server is throwing org.hibernate.SessionException: Session is closed! on 
everyday same time 
we cannot send the mails to our customers after there registration  payments.

org.hibernate.exception.GenericJDBCException: Cannot open connection
ERROR [org.hibernate.util.JDBCExceptionReporter] Transaction is not active: 
tx=TransactionImple  ac, BasicAction: a01d914:a62e:49f5b615:19a195 status: 
ActionStatus.ABORTED ; - nested throwable: (javax.resource.ResourceException: 
Transaction is not active: tx=TransactionImple  ac, BasicAction: 
a01d914:a62e:49f5b615:19a195 status: ActionStatus.ABORTED )

these are the following errors after SessionException. Please help me to find 
the solution.

Thanks,
Rosario

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - org.hibernate.SessionException: Session is closed!

2009-05-06 Thread rosariogeorge
Hi,

Our server is throwing org.hibernate.SessionException: Session is closed! on 
everyday same time 
we cannot send the mails to our customers after there registration  payments.

org.hibernate.exception.GenericJDBCException: Cannot open connection
ERROR [org.hibernate.util.JDBCExceptionReporter] Transaction is not active: 
tx=TransactionImple  ac, BasicAction: a01d914:a62e:49f5b615:19a195 status: 
ActionStatus.ABORTED ; - nested throwable: (javax.resource.ResourceException: 
Transaction is not active: tx=TransactionImple  ac, BasicAction: 
a01d914:a62e:49f5b615:19a195 status: ActionStatus.ABORTED )

these are the following errors after SessionException. Please help me to find 
the solution.

Thanks,
Rosario

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

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


[jboss-user] [JBoss Portal] - Re: user role and several portalsls

2009-05-06 Thread rosariogeorge
hello,

thanks for your response.

anonymous wrote : 
  | If you don't add a protocol to the URL, your browser is probably trying to 
resolve the href as a relative path.
  | 

how can i add this protocole please?

thank you again

bilelis protocole please?

thank you again

bilel

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

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


[jboss-user] [JBoss jBPM] - Re: Is mail blocking?

2009-05-06 Thread frinux
Ok it seems my ActionHandler was wrong.

But now another problem. It seems jBPM wants to log the exception in the 
database, and that tjis exception is too long for mysql column :

106375 [http-8080-Processor23] WARN org.hibernate.util.JDBCExceptionReporter - 
SQL Error: 0, SQLState: 22001
  | 106375 [http-8080-Processor23] ERROR 
org.hibernate.util.JDBCExceptionReporter - Data truncation: Data too long for 
column 'EXCEPTION_' at row 1
  | 01:54:05,734 ERROR WSCreerDemande:137 - error when processing creerDemande 
: org.jbpm.graph.def.DelegationException: could not insert: 
[org.jbpm.graph.log.ActionLog]
  | org.jbpm.graph.def.DelegationException: could not insert: 
[org.jbpm.graph.log.ActionLog]

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

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


[jboss-user] [EJB 3.0] - Re: EJBTHREE-1800

2009-05-06 Thread hilmer
Hi

The time on my machine using the CR1 version of ejb3-interceptors-aop.xml is 
37sec
With the trunk version of ejb3-interceptors-aop.xml the time is 33sec, so it is 
a 10% speedup.

--Soren

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Mails are not sending!!!

2009-05-06 Thread rosariogeorge
Hi,

We are sending welcome mails to our customer after there registration, but for 
the past 10days the mail sending functionality is not working in the live 
server, but its working fine in the local server[testing server]. Is there any 
change required in jboss-ds.xml.

min-pool-size5/min-pool-size
  max-pool-size300/max-pool-size
  idle-timeout-minutes5/idle-timeout-minutes

because our live server is throwing 
org.hibernate.SessionException: Session is closed! 

and

org.hibernate.exception.GenericJDBCException: Cannot open connection
ERROR [org.hibernate.util.JDBCExceptionReporter] Transaction is not active: 
tx=TransactionImple  ac, BasicAction: a01d914:a62e:49f5b615:19a195 status: 
ActionStatus.ABORTED ; - nested throwable: (javax.resource.ResourceException: 
Transaction is not active: tx=TransactionImple  ac, BasicAction: 
a01d914:a62e:49f5b615:19a195 status: ActionStatus.ABORTED )

please help me to find a solution.

Thanks,
Rosario





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

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


[jboss-user] [EJB 3.0] - Re: EJBTHREE-1800

2009-05-06 Thread jaikiran
Thanks for the info. Not much improvement with this single change. We are 
currently working on various issues related to EJBTHREE-1800. Will keep that 
JIRA updated.
 



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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: huge memory usage problem

2009-05-06 Thread manik.surt...@jboss.com
There is a lot of overhead in maintaining the tree structure.  The overhead 
varies with the type of data stored, and if you have a lot of small key/value 
pairs then the overhead increases quite significantly.  This is one of the 
motivations for starting the Infinispan [1] project.

One thing you could do is if you are using pessimistic locking, switch to MVCC 
which reduces the number of locks created and hence memory overhead.

[1] http://www.infinispan.org

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: How to access multiple jboss cache instances

2009-05-06 Thread manik.surt...@jboss.com
Try smaller transactions?  Add more memory? :-)

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

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


[jboss-user] [EJB/JBoss] - Ejb Timer problem: Timer wakes up late when set for long int

2009-05-06 Thread renjith4
Hi everyone,

We had a problem with the ejb timers waking up late (almost 2 minutes) while 
being set for long interval (say 1 month) . Has anyone experienced any similar 
lag . I searched in several forums and couldn't find any body having similar 
problems.  When the timer is set for few minutes or hour then there is no delay 
but while setting it for a day causes around 10 sec delay and for longer 
intervals causes longer delay.


Code setting timer is this

  | final TimerService timer = sessionContext.getTimerService();
  | long delay= 2592 * 1000;
  | timer.createTimer(delay, new Integer(timerId));
  | 


We are using Jboss 4.0.2 [yes we are still in stone age :) ] . Your comments 
are always welcome

Thanks,
ren

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

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


[jboss-user] [JCA/JBoss] - How to change datasource properties using java client code ?

2009-05-06 Thread chetanchatwani
Hi ,

We have server/profile called ejbServer which contain datasource as BizLogicDS, 
we want to change the properties(such as URL, username, password, driver class 
etc.) for same using java client code and persist new values. 

Can someone help for same with required pointers to documents sample code if 
possible?


Thanks and Regards,
Chetan


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

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


[jboss-user] [Clustering/JBoss] - Facing Reincarnation Error?

2009-05-06 Thread jtcnz
I am using JBoss 4.0.3SP1 (shipped with JGroups 2.2.7) to combine a cluster 
with 3 nodes on Win 2003, basing on JDK1.4.2_17.

I configured a TCP stack for underlying communication. Both in 
cluster-service.xml  tc5-cluster-service.xml. See following:
 Config
  | TCP bind_addr=10.200.**.1 start_port=7800 loopback=true/
  | TCPPING 
initial_hosts=10.200.**.1[7800],10.200.**.2[7800],10.200.**.3[7800]  
port_range=3 timeout=1
  |num_initial_members=3 up_thread=true down_thread=true/
  | MERGE2 min_interval=5000 max_interval=1/
  | FD shun=false timeout=15000 max_tries=5 up_thread=true 
down_thread=true /
  | VERIFY_SUSPECT timeout=1500 down_thread=false 
up_thread=false /
  | pbcast.NAKACK down_thread=true up_thread=true gc_lag=100
  |retransmit_timeout=3000/
  | pbcast.STABLE desired_avg_gossip=2 down_thread=false 
up_thread=false /
  | pbcast.GMS join_timeout=5000 join_retry_timeout=2000 
shun=false
  |print_local_addr=true down_thread=true up_thread=true/
  | pbcast.STATE_TRANSFER up_thread=true down_thread=true/
  |  /Config


The problem is, if I turn off one server(say,node B) and restart it 
immediately, there are ERROR messages:
on the B side:
09:07:08|ERROR [ParticipantGmsImpl] handleJoinResponse() should not be invoked 
on an instance of org.jgroups.protocols.pbcast.participantGmsImpl

and after a while also:
ERROR [GMS] [B:7800(additional data:18bytes)] received view = current view; 
discarding it (current vid:[A:7800(additional data:18bytes)|2],new 
vid:[A:7800(additional data:18bytes)|2])

on the A side:
09:07:03|ERROR[CoordGmsImp] memeber B:7800 already present; return existing 
view [A:7800,B:7800]
  | 09:07:07|ERROR[GMS][A:7800] received view=current view;descarding 
it(current vid:[A:7800|1], new vid:[B:7800|1])

After B started up, from the web console, I can see that B joined the cluster 
view. Is it a proper cluster? Could I just ignore these Error messages? It 
would be great if someone could explain that what do these error messages mean 
exactly. What happened behind?

Is it typical reincarnation error? 
Is there some solution to solve this problem? it happens a lot and really 
annoys me.

My solution(it works sometimes but looks stupid):
After I turn off one node, I wait for about 4 minutes, then restart it. The 
Error messages don't show up anymore.

Thanks for any idea.

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

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


[jboss-user] [EJB/JBoss] - Re: xercesImpl conflict: How to isolate an EAR deployment

2009-05-06 Thread jaikiran
#2 is what i do for my apps. Can you post your configs? And also the entire 
exception stacktrace? Also list the jars that you are packaging and the place 
where they are within the EAR.

While posting logs or xml content or code, please remember to wrap it in a code 
block by using the Code button in the message editor window. Please use the 
Preview button to ensure that your post is correctly formatted.

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

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


[jboss-user] [Clustering/JBoss] - Re: Facing Reincarnation Error?

2009-05-06 Thread b...@jboss.com
Yes, this is most likely a reincarnation error: the time to detect a crash (in 
FD) and exclude the crashed member is 46.5 seconds, so when you kill and 
restart a node within ~ 46 secs, that node will get the same port and be 
reincarnated.

Workarounds (besides using 2.8):
- Add FD_SOCK as described on then JGroups wiki
- Don't se bind_port in TCP

Bela

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

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


[jboss-user] [JBoss Cache: Core Edition] - jdbc cacheloader configuration prgramatically

2009-05-06 Thread sridhar_ratna
i am trying to configure jdbc cache loader dynamically.
but its giving ConfigurationException

public class CacheLoaderUtil {
  | public static NodeString, Object getCacheNode(int dataNodeNo) {
  | CacheString, Object cache = createCacheFactory(dataNodeNo);
  | cache.create();
  | cache.start();
  | return cache.getRoot();
  | }
  | 
  | private static CacheString, Object createCacheFactory() {
  | 
  | 
  | Configuration config = new Configuration();
  | config
  | 
.setTransactionManagerLookupClass(GenericTransactionManagerLookup.class
  | .getName());
  | config.setIsolationLevel(IsolationLevel.READ_COMMITTED);
  | config.setCacheMode(CacheMode.LOCAL);
  | config.setLockAcquisitionTimeout(15000);
  | 
  | EvictionConfig ec = new EvictionConfig();
  | ec.setWakeupInterval(5);
  | 
  | EvictionRegionConfig erc = new EvictionRegionConfig();
  | erc.setRegionName(/);
  | erc.setEventQueueSize(2000);
  | erc.setEvictionAlgorithmConfig(new LRUAlgorithmConfig(300, 300, 
500));
  | 
  | ListEvictionRegionConfig ercs = new 
ArrayListEvictionRegionConfig();
  | ercs.add(erc);
  | ec.setEvictionRegionConfigs(ercs);
  | 
  | config.setEvictionConfig(ec);
  | 
  | CacheLoaderConfig loaderConfig = new CacheLoaderConfig();
  | loaderConfig.setPassivation(false);
  | loaderConfig.setShared(false);
  | loaderConfig.setPreload(/);
  | 
  | JDBCCacheLoaderConfig jdbcConfig = new JDBCCacheLoaderConfig();
  | jdbcConfig.setAsync(false);
  | jdbcConfig.setCreateTable(true);
  | jdbcConfig.setDriverClass(props.getProperty(Driver.Class));
  | jdbcConfig.setDropTable(false);
  | jdbcConfig.setFetchPersistentState(true);
  | jdbcConfig.setIgnoreModifications(false);
  | jdbcConfig.setPurgeOnStartup(false);
  | jdbcConfig.setTable(jbosscache);
  | jdbcConfig.setPrimaryKey(jbosscache_pk);
  | jdbcConfig.setFqnColumn(fqn);
  | jdbcConfig.setFqnType(VARCHAR(255));
  | jdbcConfig.setNodeColumn(value);
  | jdbcConfig.setNodeType(props.getProperty(Value.Type));
  | jdbcConfig.setParentColumn(parent);
  | jdbcConfig.setJdbcURL(props.getProperty(Jdbc.URL));
  | jdbcConfig.setJdbcUser(props.getProperty(Jdbc.User));
  | jdbcConfig.setJdbcPassword(props.getProperty(Jdbc.Password));
  | 
  | 
  | loaderConfig.addIndividualCacheLoaderConfig(jdbcConfig);
  | 
  | config.setCacheLoaderConfig(loaderConfig);
  | 
  | CacheFactoryString, Object factory = new 
DefaultCacheFactoryString, Object();
  | 
  | CacheString, Object cache = factory.createCache(config);
  | return cache;
  | }
  | 
  | 
  | public static void main(String[] args) {
  | CacheLoaderUtil.getCacheNode();
  | }
  | }
  | 



stack trace is

Exception in thread main org.jboss.cache.config.ConfigurationException: 
Unable to build interceptor chain
  | at 
org.jboss.cache.factories.InterceptorChainFactory.construct(InterceptorChainFactory.java:229)
  | at 
org.jboss.cache.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:315)
  | at 
org.jboss.cache.factories.ComponentRegistry.invokeInjectionMethod(ComponentRegistry.java:276)
  | at 
org.jboss.cache.factories.ComponentRegistry$Component.injectDependencies(ComponentRegistry.java:
  | 974)
  | at 
org.jboss.cache.factories.ComponentRegistry.registerComponent(ComponentRegistry.java:252)
  | at 
org.jboss.cache.DefaultCacheFactory.bootstrap(DefaultCacheFactory.java:155)
  | at 
org.jboss.cache.DefaultCacheFactory.createAndWire(DefaultCacheFactory.java:141)
  | at 
org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:120)
  | at 
org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:105)
  | at 
com.cmc.facts.util.CacheLoaderUtil.createCacheFactory(CacheLoaderUtil.java:126)
  | at 
com.cmc.facts.util.CacheLoaderUtil.getCacheNode(CacheLoaderUtil.java:42)
  | at com.cmc.facts.util.CacheLoaderUtil.main(CacheLoaderUtil.java:132)
  | Caused by: org.jboss.cache.config.ConfigurationException: Unable to build 
interceptor chain
  | at 
org.jboss.cache.factories.InterceptorChainFactory.construct(InterceptorChainFactory.java:229)
  | at 
org.jboss.cache.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:315)
  | at 
org.jboss.cache.factories.ComponentRegistry.invokeInjectionMethod(ComponentRegistry.java:276)
 

[jboss-user] [JBoss Messaging] - JMS Porting from SUN Java Application Server to JBOSS

2009-05-06 Thread meet_ravip
How JMS Implementation is differ in JBoss than SUN Java Application 
Server?.What are all the relavant jar files to be replaced instead of 
j2ee.jar,imq.jar provided by SUN?


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate Porting from Sun Java Application Server(JES) to J

2009-05-06 Thread meet_ravip
Any link or document to smoothly port the Hibernate applications running on Sun 
Java Application Server to JBoss.is there any limitation or known issues on 
JBoss Hibernate API's while porting from generic hibernate application?.We have 
used Hibernate Synchronizer for generating the mapping files,interfaces and DAO 
classes,So can we use the same files for JBoss as well?.is there any code 
change is required in terms of API's?(We assume yes,since JBoss has its own 
hibernate sdk)?.


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

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


[jboss-user] [JBoss Messaging] - Re: JMS Porting from SUN Java Application Server to JBOSS

2009-05-06 Thread jmesnil
have a look at the documentation for a list of the required jars:
http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.3.GA/html/installation.html#inst.remoteclient

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to create/bound the JNDI names globally for hibernate Se

2009-05-06 Thread meet_ravip
I am new to jboss(but not app server domain) and tried running the examples in 
the below link.
Ref:-
http://docs.jboss.org/jbossas/getting_started/v5/html/hibernate.html
When i ran the example i am getting the exception saying that

NamingException: hibernate not found.

When i analyse the issue it looks like 'hibernate/SessionFactory' is not bound 
to JNDI.I couldn't find any options in mysql-ds.xml and other xml files.
The only place we are mentioning is hibernate-service.xml,but it didn't insist 
app server to bound that jndi name during run time.

The workaround i found is by following the last paragraph in the below link

http://docs.huihoo.com/hibernate/hibernate-reference-2.1.7/session-configuration.html

My Questions:-
***
1.is there any configuration file where in which i can specificy the hibernate 
session factory and  then jboss identifies that change and bound the JNDI name?
2.is there any command line tool or console option(web-console) where in which 
i can add the JNDI resources?.


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

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


[jboss-user] [JNDI/Naming/Network] - How to create/bound the JNDI names globally for hibernate Se

2009-05-06 Thread meet_ravip
I am new to jboss(but not app server domain) and tried running the examples in 
the below link.
Ref:-
http://docs.jboss.org/jbossas/getting_started/v5/html/hibernate.html
When i ran the example i am getting the exception saying that

NamingException: hibernate not found.

When i analyse the issue it looks like 'hibernate/SessionFactory' is not bound 
to JNDI.I couldn't find any options in mysql-ds.xml and other xml files.
The only place we are mentioning is hibernate-service.xml,but it didn't insist 
app server to bound that jndi name during run time.

The workaround i found is by following the last paragraph in the below link

http://docs.huihoo.com/hibernate/hibernate-reference-2.1.7/session-configuration.html

My Questions:-
***
1.is there any configuration file where in which i can specificy the hibernate 
session factory and then jboss identifies that change and bound the JNDI name?
2.is there any command line tool or console option(web-console) where in which 
i can add the JNDI resources?. 

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

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


[jboss-user] [JBossWS] - Jax-RPC WS Implementation in JBoss

2009-05-06 Thread meet_ravip
Hi,
 We were using the Jax-RPC based Web Service Implementation in Sun Java 
Application Server.Now we are planning to port it to JBoss application 
server.So is there any limitation on using Jax-RPC webservice implementation in 
JBoss?.For wsdl2java approach can we use wsconsume tool for generating the 
jax-rpc-mapping,webservices.xml or we have to rely on sun wscompile 
tool?.Please give us some links or Samples,documentations.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Custom column in jbosscache table and Custom Loading from pe

2009-05-06 Thread challasreedhar

I am working on integration of jbosscache and gridgain.

While using  JDBCCacheLoader , the current implementation contains three 
columns (FQN,VALUE,PARENT)

Is it possible to have a userdefined column (say LoadKey) which can have some 
user defined value (say an integer value) which can be persisted along with 
jboss cache in to the database.

and while loading the jboss cache is it possible to :

On grid node1, load jboss cache based on the condition that LoadKey is between 
1 to 1  and on grid node2 load another jboss cache based on the condition 
that LoadKey is between 2 to 2 etc...

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

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


[jboss-user] [JBoss jBPM] - Re: We need some setter methods to integrate jBPM4 with spri

2009-05-06 Thread kukeltje
In svn, there is a branche called ainze 
(http://fisheye.jboss.com/browse/JbpmSvn/jbpm4/branches/ainze/) where spring 
integration in a broad way is developped. Have a look there to see if that 
already comes close to what you need.

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

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


[jboss-user] [JBoss jBPM] - Re: Is mail blocking?

2009-05-06 Thread kukeltje
anonymous wrote : Ok it seems my ActionHandler was wrong.

Would be nice (for others to learn if they encounter the same issue) to report 
what was wrong

anonymous wrote : But now another problem. It seems jBPM wants to log the 
exception in the database, and that tjis exception is too long for mysql column 
:
  | 
  | 106375 [http-8080-Processor23] WARN 
org.hibernate.util.JDBCExceptionReporter - SQL Error: 0, SQLState: 22001
  |   | 106375 [http-8080-Processor23] ERROR 
org.hibernate.util.JDBCExceptionReporter - Data truncation: Data too long for 
column 'EXCEPTION_' at row 1
  |   | 01:54:05,734 ERROR WSCreerDemande:137 - error when processing 
creerDemande : org.jbpm.graph.def.DelegationException: could not insert: 
[org.jbpm.graph.log.ActionLog]
  |   | org.jbpm.graph.def.DelegationException: could not insert: 
[org.jbpm.graph.log.ActionLog]

Oracle right? 

Two things:
- Post more info on your environment (db, jbpm version etc) and search the 
forum/wiki first
- New issues belong in new topics

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

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


[jboss-user] [JBoss jBPM] - Re: Is mail blocking?

2009-05-06 Thread kukeltje
Sorry, MySQL I see it now... hmm... still it belongs in a new topic... ;-)

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

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


[jboss-user] [JBoss Messaging] - JBossAS 5.1.0CR1 JBoss-messaging jboss-remoting

2009-05-06 Thread radimchatkalahari
I'm just trying out release candidate jbossAS5.1.0CR1
and I have 2 questions:

1) There is version  1.4.3 of of jboss-messaging inside this JBossAS release,
but I didn't found such a version at jboss-messaging download section...

2) There is version 2.5.1 of jboss-remoting inside this JBossAS release,
but as far as I know versions 2.4.x 2.5.x are not officially supported by 
jboss-messaging 1.4.x

(trying to replace version 2.5.1 with 2.2.2SP11_JBREM12 - svn head - 
throws some errors during jbossAS startup)

Is this combination supported by jboss-messaging team, or it is just 
side-effect that those 2 version of jbm  jbrem are released together?

Thanks
Radim

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Custom column in jbosscache table and Custom Loading fro

2009-05-06 Thread manik.surt...@jboss.com
Sure - you could have your own cache loader impl that does that.

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

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


[jboss-user] [JBoss jBPM] - Installing jPDL4 GPD

2009-05-06 Thread Setya
Hi all,

I try to install jPDL4 GPD Beta 1 using local update site into Eclipse Ganymede 
but it always throws :

Cannot find a solution satisfying the following requirements 
Match[requiredCapability: 
org.eclipse.equinox.p2.iu/org.eclipse.emf.common/[2.4.0.v200902171115,2.4.0.v200902171115]].

I've confirmed that the aforementioned EMF plugins already installed with the 
correct version.

Any help would be greatly appreciated.

Regards,

Setya



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

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


[jboss-user] [JBoss Tools (users)] - Re: java.lang.IllegalAccessError when trying to open pages.x

2009-05-06 Thread max.ander...@jboss.com
That is not the latest *released* version.

Please use a 3.0.0.GA-R

Recent nightly builds requires Galileo/Eclipse 3.5



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

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


[jboss-user] [JBoss Tools (users)] - Re: java.lang.IllegalAccessError when trying to open pages.x

2009-05-06 Thread max.ander...@jboss.com
btw. where did  you download this build from ? (specific link if possible since 
this looks like a build that should not exist)

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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem with Ejb3PropertyGetAnnotation.ftl

2009-05-06 Thread max.ander...@jboss.com
ah - that explains it ;) thanks for letting me know since I were getting 
crosseyed trying to reproduce it.

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

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


[jboss-user] [JBoss Tools (users)] - Re: How to get the source code?

2009-05-06 Thread max.ander...@jboss.com
pouncilt - hibernate.org have been back up for a while now.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: FileNotFoundException for some files inside SARs

2009-05-06 Thread peter899
This bug was solved in version 1.6.1

Check the issue:
http://jira.opensymphony.com/browse/QUARTZ-577

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

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


[jboss-user] [JBoss Tools (users)] - Re: java.lang.IllegalAccessError when trying to open pages.x

2009-05-06 Thread GermanDev
that version has been downloaded by Eclipse Auto Updater from 
http://download.jboss.org/jbosstools/updates/nightly/trunk/. I thought that 
this has to be the lastest (stable) version because of that.

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

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


[jboss-user] [J2EE Design Patterns] - Deploying .sar

2009-05-06 Thread hrast200
Hello!

I have .ear (project) and .sar (service) files on my test server and everything 
is going great. .sar file contains two simple services which are time activated 
every hour and are working great, but when I deploy them on my production 
server, only first service is triggered. The second service is not getting 
activated anymore. The thing is, when I restart server between the calls of 
first and second service, second service is triggered, after approximately one 
hour first service is triggered (that is OK) and after that, only first service 
is triggered (that is not OK, second service should be triggered evert time 
after first service). 

Do you have any clue what is going on?

(I copy/pasted jBoss from test to production and vice versa and everything is 
the same)

Tnx!

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

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


[jboss-user] [Beginners Corner] - Re: Cant deply an .ear file into the JBOSS.

2009-05-06 Thread Wolfgang Knauf
Hi,

seems your application.xml is empty. If present, is has to contain at least 
one module element (see PeterJ's sample above).
But as Jaikiran said: it is at the wrong place if contained in 
WEB/classes/META-INF! It has to be part of the EAR file/directory (but JBoss 5 
doesn't need it). 

Best regards

Wolfgang

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

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


[jboss-user] [Advanced Documentation] - Tomcat 6 project to Jboss 5.0

2009-05-06 Thread atdavie
what is the best approach for setting up server level parameters using Jboss

In tomcat I would simply set stuff up in conf/context.xml. This doesnt seem to 
work in the Jboss tomcat configuration...

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

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


[jboss-user] [JBoss Tools (users)] - Re: java.lang.IllegalAccessError when trying to open pages.x

2009-05-06 Thread max.ander...@jboss.com
if you want stable use the stable update site not our nightly builds which is 
as bleeding edge as anything.



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

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


[jboss-user] [JBoss Portal] - Performance Issue with JBP2.7.1; Any workaround??

2009-05-06 Thread vivek_saini07
I observed that Hibernate layer is firing unnecessary queries to DB. This is 
observed in getPortal(String name) method of ContextImpl class.
This method called from getDashboard(User user) method of 
CustomizationManagerService.

I put following sop in  getPortal(String name) method.


  |   public Portal getPortal(String name)
  |{
  |System.out.println(before getChild(name);===);
  |   PortalObject child = getChild(name);
  |   System.out.println(After getChild(name);===);
  |   if (child instanceof Portal)
  |   {
  |  return (Portal)child;
  |   }
  |   return null;
  |}
  | 

and these are the logs from server


  | before getChild(name);===
  |  [Location: 152 Method: write]  INFO  [STDOUT] Hibernate: select 
children0_.PARENT_KEY as PARENT4_1_, children0_.PK as PK1_, children0_.NAME as 
NAME1_, children0_.PK as PK9_0_, children0_.PATH as PATH2_9_0_, 
children0_.NAME as NAME9_0_, children0_.PARENT_KEY as PARENT4_9_0_ from 
JBP_OBJECT_NODE children0_ where children0_.PARENT_KEY=?
  |  [Location: 152 Method: write]  INFO  [STDOUT] Hibernate: select 
portalobje0_.PK as PK10_0_, portalobje0_.LISTENER as LISTENER10_0_, 
portalobje0_4_.INSTANCE_REF as INSTANCE2_18_0_, case when portalobje0_1_.PK is 
not null then 1 when portalobje0_2_.PK is not null then 2 when 
portalobje0_3_.PK is not null then 3 when portalobje0_4_.PK is not null then 4 
when portalobje0_.PK is not null then 0 end as clazz_0_, 
declaredpr1_.OBJECT_KEY as OBJECT1_2_, declaredpr1_.jbp_VALUE as jbp2_2_, 
declaredpr1_.NAME as NAME2_, modes2_.PK as PK3_, modes2_.name as name3_, 
windowstat3_.PK as PK4_, windowstat3_.name as name4_ from JBP_PORTAL_OBJECT 
portalobje0_ left outer join JBP_CONTEXT portalobje0_1_ on 
portalobje0_.PK=portalobje0_1_.PK left outer join JBP_PORTAL portalobje0_2_ on 
portalobje0_.PK=portalobje0_2_.PK left outer join JBP_PAGE portalobje0_3_ on 
portalobje0_.PK=portalobje0_3_.PK left outer join JBP_WINDOW portalobje0_4_ on 
portalobje0_.PK=portalobje0_4_.PK left outer join JBP_POR!
 TAL_OBJECT_PROPS declaredpr1_ on portalobje0_.PK=declaredpr1_.OBJECT_KEY left 
outer join JBP_PORTAL_MODE modes2_ on portalobje0_.PK=modes2_.PK left outer 
join JBP_PORTAL_WINDOW_STATE windowstat3_ on portalobje0_.PK=windowstat3_.PK 
where portalobje0_.PK=?
  |  [Location: 152 Method: write]  INFO  [STDOUT] Hibernate: select 
portalobje0_.PK as PK10_0_, portalobje0_.LISTENER as LISTENER10_0_, 
portalobje0_4_.INSTANCE_REF as INSTANCE2_18_0_, case when portalobje0_1_.PK is 
not null then 1 when portalobje0_2_.PK is not null then 2 when 
portalobje0_3_.PK is not null then 3 when portalobje0_4_.PK is not null then 4 
when portalobje0_.PK is not null then 0 end as clazz_0_, 
declaredpr1_.OBJECT_KEY as OBJECT1_2_, declaredpr1_.jbp_VALUE as jbp2_2_, 
declaredpr1_.NAME as NAME2_, modes2_.PK as PK3_, modes2_.name as name3_, 
windowstat3_.PK as PK4_, windowstat3_.name as name4_ from JBP_PORTAL_OBJECT 
portalobje0_ left outer join JBP_CONTEXT portalobje0_1_ on 
portalobje0_.PK=portalobje0_1_.PK left outer join JBP_PORTAL portalobje0_2_ on 
portalobje0_.PK=portalobje0_2_.PK left outer join JBP_PAGE portalobje0_3_ on 
portalobje0_.PK=portalobje0_3_.PK left outer join JBP_WINDOW portalobje0_4_ on 
portalobje0_.PK=portalobje0_4_.PK left outer join JBP_POR!
 TAL_OBJECT_PROPS declaredpr1_ on portalobje0_.PK=declaredpr1_.OBJECT_KEY left 
outer join JBP_PORTAL_MODE modes2_ on portalobje0_.PK=modes2_.PK left outer 
join JBP_PORTAL_WINDOW_STATE windowstat3_ on portalobje0_.PK=windowstat3_.PK 
where portalobje0_.PK=?
  |  [Location: 152 Method: write]  INFO  [STDOUT] Hibernate: select 
portalobje0_.PK as PK10_0_, portalobje0_.LISTENER as LISTENER10_0_, 
portalobje0_4_.INSTANCE_REF as INSTANCE2_18_0_, case when portalobje0_1_.PK is 
not null then 1 when portalobje0_2_.PK is not null then 2 when 
portalobje0_3_.PK is not null then 3 when portalobje0_4_.PK is not null then 4 
when portalobje0_.PK is not null then 0 end as clazz_0_, 
declaredpr1_.OBJECT_KEY as OBJECT1_2_, declaredpr1_.jbp_VALUE as jbp2_2_, 
declaredpr1_.NAME as NAME2_, modes2_.PK as PK3_, modes2_.name as name3_, 
windowstat3_.PK as PK4_, windowstat3_.name as name4_ from JBP_PORTAL_OBJECT 
portalobje0_ left outer join JBP_CONTEXT portalobje0_1_ on 
portalobje0_.PK=portalobje0_1_.PK left outer join JBP_PORTAL portalobje0_2_ on 
portalobje0_.PK=portalobje0_2_.PK left outer join JBP_PAGE portalobje0_3_ on 
portalobje0_.PK=portalobje0_3_.PK left outer join JBP_WINDOW portalobje0_4_ on 
portalobje0_.PK=portalobje0_4_.PK left outer join JBP_POR!
 TAL_OBJECT_PROPS declaredpr1_ on portalobje0_.PK=declaredpr1_.OBJECT_KEY left 
outer join JBP_PORTAL_MODE modes2_ on portalobje0_.PK=modes2_.PK left outer 
join JBP_PORTAL_WINDOW_STATE windowstat3_ on portalobje0_.PK=windowstat3_.PK 
where portalobje0_.PK=?
  |  [Location: 152 Method: write]  INFO  [STDOUT] Hibernate: select 
portalobje0_.PK as PK10_0_, portalobje0_.LISTENER as LISTENER10_0_, 

[jboss-user] [JBoss Portal] - Re: user role and several portals

2009-05-06 Thread bilou690
bilel is not a protocole ;) it's my nickname ...

bye

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

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


[jboss-user] [JBoss Portal] - Re: Logout with expired session requires login twice

2009-05-06 Thread apa99
Adding information about the enviroment:
JBoss AS : 4.3.0 GA
JBoss Portal : 2.6.4
Database : Oracle 10g
 


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

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


[jboss-user] [JBoss Tools (users)] - Re: Jboss Seam tool for eclipse issue

2009-05-06 Thread quintenjiang
Thank you, it can switch to default output via configuration

Currently I am using Granites to develop, it generate AS code under src/main 
folder (Entity class), it is why I can not move class under src/hot(bean) into 
main folder.




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

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


[jboss-user] [JBoss Portal] - Re: Performance Issue with JBP2.7.1; Any workaround??

2009-05-06 Thread thomas.he...@jboss.com
You should try the project trunk or EPP 4.3 CP01, there was some fixes in that 
domain

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

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


[jboss-user] [JBoss Tools (users)] - Re: Automatic republish don't work

2009-05-06 Thread ngabe81
Thank you for your advise. I've tried it out but it don't have any effect. Same 
behavior as previous: the old functionality of the session bean is already 
active. I don't know if I click the right button. It has the tooltip touch 
decriptors. I'm a absolute beginner in EJB and JBoss so that I don't know what 
to do.

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

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


[jboss-user] [JBoss jBPM] - Re: Ending tasks manually

2009-05-06 Thread wurzelbutz
i know that the Taskinstance has leaving transitions 
(hasLeavingTransition(ext_transition) returns true). 
Transition tr=ti.getTask().getTaskNode().getLeavingTransition(ext_transition);
finds the correct transition.

It just seems as jbpm has troubles following it.

As i said ending a taskinstance which has only 1 leaving transitions works well.

here is the process definition, maby that helps:


?xml version=1.0 encoding=UTF-8?
  | 
  | process-definition  xmlns=  name=test
  | start-state name=start-state1
  | transition to=entscheidung/transition
  | /start-state
  | task-node name=links
  | task name=links
  | assignment 
class=at.test.session.UserAssignmentActor/assignment
  | /task
  | transition to=end-state1/transition
  | /task-node
  | 
  | task-node name=rechts
  | task name=rechts
  | assignment 
class=at.test.session.UserAssignmentActor/assignment
  | /task
  | transition to=end-state1/transition
  | /task-node
  | 
  | task-node name=entscheidung
  | task name=links oder rechts?
  | assignment 
class=at.test.session.UserAssignmentActor/assignment
  | /task
  | transition to=rechts name=rechts/transition
  | transition to=links name=links/transition
  | /task-node
  | 
  | end-state name=end-state1/end-state
  | /process-definition

of course i could just catch the exception but the problem is that the 
taskinstance doesn't get ended.

i find interesting that jbpm tries to persist a taskinstance (the target of the 
transition i assume) which supposedly exists:
anonymous wrote : Caused by: org.hibernate.PersistentObjectException: detached 
entity passed to persist: org.jbpm.taskmgmt.exe.TaskInstance (from the 
stacktrace)

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

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


[jboss-user] [JBoss Tools (users)] - Re: Jboss Seam tool for eclipse issue

2009-05-06 Thread akazakov
I don't know what is Granities but if you need to point Seam Wizards to 
generate Entities to src/main you can do it in Seam Settings Project view (See 
Project Properties for your Seam project). 

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

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


[jboss-user] [JBoss jBPM] - Trying to catch SMTP exception, but leads to SQL exception..

2009-05-06 Thread frinux
Hi,
I'm trying to catch the exception thrown when the SMTP fails. I added an 
exception handler to my mail node :

exception-handler exception-class=java.lang.Exception
  | action name=InvalidEmailAddressExceptionHandler 
class=logica.actions.InvalidEmailAddressExceptionHandler/action
  | /exception-handler
  | 

Here is my action :

public class InvalidEmailAddressExceptionHandler implements ActionHandler {
  | 
  | private static final long serialVersionUID = 1L;
  | 
  | public void execute(ExecutionContext executionContext) {
  | System.out.println(wrong email);
  | 
  | }
  |  
  | }

I reach this part of code, but just after this, I get an exception:

59516 [http-8080-Processor25] WARN 
org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog - Narrowing proxy 
to class org.jbpm.graph.node.TaskNode - this operation breaks ==
  | 59625 [http-8080-Processor25] WARN org.hibernate.util.JDBCExceptionReporter 
- SQL Error: 0, SQLState: 22001
  | 59625 [http-8080-Processor25] ERROR 
org.hibernate.util.JDBCExceptionReporter - Data truncation: Data too long for 
column 'EXCEPTION_' at row 1
  | 06:39:44,234 ERROR WSCreerDemande:175 - error when processing creerDemande 
: org.jbpm.graph.def.DelegationException: could not insert: 
[org.jbpm.graph.log.ActionLog]
  | org.jbpm.graph.def.DelegationException: could not insert: 
[org.jbpm.graph.log.ActionLog]

The entire exception is here:
http://pastebin.com/m3b2df339

I nearly understand that the data sent to the MySQL database leads to an 
overflow when logging the exception.

Allthough, the EXCEPTION_ column in jbpm_log is a VARCHAR(4000), and the 
exception it contains has only 2592 chars. Maybe the problem is not the size, 
but the text inserted? (charset?!)

How can I fix the problem? (and what is exactly the problem?)

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

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


[jboss-user] [JBossWS] - Re: EJB injection doesn ’t work in Web Service s in

2009-05-06 Thread richard.opa...@jboss.com
The feature is implemented and will be available in next JBossWS/JBossAS 
release.

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

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


[jboss-user] [JBoss Messaging] - Re: JBossAS 5.1.0CR1 JBoss-messaging jboss-remoting

2009-05-06 Thread gaohoward
question 1) -- 1.4.3 is specific for jboss AS 5, usually we don't provide a 
download. But you can have this version at  svn:
https://svn.jboss.org/repos/messaging/tags/JBossMessaging_1_4_3_GA

question 2) -- 1.4.3.GA has been tested specifically against remoting 2.5 in 
order to be released for AS5.

If you are using 1.4.3.GA, stay AS5 and remoting 2.5. It's not guaranteed that 
1.4.3.GA work with 2.2.x remoting.





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

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


[jboss-user] [EJB 3.0] - Re: Service bean and concurrency access

2009-05-06 Thread xmedeko
Well, I have found out, that the bussines methods mey be called from diferent 
threads.

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

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


[jboss-user] [JBoss jBPM] - Re: Ending tasks manually

2009-05-06 Thread kukeltje
try using something like

ti.getTask().getTaskNode().hasLeavingTransition(ext_transition);

which returns a boolean. 

Also just signalling it with a transition that does not exist is an option and 
catching the exeption





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

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


[jboss-user] [Beginners Corner] - Re: Web Application Context Logging (log4j) Question

2009-05-06 Thread sstacha
Yes,  I include log4j-1.2.8 in each webapp's WEB-INF/lib folder.  Let me go 
ahead and post the background code and such then.

First, I was trying to load a context event listener with the following code:

package biz.ormia.util.logging;

/**
 * User: sstacha
 * Date: May 3, 2009
 * Time: 1:22:11 PM
 * Attempt to do logging without much effort on the devleopers part.
 * Developers will need to add the following the web.xml file
 * 
 *  
listener-classbiz.ormia.util.logging.ContextRepositoryListener/listener-class
 * 
 *
 */

import org.apache.log4j.spi.WebAppRepositorySelector;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import java.util.Enumeration;

public class ContextRepositoryListener implements ServletContextListener
{
public void contextInitialized(ServletContextEvent contextEvent)
{
try
{
System.out.println(Attempting to add a context to the 
repositorySelector:  + 
contextEvent.getServletContext().getServletContextName());
Enumeration 
names=contextEvent.getServletContext().getAttributeNames();
System.out.println(- attributes -);
String name;
while (names.hasMoreElements())
{
name = (String)names.nextElement();
System.out.println(  + name +  -  + 
contextEvent.getServletContext().getAttribute(name));
}

names=contextEvent.getServletContext().getInitParameterNames();
System.out.println(- init params -);
while (names.hasMoreElements())
System.out.println(  + 
names.nextElement());

WebAppRepositorySelector.init(contextEvent.getServletContext());


//ContextRepositorySelector.init(contextEvent.getServletContext());

}
catch (Exception ex) {System.err.println(ex);}
}

public void contextDestroyed(ServletContextEvent contextEvent)
{
System.out.println(Attempting to remove a context from the 
repositorySelector:  + contextEvent.getServletContext());
ContextRepositorySelector.removeContext();
}
}


As you can see mostly I was trying to figure out what I had available to me and 
make sure it was being called.  The only real thing in init is to call the 
WebAppRepositorySelector.init(contextEvent.getServletContext());
WebAppRepositorySelector is my implementation which simply tries to take the 
default respository that jboss sets up and then tries to add a new one for each 
webapp deployment.

package org.apache.log4j.spi;

import org.apache.log4j.LogManager;
import org.apache.log4j.Hierarchy;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import java.util.Map;
import java.util.HashMap;

/**
 * User: sstacha
 * Date: May 5, 2009
 * Time: 2:58:16 PM
 * To change this template use File | Settings | File Templates.
 */
public class WebAppRepositorySelector implements RepositorySelector
{
private static MapClassLoader, LoggerRepository repositories = new 
HashMapClassLoader, LoggerRepository();
private static LoggerRepository defaultRepository;

public static void init(ServletContext context) throws ServletException
{
System.out.println(in addContext...);
System.out.println(current thread:  + 
Thread.currentThread().getName());
System.out.println(classloader:  + 
Thread.currentThread().getContextClassLoader().toString());
System.out.println(context:  + 
context.getServletContextName());
if (defaultRepository == null)
{
defaultRepository = LogManager.getLoggerRepository();
Object guard = LogManager.getRootLogger();
LogManager.setRepositorySelector(new 
WebAppRepositorySelector(), guard);
}
System.out.println(defaultRepository:  + 
defaultRepository.toString());

org.apache.log4j.Logger rootLogger = new 
RootLogger(org.apache.log4j.Level.DEBUG);
System.out.println(rootLogger:  + rootLogger);
//  org.apache.log4j.Hierarchy hierarchy = new 
Hierarchy(rootLogger);
//
//  try 
{repositories.put(Thread.currentThread().getContextClassLoader(), hierarchy);}
//  catch (Exception ex) {System.out.println(Exception while 
creating new heiarchy for repository:  + ex);}
//  if (defaultRepository == null)
//  {
//  defaultRepository = LogManager.getLoggerRepository();
//  Object guard = LogManager.getRootLogger();
//  

[jboss-user] [Installation, Configuration DEPLOYMENT] - plzzzzzzzz help me out in creating a sample jBOSS webservice

2009-05-06 Thread vinaykumar.aitha
Hello every one,

I would be much obliged if some could explain me how to create  a
simple jBOSS webservice using eclipse or Net beans  deploy the same
to the jBOSS AS 4.2.3 (Any webservice stack is fine but preferably
Apache CXF 3.x)

I am in dire need of this.Plzzz friends help me.
 

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

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


[jboss-user] [JBoss Messaging] - Re: JBossAS 5.1.0CR1 JBoss-messaging jboss-remoting

2009-05-06 Thread timfox
We don't provide a download of 1.4.3.GA because it is compiled against the 
libraries for JBoss AS 5.0 only.

It won't run in EAP or AS 4.x.

Since it's already available as part of JBoss AS 5.0, there's no need to 
provide a separate download, it's already pre-installed.

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

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


[jboss-user] [JBoss Messaging] - Re: JBossAS 5.1.0CR1 JBoss-messaging jboss-remoting

2009-05-06 Thread gaohoward
Sorry, the svn url should be:

http://anonsvn.jboss.org/repos/messaging/tags/JBossMessaging_1_4_3_GA/

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

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


[jboss-user] [JBoss Portal] - Re: Removing Users from Portal

2009-05-06 Thread dvanwest
Looking at the database, it appears that calling the removeUser() method 
doesn't cleanup all other user related information in the JBoss portal 
database.  

I see user references left in jbp_instance_per_user.  Don't know what else 
might be lingering.

Is there some other method of removing inactive users?

Thanks.

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

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


[jboss-user] [JBoss jBPM] - Ending tasks manually

2009-05-06 Thread wurzelbutz
Hi,

i'm trying to end a taskinstance from an external application.
Therefor i created the following method:

  |  public String externalTaskActions(){
  | 
  |   if(ext_action.equalsIgnoreCase(end))
  |   log.debug(Trying to end task +ext_aufgabenID+ over 
transition +ext_transition);
  |   if(ext_action.equalsIgnoreCase(start))
  | log.debug(Trying to start task +ext_aufgabenID);
  |   
  |   TaskInstance ti=em.find(TaskInstance.class, ext_aufgabenID);
  | if(ext_action.equalsIgnoreCase(end)){
  | if(ti!=null)
  | {
  | Transition 
tr=ti.getTask().getTaskNode().getLeavingTransition(ext_transition);
  | if(tr!=null) {ti.end(ext_transition); 
log.debug(Transition is not null: +tr.getName()+/+tr.getId());}
  | else { ti.end(); log.debug(Transition is 
null);}
  | 
  | log.debug(Ended +ti.getName()+ manually);
  | return external_window;
  | }
  | else {
  | log.debug(Transition is empty);
  | }
  | } 
  | 
  | else if(ext_action.equalsIgnoreCase(start)){
  | if(ti!=null){
  | ti.start();
  | log.debug(Started +ti.getName()+ manually);
  | return external_window;
  | }else{
  | log.debug(TaskInstance is null);
  | }
  | } else {
  | }
  |   return null;
  |   }
  | 
ext_aufgabenID is the TaskInstanceID, ext_transition is the name of the 
transition to take.

starting a task works well,
ending a task which has only 1 leaving transition works well (ext_transition is 
NULL then) but ending a task which has multiple leaving transitions doesn't 
work at all.
i get the following errors:
anonymous wrote : 
  | 2009-05-06 14:47:45,468 DEBUG [at.test.session.ExternalTaskAction] Trying 
to end task 5 over transition rechts
  | 14:47:45,515 WARN  [ProxyWarnLog] Narrowing proxy to class 
org.jbpm.graph.node.TaskNode - this operation breaks ==
  | 2009-05-06 14:47:45,546 DEBUG [at.test.session.ExternalTaskAction] 
Transition is not null: rechts/14090
  | 2009-05-06 14:47:45,546 DEBUG [at.test.session.ExternalTaskAction] Ended 
links oder rechts?/5 manually
  | 14:47:45,562 WARN  [arjLoggerI18N] 
[com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_2] 
TwoPhaseCoordinator.beforeCompletion - failed for 
com.arjuna.ats.internal.jta.resources.arjunacore.synchronizationim...@8ef05b
  | javax.persistence.PersistenceException: 
org.hibernate.PersistentObjectException: detached entity passed to persist: 
org.jbpm.taskmgmt.exe.TaskInstance
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:629)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(AbstractEntityManagerImpl.java:524)
  | at 
com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114)
  | at 
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:247)
  | at 
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86)
  | at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177)
  | at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1389)
  | at 
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135)
  | at 
com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87)
  | at 
org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140)
  | at 
org.jboss.seam.transaction.UTTransaction.commit(UTTransaction.java:52)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.commitOrRollback(SeamPhaseListener.java:614)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsAfterPageActions(SeamPhaseListener.java:352)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:571)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:473)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:146)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
  | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 

[jboss-user] [JBoss Tools (users)] - Re: Jboss Seam tool for eclipse issue

2009-05-06 Thread quintenjiang
Thank, I get other other problems,

Even I setup to output src/hot to default folder(classes). but actually I find 
it output both folders( classes and dev) to cause there are two seam 
components, how can I disbale dev folder? or it is bug?

Of couse, I can remove this dev folder after deploy and release, but currently 
I am in the middle of developing with eclipse, need normal enviroment.

Granites is open source (maybe belonging to Jboss) to communication between 
Seam and Flex)




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

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


[jboss-user] [JBoss jBPM] - Re: Is mail blocking?

2009-05-06 Thread frinux
You're right.
First, my ActionHandler was a simple class, which did not implement the 
ActionHandler interface. That was the problem

Here is a simple one:

import org.jbpm.graph.def.ActionHandler;
  | import org.jbpm.graph.exe.ExecutionContext;
  | 
  | public class InvalidEmailAddressExceptionHandler implements ActionHandler {
  | 
  | private static final long serialVersionUID = 1L;
  | 
  | public void execute(ExecutionContext executionContext) {
  | 
  | System.out.println(wrong email); //FIXME crash when insertion 
of log into database
  | 
  | }
  |  
  | }

Now, the other issue has been posted in a new topic : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4229030#4229030

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

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


[jboss-user] [JBossMQ] - Re: Deadlock race-condition committing JBossMQ txn

2009-05-06 Thread janush
Adrian, I applied the changes from JBAS-5801 because I had illegal monitor 
state exceptions in JBoss 4.2.3  too.
But, java.lang.IllegalMonitorStateException appears again, in another method:

  | java.lang.IllegalMonitorStateException
  | at 
java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:127)
  | at 
java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1175)
  | at 
java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431)
  | at 
org.jboss.resource.adapter.jms.JmsManagedConnection.unlock(JmsManagedConnection.java:416)
  | at 
org.jboss.resource.adapter.jms.JmsXAResource.end(JmsXAResource.java:76)
  | at 
org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper.end(JcaXAResourceWrapper.java:58)
  | at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.endSuspendedRMs(TransactionImple.java:1529)
  | at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commit(TransactionImple.java:235)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:501)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:361)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
  | at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
  | at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
  | at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
  | at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
  | at org.jboss.ejb.Container.invoke(Container.java:960)
  | at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
  | at 
org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
  | 
Is the only way to avoid it is to use track-connection-by-tx?

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

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


[jboss-user] [JBoss Tools (users)] - Re: cannot edit jboss launch configurations

2009-05-06 Thread Elhanan
i mean all through out   jboss startup, when actually using jboss the cpu is 
normal.

i see now the problem continues there are 2 java processes which take up the 
cpu, the jboss and eclipse itself, eclipse takes up most of resources with 
50-70 cpu usage, while jboss takes up the rest.

this is my command line
eclipse.exe  -vm c:\Java\jdk1.5.0_15\bin\javaw -data 
c:\Workdir\clientworkspace\applications\ -showlocation

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

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


[jboss-user] [JBoss Messaging] - Re: JMS Porting from SUN Java Application Server to JBOSS

2009-05-06 Thread clebert.suco...@jboss.com
In you case j2ee.jar has the interfaces from Sun. Our equivalent would be 
jboss-javaee.jar

imq.jar has probably the implementation for their Messaging service. In our 
case you will find jboss-messaging.jar.


Also look at the documentation for our list of dependencies.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Jboss Seam tool for eclipse issue

2009-05-06 Thread max.ander...@jboss.com
aint that double folder leftover from when you deployed last  ?

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

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


[jboss-user] [JBoss Messaging] - durable Subscriber

2009-05-06 Thread sahanal
Hi,

If i set durable subscriber and the subscriber is down, how would i know the 
maximum number of messages that JBoss can store. I want to know the limit after 
which the message overflow would occur. 

Thanks in advance


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

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


[jboss-user] [Clustering/JBoss] - Re: Problem in JBoss 5 clustering

2009-05-06 Thread bstansbe...@jboss.com
For draft docs on AS 5 clustering, see the file attached at the *bottom* of 
https://www.jboss.org/community/docs/DOC-12928 . It includes a Quick Start 
section.

But, you're already doing what it says.

Seems there is some problem parsing what you are passing on the command line; 
this isn't a clustering problem.

Suggest you start node 2 from the command line and then cut from your console 
window the line including the command and everything through the the last 
run.bat: unused non-option argument: 192.168.1.140 bit.  Paste it here 
undedited, using the code button.

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

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


[jboss-user] [EJB 3.0] - EJB 3.0 Exception

2009-05-06 Thread Manpreet_S
Hi All,
   Hi have a remote interface and when i call it from my client it 
is working fine. Now when i convert my remote interface to local interface and 
call it from client(Changing my JNDi Name), i get an exception

Exception in thread main javax.ejb.EJBException: Invalid (i.e. remote) 
invocation of local interface (null container).

Can any one please Help?

Regards,
Manpreet Singh

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

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


[jboss-user] [JBoss Tools (users)] - Re: Jboss Seam tool for eclipse issue

2009-05-06 Thread akazakov
Did you try clean deploy folder and re-build/publish the project?
Please show /.classpath and /.settings/org.eclipse.wst.common.component

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

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


[jboss-user] [EJB 3.0] - Re: EJB 3.0 Exception

2009-05-06 Thread jaikiran
A remote client (like a standalone java app) cannot use a local interface.


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

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


[jboss-user] [JBoss Tools (users)] - Re: Automatic republish don't work

2009-05-06 Thread max.ander...@jboss.com
Could you see the application redeploy in the output ?

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

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


[jboss-user] [Microcontainer] - Programmatically deploying an object

2009-05-06 Thread mwringe
I have a webapp and when a listener gets called I want to deploy an object into 
the microcontainer . The listener is being handled in the webapplication, so I 
can't just add it to the beans.xml file and it doesn't have a direct reference 
to the mircocontainer kernel.

Is there some sort of preferred method to programmatically deploy an object 
into a microcontainer in this situation?

If not, I can always just write a custom pojo factory to handle it. I am just 
trying to see if there is already a preferred solution for this.




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

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


[jboss-user] [JBoss Portal] - Re: how to create own theme for jboss portal 2.7.0

2009-05-06 Thread PeterJ
I covered this in my JBossWorld presentation: 
http://www.jboss.org/community/docs/DOC-9477

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

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


[jboss-user] [JBoss Tools (users)] - Re: cannot edit jboss launch configurations

2009-05-06 Thread max.ander...@jboss.com
this might just be the cpu needed for all the console output - does the cpu 
return to normal when the startup have completed ?

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

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


[jboss-user] [JBoss Tools (users)] - Generate Seam Entites - Cannot connect to database

2009-05-06 Thread mangelo
I have added my database to the connection profiles under the Database 
Development perspective. I can connect to my database, list the tables, and 
look at / edit the data.

After generating a Seam Web project I try to generate Seam Entities. My 
Hibernate Console Confriguration option is in the drop-down. I pick Reverse 
engineer from database, and then hit Next.

When I hit the Refresh button all that I see under Database schema is 
Couldn't connect to database.

Any thoughts?

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

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


[jboss-user] [JBoss Tools (users)] - Re: Generate Seam Entites - Cannot connect to database

2009-05-06 Thread mangelo
Are you talking about the server log? This is not hitting the app server. This 
is just the wizard that comes with JBoss tools.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Generate Seam Entites - Cannot connect to database

2009-05-06 Thread mangelo
It's the latest JBoss Tools which is 3.0 I believe. I just downloaded it. Where 
is the error log? The JDBC driver is on the ejb project. I didn't configure 
Hibernate. This is all done from the Seam Web project wizard.

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

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


[jboss-user] [JBoss jBPM] - Re: Ending tasks manually

2009-05-06 Thread rwallis
This is how I end tasks:

![CDATA[
token.unlock();
taskInstance.end();
]]


If its a timer that signals the token and the task needs to therefore be 
automatically ended then I also make sure the end-tasks= true attribute on the 
task node is set.
task-node name=Sometasknodet end-tasks=true




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

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


[jboss-user] [JBoss Tools (users)] - Re: Generate Seam Entites - Cannot connect to database

2009-05-06 Thread max.ander...@jboss.com
error log is in the error log view

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

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


[jboss-user] [JBoss Tools (users)] - Re: Generate Seam Entites - Cannot connect to database

2009-05-06 Thread max.ander...@jboss.com
What version of JBoss Tools is this ?

anything in the error log ?

How did you configure hibernate to connect ?

Is the driver in your classpath ?



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

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


  1   2   >