[jboss-user] [Beginners Corner] - Re: Cannot post in seam users forum

2009-02-23 Thread jaikiran
There's a Sticky in that forum 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=129892

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBOSS 4.2.2 GA Server Startup delay

2009-02-23 Thread jaikiran
Please post the entire console logs. Also is this a clean installation of JBoss 
or have you done any changes? And are you deploying any application on this 
JBoss? If yes, then without your application, how long does it take to start?


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=bb&op=viewtopic&p=4212513#4212513

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


[jboss-user] [Security & JAAS/JBoss] - Re: JAAS not prompting for username pwd on Linux 3 with JBos

2009-02-23 Thread dena
Hi,

I am experiencing the same problem, would you please advise on what the issue 
was and how you resolved it.

Best Regards
Dena

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - deployement portlet error: javax.portlet.PortletException: o

2009-02-23 Thread akumarkind
Hi All
 I deployed one sample of portal application named mycompany.I just copied 
mycompany.war in deploy directory and run the jboss by run.bat. I open it on 
browser and make it default portal. portal is displaying with banner like My 
Company but all portlet are showing error like

ERROR
Cause: javax.portlet.PortletException: org.apache.jasper.JasperException: The 
absolute uri: http://java.sun.com/portlet cannot be resolved in either web.xml 
or the jar files deployed with this application

Message: org.apache.jasper.JasperException: The absolute uri: 
http://java.sun.com/portlet cannot be resolved in either web.xml or the jar 
files deployed with this application
StackTrace:   

please suggest me What i do

Thanks & Regards
Avanish Kumar

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

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


[jboss-user] [JBossWS] - 'the command is too long' when run wsprovide.bat

2009-02-23 Thread Grid.Qian
Hi all,
I met a problem when I run wsprovide.bat in command line like this:
wsprovide -w -k -c a.jar:b.jar:c.jar:d.jar.xx.jar org.test.Testservice
Then a error occured:
the command is too long.
I know this is caused by I set many too jars into '-c'. But I need add many 
jars into '-c'.
How can I fix it?

o, btw, the wsprovider.bat is from jboss as 4.2

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

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


[jboss-user] [JBoss jBPM] - problem with jbpm and database

2009-02-23 Thread arpan25

Hi all, 

I am using jbpm 3.2.4 GA with JBoss 4.2.2

The tutorial mentions that source mysql.drop.create.sql  statement will 
populate the database..but in the jbpm3.2.4GA version, there is no such file. 
Can anyone tell me how do I poplulate the database with user data ?



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

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


[jboss-user] [JBoss jBPM] - deploying processes but cannot login and see the tasks

2009-02-23 Thread arpan25
Hi,

I am using jbpm3.2.4GA with JBoss 4.2.2 on linux. I am able to install 
everything properly, process deployment is successful as well. But there are a 
few problems 

1. I am getting a login page but for all the values for username and password 
entered, it says invalid login for user, admin, shipper, manager logins.

2. I think that the application is not able to communicate with my database 
becos i added one more user to the jbpm user table which should be shown on the 
login page, but that username doesnt show up.

3. I have modified the hibernate.cfg.xml file, added mysql connector. jar file 
and also created the jbpm-mysql-ds.xml file as given in the tutorial as well. 


Can anyone help with this..

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

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


[jboss-user] [JBoss Messaging] - Re: unable to connect to JBM server using SSH port forwardin

2009-02-23 Thread clebert.suco...@jboss.com
All you have to do is to define the two ports on remoting (as we use random 
ports on that case), and open the ports you need (or forward the ports you 
need), according to the wiki page.

If you want to change any ports, you will have to change the XML configs.

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

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


[jboss-user] [JBoss Messaging] - Re: unable to connect to JBM server using SSH port forwardin

2009-02-23 Thread clebert.suco...@jboss.com
"bodrin" wrote : 10x, but the information on this page doesn't help
  | I have tried
  |  -Djava.rmi.server.hostname=
  |   | -Djava.rmi.server.useLocalHostname=true
  |   |  but no success .. the same exception..
  | 

Those two settings don't have any affect on JBoss.

Look at the JBoss documentation.

You should instead change the ports on the XML configs. 

You will also have to define the ports on remoting, as there are two random 
ports. (look at remoting-bisocket-service.xml):

   
  | 


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

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


[jboss-user] [JCA/JBoss] - ACCESS REMOTE QUEUE IN WEBSPHERE APPLICATION SERVER

2009-02-23 Thread pargs54
Hi,
  My query is my MDB in jboss has to access the queues in websphere application 
server and process the messages, can anyone help me on this. i posted this 
query in JBOSS Messaging but i was suggested to post it here. can anyone help 
on this.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4212490
___
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: Having problem to use JNDI datasource.

2009-02-23 Thread sdsani
Please ignore this thread. It was a logical bug and was a code issue.

Sani

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

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


[jboss-user] [JBossWS] - Re: Error installing WebService in JAXRPCMetaDataBuilder

2009-02-23 Thread JeremyGood
I have been having this problem all day. Yesterday, I was able to get this all 
working, but I must have changed something because now I get this error 
whenever I attempt to add a new Seam Project (via eclipse):

18:57:45,162 ERROR [AbstractKernelController] Error installing to Real: 
name=vfsfile:/C:/Program%20Files/Java/jboss/jboss-5.0.0.GA/server/default/deploy/newest-ear.ear/
 state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying newest-ejb.jar: 
failed to initialize bean container 


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

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


[jboss-user] [JBoss jBPM] - Re: timer questions

2009-02-23 Thread kukeltje
Jeff,

I think it is best to look at the testcases in the source. That way you can see 
what is finished and what is not. You can also see how things are used at the 
moment. 

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

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


[jboss-user] [JBoss Messaging] - Re: JBoss messaging client timeout

2009-02-23 Thread gaohoward
Hi, 

you need to increase the validatorPingTimeout and clientLeasePeriod in the 
bisocket configure file. also you should be aware of this issue:

https://jira.jboss.org/jira/browse/JBMESSAGING-1482

it will go in next release 1.4.3 GA. or you can try remoting SP11. 

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

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


[jboss-user] [JBoss jBPM] - timer questions

2009-02-23 Thread galanfish
i seems that chapter 'timers' in the devguide is not finished yet, either the 
userguide(i mean jbpm4).
can any one help me with the usage of the timer,job,jobexecutor...
is it the timer in jbpm4 can act as a timer in bpmn?  or what can i do anything 
with this timer?

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

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


[jboss-user] [EJB 3.0] - Re: Using WebBeans EJB integration in EEJB

2009-02-23 Thread ALRubinger
We're currently defining these in ejb3-deployers-jboss-beans, which resides in 
ejb3-core.

Lately we've been discussing moving to finer-grained MC Deployable XMLs, to 
live in the same component that defines them.

So I could envision a ejb-resolver-jboss-beans.xml, pu-resolver-jboss-beans.xml 
- which could be used both in AS and Embedded.

S,
ALR

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

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


[jboss-user] Re: Cannot find method addChild with this signature

2009-02-23 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=64374 Posted on behalf of 
a User

Did anyone ever get a resolution to this?  I'm getting the same 
problem/exception:  ReflectionException: Cannot find method addChild with this 
signature

 - JDK 1.6.0.7
 - jboss 5 for jdk 6

In Response To: 

I just downloaded JBoss-5.0.0.GA.  (released a few days ago)   .

I am trying to configure with a configuration that worked flawlessly in JBoss 
4.21 using an expanded war file (directory) named laser.war.

The following error is generated:

23:17:19,758 ERROR [AbstractKernelController] Error installing to Start: 
name=jboss.web.deployment:war=/lasser state=Create mode=Manual 
requiredState=Installed
org.jboss.deployers.spi.DeploymentException: URL 
vfsfile:/opt/jboss-5.0.0.GA/server/default/deploy/lasser.war/ deployment failed
at 
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:373)
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)

Caused by: LifecycleException:  Error initializaing :  
javax.management.ReflectionException: Cannot find method addChild with this 
signature
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4150)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
... 55 more

Is there some sort of config file for Tomcat that I am missing?

Any suggestions?

Thx.

Mike





___
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: Having problem to use JNDI datasource.

2009-02-23 Thread sdsani
No. I am not deploying these jars as a part of my War file.

Sani

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

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


[jboss-user] [JBoss/Spring Integration] - Installation, versions, etc...

2009-02-23 Thread tonioc
Hi,

I am trying to understand how this thing works, my first basic doubt is:
What files should I downloadl:
   - I will be using JBoss 4.2.3, Spring 2.5.6
   - It's not clear for me what version of SpringDeployer should I download

