[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: problem deploying an aplication and connect with oracle

2008-02-19 Thread lifeb
i made a few changes this is what i get now:
09:08:14,692 ERROR [MainDeployer] could not create deployment: 
file:/jboss/server/default/deploy/oracle-ds.xml
org.jboss.deployment.DeploymentException: Trying to install an already 
registered mbean: jboss.jca:name=DefaultDS,service=LocalTxCM

i didn't delete anything

 oracle-ds.xml file

  

 DefaultDS
 jdbc:oracle:thin:@192.168.0.10:1521:sen_db
   oracle.jdbc.driver.OracleDriver
 COSWIN
   COSWIN
  org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker
  
   Oracle9i
  




login-config.xml   [B---]  0 L:[ 57+21  78/170] *(3110/7298b)= .  10 0x0A
  
 guestjboss.mq:service=StateManager
  
   

-->



   
  
 sen_db
 COSWIN
 COSWIN
 jboss.jca:serv  
   




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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Restart own application after error

2008-02-19 Thread ReKie
Hi agian,

this helps a lot

thx
Reinhard

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

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


[jboss-user] [JBoss Portal] - Re: Comparing JBoss Portal to Liferay or other portal produc

2008-02-19 Thread syllant
Thanks for this more moderate tone Chris :-)

Concerning forum and JIRA management, I fully understand and I would never have 
mentioned it if a JBM team member didn't blame me for not contributing. 

And I never reproached JBP team to not answer in forums or to not be helpful 
:-) Initially, I just point it as a fact to consider for newcomers as it's a 
major criteria when you have to select an OS product.

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

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


[jboss-user] [EJB 3.0] - Re: EAR deploy fails in JBoss 4.2

2008-02-19 Thread chandra_88
Iam not sure why the module tag is not getting displayed in the post 

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

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


[jboss-user] [EJB 3.0] - Re: EAR deploy fails in JBoss 4.2

2008-02-19 Thread chandra_88
Looks like a problem with my prev reply in terms of display so sending it again.

 The applicaiton.xml indirectly references the util jar by pointing to the lib 
directory where the util.jar is kept. 


http://java.sun.com/dtd/application_1_3.dtd";>

  ejbSession
  
EjbSession.jar
  
   
  lib   

The util.jar is kept under lib directory and am getting a class not found 
exception

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

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


[jboss-user] [EJB 3.0] - Re: EAR deploy fails in JBoss 4.2

2008-02-19 Thread chandra_88
Yes it does in this way.

Apologies i was getting a class not found exception not a class cast exception. 

Applicaiton.xml under ear 
==


http://java.sun.com/dtd/application_1_3.dtd";>

  ejbSession
  
EjbSession.jar
  
  
  
  lib




The util jar is kept under lib folder. Can you tell what is the correct way to 
mention it. 


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

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


[jboss-user] [JCA/JBoss] - Re: Mysql replication and JBOSS

2008-02-19 Thread tricky
I did "setReadOnly" but it cannot be set  - using netbeans. When i set it 
manually in xml it doesn't work and EnitytManager always makes selects from 
master database

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

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


[jboss-user] [EJB 3.0] - Re: xml configuration file for application

2008-02-19 Thread ALRubinger
Looks like the real issue you're asking is "How do I access the ClassLoader for 
a given XML file?"

This would enable you to do cl.getResourceAsStream("whatever.xml");

However, the JEE spec leaves room for vendors to plug in their own custom 
classloading strategies to enable features such as hot deployment.  So you've 
got no hook to access the CL you need.

Since classes are linked to the CL that defined them, you might try packaging 
your XML in an EJB JAR, and then attempting to get to it by saying something 
like:

MyBeanRemote.class.getClassLoader().getResourceAsStream("whatever.xml")

...but this would assume that the same CL was used for all resources in your 
EJB JAR.

I think a better question to ask is: what are you doing that requires you to 
access something packaged in your application's deployable units?  Surely 
there's a more elegant way for you to get at this configuration?

S,
ALR

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

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


[jboss-user] [JBossCache] - Re: newbie question - ReplicationException

2008-02-19 Thread aditsu
bump

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Session being stolen / assigned to wrong person

2008-02-19 Thread javaspack
Problem configuration:
JBoss 4.2.1, Apache 2.0.59, mod_jk 1.2.25, java 1.6.02

We have a problem were our website will run great 99% of the time. Then it 
starts all sorts of weirdness (partial pages, text only, completely wrong 
pages) 

Then the problem will just disappear with no intervention. It usually doesn't 
last more than 5 minutes.

We have tracked the problem down to requests not being handled properly. In 
looking through the individual requests being processed, we can see the 
JSESSIONID going from one user's IP to a different user. The wrong user then 
becomes the original user as though they had logged in.

The worst problem is that orders are being placed under the wrong account.

Originally believing it to be an Apache issue, we stripped out all the Virtual 
Host settings, removed load balancing and made it as basic as possible.

Finally, we reverted JBoss to 4.0.3SP1 about 2 weeks ago and the problem hasn't 
happened again. I don't think ever we made it 72 hours on JBoss 4.2.1.

So, this looks to us to be a Tomcat or JBoss issue. It looks like JBoss 4.2.1 
uses either Tomcat 6.0.10 or 6.0.13.

I know JBoss is now at 4.2.2 and we are planning to try that next, but it 
doesn't look like it uses a different version of Tomcat, so we aren't very 
hopeful.

Anybody else experienced this or does anybody know of any changes between the 
versions that could cause this?


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

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


[jboss-user] [JBossWS] - Re: Change the endpoint address in runtime using Dispatch

2008-02-19 Thread mrostan
Hi cavani,
I think it's a bug.
The JAX-WS 2.0 specification states (in sections 4.3.1 and 4.2.1.1) the support 
for this property is mandatory.

Thanks,
Martin

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

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


[jboss-user] [Beginners Corner] - Re: The Interested Idea of Java Web Hosting

2008-02-19 Thread Kevinul
"PeterJ" wrote : What do you mean by "provide shared web hosting to people"? 
Are you saying that you want to host web sites or web applications for numerous 
people, where each person has his or her own "web site"?  Based on the 
description of cPanel, I think that is what you are asking. Personally, I do 
not know of any web hosting software written Java, maybe others can chime in.
  | 
Oh, really? Hopefully the marketing team of Sun M... can shead more light to 
people of the web hosting industry, and this could be nice.

Anyone know a project of this, or what it would be called technically?

"PeterJ" wrote : Also, as far as I know there are no automatic conversion tools 
to convert php code into JSPs.
  | 

I didn't mean that, sorry. I meant to migrate from coding from PHP to JSP, and 
able to code web applications of their own and yes their own web site.

I know JSP is Java and HTML, but hopefully I'll be able to understand Java, and 
able to code well with it and show the people what Java really can do (If it 
can do it, of course, I could be be wrong.).

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

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


[jboss-user] [JBossWS] - Webservice appears to deploy, but doesn't... Why not?

2008-02-19 Thread IcemanAragorn
I have a webservice that appears to deploy, with jboss saying the following:

anonymous wrote : 16:20:00,006 INFO  [EARDeployer] Init J2EE application: 
file:/C:/jboss-4.2.1.GA/server/default/deploy/ProjectName_EAR-0.0.1.ear
  | 16:20:00,787 INFO  [JmxKernelAbstraction] creating wrapper delegate for: 
org.jboss.ejb3.stateless.StatelessContainer
  | 16:20:00,787 INFO  [JmxKernelAbstraction] installing MBean: 
jboss.j2ee:ear=ProjectName_EAR-0.0.1.ear,jar=ProjectName-1.0-SNAPSHOT.jar,name=Import,service=EJB3
 with dependencies:
  | 16:20:00,837 INFO  [EJBContainer] STARTED EJB: 
com.owfg.ProjectName.webservice.Import ejbName: Import
  | 16:20:00,857 INFO  [EJB3Deployer] Deployed: 
file:/C:/jboss-4.2.1.GA/server/default/tmp/deploy/tmp24683ProjectName_EAR-0.0.1.ear-co
  | ntents/lib/ProjectName-1.0-SNAPSHOT.jar
  | 16:20:00,877 INFO  [EARDeployer] Started J2EE application: 
file:/C:/jboss-4.2.1.GA/server/default/deploy/ProjectName_EAR-0.0.1.ear

However, comparing it to another webservice that was deployed, it's missing a 
few pieces (italicized):

anonymous wrote : 16:19:45,657 INFO  [EARDeployer] Init J2EE application: 
file:/C:/jboss-4.2.1.GA/server/default/deploy/Project2_EAR-0.0.1.ear
  | 16:19:49,362 WARN  [MainDeployer] Found non-jar deployer for 
SNMPRelay-1.0-SNAPSHOT.jar: MBeanProxyExt[jboss.ejb3:service=EJB3Deployer]
  | 16:19:57,693 INFO  [TomcatDeployer] deploy, ctxPath=/Project2Service, 
warUrl=.../tmp/deploy/Project2_EAR-0.0.1.ear-Project2-1.0-SNAPSHOT.jar-ws24682.w
  | ar/
  | 16:19:58,204 INFO  [JmxKernelAbstraction] creating wrapper delegate for: 
org.jboss.ejb3.stateless.StatelessContainer
  | 16:19:58,224 INFO  [JmxKernelAbstraction] installing MBean: 
jboss.j2ee:ear=Project2_EAR-0.0.1.ear,jar=Project2-1.0-SNAPSHOT.jar,name=Project2,service=
  | EJB3 with dependencies:
  | 16:19:58,574 INFO  [EJBContainer] STARTED EJB: 
com.owfg.Project2.webservice.Project2ejbName: Project2
  | 16:19:58,614 INFO  [EJB3Deployer] Deployed: 
file:/C:/jboss-4.2.1.GA/server/default/tmp/deploy/tmp24679Project2_EAR-0.0.1.ear-contents/lib/Project2-1.0
  | -SNAPSHOT.jar
  | 16:19:58,915 INFO  [WSDLFilePublisher] WSDL published to: 
file:/C:/jboss-4.2.1.GA/server/default/data/wsdl/Project2_EAR-0.0.1.ear/Project2-1.0-SNAPSHO
  | T.jar/Project2Service24680.wsdl
  | 16:19:59,556 INFO  [ServiceEndpointManager] WebService started: 
http://localhost:8080/Project2Service/Project2
  | 16:19:59,576 INFO  [EARDeployer] Started J2EE application: 
file:/C:/jboss-4.2.1.GA/server/default/deploy/Project2_EAR-0.0.1.ear

Both webservices are annotated as @WebService and @Stateless, but the one that 
isn't deploying properly is implementing ImportRemote and ImportLocal classes, 
which are just simple interfaces with @Remote or @Local respectively.  For some 
reason recently jboss started complaining that there were no remote or local 
interfaces, so I added them.  It's strange that it wasn't complaining in the 
past, and still doesn't complain about Project2 not having any.

Any ideas where I can find clues to figure out why it isn't deploying properly 
(or, if it is the base issue, why jboss suddenly starting asking for 
interfaces)?

Thanks so much.

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

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


[jboss-user] [JBoss jBPM] - Re: Pre-allocate actors to tasks before a task instance is c

2008-02-19 Thread Kotov
I have working solution.
1 In process definition
1.1 Assign tasks to swimlanes
1.2 Assign swimlanes to java handlers
1.3 Create AssignActor task and insert it right after the StartState
1.4 Assign AssignActor task to the Actor or the Group making assignment 
decisions.
1.5 Create default controller for AssignActor task and add variable for each 
task that needs reassignment
2 In java handlers (1.2)
2.1 Get proper variable (1.5) from context instance and assign swimlane to it's 
value.
3 In web interface
3.1 In the AssignActor task web page set all task variables(1.5) with proper 
Actor or Group ID's

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130589
___
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 redirects with IIS7

2008-02-19 Thread chuppante
I have played around with this quite a bit and have looked all over the 
Internet for an answer to this question.  How do you get iis7 to redirect to 
jboss.  If anyone has any experience with this I would appreciate your input.  
I have used iis5 in the past with the isapi_redirect.dll.  That is fairly 
painless, however this time around with iis7 I having no luck.  And yes, 
because I'm sure someone will say use Apache, I will just say upfront that that 
is not an option at the moment. :|  Thanks

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: error when start/run Jboss App Server 4.2.2

2008-02-19 Thread PeterJ
Please post the complete error message. (The console log usually is not that 
long, unless there are stack traces, so you could post the whole log)

Also post the contents of the *-ds.xml file that defines OracleDS.

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

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


[jboss-user] [Beginners Corner] - Re: Migrating application from Websphere to Jboss

2008-02-19 Thread PeterJ
I assume that PayGovJMSUtil is in some other jar file containing various 
business and utility classes that will also be required.  If so, the best thing 
to do is create an ear archive containing both the utility jar file and the ejb 
jar file.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - error when start/run Jboss App Server 4.2.2

2008-02-19 Thread taicode
Hi, I hope to ask for help. I cannot successfully start the Jboss App Server 
4.2.2 without error. Error I have is below. Please help. Thank you. 



  | 
  | ... 
  | ...
  | ...
  | 
  | log4j:WARN Continuable parsing error 313 and column 11
  | log4j:WARN The content of element type "root" must match 
"(param*,(priority|level)?,appender-ref*)".
  | 16:47:23,112 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  | 
  | 
  | ...
  | ...  other objects in between here are of state:  CONFIGURED, so no problem 
in this area...
  | 
  | 
  | ...
  | 
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: jboss.jca:service=DataSourceBinding,name=OracleDS
  |   State: NOTYETINSTALLED
  |   Depends On Me:
  | jboss.mq:service=PersistenceManager
  | 
  | 
  | 
  |  
  |  
  |  
  | 

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

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


[jboss-user] [JNDI/Naming/Network] - Re: error when start Jboss app server 4.2.2

2008-02-19 Thread taicode
Sorry, wrong post, I will post in correct forum.

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

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


[jboss-user] [JNDI/Naming/Network] - error when start Jboss app server 4.2.2

2008-02-19 Thread taicode
Hi, I hope to ask for help.  I cannot successfully start the Jboss App Server 
4.2.2 without error.  Error I have is below.  Please help.  Thank you.


  | 
  | ... 
  | ...
  | ...
  | 
  | log4j:WARN Continuable parsing error 313 and column 11
  | log4j:WARN The content of element type "root" must match 
"(param*,(priority|level)?,appender-ref*)".
  | 16:47:23,112 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  | 
  | 
  | ...
  | ...  other objects in between here are of state:  CONFIGURED, so no problem 
in this area...
  | 
  | 
  | ...
  | 
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: jboss.jca:service=DataSourceBinding,name=OracleDS
  |   State: NOTYETINSTALLED
  |   Depends On Me:
  | jboss.mq:service=PersistenceManager
  | 
  | 
  | 
  | 

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

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


[jboss-user] [Beginners Corner] - Re: The Interested Idea of Java Web Hosting

2008-02-19 Thread PeterJ
What do you mean by "provide shared web hosting to people"? Are you saying that 
you want to host web sites or web applications for numerous people, where each 
person has his or her own "web site"?  Based on the description of cPanel, I 
think that is what you are asking. Personally, I do not know of any web hosting 
software written Java, maybe others can chime in.

Also, as far as I know there are no automatic conversion tools to convert php 
code into JSPs.



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

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


[jboss-user] [EJB 3.0] - Re: ClassCastException within an EAR deployment

2008-02-19 Thread heizenberg
I just saw what the problem is, even though I thought I already looked before.

The J2EE utility project I've deployed had the same libraries selected in both 
the tabs (J2EE Modules and Web Libraries) of the J2EE Module Dependencies 
settings (on Windows... this doesn't seem to happen on the Linux version of 
RHDS).

On looking at the deployment, it seems like every time I deploy the EAR, it 
copies the top level J2EE Utility project libraries into the root level of the 
EAR and ALSO into the lib folder of my WAR. It doesn't do this in Linux. In 
Windows, every time I unselect the utility projects in the Web Libraries tab, 
it comes back when I check the project options again. The only time this has 
worked, is when I went in and hit the 'Deselect All' button.

So the classloader issue has been straightened out for me, and I should report 
this as a RHDS bug.

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

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


[jboss-user] [JBossWS] - Re: How to setup wsse usernametoken for ejb3 based web servi

2008-02-19 Thread mjhammel
I had a similar problem and was able to resolve finding the username though 
have not been able to pull the password (haven't tried implementing a handler 
for that yet).  See this thread:

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



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

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


[jboss-user] [Beginners Corner] - Re: Migrating application from Websphere to Jboss

2008-02-19 Thread tosaurav
Thanks PeterJ, You were correct ,it's the problem with the class in onMessage 
method.Here is the code

 public void onMessage(javax.jms.Message mesg) {
try {
payGovJMSUtil = PayGovJMSUtil.getInstance();
   processMessage(mesg);
 } catch (Exception e) {
e.printStackTrace();
throw new EJBException(e.getMessage());
}
return;
}


But i copied the jar file in which this class(PayGovJMSUtil) exist in server 
deploy folder along with MDB jar. Looks like its not getting.Please tell me 
what is the class loader policy and sequence in JBOSS and which is the correct 
place to put helper jars.




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

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


[jboss-user] [JBossWS] - How to setup wsse usernametoken for ejb3 based web services?

2008-02-19 Thread xiaow
I have tried to solve this for several weeks for jboss on either 4.2.2 or 5 
beta 4 and was very frustrated. And I have easily configured this feature in 
Glassfish v3 and Oracle AS 10g. Now I work on a very simple web service 
annotated from a session bean as following:

@webservice
@stateless
public class Test{
  @Resource SessionContext context;
  public test(){
String userName =  
context.getCallerPrincipal().getName();
System.out.println("The calling user is " + userName);
  }
}

I would like to see how step by step to configure only the usernametoken wsse 
feature for the web service against an LDAP source such as openldap or active 
directory in a jboss server (any version), so that the ejb test method is 
invoked and it prints the user name of the caller in the console (or log).

Your assistance is greatly appreciated.

Wu


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

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


[jboss-user] [JBoss jBPM] - Scalabilty of event-driven state transition signalling

2008-02-19 Thread Pat Hourigan
Hi Folks, 

We have an application based on the JBPM framework that acts as an 
orchestration engine for one of our clients. Currently we are investigating an 
issue whereby the round trip time for a request is scaling in a linear fashion. 
Effectively for 1 thread we receive a round trip time of N secs, for 2 threads 
its approx 2N secs, 3 threads is 3N secs, etc. as you could imagine this is not 
ideal ;)

In order to determine the problem we went back to first principles and derived 
a threaded test case using junit to simulate our issue that operates free of 
any app server container.

One of the aread that we focused in on is the token#signal method, specifically 
when it has an event to process behind that signal. We also focussed in on the 
JBPMContext#close method.

Firstly I have a mini project that shows poor performance of an event-driven 
state signal when run in a multi-threaded test. I based the unit test on the 
test cases written in chapter 3, 
http://docs.jboss.com/jbpm/v3/userguide/tutorial.html#helloworldexample and 
http://docs.jboss.com/jbpm/v3/userguide/tutorial.html#databaseexample.


Attached at the bottom of the post is the code and configuration files 
necessary to run the tests. If you require me to zip the eclispe project 
workspace and send to you please just ask.

Effectively the results show that when the test is run for the persistent, 
state signal, event driven test, we seem to get results that show the same type 
of problem we are experiencing in our orchestration application.

We see the signal method sometimes take an extended period of time. I realise 
the signal method is a blocking method but should it happen to this extent?



Code---




  | /*
  |  * Created on 15-Feb-08
  |  */
  | import com.clarkware.junitperf.*;
  | import junit.framework.Test;
  | 
  | /**
  |  * @author patrick.hourigan
  |  */
  | public class ConcurrentTestRunner {
  | 
  | private static String testCaseType;
  | private static String testSuiteType;
  | private static int maxUsers;
  | 
  | public static Test suite() {
  | 
  | int test = 1;
  | if (testSuiteType.equalsIgnoreCase("y")
  | && testCaseType.equalsIgnoreCase("y")) {
  | test = 4;
  | }
  | 
  | if (testSuiteType.equalsIgnoreCase("y")
  | && testCaseType.equalsIgnoreCase("n")) {
  | test = 3;
  | }
  | 
  | if (testSuiteType.equalsIgnoreCase("n")
  | && testCaseType.equalsIgnoreCase("y")) {
  | test = 2;
  | 
  | }
  | 
  | Test testCase = null;
  | Test loadTest = null;
  | 
  | switch (test) {
  | 
  | case (1) :
  | /** Test for non persistent, simple state 
signalling */
  | testCase = new 
TestSimpleStateTransition("testSimpleState");
  | loadTest = new LoadTest(testCase, maxUsers);
  | break;
  | case (2) :
  | /** Test for non persistent, event driven state 
signalling */
  | testCase = new 
TestSimpleStateTransition("testEventDrivenState");
  | loadTest = new LoadTest(testCase, maxUsers);
  | break;
  | case (3) :
  | /** Test for persistent, simple state 
signalling */
  | testCase =
  | new 
TestDbPersistentStateTransition("testSimpleState");
  | loadTest = new LoadTest(testCase, maxUsers);
  | break;
  | case (4) :
  | /** Test for persistent event driven state 
signalling */
  | testCase =
  | new 
TestDbPersistentStateTransition("testEventDrivenState");
  | loadTest = new LoadTest(testCase, maxUsers);
  | break;
  | }
  | 
  | return loadTest;
  | }
  | 
  | public static void main(String[] args) {
  | // This is the thread counter. Change to set to the concurrency 
count of a test.
  | maxUsers = Integer.valueOf(args[0]).intValue();
  | 
  | testSuiteType = args[1];
  | testCaseType = args[2];
  | 
  | junit.textui.TestRunner.run(suite());
  | }
  | }
  | 


  | /*
  |  * Created on 15-Feb-08
  |  */
  | 
  | import java.util.List;
  | 
  | import junit.framework.TestCase;
  | 
  | import org.jbpm.JbpmConfiguration;
  | import org.jbpm.JbpmContext;
  | import org.jbpm.db.GraphSession;
  | import org.jbpm.graph.def.ProcessDefinition;
  | import org.jbpm.graph.exe.ProcessInstanc

[jboss-user] [Javassist user questions] - Re: adding annotations

2008-02-19 Thread gkorland
Hi Luca,
Check the AnnotationsAttribute JDoc.

ClassFile cf = ... ;
ConstPool cp = cf.getConstPool();
AnnotationsAttribute attr  = new AnnotationsAttribute(cp, 
AnnotationsAttribute.visibleTag);