The second question is:
   If the version I download does not contain a .deployer distribution how do
   I deploy it to Jboss

The third question is:
   If I need to change spring version, it is enough just changing the jars 
   (of course not major versions, just for example 2.5.6, 2.5.7)

Are there any docs aside from the example, where to look for info ?

Thanks a lot
tonio


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

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


[jboss-user] [Beginners Corner] - Cannot post in seam users forum

2009-02-23 Thread lhendy
Am I stupid? ive just signed up, and seem to be able to post in most forums, 
but not the seam users one. cant even reply to threads.

Do you have to be special to post in there? I am a user of Seam after all.

Thanks
Lachlan

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

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


[jboss-user] [EJB 3.0] - Using WebBeans EJB integration in EEJB

2009-02-23 Thread pete.m...@jboss.org
I'd like to start a discussion on this.

First, we'll need an EEJB release that contains these MC beans:

*  PersistenceUnitDependencyResolver
*  EjbReferenceResolver

and the second issue to address is that to run the EJB discovery, we need to 
set the deployment unit in use onto the discovery used. Can we inject the DU 
somehow?

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

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


[jboss-user] [Beginners Corner] - Re: Help with JBOSS Log Configuration

2009-02-23 Thread johnloo
Soory, I didn't post them because they were exactly as you had them posted, 
other than the timestamp.

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

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


[jboss-user] [Clustering/JBoss] - Re: Jboss node failover for Jbpm is not working in cluster H

2009-02-23 Thread bstansbe...@jboss.com
I think you'll have more luck on the JBoss Messaging forum.

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

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


[jboss-user] [JBoss jBPM] - Re: process resume

2009-02-23 Thread galanfish
"kukeltje" wrote : "galanfish" wrote : stupid question:
  |   | need i add every activity(maybe exception comes out) with at least two 
transitions? one for the normal destination, and one for the error state or?
  |   | 
  |   | thx
  | 
  | Depends do you want it visible or not? You can move the token anywhere 
without having any transitions just put it in a state (see the api)

thx, kukeltje, i've read the devguide of jbpm4 alpha1, and i still can't find 
any information about 'token'. i know that there is a 'token' in jbpm3, but i 
have never learn about jbpm3. could you tell me what's the concept of 'token' 
in the process virtual machine of jbpm4... 
appreciate.

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

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


[jboss-user] [Clustering/JBoss] - Jboss node failover for Jbpm is not working in cluster HA mo

2009-02-23 Thread ramneekh
I have this post in JBPM forum but this probably belongs to Clustering section.

Pls reply if you have any idea about the solution.
 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=150940

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

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


[jboss-user] [Clustering/JBoss] - ORA-12519 on jboss-4.2.3.GA cluster

2009-02-23 Thread ramneekh
Hi All,s
I am running jboss-4.2.3.GA cluster. single node comes up fine but when I start 
the second node. I start getting "ORA-12519, TNS:no appropriate service handler 
found" on both the nodes. 

Please help.



anonymous wrote : 
  | 18:39:00,949 WARN  [JBossManagedConnectionPool] Unable to fill pool
  | org.jboss.resource.JBossResourceException: Could not create connection; - 
nested  
throwable: (java.sql.SQLException: Listener refused the connection with the 
fol 
lowing error:
  | ORA-12519, TNS:no appropriate service handler found
  | The Connection descriptor used by the client was:
  | 10.107.7.243:1521:cmtedb
  | )
  | at 
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.c   
  
reateManagedConnection(LocalManagedConnectionFactory.java:190)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.cr   
  
eateConnectionEventListener(InternalManagedConnectionPool.java:619)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.fi   
  
llToMin(InternalManagedConnectionPool.java:534)
  | at 
org.jboss.resource.connectionmanager.PoolFiller.run(PoolFiller.java:7   
  4)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.sql.SQLException: Listener refused the connection with the 
follo   
  wing error:
  | ORA-12519, TNS:no appropriate service handler found
  | The Connection descriptor used by the client was:
  | 10.107.7.243:1521:cmtedb
  | 
  | at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java   
  :112)
  | at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java   
  :261)
  | at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
  | at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:  
   439)
  | at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:165)
  | at 
oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio   
  n.java:35)
  | at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
  | at 
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.c   
  
reateManagedConnection(LocalManagedConnectionFactory.java:172)
  | ... 4 more
  | 
  | 

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.7.0 throwing segmentation fault

2009-02-23 Thread srivastava.vs
One more thing,
The issue happens only after the page has been rendered. So, effectively, it 
does everything in the backend properly, gets the data, renders the page and 
... crashes down

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

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


[jboss-user] [JBoss Portal] - JBoss Portal 2.7.0 throwing segmentation fault

2009-02-23 Thread srivastava.vs
I have deployed a portal 2.7.0 with a few richfaces portlets on one of the 
boxes. The same server config also runs on my local machine (in fact, one is an 
exact copy of another)

The server on my local machine works absolutely fine.

The one on another machine, throws a segmentation fault whenever I try to open 
any of my portlets, and the server then crashes down. All other default 
portlets, provided by JBoss (admin/default etc ) work fine.

Invalid memory access of location 6d57a000 eip=9046fb31
./run.sh: line 255:  3193 Segmentation fault  "$JAVA" $JAVA_OPTS 
-Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" -classpath "$JBOSS_CLASSPATH" 
org.jboss.Main "$@"

please help!



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

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


[jboss-user] [JBoss Portal] - Re: multiple JBP instance + 1 DB (only one db)

2009-02-23 Thread prabhat....@jboss.com
Yes, JBoss uses second level cache in Hibernate and implementation differs 
depending on clustered and non clustered version.

We do not test multiple portal servers (non clustered) sharing one DB instance 
and strongly suggest not to go that route.

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

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


[jboss-user] [JBoss Portal] - Re: multiple JBP instance + 1 DB (only one db)

2009-02-23 Thread sambit_dixit
I think Jboss Portal internally uses Hibernate Query Cache/Second level cache. 
Instead is it possible to enable lazy loading. Though i have not yet tested 
commenting query and second level cache. 

In case of lazy loading it may help to get rid of this issue of clustering of 
hibernate cache. 

Thomas / Prabhat, any comments on this. 

Regards
-Sambit 

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

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


[jboss-user] [JBoss jBPM] - Re: When deploying a jBPM, a exception about jsf throwed

2009-02-23 Thread foochal
It is because of multiple jsf jars, one from your application dependencies and 
one from the container runtime.

See this page for full details: FATAL application JSF1029: The specified 
InjectionProvider implementation 
'org.jboss.web.jsf.integration.injection.JBossInjectionProvider' does not 
implement the InjectionProvider interface.

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

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


[jboss-user] [EJB/JBoss] - Re: Java 6 corrupted stream - help needed

2009-02-23 Thread daniel.celentano
JBoss 4.0.4 not support Java 6. Migrate to a newer JBoss version.
Daniel

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

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


[jboss-user] [Beginners Corner] - Re: Help with JBOSS Log Configuration

2009-02-23 Thread PeterJ
You should have also posted those two lines from your log file...

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

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


[jboss-user] [Beginners Corner] - Re: Help with JBOSS Log Configuration

2009-02-23 Thread johnloo
"PeterJ" wrote : The boot.log is configured via the log4j.properties file 
located within bin.run.jar.  Once the app sever has been bootstrapped, that 
configuration is dropped and the conf/log4j.xml configuration used for logging 
instead.
  | 
  | I pasted your RollingFileAppender configuration into my log4j.xml file and 
it worked just fine. But I used 4.0.2, not 4.0.1.SP1.
  | 
  | The last two lines in my boot.log file are:
  | 
  | 12:52:57,788 DEBUG [Log4jService] Creating 
jboss.system:type=Log4jService,service=Logging
  | 12:52:57,788 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
  | 
  | Do you have anything like this in your boot.log file? Or is there an error?
  | 

Those lines appear about 1.4 seconds after the first record in the boot.log 
file. But the system continues to append additional lines into boot.log. Here 
are the next few lines after the ones you noted:

10:12:53,983 DEBUG [Log4jService] Installed System.out adapter
10:12:53,983 DEBUG [Log4jService] Installed System.err adapter
10:12:53,999 DEBUG [Log4jService] Added ThrowableListener: 
org.jboss.logging.log4jservice$throwablelistenerloggingadap...@e35bb7
10:12:53,999 DEBUG [Log4jService] Created 
jboss.system:type=Log4jService,service=Logging
10:12:53,999 DEBUG [LocalJBossServerDomain] handleNotification: 
javax.management.Notification[source=jboss.system:service=ServiceController][type=
 org.jboss.system.ServiceMBean.create][message=]