Annotation a = new Annotation("Author", cp);
a.addMemberValue("name", new 

StringMemberValue("Chiba", cp));
attr.setAnnotation(a);
cf.addAttribute(attr);
cf.setVersionToJava5();

Guy

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

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


[jboss-user] [JBoss Portal] - Re: Comparing JBoss Portal to Liferay or other portal produc

2008-02-19 Thread [EMAIL PROTECTED]
Hmm, it's nice to see some spirited discussions... :)

Forums are just what their names imply: a forum for discussion. There is no 
guarantee that you will get an answer from anyone, let alone from JBoss 
developers. We try to monitor them but there's only so much we can do. 

As far as JIRA tasks go, unless the issue is deemed blocking, it probably won't 
receive much immediate consideration, though eventually they should. I will 
look at your submitted tasks right now and see what can be done about them. I'm 
sorry that you feel like your contributions is not received well enough for you 
to continue participating.

As far as receiving criticism goes, we can take constructive criticism and even 
welcome it. However, saying that we're not helpful enough on the forums or 
threatening stopping contributing is not helping either you, us, the product or 
our users... :)

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

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


[jboss-user] [Beginners Corner] - Re: ClassNotFoundException on annotated class that's definit

2008-02-19 Thread d-rock
That's kind of what I was thinking. I'm not sure how to read the verbose 
output, but it appears that they're being loaded in different classloaders. I 
get the exception within the TomcatInjectionContainer, which is loaded after 
the ActionServlet:


  | ...
  | [Loaded org.apache.struts.action.ActionServlet from 
vfsfile:/home/dbecker/tools/jboss-5.0.0.Beta4/server/default/deploy/]
  | ...
  | [Loaded org.jboss.web.tomcat.service.TomcatInjectionContainer from 
vfsfile:/home/dbecker/tools/jboss-5.0.0.Beta4/server/default/deployers/]
  | ...
  | 15:01:55,026 WARN  [TomcatInjectionContainer] could not find servlet class 
  |   org.apache.struts.action.ActionServlet
  |  in classpath when processing annotations.
  | 

If I'm reading that correctly those are two different classloaders (.../deploy 
vs .../deployers). Is that correct, or am I barking up the wrong tree? In 4.2.1 
the classloader messge is a little more specific:


  | [Loaded org.apache.struts.action.ActionServlet from 
file:/home/dbecker/tools/jboss-4.2.1.GA/server/default/tmp/deploy/tmp14312roster-exp.war/WEB-INF/lib/struts-1.2.9.jar]
  | 

But there is no TomcatInjectionContainer in 4.2.1 so I can't compare that.

Derek

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

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


[jboss-user] [Security & JAAS/JBoss] - Security role re-assignment

2008-02-19 Thread whafrog
I'm in the midst of converting a weblogic webapp to jboss.  The weblogic app 
makes heavy use of a feature in weblogic.xml where you can assign a group of 
security roles to a new role for internal use in the app, eg:

  
  | any-user
  | Admin
  | Agents
  | Partners
  |   

I can then use HttpServletRequest.isUserInRole("any-user") instead of checking 
for each.

Is there an equivalent feature in JBoss?  Or am I faced with putting long 
strings of "or"s in my code?

TIA,

Jon


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

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


[jboss-user] [JCA/JBoss] - Re: no-tx-datasource vs local-tx-datasource

2008-02-19 Thread shapirod
Thank you!  That's very helpful.

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

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


[jboss-user] [Beginners Corner] - Re: The Interested Idea of Java Web Hosting

2008-02-19 Thread Kevinul
Ah, I see, but I would like to know what I'll be needing in order to have 
provide "shared" web hosting to people. I wanted to know if their are any 
available web applications such that of cPanel, and other control panels for 
JBoss/TomCat. 

Also, I wanted to know any software I needed in order to obtain this service, 
and allow PHP/MySQL users easily migrate to JSP/MySQL. 

(Such as the beginning I obtain a dedicated server, where would I go on to 
provide this web hosting service)

Thank You for your useful information, but please answer these questions and 
make it clear to me of how to do this.

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

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


[jboss-user] [Beginners Corner] - Re: ClassNotFoundException on annotated class that's definit

2008-02-19 Thread PeterJ
It could be a classloader issue. Try setting the -verbose:class JVM option on 
the command line. This option prints out each class loader and where it was 
loaded from.  Compare the classes loaded by 4.2.1 to those loaded by 5.0 beta4. 
That might give some clues as to what is going on.

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

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


[jboss-user] [JBoss jBPM] - The foundation of the JBoss User Group Munic

2008-02-19 Thread sisepago
It`s our pleasure to announce to you the foundation of the JBoss User Group 
Munich http://www.jbug-munich.org!
The first meeting is already scheduled for the 31st March 2008 with the 
JBoss/Seam expert speaker Francis Pouatcha (technical lead at ADORSYS Ltd.). He 
will present an exciting hot topic from JBossWorld Orlando 2008 entitled "EJB3, 
SEAM, JSF and RichFaces on JBoss 4.2.0". We are looking forward to welcome you 
to an informative and enjoyable evening. To stay tuned you should register to 
our mailing list (([EMAIL PROTECTED]) on the JBUG Munich homepage 
http://www.jbug-munich.org.

Hiermit kuendigen wir die Gruendung der JBoss User Group in Muenchen an 
http://www.jbug-munich.org!
Zum ersten Treffen am 31. März 2008 erwarten wir den JBoss/Seam Experten 
Francis Pouatcha (Geschaeftsführer und Technischer Leiter ADORSYS Ltd.) mit 
einem spannenden Vortrag direkt von der JBossWorld Orlando 2008 zum Thema 
"EJB3, SEAM, JSF and RichFaces on JBoss 4.2.0". Wir freuen uns, Sie zu einem 
informativen und unterhaltsamen Abend willkommen zu heissen! Um nichts zu 
verpassen sollten Sie sich noch heute auf der Homepage der JBUG Muenchen 
http://www.jbug-munich.org fuer unsere Mailing List ([EMAIL PROTECTED]) 
registrieren.

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130535

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


[jboss-user] [Beginners Corner] - Re: ClassNotFoundException on annotated class that's definit

2008-02-19 Thread d-rock
549876 Wed Feb 13 16:27:38 CST 2008 WEB-INF/lib/struts-1.2.9.jar

The reason I'm wondering if this is specific to the annotation processing is 
because this WAR deploys fine in JBoss 4.2.1, although since 4.2.1 doesn't 
support annotations I get null pointer exceptions when I try to use the 
EntityManager.

Thanks,

Derek

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - The foundation of the JBoss User Group Munich

2008-02-19 Thread sisepago
t`s our pleasure to announce to you the foundation of the JBoss User Group 
Munich http://www.jbug-munich.org!
The first meeting is already scheduled for the 31st March 2008 with the 
JBoss/Seam expert speaker Francis Pouatcha (technical lead at ADORSYS Ltd.). He 
will present an exciting hot topic from JBossWorld Orlando 2008 entitled "EJB3, 
SEAM, JSF and RichFaces on JBoss 4.2.0". We are looking forward to welcome you 
to an informative and enjoyable evening. To stay tuned you should register to 
our mailing list (([EMAIL PROTECTED]) on the JBUG Munich homepage 
http://www.jbug-munich.org.

Hiermit kuendigen wir die Gruendung der JBoss User Group in Muenchen an 
http://www.jbug-munich.org!
Zum ersten Treffen am 31. März 2008 erwarten wir den JBoss/Seam Experten 
Francis Pouatcha (Geschaeftsführer und Technischer Leiter ADORSYS Ltd.) mit 
einem spannenden Vortrag direkt von der JBossWorld Orlando 2008 zum Thema 
"EJB3, SEAM, JSF and RichFaces on JBoss 4.2.0". Wir freuen uns, Sie zu einem 
informativen und unterhaltsamen Abend willkommen zu heissen! Um nichts zu 
verpassen sollten Sie sich noch heute auf der Homepage der JBUG Muenchen 
http://www.jbug-munich.org fuer unsere Mailing List ([EMAIL PROTECTED]) 
registrieren.

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130533

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


[jboss-user] [JNDI/Naming/Network] - The foundation of the JBoss User Group Munich

2008-02-19 Thread sisepago
It`s our pleasure to announce to you the foundation of the JBoss User Group 
Munich http://www.jbug-munich.org!
The first meeting is already scheduled for the 31st March 2008 with the 
JBoss/Seam expert speaker Francis Pouatcha (technical lead at ADORSYS Ltd.). He 
will present an exciting hot topic from JBossWorld Orlando 2008 entitled "EJB3, 
SEAM, JSF and RichFaces on JBoss 4.2.0". We are looking forward to welcome you 
to an informative and enjoyable evening. To stay tuned you should register to 
our mailing list (([EMAIL PROTECTED]) on the JBUG Munich homepage 
http://www.jbug-munich.org.

Hiermit kuendigen wir die Gruendung der JBoss User Group in Muenchen an 
http://www.jbug-munich.org!
Zum ersten Treffen am 31. März 2008 erwarten wir den JBoss/Seam Experten 
Francis Pouatcha (Geschaeftsführer und Technischer Leiter ADORSYS Ltd.) mit 
einem spannenden Vortrag direkt von der JBossWorld Orlando 2008 zum Thema 
"EJB3, SEAM, JSF and RichFaces on JBoss 4.2.0". Wir freuen uns, Sie zu einem 
informativen und unterhaltsamen Abend willkommen zu heissen! Um nichts zu 
verpassen sollten Sie sich noch heute auf der Homepage der JBUG Muenchen 
http://www.jbug-munich.org fuer unsere Mailing List ([EMAIL PROTECTED]) 
registrieren.

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130532

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - The foundation of the JBoss User Group Munich

2008-02-19 Thread sisepago
It`s our pleasure to announce to you the foundation of the JBoss User Group 
Munich http://www.jbug-munich.org!
The first meeting is already scheduled for the 31st March 2008 with the 
JBoss/Seam expert speaker Francis Pouatcha (technical lead at ADORSYS Ltd.). He 
will present an exciting hot topic from JBossWorld Orlando 2008 entitled "EJB3, 
SEAM, JSF and RichFaces on JBoss 4.2.0". We are looking forward to welcome you 
to an informative and enjoyable evening. To stay tuned you should register to 
our mailing list (([EMAIL PROTECTED]) on the JBUG Munich homepage 
http://www.jbug-munich.org.

Hiermit kuendigen wir die Gruendung der JBoss User Group in Muenchen an 
http://www.jbug-munich.org!
Zum ersten Treffen am 31. März 2008 erwarten wir den JBoss/Seam Experten 
Francis Pouatcha (Geschaeftsführer und Technischer Leiter ADORSYS Ltd.) mit 
einem spannenden Vortrag direkt von der JBossWorld Orlando 2008 zum Thema 
"EJB3, SEAM, JSF and RichFaces on JBoss 4.2.0". Wir freuen uns, Sie zu einem 
informativen und unterhaltsamen Abend willkommen zu heissen! Um nichts zu 
verpassen sollten Sie sich noch heute auf der Homepage der JBUG Muenchen 
http://www.jbug-munich.org fuer unsere Mailing List ([EMAIL PROTECTED]) 
registrieren.

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130531

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


[jboss-user] [EJB 3.0] - The foundation of the JBoss User Group Munich

2008-02-19 Thread sisepago
It`s our pleasure to announce to you the foundation of the JBoss User Group 
Munich http://www.jbug-munich.org!
The first meeting is already scheduled for the 31st March 2008 with the 
JBoss/Seam expert speaker Francis Pouatcha (technical lead at ADORSYS Ltd.). He 
will present an exciting hot topic from JBossWorld Orlando 2008 entitled "EJB3, 
SEAM, JSF and RichFaces on JBoss 4.2.0". We are looking forward to welcome you 
to an informative and enjoyable evening. To stay tuned you should register to 
our mailing list (([EMAIL PROTECTED]) on the JBUG Munich homepage 
http://www.jbug-munich.org.

Hiermit kuendigen wir die Gruendung der JBoss User Group in Muenchen an 
http://www.jbug-munich.org!
Zum ersten Treffen am 31. März 2008 erwarten wir den JBoss/Seam Experten 
Francis Pouatcha (Geschaeftsführer und Technischer Leiter ADORSYS Ltd.) mit 
einem spannenden Vortrag direkt von der JBossWorld Orlando 2008 zum Thema 
"EJB3, SEAM, JSF and RichFaces on JBoss 4.2.0". Wir freuen uns, Sie zu einem 
informativen und unterhaltsamen Abend willkommen zu heissen! Um nichts zu 
verpassen sollten Sie sich noch heute auf der Homepage der JBUG Muenchen 
http://www.jbug-munich.org fuer unsere Mailing List ([EMAIL PROTECTED]) 
registrieren.

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130529

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


[jboss-user] [EJB 3.0] - The foundation of the JBoss User Group Munich

2008-02-19 Thread sisepago
It`s our pleasure to announce to you the foundation of the JBoss User Group 
Munich http://www.jbug-munich.org!
The first meeting is already scheduled for the 31st March 2008 with the 
JBoss/Seam expert speaker Francis Pouatcha (technical lead at ADORSYS Ltd.). He 
will present an exciting hot topic from JBossWorld Orlando 2008 entitled "EJB3, 
SEAM, JSF and RichFaces on JBoss 4.2.0". We are looking forward to welcome you 
to an informative and enjoyable evening. To stay tuned you should register to 
our mailing list (([EMAIL PROTECTED]) on the JBUG Munich homepage 
http://www.jbug-munich.org.

Hiermit kuendigen wir die Gründung der JBoss User Group in Muenchen an 
http://www.jbug-munich.org!
Zum ersten Treffen am 31. März 2008 erwarten wir den JBoss/Seam Experten 
Francis Pouatcha (Geschaeftsführer und Technischer Leiter ADORSYS Ltd.) mit 
einem spannenden Vortrag direkt von der JBossWorld Orlando 2008 zum Thema 
"EJB3, SEAM, JSF and RichFaces on JBoss 4.2.0". Wir freuen uns, Sie zu einem 
informativen und unterhaltsamen Abend willkommen zu heissen! Um nichts zu 
verpassen sollten Sie sich noch heute auf der Homepage der JBUG Muenchen 
http://www.jbug-munich.org fuer unsere Mailing List ([EMAIL PROTECTED]) 
registrieren.

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130528

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


[jboss-user] [EJB 3.0] - The foundation of the JBoss User Group Munich

2008-02-19 Thread sisepago
It`s our pleasure to announce to you the foundation of the JBoss User Group 
Munich http://www.jbug-munich.org!
The first meeting is already scheduled for the 31st March 2008 with the 
JBoss/Seam expert speaker Francis Pouatcha (technical lead at ADORSYS Ltd.). He 
will present an exciting hot topic from JBossWorld Orlando 2008 entitled "EJB3, 
SEAM, JSF and RichFaces on JBoss 4.2.0". We are looking forward to welcome you 
to an informative and enjoyable evening. To stay tuned you should register to 
our mailing list (([EMAIL PROTECTED]) on the JBUG Munich homepage 
http://www.jbug-munich.org.

Hiermit kündigen wir die Gründung der JBoss User Group in Muenchen an 
http://www.jbug-munich.org!
Zum ersten Treffen am 31. März 2008 erwarten wir den JBoss/Seam Experten 
Francis Pouatcha (Geschäftsführer und Technischer Leiter ADORSYS Ltd.) mit 
einem spannenden Vortrag direkt von der JBossWorld Orlando 2008 zum Thema 
"EJB3, SEAM, JSF and RichFaces on JBoss 4.2.0". Wir freuen uns, Sie zu einem 
informativen und unterhaltsamen Abend willkommen zu heissen! Um nichts zu 
verpassen sollten Sie sich noch heute auf der Homepage der JBUG Muenchen 
http://www.jbug-munich.org für unsere Mailing List ([EMAIL PROTECTED]) 
registrieren.

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130527

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


[jboss-user] [EJB 3.0] - The foundation of the JBoss User Group Munich

2008-02-19 Thread sisepago
It`s our pleasure to announce to you the foundation of the JBoss User Group 
Munich http://www.jbug-munich.org!
The first meeting is already scheduled for the 31st March 2008 with the 
JBoss/Seam expert speaker Francis Pouatcha (technical lead at ADORSYS Ltd.). He 
will present an exciting hot topic from JBossWorld Orlando 2008 entitled "EJB3, 
SEAM, JSF and RichFaces on JBoss 4.2.0". We are looking forward to welcome you 
to an informative and enjoyable evening. To stay tuned you should register to 
our mailing list (([EMAIL PROTECTED]) on the JBUG Munich homepage 
http://www.jbug-munich.org.

Hiermit kündigen wir die Gründung der JBoss User Group in München an 
http://www.jbug-munich.org!
Zum ersten Treffen am 31. März 2008 erwarten wir den JBoss/Seam Experten 
Francis Pouatcha (Geschäftsführer und Technischer Leiter ADORSYS Ltd.) mit 
einem spannenden Vortrag direkt von der JBossWorld Orlando 2008 zum Thema 
"EJB3, SEAM, JSF and RichFaces on JBoss 4.2.0". Wir freuen uns, Sie zu einem 
informativen und unterhaltsamen Abend willkommen zu heissen! Um nichts zu 
verpassen sollten Sie sich noch heute auf der Homepage der JBUG München 
http://www.jbug-munich.org für unsere Mailing List ([EMAIL PROTECTED]) 
registrieren.

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130526

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


[jboss-user] [EJB 3.0] - xml configuration file for application

2008-02-19 Thread bfach
Hello,

Does anyone have any information about how to place an XML file on the 
classpath within an .ear file in order to access using the getResourceAsStream 
call?

I have attempted with the following ways:

Inside the application jar
Inside the ear
Inside a WEB-INF directory

Please if somebody knows the answer to this I would really appreciate it.

Thanks,

Brad

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

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


[jboss-user] [EJB 3.0] - Re: EntityManager is null

2008-02-19 Thread ALRubinger
Please paste the code that works, the code you'd like to work, and the relevant 
part of the JNDIView?

S,
ALR

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Implement digestCallback into login-config.xml

2008-02-19 Thread ragavgomatam
A salt is a random number of a fixed length. This salt must be different for 
each stored entry. It must be stored as clear text next to the hashed password. 
 A 64 bits salt is recommended in RSA PKCS5 standard. 

salt can be extracted from hash assuming 6 byte salt:

private static byte[] extractSalt(String encPass) {
  | String encPassNoLabel = encPass.substring(6);
  | 
  | byte[] hashAndSalt = 
org.apache.commons.codec.binary.Base64.decodeBase64(encPassNoLabel.getBytes());
  | int saltLength = hashAndSalt.length - SHA_LENGTH;
  | byte[] salt = new byte[saltLength];
  | System.arraycopy(hashAndSalt, SHA_LENGTH, salt, 0, saltLength);
  | 
  | return salt;
  | } 
where encPass is the  hashed string; 

/**
  | * From a password, a number of iterations and a salt,
  | * returns the corresponding digest
  | * @param iterationNb int The number of iterations of the algorithm
  | * @param password String The password to encrypt
  | * @param salt byte[] The salt
  | * @return byte[] The digested password
  | * @throws NoSuchAlgorithmException If the algorithm doesn't exist
  | */
  |public byte[] getHash(int iterationNb, String password, byte[] salt) 
throws NoSuchAlgorithmException {
  |MessageDigest digest = MessageDigest.getInstance("SHA-1");
  |digest.reset();
  |digest.update(salt);
  |byte[] input = digest.digest(password.getBytes("UTF-8"));
  |for (int i = 0; i < iterationNb; i++) {
  |digest.reset();
  |input = digest.digest(input);
  |}
  |return input;
  |}



Trust this helps


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

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


[jboss-user] [JBossCache] - Re: Cache Persistence granularity

2008-02-19 Thread debbanerjee

Once I redesigned the cache to have lots of Nodes with one value per node 
(instead of a few cache nodes with lots of values) the persistence performance 
improved dramatically. The data set size is around 100K entries; 

using 
1. file persistence my test run duration went down from 90 min to 2.5 min.
2. using BDB-J persistence duration went from  down to 30 secs.

Great. So far I haven't found any negatives using this design.

--Deb

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

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


[jboss-user] [EJB 3.0] - Re: EntityManager is null

2008-02-19 Thread kgreene
Ok,  I am very lost. Forgive me, I am new to jboss and ejbs. I've been looking 
for a solution for several hours and still have not found the answer.  I 
misspoke about the actual issue.  The dao object is not null.  I get 
NameNotFoundException because it can't find it.  When I bring up my jndi 
console it's not there, which is why I'm assuming it can't find it.

I'm calling the lookup from a message-driven bean. I didn't think this is 
considered client code and didn't think lookup would even work.

If I move the entity manager to the message-driven bean, then it works.  
However, I get an additional issue in that flush does not commit the updates to 
the database. I thought perhaps moving the entity manager to a class outside 
the message-driven bean would solve this issue; however, I have not gotten this 
to work.


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

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


[jboss-user] [JBoss Portal] - Re: Comparing JBoss Portal to Liferay or other portal produc

2008-02-19 Thread syllant
"[EMAIL PROTECTED]" wrote : Well you come and complain that '1/3 of the posts 
are not answered' it means that 2/3 of the posts *are* answered.
Who did complain ?!? You read to fast Thomas ;-) Someone asks for advices about 
JBP, I note he'll have to read this forum but I warn him that many questions 
are not answered compared to other projects. I hadn't notice this ratio when I 
had selected JBP. What's wrong with that, isn't it true ? I am not complaining, 
I have posted 5/6 times, and then I've started to search in source code rather 
than here. That's all.

"[EMAIL PROTECTED]" wrote : Also, we have ears open on design issues and a 
dedicated forum for that, if you don't participate, we can't hear your issues 
and solutions.
Bad point for you : I've filled 4 issues on Issue Tracker. First one was 
resolved, other ones are still opened without any comment (JBPORTAL-1833, 
JBPORTAL-1832, JBPORTAL-1811). Besides, you have stated I posted only questions 
in forums, I've also posted bugs and remarks, without response. This the first 
reason why I've stopped to contribute.

"[EMAIL PROTECTED]" wrote : But i've met too many people who believes that 
opensource, is a place where they can take everything (including people's time) 
without having to give back, this is not my definition of opensource. I 
probably considered you as one of those a bit too fast. Sorry. I type faster 
than i calm down ;)
I'm working with OS projects for about 10 years, I'll send patches when I'm 
able to, I've created some modest projects myself, spending some time for 
support, I think I know the rules. And one of the rules is encouraging 
discussions with users. If you don't stand any criticism, I close the 
none-debate for myself, nevermind as I'll drop JBP from our architecure for our 
next release. This is the second reason why I don't contribute.

Please, read again the discussion to see how your reaction is misplaced. And 
note the Prabhat Jha's answer...

PS : I'm not sure to post my detailed notes when I see this type of reaction. 
Maybe this was intended for...

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

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


[jboss-user] [Security & JAAS/JBoss] - Implement digestCallback into login-config.xml

2008-02-19 Thread fjaouen
Password in my database is encrypted with SHA-1 and a salt is add after the 
password.

I want to be able to validate my password using 
org.jboss.security.auth.spi.DatabaseServerLoginModule and used SHA-1 in the 
hashAlgorithm.

But I need also to add my salt to the password.

I see I can do it using digestCallback. So made an implementation of this 
interface and put it in my login-config.xml.

It is called but now I need to know exactly what to code ?

Do I code the postDigest or preDigest ? And how do I add my salt ?

Do you have any code as example ?

Thank you !

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Start Web Service with JBoss service

2008-02-19 Thread PeterJ
I have never used ADempiere, but looking at the web site it looks like it has 
its own server so you would have to set up a separate service (using 
Javaservice) to run it. Then you have to tell the operating system to not run 
the ADempiere service until after it runs the JBossAS service. You never said 
which OS you are running, so I will assume Windows - use the Dependencies tab 
on the ADempiere service to indicate that it depends on the JBossAS service.

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

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


[jboss-user] [JBoss Portal] - Re: 2.6.4-GA (WSRP): Problem getting service description for

2008-02-19 Thread [EMAIL PROTECTED]
I am not certain it's a firewall issue but the error you're seeing: 
org.jboss.ws.WSException: Invalid HTTP server response [502] - Proxy Error ( 
The host ser
  | ver is unreachable.  )
seems to indicate as much. There seems to be some kind of error at the network 
level which makes it quite difficult to diagnose remotely.

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

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


[jboss-user] [JBoss Portal] - Re: tooltip window-state string localized?

2008-02-19 Thread PeterJ
What do you mean by "portlet images function"? Are you talking about the 
tooltips for the buttons such as minimize and maximize?  

In 2.4.1, those text strings are hard-coded in org.jboss.portal.WindowState. (I 
checked 2.6.4, still hard-coded.)

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

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


[jboss-user] [JBoss Messaging] - Re: Detected failure on control connection

2008-02-19 Thread timfox
Hello Wickus-

Any chance you could try with 1.4.0.SP3 and remoting 2.2.2.SP4?

Several things have been fixed in remoting since the version you are using.

If you're using the supported EAP 4.3 configuration, you'll already be using 
that.

Cheers

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

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


[jboss-user] [JBoss Messaging] - Re: Detected failure on control connection

2008-02-19 Thread martin.wickus
I am seeing what I believe is the same. 

Environment in this case using:
JBoss Messaging 1.4.0.GA
JBoss Remoting  2.2.2.SP1

Seeing the following warning:

2008-02-18 13:53:43,993 WARN  
[org.jboss.remoting.transport.bisocket.BisocketServerInvoker] [EMAIL 
PROTECTED]: detected failure on control connection Thread[control: 
Socket[addr=/10.140.177.50,port=58029,localport=1654],5,main] 
(a3w4x10-9m4crq-fcsan8o9-1-fcsan9pl-9: requesting new control connection
  | 2008-02-18 13:53:43,993 DEBUG 
[org.jboss.remoting.transport.bisocket.BisocketClientInvoker] getting secondary 
locator
  | 

This continues for a while then eventually I get exception saying could not 
connect. I guess at that point I've exhausted the connections in the client 
pool.

However, before I get the could not connect exception, there is a long period 
where I can still send JMS messages, yet they never end up on my queue. No 
JMSException reported either.

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

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


[jboss-user] [JBoss Portal] - Re: 2.6.4-GA (WSRP): Problem getting service description for

2008-02-19 Thread kahotep
"[EMAIL PROTECTED]" wrote : The login at the INFO can be ignored for now. Now, 
for the other issue, it seems that Machine2 is located behind a firewall... 
Please, see: http://wiki.jboss.org/wiki/Wiki.jsp?page=WSRPOfflineInstructions

Hi Chris,

Thanks for getting back to me so quickly.  Both of the machines are located 
behind the same corporate firewall, and they are on the same router on my desk.

I checked the settings on the Windows machine and noted that the Windows 
Firewall is disabled, and there don't appear to be any other firewalls enabled 
through other programs such as Symantec's Anti Virus.

Though it doesn't seem as if there should be an issue, since the firewall is 
not between the two machines, I still set the firewall settings, as prescribed 
in the document.

JAVA_OPTS="-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 
-Dsun.rmi.dgc.server.gcInterval=360 -Dhttp.proxyHost=10.120.12.169 
-Dhttp.proxyPort=8080 -DproxySet=true"

Are you certain that the issue is with a firewall?  The ports appeared to be 
open, when I did the portscan.  I am able to access the portal page itself from 
Machine1.  It seems as if they should be able to talk to each other by other 
means as well (WSRP) unless there is something I am missing.

Thanks


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

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


[jboss-user] [Beginners Corner] - Re: Inability to Run a JSF Application on JBoss

2008-02-19 Thread ManiCY
"[EMAIL PROTECTED]" wrote : You are trying to use the JSF RI.  You should 
either remove MyFaces from JBoss or remove the RI from your application.
  | 
  | See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossFaces
  | 
  | Stan
Sorry, haven't seen this on the page I came from - this solved my problem, 
thank you


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

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


[jboss-user] [JBoss jBPM] - Re: jBPM Logo?

2008-02-19 Thread pietermartin
Halo 

I would like to display a jbpm logo on the site I am currently  working on.

Did you get round to digging in your inbox?

If it exist can you please share it.

Cheers
Pieter

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

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


[jboss-user] [JBoss Portal] - Re: 2.6.4-GA (WSRP): Problem getting service description for

2008-02-19 Thread kahotep
"[EMAIL PROTECTED]" wrote : The log message that you have posted are only INFO. 
This has been known logging issue with the webservices that's bundled with 
2.6.4 and does not give much insight into problems.
  | 
  | Chris would be able to elaborate more but in mean time, can you consume the 
portlet in machine1 itself?

Sorry for the confusion, I'm still early in my understanding of the logging and 
debugging procedures.

I'm guessing that you are referring to the "Self" consumer on Machine1.  This 
"self" consumer is running fine.

All I am trying to do us consume the CurrentUsersPortlet from Machine2 with 
Machine1.  I chose to do this merely for testing purposes, so I could be sure 
that there are no issues consuming/producing between the two portals.

I hope  this answers your questions.  Thanks for all of your help.

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

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


[jboss-user] [Beginners Corner] - Re: Migrating application from Websphere to Jboss

2008-02-19 Thread PeterJ
It found the parent class just fine.  Note the first line of the stack trace:

 at gov.uspto.ram.agency.mdb.AbstractEaiMDB.onMessage(AbstractEaiMDB.java:46)

Could you post the code for the onMessage method and identify line 46?

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

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


[jboss-user] [JBoss Portal] - Re: 2.6.4-GA (WSRP): Problem getting service description for

2008-02-19 Thread [EMAIL PROTECTED]
The login at the INFO can be ignored for now. Now, for the other issue, it 
seems that Machine2 is located behind a firewall... Please, see: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=WSRPOfflineInstructions

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

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


[jboss-user] [JBossWS] - Re: Change the endpoint address in runtime using Dispatch

2008-02-19 Thread cavani
I have this problem too, but don't consider like a bug.

I work it around with (after read many jbossws code):


  | service.addPort(portName, SOAPBinding.SOAP11HTTP_BINDING, endpointAddress);
  | 

where "endpointAddress" is your "url" and "portName" is the same "portQName".

this must be before dispach creation.

Thanks,

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

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


[jboss-user] [JBoss Portal] - Problem with the method resolve(RelativePath)

2008-02-19 Thread devfree
I'm testing sample of IPC, and I have the part of the next code:

PortalNode thisNode = req.getPortalNode().getParent(); 
  |  // Get the Node in the Portal hierarchy tree known as 
"../default"
  |  PortalNode linkToNode = thisNode.resolve("../default");

the problem is in the method resolve because when comment these line it's ok, 
Why can't use this method in my code or exists any configuration more. plase 
help me. bytess

JBoss AS: 4.2.2.GA
JBboss-portal: 2.6.3.GA
JDK: 1.6.0_04

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

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


[jboss-user] [JBoss Portal] - Re: 2.6.4-GA (WSRP): Problem getting service description for

2008-02-19 Thread [EMAIL PROTECTED]
The log message that you have posted are only INFO. This has been known logging 
issue with the webservices that's bundled with 2.6.4 and does not give much 
insight into problems.

Chris would be able to elaborate more but in mean time, can you consume the 
portlet in machine1 itself?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: problem deploying an aplication and connect with oracle

2008-02-19 Thread PeterJ
What are the contents of your *-ds.xml file?

Did you change anything in the server/default/conf/login-config.xml file?

Did you remove any of the files from server/default/conf/props?

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

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


[jboss-user] [JBoss Portal] - Re: 2.6.4-GA (WSRP): Problem getting service description for

2008-02-19 Thread kahotep
I looked deeper into the logs and found the following:

2008-02-19 12:09:50,144 DEBUG [org.jboss.portal.wsrp.consumer.ProducerInfo] 
Caught Exception in getServiceDescription:
  | 
  | java.rmi.RemoteException: Call invocation failed; nested exception is: 
  | java.io.IOException: Could not transmit message
  | at 
org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:536)
  | at 
org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:277)
  | at 
org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:151)
  | at $Proxy282.getServiceDescription(Unknown Source)
  | at 
org.jboss.portal.wsrp.consumer.ProducerInfo.getUnmanagedServiceDescription(ProducerInfo.java:618)
  | at 
org.jboss.portal.wsrp.consumer.ProducerInfo.internalRefresh(ProducerInfo.java:303)
  | at 
org.jboss.portal.wsrp.consumer.ProducerInfo.detailedRefresh(ProducerInfo.java:254)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173)
  | at 