10:12:53,999 DEBUG [DefaultManagedObjectFactoryMap] Failed to find factory for 
event: 
javax.management.Notification[source=jboss.system:service=ServiceController][type=
 org.jboss.system.ServiceMBean.create][message=]
10:12:53,999 DEBUG [ServiceController] Creating dependent components for: 
jboss.system:type=Log4jService,service=Logging dependents are: []
10:12:53,999 DEBUG [ServiceController] Creating service 
jboss.rmi:type=RMIClassLoader
10:12:53,999 DEBUG [LocalJBossServerDomain] handleNotification: 
javax.management.Notification[source=jboss.system:service=ServiceController][type=
 org.jboss.system.ServiceMBean.create][message=]
10:12:53,999 DEBUG [DefaultManagedObjectFactoryMap] Failed to find factory for 
event: 
javax.management.Notification[source=jboss.system:service=ServiceController][type=
 org.jboss.system.ServiceMBean.create][message=]
10:12:53,999 DEBUG [ServiceController] Creating dependent components for: 
jboss.rmi:type=RMIClassLoader dependents are: []
10:12:53,999 DEBUG [ServiceController] Creating service jboss:service=WebService
10:12:53,999 DEBUG [WebService] Creating jboss:service=WebService
10:12:53,999 INFO  [WebService] Using RMI server codebase: http://cgusrd11:8083/
10:12:53,999 DEBUG [WebService] Created jboss:service=WebService

It continues on and on... 

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

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


[jboss-user] [JBossWS] - Re: JBoss WS dependencies

2009-02-23 Thread PeterJ
Looks like you posted your second item the same time I posted my reply. I 
didn't know you were attempting to install JBossWS 3.0.5, I thought you were 
trying to deploy a web service.

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

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


[jboss-user] [JBossWS] - Re: JBoss WS dependencies

2009-02-23 Thread PeterJ
You cannot deploy a web service in 'minimal' or 'web', neither of those 
configurations contains the JBossWS service. You need to deploy to 'all' or 
'default'. If you don't care about clustering, use 'default'. It is easier to 
remove from 'default' services that you don't want than to add to 'web' 
services that you need.

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

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


[jboss-user] [JBossWS] - Re: JBoss WS dependencies

2009-02-23 Thread dmoses48
Sorry didn't include much information.
Deploying jbossws 3.0.5 into jboss 500


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

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


[jboss-user] [JBossWS] - JBoss WS dependencies

2009-02-23 Thread dmoses48
I can't seem to find all the dependencies for JBossWS.  I can deploy it in the 
server/default, but it crashes in server/web or server/minimal.  I want the 
most minimal deployment so I'd like a list of it's dependencies.  Where might I 
find this?

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

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


[jboss-user] [JBoss Messaging] - JBoss messaging client timeout

2009-02-23 Thread pratimkm
Hi,

I am using JBoss 4.2.2GA and Messaging 1.4.2 with remoting version 2.2.2.SP10. 
We have setup JBM cluster with oracle as database. The jboss server is accessed 
by a remote client located beyond  a firewall with a one hour timeout for any 
idle client. We have a JMS listener which listnes for  messages on JBM through 
the firewall with remoting bisocket configured for 4458 secondary port.To get 
over the idle timeout issue we are refreshing the message listener connection 
every half an hour.But even after doing that, after 12 hours of idle time we 
are seeing that the messages coming on JBM queues are getting stuck for a few 
messages. Do I need to change any paramater in remoting bisocket to get over 
this issue ? Any help would be appreciated.

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

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


[jboss-user] [JBoss jBPM] - Re: Jboss node failover for Jbpm is not working in cluster H

2009-02-23 Thread ramneekh
pls let me know if you guys need any other info.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBOSS 4.2.2 GA Server Startup delay

2009-02-23 Thread Sreedhar135

Hi,
I am using JBoss 4.2.2 GA Server with JDK 1.5.0_17 version, to start the server 
it is taking more than 20 minutes in my machine.
My m/c configuration is 2 GB RAM and Windows XP is the OS.
After the below stack trace it delays for 15-20  minutes and then starts.


22:31:00,262 INFO  [Server] Starting JBoss (MX MicroKernel)...
22:31:00,262 INFO  [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=
JBoss_4_2_2_GA date=200710221139)
22:31:00,262 INFO  [Server] Home Dir: C:\jboss-4.2.2.GA
22:31:00,262 INFO  [Server] Home URL: file:/C:/jboss-4.2.2.GA/
22:31:00,262 INFO  [Server] Patch URL: null
22:31:00,262 INFO  [Server] Server Name: default
22:31:00,262 INFO  [Server] Server Home Dir: C:\jboss-4.2.2.GA\server\default
22:31:00,262 INFO  [Server] Server Home URL: file:/C:/jboss-4.2.2.GA/server/defa
ult/
22:31:00,262 INFO  [Server] Server Log Dir: C:\jboss-4.2.2.GA\server\default\log

22:31:00,262 INFO  [Server] Server Temp Dir: C:\jboss-4.2.2.GA\server\default\tm
p
22:31:00,262 INFO  [Server] Root Deployment Filename: jboss-service.xml
22:31:00,613 INFO  [ServerInfo] Java version: 1.5.0_17,Sun Microsystems Inc.
22:31:00,613 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_17-b04
,Sun Microsystems Inc.
22:31:00,613 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86.
Please help me if anyone has an idea on this, this will improve my development 
effort, as I am wasting more time in starting the server only.

Thanks in Advance.

Regards,
Sreedhar G

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Replication on Load balanced System

2009-02-23 Thread fatboysuns
Hi All,
 Can we replicate on load balanced systems. If not, is there a suggested 
approach to use Jboss cache in this kind of environment.

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

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


[jboss-user] [Beginners Corner] - Re: Help with JBOSS Log Configuration

2009-02-23 Thread PeterJ
The boot.log is configured via the log4j.properties file located within 
bin.run.jar.  Once the app sever has been bootstrapped, that configuration is 
dropped and the conf/log4j.xml configuration used for logging instead.

I pasted your RollingFileAppender configuration into my log4j.xml file and it 
worked just fine. But I used 4.0.2, not 4.0.1.SP1.

The last two lines in my boot.log file are:

12:52:57,788 DEBUG [Log4jService] Creating 
jboss.system:type=Log4jService,service=Logging
12:52:57,788 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml

Do you have anything like this in your boot.log file? Or is there an error?


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

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


[jboss-user] [EJB/JBoss] - Java 6 corrupted stream - help needed

2009-02-23 Thread mark.bramnik
Hi, I'm working on rich-client (SWING) based application with EJB3 backend. 
I work with jboss 4.0.4 and jdk 1.5.07
Recently I tried to upgrade to Java 1.6_02 and encountered a weird problem when 
strarting my rich client application.
I'm getting s "stream corrupted (05)" message when attempting to deserialize 
the data retrieved by the EJB3 stub. 

I've investigated to find an error, and found a kind of workaround to this 
problem here : https://jira.jboss.org/jira/browse/JBPAPP-907
-Dsun.lang.ClassLoader.allowArraySyntax=true
Ive' Added the parameter and it really fixed the problem.
_BUT_ ideally I would like to use web start to distribute my application 
through the network.
And with the Web Start technology this parameter is useless (it just doesn't 
read it even when supplied) and I have the same issue. I was wondering if there 
is another solution to web-start related classloaders (as far as I understand, 
the classloader that is invoked from javaws is different from the standard 
class loader.

So the question is whether its possible to define something in jnlp file in 
order to make a WebStart to operate properly?

Thanks in advance for any help
Mark


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

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


[jboss-user] [EJB/JBoss] - Re: MDB calling a session bean, session bean not getting reu

2009-02-23 Thread ryanrlamothe
I wanted to post some follow-up information, in case anyone had any additional 
thoughts.  This appears to be a bug in multiple versions of JBoss AS, including 
apparently 5.0, where any time a stateless session bean is injected into an MDB 
a new instance of that stateless session bean is created, but never removed 
from the thread pool.  Therefore, if an MDB makes 500 calls to a SLSB, the 
container will end up with 500 instances of that SLSB which never get removed.  
This could potentially be the source of a major memory leak.

So, after some digging, the following information pointed to the ability to 
force the SLSB's into a pool of a specific maximum size:
http://www.jboss.org/jbossejb3/docs/reference/build/reference/en/html/session-bean-config.html

Which worked, for the specific SLSB which you annotated to use that pool, but 
unfortunately each subsequent SLSB that was called from that initial SLSB would 
still display the original behavior.  Now, adding that annotation to every 
single bean individually down the stack did not seem like a great idea either, 
although it could be done if required.  But the idea of controlling the pool 
was interesting, which lead me to research this more, and I came up with the 
following information:

https://jira.jboss.org/jira/browse/JBAS-5345 (BUG Report!)
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=132763
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=132331

Long story short:

- EJB3 annotations are intercepted using JBoss AOP and are configured in 
"default/deploy/ejb3-aop-interceptors.xml".  So, instead of annotating each 
SLSB individually, we can provide a blanket solution at this point to all 
SLSB's.

- ThreadlocalPool isn't very strict, apparently, but StrictMaxPool appears to 
give us the behavior we want

- As noted by wolfc in the first forum thread...It would appear that JBossMQ 
does not use a ThreadPool, but instantiates threads on the fly. Thus the 
ThreadlocalPool will keep on creating instances to match.  That makes the use 
of StrictMaxPool mandatory. Which is the behavior we are seeing.

To put all of this to the test, all of the Stateless Bean domain annotation 
expressions in ejb3-aop-interceptors.xml where changed from:

@org.jboss.annotation.ejb.PoolClass 
(value=org.jboss.ejb3.ThreadlocalPool.class, maxSize=30, timeout=1)

to

@org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, 
maxSize=30, timeout=1)

Note: The MDB domain annotation expressions use StrictMaxPool by default!

This appears to solve the problem, but will require more monitoring in the 
coming weeks.  Any other thoughts on this issue?  Concerns about contention in 
the StrictMaxPool?  Thoughts on another, better solution?

Thanks!

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

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


[jboss-user] [Beginners Corner] - Hosted JBoss AS and Portal Solutions

2009-02-23 Thread ryanrlamothe
I'm working with a start-up firm which is looking to use a hosted JBoss 
Application Server and JBoss Portal Server solution.

Preferably, the hosted solution would also have remote source control and allow 
us to remote desktop/telnet into the environment to custom configure JBoss as 
we need.

Icing on the cake would be a hosted full collaboration suite or Exchange 
server, but this would be a nicety, not a requirement.

Any Redhat/JBoss recommended partners in this space?


Thanks.

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

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


[jboss-user] [JBossWS] - Re: Error unmarshalling anytype with complexType

2009-02-23 Thread lbolanos
Sorry... my first time  :(

I'm using Jboss.4.2.3

I have this interface

@WebMethod(operationName = "process", action = 
"http://com.sns.bas.dbenabler.web.jmsws/action/processIn";)
public DoneMessage process(Hashtable listParameter ) {

}

@WebMethod(operationName = "dummy", action = 
"http://com.sns.bas.dbenabler.web.jmsws/action/processIn";)
public QueryVO dummy(QueryVO arg1) {
}


I want the hashtable receive any Objects like String, Integer or QueryVO.


All is ok when i send String or Integer.

But when the client send a QueryVO the JAXBContext does not found the 
QName("queryVO","","")  because it is searching for 
QName("queryVO","http://com.hds.eihv./DBEnabler","ns3";)

This is the what the client send:


  | 
  | VO
  | 
  | http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:ns3="http://com.hds.eihv./DBEnabler"; xsi:type="ns3:queryVO">
  |
  |   select 
  |
  | 
  | 

There is a way to include a (QName, Class)  to JAXBContext   ?

How can i ride this problem?

Thanks in advance

Leo


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

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


[jboss-user] [JBossWS] - Error unmarshalling anytype with complexType

2009-02-23 Thread lbolanos
Greetings!

I'm using Jboss.4.2.3

I want to receive the process event with hashtable with Objects like String, 
Integer or QueryVO.


I have this interface

@WebMethod(operationName = "process", action = 
"http://com.sns.bas.dbenabler.web.jmsws/action/processIn";)
public DoneMessage process(Hashtable listParameter ) {

}

@WebMethod(operationName = "dummy", action = 
"http://com.sns.bas.dbenabler.web.jmsws/action/processIn";)
public QueryVO dummy(QueryVO arg1) {
}


All is ok when i send String or Integer.

But when the client send a QueryVO the JAXBContext does not found the 
QName("queryVO","","")  because it is searching for 
QName("queryVO","http://com.hds.eihv./DBEnabler","ns3";)

This is the what the client send:



VO

http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:ns3="http://com.hds.eihv./DBEnabler"; xsi:type="ns3:queryVO">

select 




There is a way to include a (QName, Class)  to JAXBContext   ?

How can i ride this problem?

Thanks in advance

Leo






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

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


[jboss-user] [JBoss Portal] - Re: multiple JBP instance + 1 DB (only one db)

2009-02-23 Thread Antoine_h
I just saw your new question.

yes, the idea is that : "put the logic in source code of admin portlet"
but... bouh !
what when you update for new version of portal.
Transfert the code ?
many risks of bugs.
lot of work.

You can also make a porlet, with one big button for : "update all config".
that would do the clear.
And think, after each modification work, to press it.

By the way : I'm not sure, but it is not a question of flush.
Flush : JBP1 hibernate pushes the change in the database.
but JBP2 won't fetch the new version. It does not know it have been changed 
"behind him".
That is one of the tricky thing of hibernate : use only hibernate... or 
becarefull with the cache side effects.
You need to tell the JBP2 cache : "the cache instances are dirty... don't use 
them anymore... go to the database to refresh them".
don't know exactly where to trigger this in Hibernate, that's why I call it 
"clear the cache".

***
may be use the cluster ?
with each version of portal, you have a download of a pre configured portal for 
cluster. ready to use.
with doc explaining how to etc...

***
you cannot use cluster ?

I have seen the case (running in prod) in a company.
6 JBP, only one database, no cluster.
and many troubles...

also, same thing, the webmaster was changing the portal with the GUI, on one 
machine. Then, it had a portlet with "the big button", to copy (batch at night) 
the database to the prod database, and relaunch the JBP.
so the next morning, the change was on.

they faced many problems, sides effects, constraints...

well... for prod, with several JBP needed... this is not the best way to do.

the only use case constraint that would allow this : only with a portal that 
change very very seldomly.
Then, I guess, you don't really need the Admin GUI. you can prepare things in 
the XML files.




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

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


[jboss-user] [Beginners Corner] - Re: Help with JBOSS Log Configuration

2009-02-23 Thread johnloo
Sorry! Unfamiliar with this BBS... Let me try again..:

I am having a problem re-configuring the JBOSS log files. I am running 
4.0.1SP1. I had the log files configured like this, which pretty much is the 
config supplied by the third-party app vendor:

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

This produced daily log files, and only a little bit of boot.log output. I 
decided that I wanted a size-based logging system, so I altered the log4j.xml 
file to remove the above, and substituted this:


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

After saving the log4j.xml file, I restarted the JBOSS server. Now, I get no 
server log files, only a boot.log file that seems to be growing at the rate of 
2MB / min. 

What am I missing?? Something simple, I'm sure. TIA for the help!

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

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


[jboss-user] [Remoting] - Re: Remoting 3 with Jboss AS 5

2009-02-23 Thread fatbatman
Thanks for letting me know, I'll wait then, cheers James :)

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

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


[jboss-user] [Beginners Corner] - Help with JBOSS Log Configuration

2009-02-23 Thread johnloo
I am having a problem re-configuring the JBOSS log files. I am running 
4.0.1SP1. I had the log files configured like this, which pretty much is the 
config supplied by the third-party app vendor:

 
   
  
  
  

  
  

  

  
 
 

 
  


This produced daily log files, and only a little bit of boot.log output. I 
decided that I wanted a size-based logging system, so I altered the log4j.xml 
file to remove the above, and substituted this:

   
   
 
 
 
 
 

 
   

   

After saving the log4j.xml file, I restarted the JBOSS server. Now, I get no 
server log files, only a boot.log file that seems to be growing at the rate of 
2MB / min. 

What am I missing?? Something simple, I'm sure. TIA for the help!

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

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


[jboss-user] [JBoss Portal] - Re: multiple JBP instance + 1 DB (only one db)

2009-02-23 Thread Antoine_h
Yes, that comes from the Hibernate cache.

JBP1 have loaded the instance definition, so it is in cache.
JBP2 have loaded the instance definition, so it is in cache.
Change is made on the instance, with JBP1.
JBP1 have saved the instance definition, so the cache have updated it's 
instance too.
JBP2 still uses the cached one... hence the change does not appear.

With a cluster, Hibernate synchronizes it's cache... so it works fine.

I guess you may find a way to clear all the cache (from JMX console may be). 
But I don't know how.

Note on thing : on startup, all the contents of the CMS are loaded in the 
hibernate cache. This is for performance, when using the CMS. so make sure not 
to clear this cache. I guess they are separate, but not sure.

**
when I asked the question, I had in mind this : only for prod, not changing 
things in the portal.
neither the portal definition, nor the CMS.

At this time, the portal did not used the JBPM. It is used for user 
registration now.
so this may also make some problem with only one DB. Should not, but make sure 
before to go further.

**
And, by the way : on my opinion, the Admin GUI is nice, but it should be used 
only for prototyping, and making quick demo.
and nice for newbee to have a sexy software out of the box.
very good to get familiar with the portal.

but for prod, especially if you have to instances, I would recommend only to 
use the XML descriptor files.

using the Admin GUI drives you to some troubles.

main cons :
 - if you have two developpers working on two different parts of the portal : 
how do you merge their changes ?
with xml files, you can do a merge (with svn or cvs)... or also the merge is 
imediate if they work on two different wars.

 - in XML files if you work on a page, window, instance or portlet, by deleting 
one or even just changing the name, then the former one remains in the 
database. it is not suppressed. 
So as soon as you start with the GUI, you cannot touch the xml file, without 
many trouble. You may have some remaining objects in the portal configuration. 
And deleting them "a la mano" in the GUI is quite boredom.
It is much more easy to drop all the tables, and relaunch the portal : all is 
rebuilt from the xml.

 - if you want to start from a new JBP configuration (from dev to testing, then 
to prod), it is quite heavy to dump and restore the database to the new 
configuration.
Portal is producing a new version oftenly.
It is much more work, and much more risk with the GUI + database.

so... for a heavy portal, that goes to prod, I recommend that you use the XML 
files.

Hope it helps,

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

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


[jboss-user] [JBoss Portal] - Re: multiple JBP instance + 1 DB (only one db)

2009-02-23 Thread Vineet_Tripathi
Hi,

What I get from your reply is that if, I have to use a deployment architecture 
of multiple instances and one database, I will have to put the logic in source  
code of admin portlet to flush any DB changes right away.

Is there any configuration in JBoss portal that I can use to do so or, It will 
be a code level change?

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

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


[jboss-user] [JBoss Portal] - Re: multiple JBP instance + 1 DB (only one db)

2009-02-23 Thread prabhat....@jboss.com
I don't think it's a good idea to have multiple instances of portal running 
with one DB. You should use clustered version of portal.

In a non clustered version, you would have to flush any DB changes right away 
in Hibernate which defeats the purpose of having session. 

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Various errors showing up when load testing

2009-02-23 Thread jshowalter
The comments in the source for putForExternalRead say See JBCACHE-848 for 
details around this feature., but that link is dead.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Various errors showing up when load testing

2009-02-23 Thread jshowalter
If the put fails, the next call to get will fault and go to the database, and 
the next, and so forth, with each of them doing a fetch of data and attempting 
a put. So now instead of blocking reads behind one write (gets behind one put), 
we'll have write contention due to multiple puts, which is what we were trying 
to avoid.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Various errors showing up when load testing

2009-02-23 Thread jshowalter
If we use putForExternalRead, do we no longer need to call setCacheModeLocal?

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

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


[jboss-user] [JBoss jBPM] - Re: accessing jbpm from multiple web application

2009-02-23 Thread bradsdavis
@apdo, were you able to get this working?  I am also getting the same exception.


  | java.lang.ClassCastException: org.jbpm.JbpmConfiguration cannot be cast to 
org.jbpm.JbpmConfiguration
  | 

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Various errors showing up when load testing

2009-02-23 Thread jshowalter
Here's the other thread: 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4173985.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Various errors showing up when load testing

2009-02-23 Thread jshowalter
Based on an earlier thread on this forum that I started, and their response 
from JBoss (which I think was from you, Manik!) asking how to avoid 
notification on put, we call setCacheModeLocal(true) for puts of data read from 
the database as opposed to puts of new data. Will that not accomplish what we 
want? Also, how would calling putForExternalRead solve the TimeoutException?

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

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


[jboss-user] [JBoss jBPM] - Custom Context Definition

2009-02-23 Thread mpardo
Issue #1

We would need to add some information to the jbpm s   (at 
definition moment).
 
More specifically, we need to specify feasible reasons for each transition from 
a task node (for example, in a transition called , we would need to indicate 
the feasible reasons for that cancellation: , , etc.). All the above at definition moment.

One possible solution might be creating a  (which inherits from 
ContextDefinition) that creates a context instance with a set of variables 
given by the custom context definition.

In order to make the context definition configurable, we would use an xml file.

Do you think that this solution is adequate or there is a built-in mechanism 
offered by jbpm to the same thing in a cleaner way?

Issue #2

Does jbpm log each update to a variable of the context instance? How or where 
it does that?



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

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


[jboss-user] [JBoss Portal] - Re: multiple JBP instance + 1 DB (only one db)

2009-02-23 Thread Vineet_Tripathi
Hi,

With one database and multiple JBoss instances, I am facing following issue:
1)Changes done from Admin portlet of one instance does not reflect on other 
instance. The changes are applied only after restart of the server.