org.jboss.portal.wsrp.consumer.ProducerInfo_$$_javassist_106.detailedRefresh(ProducerInfo_$$_javassist_106.java)
  | at 
org.jboss.portal.wsrp.consumer.WSRPConsumerImpl.refresh(WSRPConsumerImpl.java:520)
  | at 
org.jboss.portal.wsrp.admin.ui.ConsumerManagerBean.internalRefresh(ConsumerManagerBean.java:230)
  | at 
org.jboss.portal.wsrp.admin.ui.ConsumerManagerBean.refreshConsumer(ConsumerManagerBean.java:215)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at com.sun.el.parser.AstValue.invoke(AstValue.java:130)
  | at 
com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:274)
  | at 
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
  | at 
com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
  | at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:109)
  | at 
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)
  | at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)
  | at 
org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
  | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.processAction(MyFacesGenericPortlet.java:246)
  | at 
org.jboss.portal.faces.loader.FacesPortlet.processAction(FacesPortlet.java:83)
  | at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeAction(PortletContainerImpl.java:458)
  | at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:401)
  | at 
org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
  | at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeRequired$aop(TransactionInterceptor.java:106)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
  | at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
  | at 
org.jboss.portal.core.aspects.portlet.Transacti

[jboss-user] [Beginners Corner] - Re: Windows vs Linux