I understand that this problem is because of Hibernate configuration. But, can 
some one please guide me, How to resolve this issue?

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

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


[jboss-user] [JNDI/Naming/Network] - Re: TopLink on JBoss: Cannot create toplink session

2009-02-23 Thread mfobrien

Hi, 
Verify that the connector on the session is set to 
JNDIConnector.STRING_LOOKUP and not COMPOSITE_NAME_LOOKUP which would be the 
default that worked previosly with OC4J.
you may be experiencing a common configuration issue with application 
servers that are based on the Catalina (Tomcat) servlet container where the 
lookupType must be STRING_LOOKUP.
Hibernate may default to STRING_LOOKUP as the lookupType because it 
normally runs in JBoss which is Catalina based - so it will work out of the box 
on JBoss.

See the following EclipseLink on JBoss tutorial where we describe 
configuring the eclipselink.session.customizer so that the lookupType on 
ideally both JTA and non-JTA datasource connectors are changed from " 
COMPOSITE_NAME_LOOKUP" to "STRING_LOOKUP".

http://wiki.eclipse.org/EclipseLink/Examples/JPA/JBoss_Web_Tutorial#Session_Customizer

The following page describes the use of JNDIConnector.STRING_LOOKUP in general 
for all Catalina based servers.
http://wiki.eclipse.org/EclipseLink/Examples/JPA/Tomcat_Web_Tutorial#Session_Customizer

Also verify that the *-ds.xml config files are setup using the following 
section as a guide.
http://wiki.eclipse.org/EclipseLink/Examples/JPA/JBoss_Web_Tutorial#JNDI_JTA.2Fnon-JTA_Server_DataSource_Setup

thank you
/michael
www.eclipselink.org



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

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


[jboss-user] [EJB/JBoss] - Re: Issues with MDB transactions

2009-02-23 Thread born_free_77
Forgot to mention the environment details.

We are using Jboss 4.2.2 with JBoss messaging 1.4 SP3. Our app also uses 
Hibernate and Spring. 

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

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


[jboss-user] [JBoss jBPM] - Re: Jboss node failover for Jbpm is not working in cluster H

2009-02-23 Thread ramneekh

We are using jboss-4.2.3.GA with Jboss ESB 4.4-GA, Jboss Messaging 1.4.2-GA.

also  We have different types of datasources defined : 
a) In section "6.2 : Target Jboss DS to oracle" , We are using 
xa-datasource.
b) In section "8.2 Juddi" we are using local-tx-datasource.
c) "8.3 Service Bus" has local-tx-datasource.
d) "8.4 JBpm" has xa-datasource.

I am not sure if this is right? 
Should we using same type of datasources at all the places  for HA?




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

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


[jboss-user] [Beginners Corner] - Re: Serving Static Content JBoss5.0.0.GA

2009-02-23 Thread ramboid
Thank you PeterJ.  I will try this option and try to decide between this 
solution and just copying the folder witht he static content into the ROOT 
context.  I now have acouple of laterntaives to try.
The solution that you describe proabbly allows greater flexibility and I will 
have to weigh the extra functionality against redoing the established protocols 
of the team.  Thank you again.

PS: I hope that JBoss 5.0.1.GA will let us define static context with greater 
ease; without having to al ter the profile.  Perhaps, such flexibility can be 
added to the deployers folder.

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

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


[jboss-user] [EJB/JBoss] - Issues with MDB transactions

2009-02-23 Thread born_free_77
One of my MDB is behaving very strangely. The issue is as mentioned below.

When user does some action in web it puts one message in JMS which is consumed 
by MDB and it calls some SB which runs under transaction. This part works fine. 
But when request comes from different app for the same action we put that 
message in jms, mdb picks it up but only this time it does not commits the tx. 
I commits it only after entire method (onMessage()) is done.

This looks little bit strange as on of the SB's method has RequiresNew 
attribute which should commit the tx after the method is complete.