2008-02-19 Thread PeterJ
We have done a lot of testing of a JBossAS-based Java EE environment using both 
Linux (RHEL, SUSE) and Windows (Server 2000, Server 2003) on the exact same 
hardware (4 to 32 cores) and have found the performance to be roughly equal.

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

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


[jboss-user] [JBoss Portal] - 2.6.4-GA (WSRP): Problem getting service description for pro

2008-02-19 Thread kahotep
This is a rather unusual problem that I am experiencing this morning.

I created a WSRP consumer on my Machine2, to consume remote portlets from 
Machine1.  This worked very well, Machine2 has been able to consume remote 
portlets from the Machine1 without any problems.

However, when I attempted to create a consumer on Machine1 to consume WSRP from 
Machine2, I received an error:

Problem getting service description for producer cobra_server2, please see the 
logs for more information. Cause: Could not transmit message.

I looked in the logs, and this is what I found on Machine1:

11:28:51,665 INFO  [WSRPConsumerImpl] Consumer with id 'cobra_server2' started
  | 11:28:51,665 INFO  [WSRPConsumerImpl] Consumer with id 'cobra_server2' 
activated
  | 11:28:52,089 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}Fault
  | 11:28:52,089 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}InvalidCookieFault
  | 11:28:52,090 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}UnsupportedMimeTypeFault
  | 11:28:52,090 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}InconsistentParametersFault
  | 11:28:52,090 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}UnsupportedLocaleFault
  | 11:28:52,091 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}InvalidHandleFault
  | 11:28:52,091 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}InvalidRegistrationFault
  | 11:28:52,091 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}InvalidUserCategoryFault
  | 11:28:52,091 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}PortletStateChangeRequiredFault
  | 11:28:52,091 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}UnsupportedWindowStateFault
  | 11:28:52,091 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}UnsupportedModeFault
  | 11:28:52,091 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}InvalidSessionFault
  | 11:28:52,091 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}MissingParametersFault
  | 11:28:52,091 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}OperationFailedFault
  | 11:28:52,091 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}AccessDeniedFault
  | 11:28:52,109 WARN  [ServiceObjectFactory] Unable to narrow port selection 
for 
  | UnifiedPortComponentRef
  |  
serviceEndpointInterface=org.jboss.portal.wsrp.core.WSRP_v1_ServiceDescription_PortType
  |  portQName=null
  |  enableMTOM=false
  |  portComponentLink=null
  |  callProperties=[]
  |  stubProperties=[]
  |  configName=null
  |  configFile=null
  | 11:28:52,508 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}Fault
  | 11:28:52,508 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}InvalidCookieFault
  | 11:28:52,508 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}UnsupportedMimeTypeFault
  | 11:28:52,509 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}InconsistentParametersFault
  | 11:28:52,509 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}UnsupportedLocaleFault
  | 11:28:52,509 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}InvalidHandleFault
  | 11:28:52,509 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}InvalidRegistrationFault
  | 11:28:52,510 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}InvalidUserCategoryFault
  | 11:28:52,510 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}PortletStateChangeRequiredFault
  | 11:28:52,510 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}UnsupportedWindowStateFault
  | 11:28:52,510 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}UnsupportedModeFault
  | 11:28:52,510 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}InvalidSessionFault
  | 11:28:52,510 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}MissingParametersFault
  | 11:28:52,510 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}OperationFailedFault
  | 11:28:52,510 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}AccessDeniedFault
  | 11:28:52,525 WARN  [ServiceObjectFactory] Unable to narrow port selection 
for 
  | UnifiedPortComponentRef
  |  serviceEndpointInterface=org.jboss.portal.wsrp.core.WSRP_v1_Markup_PortType
  |  portQName=null
  |  enableMTOM=false
  |  portComponentLink=null
  |  callProperties=[]
  |  stubProperties=[]
  |  configName=null
  |  configFile=null
  | 11:28:52,889 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}Fault
  | 11:28:52,889 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}InvalidCookieFault
  | 11:28:52,890 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}UnsupportedMimeTypeFault
  | 11:28:52,890 INFO  [STDOUT] no object for 
{urn:oasis:names:tc:wsrp:v1:types}InconsistentParametersFault
  | 11:28:52,890 INFO  [STDOUT] 

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: org.jboss.deployment.DeploymentException: ManagedConnect

2008-02-19 Thread fengbin98
All it does is call the StartService() in 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool.

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

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


[jboss-user] [JBoss Portal] - Re: Using JBoss Portal and CAS to implement SSO for external

2008-02-19 Thread [EMAIL PROTECTED]
Andergast-

As Soon5 said in an earlier post, the fundamental problem has to do with 
propagation of the CAS token to the external application which is running 
inside the Portal page as an IFRAME.

Web SSO in general relies on passing authentication assertions via Cookies. Due 
to security reasons, a Browser is not allowed to send this cookie to external 
applications that are exposed via an IFRAME.

What you need to do is integrate this external web application into JBoss 
Portal using a Portlet Bridge. In this case, the CAS integration with JBoss 
Portal will properly propagate the authenticated Portal session to your Portlet.

On the standalone application side, if within the same active CAS session, you 
access the external web application outside the Portal context, whatever CAS 
integration you are using for the standalone web application will authenticate 
your CAS token and you will have Single Sign On into your standalone web 
application.

Without a Portlet Bridge, I am afraid your IFRAME cannot receive the CAS token. 
This is a Browser architecture limitation (for obvious reasons). It has nothing 
to do with IFRAME running on JBoss Portal page. You will get the same result 
with two simple web applications exposing each other via an IFRAME, integrated 
via CAS

Sorry for the long reply, but I hope the explanation throws some light on your 
issue

Thanks

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

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


[jboss-user] [JBoss Portal] - Re: Errors while running WSRP behind firewall in 2.6.3

2008-02-19 Thread swisst
Playing devil's advocate here because I think the debate is important!

Yeah, installation of WebSphere Portal is complicated...the 11 disk thing bums 
be out.  I think that is the biggest complaint from IBM users (mine too).  
JBoss Portal was s easy to get going, that was very refreshing!

I don't find the support mechanism very cumbersome, in fact their patch 
delivery mechanism is very slick.  I like the idea of patching my installation 
vs replacing the install.  My biggest complaint is finding the patch I need or 
even knowing when a patch has been released.  I guess that could be a separate 
discussion.

The EJB3 feature is delivered via their "Feature Pack" mechanism.  If you have 
used WebSphere in the past, one of the huge complaints was that they were 
forever lagging in keeping up with the Java standards.  This new feature pack 
idea is how they plan on keeping their server line current, without having to 
move to a new version of the product.  Which is very appealing to the people 
that have dozens (or hundreds) of instances running.  I don't see this as a 
negative, but as an improvement on one of their previous shortcomings.  Only 
time will tell if addresses the issue at hand.

I'm not sure about bloated and slow, I guess we'd need to see some data on 
that.  WebSphere does have a larger footprint, but that alone does not mean 
bloated or slow.

Where is your area, because I'd love to get $200/hr!  My last two projects have 
been as consultants...one for WebSphere Portal, one for JBoss Portal.  My final 
rate to the client has been the same for both projects.  I know if you go to 
IBM directly they charge a premium.  Yes they have a huge consulting arm and 
you don't always get what you pay for.  I guess the message is to stay away 
from their consulting arm, there are plenty of other people to get consulting 
services from other than IBM.

As far as the codebase for IBM Portal, their first version (many years ago) was 
Jetspeed with IBM stuff on top.  That was long before JSR 168 (which they were 
the lead on the spec)...since then it has grown/changed dramatically.  Nobody 
in the industry is free from this practice, ask JBoss about their ESB.  

My experience with JBoss Portal has been very positive, as has my experience 
with WebSphere Portal.  There are positives and negatives to each...I will say 
this, in the open-source portal space, JBoss Portal seems to be the best.  I 
have tried (not delivered applications) Liferay and JetSpeed2.



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

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


[jboss-user] [Beginners Corner] - Re: The Interested Idea of Java Web Hosting

2008-02-19 Thread PeterJ
I think what you are asking is how to get started creating web apps using 
JBossAS and JSP.  And you also want to know about Java portals.

For getting started, any tutorial on JSPs should work (google for "jsp 
tutorial"). But note that in Java, unlike in PHP, there are several different 
"platforms" (JBossAS is one of those platforms) on which you can deploy your 
JSPs and each platform uses a slightly different deployment mechanism. Some 
good books that will get you started include:

JBoss at Work by Marrs and Davis
JBoss: A Developer's Guide by Richards and Griffith

You can find links to both on the documentation page at 
http://labs.jboss.com/jbossas/docs/

Both books start by describing how to develop, deploy and run a simple hello 
world app. Though both are based on an older version of JBossAS. 

Or you could download the free first chapter for JBoss in Action at 
http://www.manning.com/jamae, which also covers a simple hello world program, 
but that book is based on the upcoming JBossAS 5.0.

As for portal, take a look at the JBoss Portal. The documentation is very good 
and should get you up and running once you have an understanding of JSPs.

Finally, to access your data in MySQL, take a look at JBoss Seam. Once again, 
excellent documentation.

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

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


[jboss-user] [JBossCache] - Re: Manual eviction not working

2008-02-19 Thread dmary
nobody ??

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

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


[jboss-user] [Beginners Corner] - Re: Inability to Run a JSF Application on JBoss

2008-02-19 Thread ManiCY
I have exactly the same problem using jboss 4.0.5
When I deploy my war to my local Tomcat 1.6.0_03, it works fine but fails on 
jboss.

Can anybody help?

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

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


[jboss-user] [JBoss Portal] - Re: Errors while running WSRP behind firewall in 2.6.3

2008-02-19 Thread kahotep
Hey Swisst,

The costs I speak of are not only the licensing ones, but also the installation 
and support costs, which include "time to install."

For evaluation purposes, I did an install on a copy we have at the office here.

To install WebSphere Portal 6.0, I had to use a set of 11 CDs, then I had to 
download a "fix pack" which was about 500mb.  I thought I was done, and it 
would work for my purposes, but wrong I was, and I had to install another fix 
pack in order to get EJB 3 going.

Not only this, but the whole WebSphere package is bloated and slow; it requires 
far more hardware infrastructure than JBoss as well.

With JBoss Portal, I had the whole package downloaded and installed in 20 
minutes.  Although I wasn't familiar with it, or with portal programming in 
general, I was able to configure it to work with our database very easily.

Another issue that should be considered is the cost of support.  I have seen 
consultants with experience in WebSphere paid almost $200/hr in my area.  This 
quickly escalates into the tens of thousands I spoke of.  Going to IBM for help 
is not going to be cheap either; one of our consultants noted that IBM 
routinely bills $700/hr for consultants,  then hires someone for 50-60 hr to 
get the job done, pocketing the difference.

I like JBoss Portal because it is light-weight, simple and open-source.  In 
contrast, IBM's WebSphere Portal requires far more hardware, has proprietary 
source code, and takes much longer to install and configure.

IBM "built" their portal mostly from acquisitions, so basically it is a hodge 
podge of different pieces from various acquisitions.  Thats not really very 
innovative imo.

I don't like the way they fool companies into forking over millions of dollars 
for their products, and I especially dislike the half-assed work I've seen them 
do on pieces that were sub-contracted off of contracts I've worked on.

Anyhow, thats just my two cents on the matter.

"swisst" wrote : Well to be fair in your comparison, you should get your 
licensing costs for WebSphere Portal straight.  This is a good place to start 
for the low end:
  | 
  | 
https://www-112.ibm.com/software/howtobuy/buyingtools/paexpress/Express?P0=E1&part_number=D59VHLL,D59VKLL,D61KFLL&catalogLocale=en_US&locale=en_US&country=USA&PT=html
  | 
  | Also, to continue a fair comparison, it would be nice to know the JBoss 
support contract rates.
  | 
  | Having delivered applications on both platforms, my choice would be 
WebSphere Portal.  I think purchasing a support contract from JBoss would have 
made a huge difference, unfortunately, the company saw no value. 
  | 
  | I would love to see a side-by-side comparison, sans all of the anecdotes... 
  | 



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

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


[jboss-user] [JBoss Portal] - Re: Comparing JBoss Portal to Liferay or other portal produc

2008-02-19 Thread [EMAIL PROTECTED]
Thank you for the support swisst and thanks for the time you spend on answering 
messages in the forums !

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Running JBoss as non-root user while listening on ports

2008-02-19 Thread zzzz8
Actually, I am using JBoss Native - but I don't see any options for running  on 
port 80 as a non superuser.  Is there any way I can do it with JBoss Native?

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

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


[jboss-user] [JBoss Portal] - Re: Comparing JBoss Portal to Liferay or other portal produc

2008-02-19 Thread swisst
My own two cents

Your employer has two choices when it comes to paying for JBoss Portal.  Either 
your employer is going to pay for your time to figure out your issues (or lack 
of understanding) with using JBoss portal, or they could pay for training and a 
support contract.  I wish my employer would have bought a support contract!

I completely agree with Thomas.  If he and the other developers spend all of 
their time on unpaid support, this product would go nowhere!  For all of us on 
the free plan, this is a community effort.

There is no free lunch!  Either pay the upfront costs, or pay them with your 
research time.  Fortunately there is a lot of documentation, this forum, the 
wiki (please switch to Confluence :-) ),  and as a last resort, step through 
the code!

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

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