Example-

  | MDB method
  | 
  | 
  | onMessage()
  | {
  |someClass.method();
  | }
  | 
  | someClass
  | 
  | void method()
  | {
  | //1st call
  |bean1.doSomething();
  |bean2.doStuff();
  |bean3.work();
  | }
  | 
  | bean1 - has required attribute set
  | bean2 - has RequiresNew
  | bean3 - checks for a flag set by bean2 which for workflow 2 does not 
commits unless entire method is complete.
  | 

Any pointer/references in this context is highly appreciated.

---Born

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

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


[jboss-user] [Beginners Corner] - Re: Serving Static Content JBoss5.0.0.GA

2009-02-23 Thread PeterJ
Darn, that was an old post and they renamed the file, and I didn't double-check 
the name. Sorry. Look in conf/bootstrap/profile-repository.xml. You want to add 
a new entry to the applicationURIs property of the 
SerializableDeploymentRepositoryFactory bean.

As I mentioned, you need to place the static content into a directory that has 
a .war suffix and the directory you use for applicationURIs must be the parent 
of that directory. Assume this is your static content:

/opt/stuff/content.war/some.css
/opt/stuff/content.war/mugshot.png

Then set applicationURIs as follows:


  |   
  | ${jboss.server.home.url}deploy
  | /opt/stuff
  |
  | 

In addition, you will want these files:

/opt/stuff/content.war/WEB-INF/web.xml
/opt/stuff/content.war/WEB-INF/jboss-web.xml

The web.xml can be empty:



The jboss-web.xml can set the root context:


  |   /
  | 

Then also remove the ROOT.war from the deploy directory (it also uses '/' as 
the context and you cant have two wab apps wit the same root context).

Now you should be able to access you static content as, for example 
http://localhost:8080/some.css

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

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


[jboss-user] [Beginners Corner] - Re: Confused about: Eclipse, Eclipse WTP, and JBoss; what d

2009-02-23 Thread PeterJ
I did state "The JBoss Tools documentation", so starting with the link I 
provided, click on the Documentation link (blue box on left side of page, 4th 
link from the bottom), and choose the 3.0.0.CR2 documentation, and then the 
Getting Started Guide. That guide contains a section on installing JBoss Tools 
(1.4.2)

Alternately, for  installing, there is Downloads link right about the 
Documentation link - the downloads page provides the URLs you can use in the 
Eclipse update manager (though they are somewhat disguised - they don't start 
with http://!)

And yet another alternative: my quickie install guide: Download "Eclipse for 
Java EE Developers" from the Eclipse site. After unzipping it, run it and have 
it do an update to the latest components. Then add the Tools URL (from the docs 
or download page I mentioned above to the Eclipse update sites and let it 
install Tools. Then start with chapter 2 in the Getting Started guide.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Suppressing replication whilst still persisting?

2009-02-23 Thread mircea.markus
anonymous wrote : I have tried suppressed replication with no persistence 
interceptor configured, and it worked. But as soon as I uncomment the 
persistence config in the jboss cache xml, replication suppression becomes 
ineffective. 
It shouldn't replicate stuff even when cache loaders are configured. Are you 
sure the two cache instances you use do not share the same store? E.g. both 
caches connecting to same database?

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JBoss cache: Database connection issue in load testing

2009-02-23 Thread mircea.markus
what's the error message?

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

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


[jboss-user] [Remoting] - Re: Remoting 3 with Jboss AS 5

2009-02-23 Thread david.ll...@jboss.com
Not yet.  I am as we speak working on developing a proper integration with 
JBossAS, but I strongly suspect that the earliest version of AS that will work 
with it will be 5.1.0 unless you want to do some serious JAR surgery. :-)

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

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


[jboss-user] [Beginners Corner] - Re: Serving Static Content JBoss5.0.0.GA

2009-02-23 Thread ramboid
A couple of questions:
1) Where is the profile-service.xml file?  I cannot find it
2) Would this replace the current deploy folder or jsut add another?
It would be difficult to replace it because I would need to re-work all the 
procedures that I have designed for the developers and the QA department

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

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


[jboss-user] [Beginners Corner] - Re: Confused about: Eclipse, Eclipse WTP, and JBoss; what d

2009-02-23 Thread matthewtap
Thank you both very much for taking the time to reply.

Peter --

I know that this is going to make me sound kind of thick, but hopefully this is 
allowed in this forum:

I went to the url you provided:
>> "Tools web site: http://www.jboss.org/tools/  "

and I see that there's lots of stuff there... but I did not see anything that 
overtly stated it was for getting JBoss and Eclipse to work together.

It may be that there is a name for a tool or other technology that helps do 
this, but it is named without the word 'Eclipse' in it [or "Eclipse" is an 
Acronym for which I'm not familiar with].

Without question, that page looks very helpful; and I also followed the link to 
the movies:
http://docs.jboss.org/tools/movies/

and they look like they could be helpful.  But I don't know enough to know what 
to look for there.

I can use Eclipse in isolation; and I've gone through the beginning parts of 
setting up and deploying a simple 'hello world' on JBoss... but I don't know 
what the process would be to work with them together.

It could be that I'm asking the wrong question, and all I should be doing is 
completing the work in Eclipse + Eclipse WTP, generating a WAR or EAR, and then 
using that to deploy in JBoss -- but I guess I'm trying to make sure of the 
direction I'm heading before I go down one road and find out it was redundant.


I really do appreciate any further assistance that you or anyone can help with 
-- 

With best regards,
m.tapping

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

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


[jboss-user] [Security & JAAS/JBoss] - BUG: Principal ist not is session scope after WebAuthenticat

2009-02-23 Thread alexeev.net
Hi all,

I can successfully login using WebAuthentication.login() in my JSF Bean on 
JBoss 4.2.3.GA.

Retrieving Principal in the same request works also fine:
 FacesContext.getCurrentInstance().getExternalContext().getUserPrincipal ()

But later in subsequent requests the Principal is always null.

Bug or feature?



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

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


[jboss-user] [Beginners Corner] - Re: Serving Static Content JBoss5.0.0.GA

2009-02-23 Thread PeterJ
You could try the suggestion in my last post in the topic I linked to - add 
another deploy directory. That would seem to be the easiest way that is closest 
to what the Context entry used to provide.

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

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


[jboss-user] [Beginners Corner] - Re: Cannot start server

2009-02-23 Thread PeterJ
When you start the app server in Eclipse, some logging output should show up in 
the Console View - please post that. By the way, I suggest that you try 
starting the server without having any projects configured for it. Doing so 
will eliminate issues with your application. I want to make certain that you 
can start the app server by itself, and we can worry about deploying apps later.

Have you gone through the JBoss Tools tutorials? If not, you should. They will 
get you accustomed to using JBoss Tools for development. Once you have those 
tutorials completed, you can once again work on your Seam app.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4212329
___
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 deploy an ESB project with JBoss Tools ?

2009-02-23 Thread max.ander...@jboss.com
Just like any other deployable project.

...Right click a server and do Add/Remove

or

...Drag project to the server node

or

...Right click project and Run as... > On Server



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

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


[jboss-user] [JBoss Tools (users)] - How to deploy an ESB project with JBoss Tools ?

2009-02-23 Thread dimar1975
Hi all,
I have downloaded the latest JBoss tools plugins for JBoss ESB.
So I have created a new JBoss ESB project add configuration files but I cannot 
find a way to deploy the project on the ESB.
I simply cannot find a way to add the project to the Deloyed Projects in the 
Server windows.
Any help ?
thanks
marco


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

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


[jboss-user] [Performance Tuning] - Re: 100% Utilization of JBOSS 3.2

2009-02-23 Thread PeterJ
Scan the various topics in this forum.  Many of them describe situations 
similar to yours and provide suggestions.

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

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


[jboss-user] [Beginners Corner] - Re: Confused about: Eclipse, Eclipse WTP, and JBoss; what d

2009-02-23 Thread PeterJ
The JBoss Tools documentation has several tutorials, and the Tools team even 
provides screencasts for some of the tutorials. In addition, the JBoss Tools 
(Users) forum is very active with the Tools developer's provide quick and 
helpful responses.

Tools web site: http://www.jboss.org/tools/

Tools forum: http://www.jboss.org/index.html?module=bb&op=viewforum&f=201

Another alternative is the RedHat Developer Studio, but that requires a paid 
subscription (though last year at JavaOne they were giving away free one year 
subscriptions). Developer Studio  comes with the app server so you don't have 
to download it separately.

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

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


[jboss-user] [Remoting] - Remoting 3 with Jboss AS 5

2009-02-23 Thread fatbatman
Hi,

We use remoting for our multiplayer applet games.  We run our server within 
Jboss and are currently migrating to Jboss 5.  
I'll be doing lots of connection testing over the next few weeks so would 
prefer to have the latest remoting version in place.

- Can I patch Jboss-5.0.0.GA AS to use remoting 3?  
- If so how?

Thanks in advance

James



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

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


[jboss-user] [JBoss Portal] - Re: Exception in clustered environment

2009-02-23 Thread valatharv
Hi,

Is your problem fixed, I am also facing the same issue, please suggest.

Thanks

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

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


[jboss-user] [Beginners Corner] - Re: Confused about: Eclipse, Eclipse WTP, and JBoss; what d

2009-02-23 Thread Wolfgang Knauf
Hi,

short answer: yes, you can use Eclipse to develop your app for JBoss.

You can either use Eclipse 3.4 + Web Tools Platform 3.0, or you can use Eclipse 
+ JBossIDE (which is built upon Web Tools Platform), but I don't know the 
latter, I only work with WebTools. 
For using Webtools, you have to download the "Eclipse IDE for Java EE 
Developers" (http://www.eclipse.org/downloads/), and you will need to download 
JBoss separately. 
Beware of  this eclipse bug if you plan to use JBoss 5.0GA: 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=257823

Hope this clarifies some of your initial questions. I could provide you with a 
german tutorial, but did not find any english ones after a quick google search.

Wolfgang

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Jboss 4.2.3GA Production error java.io.StreamCorruptedExcept

2009-02-23 Thread valatharv
Hi, 

We are using "jboss-4.2.3" we got this exception in server.log during week-end 
when no one was using the application. 

Please suggest what configuration is missing, I am also posting run.bat (our 
production environment is on windows as it is trival application) .

server.log
2009-02-21 18:26:58,642 ERROR [org.jboss.invocation.pooled.server.ServerThread] 
Failed to initialize
  | java.io.StreamCorruptedException: invalid stream header
  | at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764)
  | at java.io.ObjectInputStream.(ObjectInputStream.java:277)
  | at 
org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.(OptimizedObjectInputStream.java:147)
  | at 
org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:265)
  | at 
org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)
  | 2009-02-21 18:27:26,391 ERROR [org.apache.coyote.ajp.AjpMessage] Invalid 
message recieved with signature 18245
  | 2009-02-21 18:27:41,360 ERROR [org.apache.coyote.ajp.AjpMessage] Invalid 
message recieved with signature 18245
  | 2009-02-21 18:27:43,672 ERROR 
[org.jboss.invocation.pooled.server.ServerThread] Failed to initialize
  | java.io.EOFException
  | at 
java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2228)
  | at 
java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2694)
  | at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:761)
  | at java.io.ObjectInputStream.(ObjectInputStream.java:277)
  | at 
org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.(OptimizedObjectInputStream.java:147)
  | at 
org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:265)
  | at 
org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)
  | 2009-02-21 18:27:44,578 ERROR 
[org.jboss.invocation.pooled.server.ServerThread] Failed to initialize
  | java.io.StreamCorruptedException: invalid stream header
  | at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764)
  | at java.io.ObjectInputStream.(ObjectInputStream.java:277)
  | at 
org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.(OptimizedObjectInputStream.java:147)
  | at 
org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:265)
  | at 
org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)
  | 2009-02-21 18:27:44,641 ERROR 
[org.jboss.invocation.pooled.server.ServerThread] Failed to initialize
  | java.io.StreamCorruptedException: invalid stream header
  | at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764)
  | at java.io.ObjectInputStream.(ObjectInputStream.java:277)
  | at 
org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.(OptimizedObjectInputStream.java:147)
  | at 
org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:265)
  | at 
org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)
  | 2009-02-21 18:27:44,703 ERROR 
[org.jboss.invocation.pooled.server.ServerThread] Failed to initialize
  | java.io.StreamCorruptedException: invalid stream header
  | at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764)
  | at java.io.ObjectInputStream.(ObjectInputStream.java:277)
  | at 
org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.(OptimizedObjectInputStream.java:147)
  | at 
org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:265)
  | at 
org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)
  | 2009-02-21 18:27:44,750 ERROR 
[org.jboss.invocation.pooled.server.ServerThread] Failed to initialize
  | java.io.StreamCorruptedException: invalid stream header
  | at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764)
  | at java.io.ObjectInputStream.(ObjectInputStream.java:277)
  | at 
org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.(OptimizedObjectInputStream.java:147)
  | at 
org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:265)
  | at 
org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)
  | 2009-02-21 18:27:44,813 ERROR 
[org.jboss.invocation.pooled.server.ServerThread] Failed to initialize
  | java.io.StreamCorruptedException: invalid stream header
  | at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764)
  | at java.io.ObjectInputStream.(ObjectInputStream.java:277)
  | at 
org.jboss.invocation.pooled.interfaces.OptimizedObjectInputStream.(OptimizedObjectInputStream.java:147)
  | at 
org.jboss.invocation.pooled.server.ServerThread.dorun(ServerThread.java:265)
  | at 
org.jboss.invocation.pooled.server.ServerThread.run(ServerThread.java:156)
  | 2009-02-21 18:27:44,875 ERROR 
[org.jboss.invocation.pooled.server.ServerThre

[jboss-user] [Beginners Corner] - Couldn't not find TransactionManager

2009-02-23 Thread Tainted
Hi,

I am pretty new to JBoss. The project is migrating from Weblogic to JBOss. I am 
getting this exception and If someone can give some guidance that would be 
great.

java.rmi.ServerException: RuntimeException; nested exception is: 
org.cas.commerce.access.exception.CommerceRuntimeException: 
org.cas.commerce.access.exception.CommerceRuntimeException: 
org.hibernate.HibernateException: Could not locate TransactionManager

org.cas.commerce.access.exception.CommerceRuntimeException: 
java.rmi.ServerException: RuntimeException; nested exception is:
org.cas.commerce.access.exception.CommerceRuntimeException: 
org.cas.commerce.access.exception.CommerceRuntimeException: 
org.hibernate.HibernateException: Could not locate TransactionManager
at 
org.cas.commerce.configservices.ConfigServicesDelegate.find(ConfigServicesDelegate.java:80)
at 
org.cas.commerce.configservices.FindAPITester.testFindSingleActivityQuantity(FindAPITester.java:77)
Caused by: java.rmi.ServerException: RuntimeException; nested exception is:
org.cas.commerce.access.exception.CommerceRuntimeException: 
org.cas.commerce.access.exception.CommerceRuntimeException: 
org.hibernate.HibernateException: Could not locate TransactionManager
at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:421)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209)
at 
org.jboss.ejb.plugins.CleanShutdownInterceptor.invoke(CleanShutdownInterceptor.java:278)
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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.invocation.unified.server.UnifiedInvokerHA.invoke(UnifiedInvokerHA.java:148)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:560)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:383)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:165)
Caused by: org.cas.commerce.access.exception.CommerceRuntimeException: 
org.cas.commerce.access.exception.CommerceRuntimeException: 
org.hibernate.HibernateException: Could not locate TransactionManager
at 
org.cas.commerce.util.hibernate.HibernateToolkit.getHibernateHelper(HibernateToolkit.java:126)
at 
org.cas.commerce.util.hibernate.HibernateDAO.getHibernateHelper(HibernateDAO.java:22)
at 
org.cas.commerce.configservices.HibernateConfigServicesDAO.retrieve(HibernateConfigServicesDAO.java:46)
at 
org.cas.commerce.configservices.ConfigServicesImpl.find(ConfigServicesImpl.java:75)
at 
org.cas.commerce.configservices.ConfigServicesEJB.find(ConfigServicesEJB.java:36)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
at 
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
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.CleanShutdownInterceptor.invoke(CleanShutdownInterceptor.java:278)
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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.invocation.unified.server.UnifiedInvokerHA.invoke(UnifiedInvokerHA.java:148)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:560)

[jboss-user] [JBoss Cache: Core Edition] - Error when external JGroups file is linked

2009-02-23 Thread sridhar_ratna

I  have the following jboss cache xml as below

  | 
  | http://www.w3.org/2001/XMLSchema-instance";
  | xmlns="urn:jboss:jbosscache-core:config:3.0">
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | cache.jdbc.table.name=jbosscache
  | cache.jdbc.table.create=true
  | cache.jdbc.table.drop=false
  | cache.jdbc.table.primarykey=jbosscache_pk
  | cache.jdbc.fqn.column=fqn
  | cache.jdbc.fqn.type=varchar(255)
  | cache.jdbc.node.column=node
  | cache.jdbc.node.type=bytea
  | cache.jdbc.parent.column=parent
  | cache.jdbc.driver=org.postgresql.Driver
  | 
cache.jdbc.url=jdbc:postgresql://localhost:5432/facts7
  | cache.jdbc.user=f7tms
  | cache.jdbc.password=f7tms
  | 
  | 
  | 
  | 
  | 
  | 

and jgroups.xml file as below

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | -
  | 
  | 
  | -
  | 
  | 
  | 
  | 

My code start the cache as

  | package org.gridgain.examples.jbosscache;
  | 
  | import java.io.File;
  | 
  | import org.jboss.cache.Cache;
  | import org.jboss.cache.CacheFactory;
  | import org.jboss.cache.DefaultCacheFactory;
  | import org.jboss.cache.Fqn;
  | import org.jboss.cache.Node;
  | import org.jboss.cache.config.Configuration;
  | import org.jboss.cache.config.parsing.XmlConfigurationParser;
  | import org.jgroups.JChannelFactory;
  | 
  | public final class GridJbossCacheManager {
  | /** Cache configuration path relative to GridGain installation. */
  | public static final String CACHE_CFG_PATH = 
"C:/workspace/GridJBCache3/src/config/jboss-cache.xml";
  | 
  | /** JGroups configuration path relative to GridGain installation. */
  | public static final String JGROUPS_CFG_PATH = 
"C:/workspace/GridJBCache3/src/config/jgroups.xml";
  | 
  | /** JBoss Cache instance. */
  | private Cache cache = null;
  | 
  | /** Cache node for caching example data. */
  | private Node cacheRoot = null;
  | 
  | /** Singleton instance. */
  | private static GridJbossCacheManager instance = new 
GridJbossCacheManager();
  | 
  | /**
  |  * Gets singleton.
  |  *
  |  * @return Singleton.
  |  */
  | public static GridJbossCacheManager getInstance() {
  | return instance;
  | }
  | 
  | /**
  |  * Ensure singleton.
  |  */
  | private GridJbossCacheManager() {
  | // No-op.
  | }
  | 
  |
  | public void start() throws GridException {
  | File cacheCfg = new File(CACHE_CFG_PATH);
  | 
  | if (cacheCfg == null) {
  | throw new GridException("Failed to find cache configuration 
file: " + CACHE_CFG_PATH);
  | }
  | 
  | File jgroupsCfg = new File(JGROUPS_CFG_PATH);
  | 
  | if (jgroupsCfg == null) {
  | throw new GridException("Failed to find jgroups configuration: 
" + JGROUPS_CFG_PATH);
  | }
  | 
  | // Make sure JBoss Cache and GridGain are on the same "wave length".
  | JChannelFactory factory = new JChannelFactory(); //null;
  | 
  | try {
  | //factory = new JChannelFactory(jgroupsCfg);
  | factory.setMultiplexerConfig(jgroupsCfg.getCanonicalPath());
  | }
  | catch (Exception e) {
  | throw new GridException("Failed to start Data Manager.", e);
  | }
  | 
  | try {
  | XmlConfigurationParser parser = new XmlConfigurationParser();
  | 
  | // Start JBoss Cache cache with shared JGroups configuration.
  | Configuration svrCfg = 
parser.parseFile(cacheCfg.getCanonicalPath());
  | 
  | svrCfg.getRuntimeConfig().setMuxChannelFactory(factory);
  | 
  | CacheFactory dataFactory = 
DefaultCacheFactory.getInstance();
  | 
  | // Instantiate and start JBoss Cache.
  | 

[jboss-user] [JBoss Tools (users)] - Re: Problem creating entity classes

2009-02-23 Thread handro1104
Thanks max.andersen.  I give the jar file when creating the connection to the 
database (there ping is successful).  After your message, I added the jar to 
the build path, but I still have the same problem. I get the error message: 
 in the list "Database schema" where it is 
supposed to show the tables in the database.  I don't get any errors or 
exceptions on the console.

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

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


[jboss-user] [Beginners Corner] - Re: Starting JBoss as non-superuser (root) on Linux

2009-02-23 Thread jaikiran
It's possible. See this 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=150031

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: UNRESOLVED Demands persistence.unit:unitName

2009-02-23 Thread jaikiran
koombal,

Please post more details about your application, the version of JBoss and Java 
and the error you are running into. As far as the error the original poster is 
running into is concerned, the datasource doesn't seem to have been deployed.


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

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


[jboss-user] [Beginners Corner] - Error while accessing servlet response

2009-02-23 Thread BenitoJuarez
Hi,

i tried to access the servlet response to directly write binary data: 

  | HttpServletResponse response = (HttpServletResponse) 
javax.faces.context.FacesContext.getCurrentInstance().getExternalContext().getResponse();
  | 
  | response.setContentType("application/octet-stream");
  | 
response.addHeader("Content-Disposition","attachment;filename=productlist.xls");
  | 
  | OutputStream writer = response.getOutputStream();
  | wb.write(writer);
  | 
  | writer.flush();
  | writer.close();
  | 
  | javax.faces.context.FacesContext.getCurrentInstance().responseComplete();   
  | 

but response.getOutputStream() throws an exception:

  | 15:30:11,190 ERROR [STDERR] java.util.MissingResourceException: Can't find 
bundle for base name org.ajax4jsf.messages, locale de_DE
  | 15:30:11,190 ERROR [STDERR] at 
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521)
  | 15:30:11,190 ERROR [STDERR] at 
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260)
  | 15:30:11,190 ERROR [STDERR] at 
java.util.ResourceBundle.getBundle(ResourceBundle.java:962)
  | 15:30:11,190 ERROR [STDERR] at 
org.ajax4jsf.Messages.getBundle(Messages.java:39)
  | 15:30:11,190 ERROR [STDERR] at 
org.ajax4jsf.Messages.getMessage(Messages.java:47)
  | 15:30:11,190 ERROR [STDERR] at 
org.ajax4jsf.webapp.FilterServletResponseWrapper.getOutputStream(FilterServletResponseWrapper.java:252)
  | 15:30:11,190 ERROR [STDERR] at 
javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:102
  | 

i'm happy for any hint about that

Thx
BJ




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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: SPECjAppServer2004

2009-02-23 Thread bstansbe...@jboss.com
Perhaps this?

http://www.jboss.org/community/docs/DOC-9241

I haven't used it myself so can't answer questions, but it's good stuff.

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

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


[jboss-user] [JBoss jBPM] - Re: parent execution with suspended child execution

2009-02-23 Thread kukeltje
1: give it a try 
2: I do not understand "and what will happen contrary" Contrary to what? Not 
signalling? Not suspended? 

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

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


[jboss-user] [JBoss Portal] - Re: Session timeout

2009-02-23 Thread KorayCetinbas
A late reply but i think writing a wrapper for a4jfilter and setting the new 
filter as ajax filter in web.xml may solve your problem.

(Of course you need to refresh the last activity time, or do something else to 
suit your needs, after casting to httpservletrequest)


  | public class MyAjaxFilter extends Filter
  | {
  |  public void doFilter(ServletRequest req, ServletResponse res, FilterChain 
fc) throws IOException, ServletException {
  |   try
  |   {
  |  HttpServletRequest httpReq = ((HttpServletRequest)(req));
  |  // do what you need to do about the session variables
  |  super.doFilter(req, res, fc);
  |   }  
  |   catch (Exception exp)
  |   {
  |  
  |   }
  |}
  | }
  | 

Hope this helps,
Koray

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

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


[jboss-user] [JBoss jBPM] - Re: process resume

2009-02-23 Thread kukeltje
"galanfish" wrote : stupid question:
  | need i add every activity(maybe exception comes out) with at least two 
transitions? one for the normal destination, and one for the error state or?
  | 
  | thx

Depends do you want it visible or not? You can move the token anywhere 
without having any transitions just put it in a state (see the api)

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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem Integrating tomahawk (or other external jars) in

2009-02-23 Thread max.ander...@jboss.com
eh what ? I put .jar's in web-inf/lib constantly...our seam projects depend on 
that. How is eclipse preventing you to do that ?

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

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


[jboss-user] [JBoss Tools (users)] - Re: Problem creating entity classes

2009-02-23 Thread max.ander...@jboss.com
do you have mysql jar on the classpath ?

what is the full error message/stack trace ?

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

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


[jboss-user] [JBoss Tools (users)] - Re: Warning when using multilanguage

2009-02-23 Thread max.ander...@jboss.com
Disable javascript validator and you won't have that error.

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

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


[jboss-user] [JBoss Portal] - Re: Portal Page Scope Variables

2009-02-23 Thread jssteux
You can also put this variable in an independant jar file and then deploy this 
jar to /deploy/lib ...

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

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


  1   2   >