[jboss-user] [JNDI/Naming/Network] - Re: jndi connecting problem

2008-02-19 Thread jaikiran
anonymous wrote : No, client doesn't have org.jnp.server.* package. this class 
should be downloaded from server dynamically during invocation. 

I did not get this. You are using these classes for JNDI lookup from the 
client. So shouldn't the jar containing these class files be available in the 
client's classpath? Did you try adding the jbossall-client.jar in the classpath 
of the client application?

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

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


[jboss-user] [Beginners Corner] - Re: ClassNotFoundException on annotated class that's definit

2008-02-19 Thread jaikiran
Where have you placed the struts.jar in the war file? Post the output of

jar -tf myApp.war

where myApp is the name of your war file.

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

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


[jboss-user] [JBoss Portal] - Re: Comparing JBoss Portal to Liferay or other portal produc

2008-02-19 Thread [EMAIL PROTECTED]
anonymous wrote : 'll try to sum up them in another post later 
(build/deployment process, layout/theme architecture, page definitions, webapps 
architecture, ...) to be more constructive than here :-) 

I am interested in your post that you have mentioned as well.

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

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


[jboss-user] [JBoss Portal] - tooltip window-state string localized?

2008-02-19 Thread den74
anyone know if it is possible to localize the tooltip shown on the portlet 
images function?
I'm using JBoss Portal 2.4.2 boudled with jboss as

thx

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

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


[jboss-user] [Security & JAAS/JBoss] - Identity stores & JBoss AS 4.2.2.GA bug

2008-02-19 Thread msystems
'Future Roadmap' -  JBoss World Berlin:

anonymous wrote : 
  | Add support for connecting with more Identity Stores 
  | like Active Directory, Windows Logon, SiteMinder etc
  | 

When will JBoss SSO support it, e.g. SiteMinder?

And what about the JBoss AS 4.2.2.GA bug:

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

When will it be solved?

I'm using JBoss Seam and I would really like to use JBoss SSO together with 
JBoss Seam security management.

In my opinion it must be a high priority to get JBoss SSO working with JBoss 
Seam 2 and JBoss AS 4.2.2.GA ;-)

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: org.jboss.deployment.DeploymentException: ManagedConnect

2008-02-19 Thread jaikiran
anonymous wrote :  at 
org.jboss.resource.connectionmanager.ManagedConnectionPool.startService(ManagedConnectionPool.java:291)
  | at com.wire.db.ManagedConnectionPoolProxy.doStartService(DataUtil.java:718) 

What is the doStartService in ManagedConnectionPoolProxy (which is not a JBoss 
class) trying to do? Can you post the code?


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

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


[jboss-user] [JBoss Portal] - Re: Deployment of portlets - custom descriptors

2008-02-19 Thread swisst
The way I understand it is that these files are completely optional.  All of 
what is done in these files can be done through the Admin portal.

With that said, we really like defining these files.  It means we can drop our 
application in on any JBoss portal server and have it configured for us.  Our 
layout is pretty static and it's the only way I know of to manage the 
configuration and easily duplicate the configuration through our environments 
(dev, qa, uat, prod).

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

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


[jboss-user] [Clustering/JBoss] - Re: JNDIClientConfiguration in cluster

2008-02-19 Thread [EMAIL PROTECTED]
http://labs.jboss.com/file-access/default/members/jbossas/freezone/docs/Clustering_Guide/beta422/html/clustering-jndi.html

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

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


[jboss-user] [JBoss Portal] - Re: Spring MVC Portlet framework for Development

2008-02-19 Thread swisst
I guess I am confused by this statement:

anonymous wrote : I tried the Spring MVC Porlet framework example but not able 
to understand whether we can have Servlet as the base request handler on top of 
which I can place the MVC portlet framework?

Let's take a step back...you say you are new to Spring, have you used Struts 
before?  If so, think of them as analogous in the Servlet (typical web app) 
world.  **Calm down Spring guru's, I know there is a lot more to Spring, we are 
just talking MVC.

Now, move into the Portlet world...there is no DispatcherServlet, however, 
there is a DispatcherPortlet that will delegate all of the requests to the 
proper Controllers (think Struts Actions).  The Spring portlet framework class 
structure mirrors that of it's Servlet cousin, but the starting point is not a 
Servlet, rather it is a Portlet.  

There are countless books on the Spring Framework (I like the "..In Action" 
series myself).  Pick up one of these books, and it will help you to learn 
Spring for the Servlet world.  Just remember that most tutorials for the 
Servlet world will transfer to the Portlet world, thanks to the mirrored class 
structure.

Does that help?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Running JBoss as non-root user while listening on ports

2008-02-19 Thread gabewong
You may consider Apache WebServer as a proxy on port 80

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

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


[jboss-user] [Beginners Corner] - Error when conecting with a remote object from MBean

2008-02-19 Thread ovistanciu
Hello.

I have a remote server and a client in the form of an MBean, designed following 
the Serialization Server example from JBoss Remoting.

The Server

  | import javax.management.MBeanServer;
  | 
  | import org.jboss.remoting.InvocationRequest;
  | import org.jboss.remoting.InvokerLocator;
  | import org.jboss.remoting.ServerInvocationHandler;
  | import org.jboss.remoting.ServerInvoker;
  | import org.jboss.remoting.callback.InvokerCallbackHandler;
  | import org.jboss.remoting.transport.Connector;
  | 
  | import ro.ebsoft.doorcontrol.comm.common.CommModuleMain;
  | import ro.ebsoft.doorcontrol.interfaces.CommModule;
  | 
  | public class Main {
  | 
  | private static String transport = "rmi";
  | private static String host = "localhost";
  | private static int port = 5400;
  | 
  | private static CommModule response;
  | 
  | public void setupServer(String locatorURI) throws Exception {
  | InvokerLocator locator = new InvokerLocator(locatorURI);
  | System.out.println("Starting remoting server with locator URI 
of: "
  | + locatorURI);
  | Connector connector = new Connector(locator);
  | 
  | connector.create();
  | 
  | SampleInvocationHandler invocationHandler = new 
SampleInvocationHandler();
  | connector.addInvocationHandler("CommModule", invocationHandler);
  | 
  | connector.start();
  | }
  | 
  | // rmi server main class
  | public static void main(String args[]) {
  | 
  | String locatorURI = transport + "://" + host + ":" + port
  | + "/?serializationtype=jboss";
  | Main main = new Main();
  | 
  | try {
  | response = new CommModuleMain();
  | main.setupServer(locatorURI);
  | while (true) {
  | Thread.sleep(1000);
  | }
  | } catch (Exception e) {
  | e.printStackTrace();
  | }
  | }
  | 
  | public static class SampleInvocationHandler implements
  | ServerInvocationHandler {
  | 
  | @Override
  | public void addListener(InvokerCallbackHandler arg0) {
  | }
  | 
  | @Override
  | public Object invoke(InvocationRequest invocation) throws 
Throwable {
  | System.out.println("Invocation request is "
  | + invocation.getParameter());
  | 
  | return new CommModuleMain();
  | }
  | 
  | @Override
  | public void removeListener(InvokerCallbackHandler arg0) {
  | }
  | 
  | @Override
  | public void setInvoker(ServerInvoker arg0) {
  | }
  | 
  | @Override
  | public void setMBeanServer(MBeanServer arg0) {
  | }
  | 
  | }
  | }
  | 

The MBean class

  | package ro.ebsoft.doorcontrol.mbean.engine;
  | 
  | import org.jboss.remoting.Client;
  | import org.jboss.remoting.InvokerLocator;
  | import org.jboss.system.ServiceMBeanSupport;
  | 
  | import interfaces.CommModule;
  | 
  | public class CommEngine extends ServiceMBeanSupport implements 
CommEngineMBean {
  | 
  | private static String transport = "rmi";
  | private static String host = "localhost";
  | private static int port = 5400;
  | 
  | public String getMessage() {
  | return message;
  | }
  | 
  | public void setMessage(String message) {
  | this.message = message;
  | }
  | 
  | public void printMessage(){
  | log.info(message);
  | }
  | 
  | protected void startService() throws Exception{
  | log.info("Starting CommModuleMBean");
  | String locatorURI = transport + "://" + host + ":" + port + 
"/?serializationtype=jboss";
  | log.info("Connecting to " + locatorURI);
  | //String locatorURI = transport + "://" + host + ":" + port;
  | 
  | InvokerLocator locator = new InvokerLocator(locatorURI);
  | Client remotingClient = new Client(locator);
  | remotingClient.connect();
  | 
  | try{
  | CommModule cm = 
(CommModule)remotingClient.invoke("CommModule");
  | }
  | catch(Throwable t){
  | t.printStackTrace();
  | }
  | }
  | 
  | protected void  stopService() throws Exception{
  | log.info("Stopping with message: " + message);
  | }
  | 
  | //setters & getters
  | }
  | 

When I run both the server and a similar client (which is not an MBean), all 
goes well. But when I deploy my client as a .sar in the app server, I get

  |  ERROR [MainDeployer] Could not create deploymen

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: org.jboss.deployment.DeploymentException: ManagedConnect

2008-02-19 Thread fengbin98
Jboss 4.2.2GA
Jave: SDK 1.5

It seems to me that the problem is the application fails to get a database 
connection handle from the jboss server.  But I am not sure whether it is 
caused by the fact that Jboss server is not running or the fact that the server 
config is wrong.   Please help.

1112 [main] DEBUG org.jboss.util.NestedThrowable  - 
org.jboss.util.NestedThrowable.parentTraceEnabled=true
1112 [main] DEBUG org.jboss.util.NestedThrowable  - 
org.jboss.util.NestedThrowable.nestedTraceEnabled=false
1112 [main] DEBUG org.jboss.util.NestedThrowable  - 
org.jboss.util.NestedThrowable.detectDuplicateNesting=true
1112 [main] ERROR com.wire.db.DataUtil  - Exception caught in 
setupDataSource(): org.jboss.deployment.DeploymentException: 
ManagedConnectionFactory not set!
1134 [main] ERROR com.wire.db.DataException  - Exception thrown while 
initializing DataSource 
org.jboss.deployment.DeploymentException: ManagedConnectionFactory not set!
at 
org.jboss.resource.connectionmanager.ManagedConnectionPool.startService(ManagedConnectionPool.java:291)
at 
com.wire.db.ManagedConnectionPoolProxy.doStartService(DataUtil.java:718)
at com.wire.db.DataUtil.setupDataSource(DataUtil.java:358)
at com.wire.db.DataUtil.setupDataSource(DataUtil.java:241)
at com.wire.db.DataUtil.setupDataSource(DataUtil.java:140)
at com.wire.db.DbConnUtil.getContext(DbConnUtil.java:109)
at com.wire.db.DbConnUtil.getConnection(DbConnUtil.java:40)
at com.wire.db.DbConn.getConnection(DbConn.java:180)
9563 [main] ERROR com.wire.db.DbConn  - com.wire.db.DbConn::getConnection: 
Failed to get a connection.
com.wire.db.DataException: Exception thrown while initializing DataSource 
at com.wire.db.DataUtil.setupDataSource(DataUtil.java:474)
at com.wire.db.DataUtil.setupDataSource(DataUtil.java:241)
at com.wire.db.DataUtil.setupDataSource(DataUtil.java:140)
at com.wire.db.DbConnUtil.getContext(DbConnUtil.java:109)
at com.wire.db.DbConnUtil.getConnection(DbConnUtil.java:40)
at com.wire.db.DbConn.getConnection(DbConn.java:180)
Caused by: org.jboss.deployment.DeploymentException: ManagedConnectionFactory 
not set!
at 
org.jboss.resource.connectionmanager.ManagedConnectionPool.startService(ManagedConnectionPool.java:291)
at 
com.wire.db.ManagedConnectionPoolProxy.doStartService(DataUtil.java:718)
at com.wire.db.DataUtil.setupDataSource(DataUtil.java:358)

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

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


[jboss-user] [JBoss Portal] - Re: Spring MVC Portlet framework for Development

2008-02-19 Thread gudram
Thank you Swisst, I did go through all the available information and tutorial 
on Spring MVC portlet framework. Now, as I said, from an application design 
perspective, I have a portal application which is more of an MVC web 
application and I need to convert this into a portal application with all the 
sections of the applications as portlets. I am firm on this design. The only 
question that I have is can the landing page or the content aggregator be 
implemented using Spring web MVC ? I am still perplexed with the design 
decisions that i need to make.

Appreciate any help in this regard. 
Thanks
Ram

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

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


[jboss-user] [JBoss Portal] - Re: Comparing JBoss Portal to Liferay or other portal produc

2008-02-19 Thread [EMAIL PROTECTED]
Well you come and complain that '1/3 of the posts are not answered' it means 
that 2/3 of the posts *are* answered.

Your attitude is a disrespect for the people answering in this forum on their 
free time. If you don't help, people may not be totally inclined to help you.

You don't want to contribute, that's fine with me, but be respectful for those 
who do.

Also, we have ears open on design issues and a dedicated forum for that, if you 
don't participate, we can't hear your issues and solutions. 

If my tone disturbed you, i apologize. 
But i've met too many people who believes that opensource, is a place where 
they can take everything (including people's time) without having to give back, 
this is not my definition of opensource. I probably considered you as one of 
those a bit too fast. Sorry. I type faster than i calm down ;)



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

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


[jboss-user] [JBossCache] - Finding out when a node leaves

2008-02-19 Thread khkachn
Hi,

Maybe I asked this in the wrong topic, sorry if this is a cross post.

Is it possible to determine or get an event sent when a node leaves the 
cluster? What I want to do is check in a TreeCache if the node had any work 
assigned to it and have one of the other nodes take over. That means I would 
also need a way for the remaining nodes to coordinate the take over, if there 
is also a good way to do that. 

Thanks, 

Ken

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

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


[jboss-user] [Beginners Corner] - ClassNotFoundException on annotated class that's definitely

2008-02-19 Thread d-rock
I'm trying out JBoss 5 beta 4 and using annotations within my struts actions to 
set up a persistence context, essentially like:


  | public class TestAction extends DispatchAction
  | {
  | @PersistenceContext(unitName = "foo") EntityManager em;
  | ...
  | 

I package the WAR up including the struts.jar, but when I deploy I get the 
following stack trace and the servlet is unavailable. Is this because I'm using 
annotations?


  | 08:58:50,740 WARN  [TomcatInjectionContainer] could not find servlet class 
  |   org.apache.struts.action.ActionServlet
  |  in classpath when processing annotations.
  | 08:58:51,152 WARN  [TomcatInjectionContainer] could not find servlet class 
  |   org.apache.struts.action.ActionServlet
  |  in classpath when processing annotations.
  | 08:58:51,157 INFO  [[/roster]] Marking servlet action as unavailable
  | 08:58:51,157 ERROR [[/roster]] Servlet /roster threw load() exception
  | java.lang.ClassNotFoundException: 
  |   org.apache.struts.action.ActionServlet
  | 
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at 
org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:168)
  | at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1006)
  | at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
  | at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4072)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4377)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
  | at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5357)
  | at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:346)
  | at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
  | at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:347)
  | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:89)
  | at org.jboss.web.deployers.WebModule.start(WebModule.java:67)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | at 
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
  | at $Proxy5.start(Unknown Source)
  | at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
  | at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
  | at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
  | at 
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
  | at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
  |   

[jboss-user] [Beginners Corner] - Re: Migrating application from Websphere to Jboss

2008-02-19 Thread tosaurav
Here is the stack trace. I am using JBOSS-4.2.2 GA version.

10:08:07,862 ERROR [LogInterceptor] TransactionRolledbackLocalException in metho
d: public abstract void javax.jms.MessageListener.onMessage(javax.jms.Message),
causedBy:
javax.ejb.EJBException: Unexpected Error
java.lang.NoClassDefFoundError
at gov.uspto.ram.agency.mdb.AbstractEaiMDB.onMessage(AbstractEaiMDB.java
:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(Mess
ageDrivenContainer.java:495)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
ke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(Message
DrivenInstanceInterceptor.java:116)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation
Interceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
rceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
torCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
81)
at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityIn
terceptor.java:109)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
ryFinderInterceptor.java:138)
at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenCont
ainer.java:402)
at org.jboss.ejb.Container.invoke(Container.java:960)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvo
ker.java:987)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onM
essage(JMSContainerInvoker.java:1287)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:26
6)
at com.ibm.mq.jms.MQSession.run(MQSession.java:1588)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:196)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
utor.java:761)
at java.lang.Thread.run(Thread.java:595)

at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
rceptor.java:237)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
torCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
81)
at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityIn
terceptor.java:109)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
ryFinderInterceptor.java:138)
at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenCont
ainer.java:402)
at org.jboss.ejb.Container.invoke(Container.java:960)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvo
ker.java:987)
at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onM
essage(JMSContainerInvoker.java:1287)
at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:26
6)
at com.ibm.mq.jms.MQSession.run(MQSession.java:1588)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:196)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
utor.java:761)
at java.lang.Thread.run(Thread.java:595)
10:08:07,972 ERROR [JMSContainerInvoker] Exception in JMSCI message listener
javax.ejb.TransactionRolledbackLocalException: Unexpected Error
java.lang.NoClassDefFoundError
at gov.uspto.ram.agency.mdb.AbstractEaiMDB.onMessage(AbstractEaiMDB.java
:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(Mess
ageDrivenContainer.java:495)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
ke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(Message
DrivenInstanceInterceptor.java:116)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation
Interceptor.java:63)
at org.jboss.ejb.plugi

[jboss-user] [JBoss jBPM] - Re: jbpm-console

2008-02-19 Thread kukeltje
jsf

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

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


[jboss-user] [EJB 3.0] - Re: EAR deploy fails in JBoss 4.2

2008-02-19 Thread ALRubinger
Does your EAR's application.xml descriptor reference the java module util.jar?

S,
ALR

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss AS 5.0.0.Beta3

2008-02-19 Thread pedalshoe
The same issue applies to Beta4 as well.
-Christopher

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

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


[jboss-user] [JBoss Portal] - Re: Comparing JBoss Portal to Liferay or other portal produc

2008-02-19 Thread syllant
"[EMAIL PROTECTED]" wrote : 
  | Please detail, nothing is worse than bringing fear, uncertainty and doubts.
  | ...
  | On the 9 messages i see from you all were questions, i don';t see how you 
contributed to help people on the forums.
  | 
What are you expecting with this charming and friendly tone (that you are not 
using for the first time) ?

No doubt it encourages to contribute.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Messages get stuck in queue

2008-02-19 Thread dpabhay
Similar Issue 

Using DAO in MDB processing[dao connection pool different than jms connection 
pool]:

MDBs receive some messages initially and then stop receiving messages from JMS. 
And after some time there is application deadlock when the MDB that are 
processing message attempts to acquire DB connection through the DAO layer.


org.jboss.util.NestedSQLException: Transaction is not active: 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=Contentuat2/177580, 
BranchQual=, localId=177580]; - nested throwable: 
(javax.resource.ResourceException: Transaction is not active: 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=Contentuat2/177580, 
BranchQual=, localId=177580])
at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:79)
at com.fxcd.dao.impl.oracle.BaseOracleDaoImpl.getTxConnection(Unknown 
Source)
at 
com.fxcd.dao.impl.oracle.RepositoryDocumentDaoImpl.updateMessageForQueuedDocument(Unknown
 Source)
at 
com.fxcd.service.RepositoryServiceEJB.updateMessageForQueuedDocument(Unknown 
Source)
at sun.reflect.GeneratedMethodAccessor218.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:149)
at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:154)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:363)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at 
org.jboss.ejb.plugins.CleanShutdownInterceptor.invoke(CleanShutdownInterceptor.java:264)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
at org.jboss.ejb.Container.invoke(Container.java:873)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
at 
org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
at $Proxy301.updateMessageForQueuedDocument(Unknown Source)
at com.fxcd.mdb.RepositoryServiceMDB.onMessage(Unknown Source)
at sun.reflect.GeneratedMethodAccessor183.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at 
org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:475)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:149)
at 
org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:101)
at 
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
at 
org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:94)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:389)
at org.jboss.ejb.Container.invoke(Container.java:873)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1077)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1379)
at 
org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
at 
org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:904)
at 
org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:160)
at org.jboss.mq.SpySession.run(SpySession.java:333)
at org.jboss.jms.asf.StdServerSession.run(StdServerS

[jboss-user] [JBoss Portal] - Wiki portlet

2008-02-19 Thread LE HOUELLEUR, Marin

Has anyone ever heard of a wiki available as a portlet (JSR168) for JBP
2.6.3.

Xwiki does but the portlet is dedicated to Exoportal.

 

Gracefully,

 

Marin



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >