[jboss-user] [JBossWS] - EndPoint problems.. please help

2008-03-26 Thread foongkim
hi, i have this Web Service pojo which using annotation method. 

After i have deploy to my production server (IP:182.123.1.10) and the endpoint 
display like this
http://localhost.localdomain:8080/myWebApp/myWebServicemethod

the host name part [localhost.localdomain] seems is not right.. and i want to 
change it.. how can i do that?? 

I have search all the configuration file in my jBoss 4.2 and i couldn't find 
any related tag to modify this.

If i go to http://182.123.1.10:8080/jbossws/ under the Access JMX VIew - 
JBoss Server - Web Service, 

i can see the exact value for host which is localhost.localdomain and i can 
not change it..

please help.

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

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


[jboss-user] [JBoss jBPM] - jPDL-Designer

2008-03-26 Thread Pebbels
Hi guys,

I am looking for alternatives for eclipse / JBoss IDE.
Is it e. g. possible to designe jPDL with netbeans or something else?

Thanks for help,
Tina

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

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


[jboss-user] [JBossWS] - Re: EndPoint problems.. please help

2008-03-26 Thread [EMAIL PROTECTED]
From the jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml


  | !--
  | The WSDL, that is a required deployment artifact for an endpoint, 
has a soap:address
  | element which points to the location of the endpoint. JBoss 
supports rewriting of that SOAP address.
  |   
  | If the content of soap:address is a valid URL, JBossWS will not 
rewrite it unless 'modifySOAPAddress' is true.
  | If the content of soap:address is not a valid URL, JBossWS will 
rewrite it using the attribute values given below.
  | 
  | If 'webServiceHost' is not set, JBossWS uses requesters protocol 
host when rewriting the soap:address.
  | --
  | property name=webServiceHost${jboss.bind.address}/property
  | property name=modifySOAPAddresstrue/property
  | 
  | !-- 
  |   Set these properties to explicitly define the ports that will be used 
for rewriting the SOAP address.
  |   Otherwise the ports will be identified by querying the list of 
installed connectors. 
  |   If multiple connectors are found the port of the first connector is 
used.
  |   property name=webServiceSecurePort8443/property
  |   property name=webServicePort8080/property
  | --
  | 
  | 

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Beanshell - MBean issues

2008-03-26 Thread FrankTheTank
I was just starting to realize the pure coolness of using Beanshell in JBoss 
when I stumbled over this issue.

I am having some wierd issues with a Beanshell script that is accessing an 
MBean and trying to call the MBean's methods.

I have written an MBean that works fine and is accessible from the jmx-console 
and the methods can be executed there.

All methods I want to access are in the interface and I can actually list them 
in the Beanshell script using reflection.

I just cannot call some of them.

I presume it might be that Beanshell is interpretating get/set/is as my attempt 
to access one of it's Attributes. 

Any one have any ideas?


  | import javax.management.*;
  | import org.jboss.system.server.*;
  | import com.me.ManagerMBean;
  | import java.lang.reflect.Method;
  | 
  | try
  | {
  |   MBeanServer mbs = MBeanServerFactory.findMBeanServer(null).get(0);
  | 
  |   print ( MBeanServer :  + mbs );
  | 
  |   if (mbs == null )
  |   {
  | return;
  |   }
  |   
  |   ObjectName objectName = new ObjectName(com.me:service=Manager);
  | 
  |   ManagerMBean rdm = 
(ManagerMBean)(MBeanServerInvocationHandler.newProxyInstance(mbs, objectName, 
ManagerMBean.class, false));
  |   print (ManagerMBean :  + rdm);
  | 
  |   try
  |   {
  | print (auto :  + rdm.isAutoupdate() );
  | 
  | }catch ( Throwable t )
  | {
  |   print (t.getCause());
  |   t.printStackTrace();
  | }
  |   
  | }
  | catch (Exception e )
  | {
  |   System.out.println(Exception @ Test.MyTask.run() :  + e);
  | }
  | 




  | 08:21:48,326 INFO  [STDOUT] MBeanServer : [EMAIL PROTECTED] 
defaultDomain='jboss' ]
  | 08:21:48,326 INFO  [STDOUT] ManagerMBean : MBeanProxy([EMAIL PROTECTED] 
defaultDomain='jboss' ][com.me:service=Manager])
  | 08:21:48,342 INFO  [STDOUT] javax.management.AttributeNotFoundException: 
not found: Autoupdate
  | 08:21:48,358 ERROR [STDERR] java.lang.reflect.UndeclaredThrowableException
  | 08:21:48,358 ERROR [STDERR] at $Proxy282.isAutoupdate(Unknown Source)
  | 08:21:48,358 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 08:21:48,358 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 08:21:48,358 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 08:21:48,358 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:597)
  | 08:21:48,358 ERROR [STDERR] at bsh.Reflect.invokeMethod(Unknown Source)
  | 08:21:48,358 ERROR [STDERR] at bsh.Reflect.invokeObjectMethod(Unknown 
Source)
  | 08:21:48,358 ERROR [STDERR] at bsh.Name.invokeMethod(Unknown Source)
  | 08:21:48,358 ERROR [STDERR] at bsh.BSHMethodInvocation.eval(Unknown 
Source)
  | 08:21:48,358 ERROR [STDERR] at bsh.BSHPrimaryExpression.eval(Unknown 
Source)
  | 08:21:48,358 ERROR [STDERR] at bsh.BSHPrimaryExpression.eval(Unknown 
Source)
  | 08:21:48,358 ERROR [STDERR] at bsh.BSHBinaryExpression.eval(Unknown 
Source)
  | 08:21:48,358 ERROR [STDERR] at bsh.BSHArguments.getArguments(Unknown 
Source)
  | 08:21:48,358 ERROR [STDERR] at bsh.BSHMethodInvocation.eval(Unknown 
Source)
  | 08:21:48,358 ERROR [STDERR] at bsh.BSHPrimaryExpression.eval(Unknown 
Source)
  | 08:21:48,358 ERROR [STDERR] at bsh.BSHPrimaryExpression.eval(Unknown 
Source)
  | 08:21:48,358 ERROR [STDERR] at bsh.BSHBlock.evalBlock(Unknown Source)
  | 08:21:48,358 ERROR [STDERR] at bsh.BSHBlock.eval(Unknown Source)
  | 08:21:48,358 ERROR [STDERR] at bsh.BSHBlock.eval(Unknown Source)
  | 08:21:48,374 ERROR [STDERR] at bsh.BSHTryStatement.eval(Unknown Source)
  | 08:21:48,374 ERROR [STDERR] at bsh.BSHBlock.evalBlock(Unknown Source)
  | 08:21:48,374 ERROR [STDERR] at bsh.BSHBlock.eval(Unknown Source)
  | 08:21:48,374 ERROR [STDERR] at bsh.BSHBlock.eval(Unknown Source)
  | 08:21:48,374 ERROR [STDERR] at bsh.BSHTryStatement.eval(Unknown Source)
  | 08:21:48,374 ERROR [STDERR] at bsh.Interpreter.eval(Unknown Source)
  | 08:21:48,374 ERROR [STDERR] at bsh.Interpreter.eval(Unknown Source)
  | 08:21:48,374 ERROR [STDERR] at 
org.jboss.varia.deployment.BeanShellScript.loadScript(BeanShellScript.java:369)
  | 08:21:48,374 ERROR [STDERR] at 
org.jboss.varia.deployment.BeanShellScript.init(BeanShellScript.java:109)
  | 08:21:48,374 ERROR [STDERR] at 
org.jboss.varia.deployment.BeanShellSubDeployer.create(BeanShellSubDeployer.java:153)
  | 08:21:48,374 ERROR [STDERR] at 
org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  | 08:21:48,374 ERROR [STDERR] at 
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  | 08:21:48,374 ERROR [STDERR] at 
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | 08:21:48,374 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
  | 08:21:48,374 ERROR [STDERR] at 

[jboss-user] [Messaging, JMS JBossMQ] - Fail to look up connection factory

2008-03-26 Thread ck chan
Hi all,

I have got the error. After installed jboss 3.0.4,

Before mq process, i try to lookup the connection factory. but i got following 
error message.

lookup Factory :
javax.naming.CommunicationException: Receive timed out [Root exception is java.n
et.SocketTimeoutException: Receive timed out]

Please help


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

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


[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool

2008-03-26 Thread ziphyre
There is a new patch on the WTP page addressing this issue.

http://download.eclipse.org/webtools/patches/

And a question. I didn't install a patch manually before. So just unzipping in 
the eclipse folder is sufficient? And does it break following updates?

Thanks

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

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


[jboss-user] [JBoss Messaging] - Issues with JBM 1.4.0 SP3 and MSSQL 2005 express edition

2008-03-26 Thread solar_sea
I've installed jbm 1.4.0 sp3 on jboss 4.2.2 (manual installation) and it works 
with hsqldb-persistence-service.xml. 
Testing it with mssql-persistence-service.xml fails. I'm using mssql 2005 
express edition.

The exact warning is
09:29:00,718 WARN  [JDBCSupport] SQLException caught, SQLState 25000 code:0- 
assuming deadlock detected, try:1
  | java.sql.SQLException: commit() should not be called while in auto-commit 
mode.
This repeats 25 times, then the transaction fails and several queues fail to 
start up.

The exception is caused by 467: conn.commit(); in JDBCSupport.java
What puzzles me is that few lines above 456: conn.setAutoCommit(false); this 
line seems to work and doesn't throw any exceptions.


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

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


[jboss-user] [JBoss Messaging] - Re: Issues with JBM 1.4.0 SP3 and MSSQL 2005 express edition

2008-03-26 Thread solar_sea
The full log is here http://pastebin.com/f1daae8bb

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

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


[jboss-user] [JBossWS] - Re: Deployment failure

2008-03-26 Thread kk1107
Please let me know how did you solve this problem. I am facing similar problem. 
thanks

~Samy

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

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


[jboss-user] [JBoss Messaging] - Re: Issues with JBM 1.4.0 SP3 and MSSQL 2005 express edition

2008-03-26 Thread timfox
Can you post the configuration for the datasource you are using?

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

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


[jboss-user] [JBoss Messaging] - Re: Is it mandatory to have a shared database to deploy dist

2008-03-26 Thread timfox
What version of JBM are you using?

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

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


[jboss-user] [JBoss Messaging] - Re: Issues with JBM 1.4.0 SP3 and MSSQL 2005 express edition

2008-03-26 Thread solar_sea
Sure, http://pastebin.com/f58393e71
The rest of the application uses the same one too.


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

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


[jboss-user] [JBoss/Spring Integration] - no transaction is in progress exception

2008-03-26 Thread springfans
I'm using Spring 2.5, Hibernate, JPA and WLS9.2, and I'm having some problems 
using the @Service annotation. I have a service implementation class annotated 
with @Service, the service class has a method called saveUser. Inside the 
saveUser method I do jpaTemplate.persists and jpaTemplate.flush . When flush is 
called, InvalidDataAccessApiUsageException: no transaction is in progress 
gets thrown.

Here's the stack trace:
--

严重: org.springframework.dao.InvalidDataAccessApiUsageException: no 
transaction is in progress; nested exception is 
javax.persistence.TransactionRequiredException: no transaction is in progress
  | javax.faces.el.EvaluationException: 
org.springframework.dao.InvalidDataAccessApiUsageException: no transaction is 
in progress; nested exception is 
javax.persistence.TransactionRequiredException: no transaction is in progress
  | at 
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
  | at 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | at 
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
  | at 
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
  | at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
  | at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
  | at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | ... 37 more
  | Caused by: javax.persistence.TransactionRequiredException: no transaction 
is in progress
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:294)
  | 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.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:346)
  | at $Proxy112.flush(Unknown Source)
  | at 
org.springframework.orm.jpa.JpaTemplate$8.doInJpa(JpaTemplate.java:283)
  | at org.springframework.orm.jpa.JpaTemplate.execute(JpaTemplate.java:185)
  | ... 76 more
  | 
/WEB-INF/components.xml:
core:manager conversation-timeout=12 concurrent-request-timeout=500 
conversation-id-parameter=cid /
  | core:init transaction-management-enabled=true debug=true /
  | transaction:no-transaction /
  | spring:context-loader /
/WEB-INF/applicationContext.xml
jee:jndi-lookup id=fw.defaultDataSource jndi-name=jdbc/crm /
  | bean id=transactionManager 
class=org.springframework.transaction.jta.WebLogicJtaTransactionManager /
  | tx:annotation-driven transaction-manager=transactionManager /
  | bean 
class=org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor/bean
  | bean id=fw.jpaTemplate class=org.springframework.orm.jpa..JpaTemplate
  | property name=entityManagerFactory ref=fw.defaultEMF /
  | /bean
  | bean id=fw.defaultEMF 
class=org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
  | property name=dataSource ref=fw.defaultDataSource /
  | property name=jpaVendorAdapter
  | bean 
class=org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter
  | property name=database value=ORACLE /
  | property name=showSql value=true /
  | /bean
  | /property
  | property name=loadTimeWeaver
  | bean 
class=org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver
 /
  | /property
  | property name=persistenceUnitName 
value=fw.defaultPersistenceUnit /
  | /bean
RegisterAction.java
@In(#{userService})
  | private UserService userService;
  | public void register(){
  | userService.createUser(user);
  | }
  | }
UserService.java
@Autowired
  | @Qualifier(fw.jpaTemplate)
  | org.springframework.orm.jpa.JpaTemplate jpaTemplate;
  | 
  | @Transactional
  | public void createUser(final User user) throws ValidationException {
  | jpaTemplate.persist(user);
  | jpaTemplate.flush();
  

[jboss-user] [JBoss/Spring Integration] - Re: no transaction is in progress exception

2008-03-26 Thread springfans
SORRY:

/WEB-INF/components.xml
core:manager conversation-timeout=12 concurrent-request-timeout=500 
conversation-id-parameter=cid /
  | core:init transaction-management-enabled=false debug=true /
  | transaction:no-transaction /
  | spring:context-loader /

Help me!

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

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


[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool

2008-03-26 Thread [EMAIL PROTECTED]
that is what we are trying to find out...I would rather they did a hotfix 
release but they seem to be reluctant to do this.

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

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


[jboss-user] [JBoss/Spring Integration] - Re: no transaction is in progress exception

2008-03-26 Thread springfans
SORRY:

/WEB-INF/components.xml
core:manager conversation-timeout=12 concurrent-request-timeout=500 
conversation-id-parameter=cid /
  | core:init transaction-management-enabled=false debug=true /
  | transaction:no-transaction /
  | spring:context-loader /

Help me!

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

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


[jboss-user] [JBoss Portal] - Re: WSRP: SAP EP versus JBoss

2008-03-26 Thread walfreund
Thanks Chris!

The cookie handling might be a bug needing a fix, while the consumer agent 
string is a completely different thing. Maybe there should be an option to 
enable WSRP-strictness or WSRP-sloppyness. By selecting the sloppy 
implementation, JBoss would row in with all the commercial portals and 
implement a weaker conformity while the strict thing would cause my forehead to 
meet my nape more soon.

Btw: There is a ticket about the consumer agent string in progress at the 
sapoids.

However, thanks for your support!


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

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


[jboss-user] [JBossWS] - Re: EndPoint problems.. please help

2008-03-26 Thread foongkim
got it.

thank you so much!

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

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


[jboss-user] [EJB 3.0] - Re: Dynamic deployment for EJB3 component

2008-03-26 Thread FrankTheTank
Dumb question and not trying to be a jerk, but why do you have to wait until 
deployment time?

Who is the 'other products'?

So if I understand you correctly, you only supply the component and otherwise 
have zero access or control over the rest of the jboss?

Then that is not so good ;)

My original idea was to have you hardcode your jndi source name and then add a 
*-ds.xml to the deployment.

A brute force might be to write your own *-ds.xml into the deploy dir, but I 
have no idea if that is even possible.

I have similar issues, but I need to switch data sources at runtime.

I think we need some kind of dynamic data source system.

Sorry for the lack of help.

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

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


[jboss-user] [JBoss Messaging] - Re: Issues with JBM 1.4.0 SP3 and MSSQL 2005 express edition

2008-03-26 Thread timfox
I can see you're using an XA datasource.

JBM needs a non XA datasource to function.

You can find an MSSQL non xa datasource example in docs/examples/jca of your 
app server distribution.

There have been a few other threads about this on this forum before, it's 
probably worth a search

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

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


[jboss-user] [JBoss Portal] - Re: How can i view and download files from CMS as a user?

2008-03-26 Thread Antoine_h
I don't remember if a user can have the feature of downloading a file.

but anyway, you can easily change this and allow a user to have this feature
it is done for admin : change the security thing so the user role is also 
allowed.

and read the doc : all is there...
the user doc is more on how to use the cms
the reference doc is more on how to change thing in the code, program new 
things etc...

you may look at Alfresco.
it is a very powerfull CMS.
I like it... but as it is powerfull, it is also more complex to get in and 
configure it.
for one of my portlet, I use the JBoss Portal CMS... and with a few home made 
features, it is enough.
so it depends on what you need.



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

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


[jboss-user] [JBoss Messaging] - Re: Issues with JBM 1.4.0 SP3 and MSSQL 2005 express edition

2008-03-26 Thread solar_sea
Thanks! Worked like a charm with a non-XA datasource :)


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

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


[jboss-user] [JBoss Tools (users)] - Re: anyone else have issues with visual editor on OSX?

2008-03-26 Thread [EMAIL PROTECTED]
then i don't know a solution...it should just work.

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

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


[jboss-user] [JBoss Portal] - Re: Uploading to CMS with other language then english?

2008-03-26 Thread Antoine_h
strange...
to investigate, the first thing I would do is : check in the CMS repository 
administration if the file is there, and with which language, and which access 
restriction set to it, ...etc... 

do you see those file in the CMS file repo ?

may be the access restriction to the file : check this...
and check that you are logged with the proper role when you call these url...

can't see more...

or to see more, look at how the code is done (JSP and java) and may be you will 
see why thing are going the way they are...

may be a bug somewhere in this process...





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

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


[jboss-user] [JBoss Portal] - Re: How I configute a custom IdentityLoginModule

2008-03-26 Thread Antoine_h
This should give you this result : the CUSTOMIdentityLoginModule is loaded and 
used as the login module, for the portal side.

did you restart the jboss server ?
I guess so.

did you put some logs in the CUSTOMIdentityLoginModule ?
you should see them when the portal starts and when you try to log.

by the way : read the doc about this, and SSO etc...
may be there is something else necessary (that I may not see...)




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

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


[jboss-user] [JBoss Portal] - JOSSO1.7 and JBoss Portal 2.6.4 - Authorization

2008-03-26 Thread CarstenRudat
Hi all,

I tried to integrate JOSSO to JBoss Portal 2.6.4 (ha deployment on JBoss 
4.2.2.GA all-config). I followed first the instructions at josso.org 
(http://josso.org/confluence/display/JOSSO1/JBoss+4.2.html) and after that, I 
changed the integration like I'm supposed to do it from chapter 20.4. (JOSSO - 
Java Open Single SignOn) of the reference docs.

I have to mention, that I still have a sso-session-manager, a 
sso-session-store, sso-session-id-generator, sso-audit-manager and a 
sso-event-manager in my josso-gateway-config.xml (as described at josso.org). 
Additionally, I have two valves in tomcat's server.xml, one for JBoss Portal 
SSO and one for JOSSO.

Now, after that, I can logon through JOSSO (the redirect in logon.jsp points me 
to a JOSSO logon form) and after typeing user : user, I'm logged on as user 
(User portlet and Current users-portlet says so, too). But I don't have 
access to those portlets that are configured to used by users with the role 
User (same as if I log on as admin:admin, then I have no admin area). So, it 
seams that the JAAS-Subject has no roles added.

Do I have to configure something else to have authorization with JOSSO, or does 
this not work at all? Or do I have to remove the stuff from 
josso-gateway-config.xml?

Thanks for help!
Carsten

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

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


[jboss-user] [JBoss Portal] - WSRP: IBM Websphere Portal Server

2008-03-26 Thread asaitov
Has anyone tried to use Websphere Portal Server 6.0 as a producer and JBoss 
Portal 2.6.4 as a remote portlet consumer? When I try to do it, I always get an 
error like this: 
javax.xml.rpc.soap.SOAPFaultException: EJPWC1104E: The Producer environment has 
timed out. The Consumer needs to invoke initCookie() again.
Obviously, WPS wants JBoss to call initCookie() method without sending 
InvalidCookieFault message. After I have recompiled 
org.jboss.portal.wsrp.consumer.InvocationHandler class making JBoss invoke 
initCookie() in case the error message contains a EJPWC1104E string, I get a 
new InvokerUnavailableException saying Couldn't init cookies! Can anyone tell 
me he faced with and solved this problem? I just want to stop digging the 
ground and start planting the flowers.

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

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


[jboss-user] [JBoss jBPM] - Re: jbpm on oracle

2008-03-26 Thread AJanz
the following statement causes the error

but when i execute it from an normal sql client everything is ok


2008-03-26 09:50:00,938 DEBUG [org.hibernate.util.JDBCExceptionReporter] could 
not execute query [select job0_.ID_ as ID1_26_, job0_.VERSION_ as VERSION3_26_, 
job0_.DUEDATE_ as DUEDATE4_26_, job0_.PROCESSINSTANCE_ as PROCESSI5_26_, 
job0_.TOKEN_ as TOKEN6_26_, job0_.TASKINSTANCE_ as TASKINST7_26_, 
job0_.ISSUSPENDED_ as ISSUSPEN8_26_, job0_.ISEXCLUSIVE_ as ISEXCLUS9_26_, 
job0_.LOCKOWNER_ as LOCKOWNER10_26_, job0_.LOCKTIME_ as LOCKTIME11_26_, 
job0_.EXCEPTION_ as EXCEPTION12_26_, job0_.RETRIES_ as RETRIES13_26_, 
job0_.NAME_ as NAME14_26_, job0_.REPEAT_ as REPEAT15_26_, job0_.TRANSITIONNAME_ 
as TRANSIT16_26_, job0_.ACTION_ as ACTION17_26_, job0_.GRAPHELEMENTTYPE_ as 
GRAPHEL18_26_, job0_.GRAPHELEMENT_ as GRAPHEL19_26_, job0_.NODE_ as NODE20_26_, 
job0_.CLASS_ as CLASS2_26_ from JBPM_JOB job0_ where (job0_.LOCKOWNER_ is null 
or job0_.LOCKOWNER_=?) and job0_.RETRIES_0 and job0_.DUEDATE_=? and 
job0_.ISSUSPENDED_1 order by job0_.DUEDATE_ asc]
java.sql.SQLException: ORA-00923: Schlüsselwort FROM nicht an erwarteter 
Stelle gefunden

at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at 
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
at 
oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:799)
at 
oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
at 
oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:839)
at 
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
at 
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
at 
oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3329)
at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:236)
at 
org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1669)
at org.hibernate.loader.Loader.doQuery(Loader.java:662)
at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.doList(Loader.java:2145)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
at org.hibernate.loader.Loader.list(Loader.java:2024)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:392)
at 
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:333)
at 
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at 
org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:756)
at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:40)
at 
org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:114)
at 
org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:58)


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

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal basic question

2008-03-26 Thread PMN
I already did for 2.6.3 and has been discussed.

It is still a bug in 2.6.4.

The workaround is to remove it as I don't use it.


There is another bug in 2.6.4 that pollutes all my html pages. It comes from 
core\src\resources\portal-core-war\WEB-INF\jsp\header\header.jsp


   //we don't need the iframe/modal if logged in
   document.getElementById('loginIframe').src = '';


Here also, I reported it in another trhead. I will have to remove it.

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

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


[jboss-user] [JBoss Messaging] - Re: Is it mandatory to have a shared database to deploy dist

2008-03-26 Thread kannanrv
Hi Tim, I am using JBM 1.4.0 SP3

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

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


[jboss-user] [JBoss jBPM] - Re: lead time integration

2008-03-26 Thread Fredde
PVM: I'll check that out. Sounds interesting.

Well, the data is not really the Problem, it's all in there as you say and I 
just have to 'dig it out'. Still i need to find a most efficient way to Map the 
lead-time definitions onto the Processdefinitions and obviously custom tags in 
the xml files are not the way.

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

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


[jboss-user] [JBoss Messaging] - Failover on clustered queues causes thread leak

2008-03-26 Thread lerdek
Hi,

We have a setup of 2 clustered JBoss servers with clustered messaging with ~150 
clustered queues (including EQs and DLQs). If we 'kill -9' one of the nodes, 
the failover mechanism kicks in, but it creates ~200 new threads which are all 
in a WAITING state. These threads keep waiting forever, and on every failover 
this happens again (thus, every failover increases the active thread count of 
the surviving node by ~200).

Since we still run on a Linux 2.4 kernel, with a practical upper thread count 
limit of ~600, this is a big problem because if a single node fails for 1 or 2 
times, the 'surviving' node dies as a consequence, basically eliminating the 
concept of a failover mechanism.

We would be very thankful for suggestions on how we can fix this, what appears 
to be a thread leak.

We have observed already the following things:

  | Active thread count before failover: ~150
  | Active thread count after 1 failover: ~350
  | Active thread count after 2 failovers: ~550
  | The active thread count does not decrease over time (it seems the threads 
are blocked forever)
  | Failover scenario without clustered JBoss Messaging is without any apparent 
thread leak problem
  | Failover scenario with only 3 clustered queues is with the thread leak 
problem, but at a much lower rate (~5 threads per failover) so it appears that 
the thread leak is linear with the number of clustered queues.
  | 
  | 
  | At the moment it is not an option to upgrade our kernel to 2.6, which would 
in fact only reduce the frequency of the symptoms, but not fix the problem. 
Also, we cannot use a multicast protocol stack because it is not supported on 
our production environment.
  | 
  | Here's our configuration for both clsutered messaging nodes, which are 
dedicated messaging servers (thus, no other custom applications have been 
deployed):
  | 
  | 
  |   | JBoss AS 4.2.2.GA
  |   | JBoss Messaging 1.4.0sp3
  |   | JGroups 2.4.1 SP-4 
  |   | 
  | 
  | After a failover, a lot of increasingly numbered threads are lying around 
that look like this (only the thread-name-number differs, e.g. after 1 failover 
it goes to Thread-274, after 2 failovers to Thread-473):
  | 
  | 
  |   | Thread: Thread-50 : priority:5, demon:true, 
threadId:268, threadState:WAITING, lockName:[EMAIL PROTECTED]
  |   | 
  |   | java.lang.Object.wait(Native Method)
  |   | java.lang.Object.wait(Object.java:474)
  |   | 
EDU.oswego.cs.dl.util.concurrent.LinkedQueue.take(LinkedQueue.java:122)
  |   | 
EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java:83)
  |   | java.lang.Thread.run(Thread.java:595)
  |   | 
  |   | 
  | 
  | Here's the output of the JMX bean jboss.system/ServerInfo of the surviving 
node after 2 consequetive failovers:
  | 
  | 
  |   | HostAddress java.lang.StringR   192.168.86.9
MBean Attribute.
  |   | AvailableProcessors java.lang.Integer   R   1   
MBean Attribute.
  |   | OSArch  java.lang.StringR   i386
MBean Attribute.
  |   | OSVersion   java.lang.StringR   
2.4.27-vmware-k7-nosmp  MBean Attribute.
  |   | HostNamejava.lang.StringR   xxx 
MBean Attribute.
  |   | JavaVendor  java.lang.StringR   Sun 
Microsystems Inc.   MBean Attribute.
  |   | JavaVMName  java.lang.StringR   Java 
HotSpot(TM) Server VM  MBean Attribute.
  |   | FreeMemory  java.lang.Long  R   8680
MBean Attribute.
  |   | ActiveThreadGroupCount  java.lang.Integer   R   10  
MBean Attribute.
  |   | TotalMemory java.lang.Long  R   166629376   
MBean Attribute.
  |   | JavaVMVersion   java.lang.StringR   1.5.0_07-b03
MBean Attribute.
  |   | ActiveThreadCount   java.lang.Integer   R   548 
MBean Attribute.
  |   | JavaVMVendorjava.lang.StringR   Sun 
Microsystems Inc.   MBean Attribute.
  |   | OSName  java.lang.StringR   Linux   
MBean Attribute.
  |   | JavaVersion java.lang.StringR   1.5.0_07
MBean Attribute.
  |   | MaxMemory   java.lang.Long  R   265486336   
MBean Attribute.
  |   | 
  | 
  | Our JGroups protocol stack is the following (for both JBoss cluster, and 
JBoss Messaging cluster Post-office data and control channel):
  | 
  | 
  |   | STATE_TRANSFER
  |   | use_flush=false
  |   | up_thread=false
  |   | down_thread=false
  |   | 
  |   | GMS
  |   | shun=true
  |   | print_local_addr=true
  |   | up_thread=false
  |   | view_bundling=true
  |   | join_timeout=3000
  |   | join_retry_timeout=2000
  |   | down_thread=false
  |   | 
  |   | STABLE
  |  

[jboss-user] [JBoss jBPM] - Problem sending mails

2008-03-26 Thread rodosa
Hello!!

   I'm trying sending mails but I don't get it. I've tried two differents 
ways to do it. 

1) Mail-node. It's code is:


  | mail-node name=Enviar notificacion to=[EMAIL PROTECTED]
  | subject
  | Prueba
  | /subject
  | text
  | Prueba Jbpm
  | /text
  | transition to=Fin name=t2/transition
  | /mail-node
  | 

and jbpm.cgf is


  | jbpm-configuration
  | 
  |   !-- 
  | The default configurations can be found in 
org/jbpm/default.jbpm.cfg.xml 
  | Those configurations can be overwritten by putting this file called 
  | jbpm.cfg.xml on the root of the classpath and put in the customized 
values.
  |   --
  | 
  |   string name=jbpm.mail.smtp.host value=smtp.xxx.es /
  |   bean   name=jbpm.mail.address.resolver 
class=org.jbpm.identity.mail.IdentityAddressResolver singleton=true /
  |   
  |   string name=jbpm.mail.user value=xxx /
  |   string name=jbpm.mail.pass value=xxx /
  |   string name=jbpm.mail.from.address value=[EMAIL PROTECTED]/
  |string name=jbpm.mail.port value=25 /
  | string name=jbpm.mail.smtp.auth value=true /
  |   string name=jbpm.mail.debug value=true /
  |   
  |   
  | /jbpm-configuration
  | 
  | 

It doesn't work. If I put the jbpm.mail.smtp.auth a true the authentication 
fail, and if I put it to false the error is this:


  | Recipient address rejected: Access denied  554 + Invalid Addresses
  | 


2) The second way is declare a node in which handler I try to send a mail. But 
occurs the similar problem:


  | package handlers;
  | 
  | import java.util.ArrayList;
  | import java.util.List;
  | import java.util.Properties;
  | 
  | import org.jbpm.JbpmConfiguration;
  | import org.jbpm.graph.def.ActionHandler;
  | import org.jbpm.graph.exe.ExecutionContext;
  | import org.jbpm.mail.Mail;
  | 
  | 
  | public class MyMailAction implements ActionHandler {
  | 
  | private static final long serialVersionUID = 1L;
  | 
  | public void execute(ExecutionContext context) throws Exception {
  |  System.out.println(Estoy en execution context);
  |  
  |  try {
  |  JbpmConfiguration.Configs.getObject(jbpm.mail.smtp.host);
  |  Properties p = new Properties();
  |  p.put(mail.smtp.host, 
JbpmConfiguration.Configs.getObject(jbpm.mail.smtp.host));
  |  //p.put(mail.smtp.port, 
JbpmConfiguration.Configs.getObject(jbpm.mail.port));
  |  p.put(mail.smtp.auth, 
JbpmConfiguration.Configs.getObject(jbpm.mail.smtp.auth));
  |  p.put(mail.smtp.user, 
JbpmConfiguration.Configs.getObject(jbpm.mail.user));
  |  p.put(mail.smtp.password, 
JbpmConfiguration.Configs.getObject(jbpm.mail.pass));
  |  p.put(mail.debug, 
JbpmConfiguration.Configs.getObject(jbpm.mail.debug));
  |  p.put(mail.from.address, 
JbpmConfiguration.Configs.getObject(jbpm.mail.from.address));
  |  p.put(mail.class.name, 
JbpmConfiguration.Configs.getObject(mail.class.name));
  |  List l = new ArrayList();
  |  l.add([EMAIL PROTECTED]);
  |  Mail.send(p, [EMAIL PROTECTED],l, The subject, The text);
  |  } catch (Exception e ) {
  |  e.printStackTrace();
  |  }  
  |  System.out.println(Estoy en execution context);
  | }
  |  
  |   
  | }
  | 

I realized that exist mail-service.xml ... It's using this file. How can I 
dolve this?

Thanks

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

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


[jboss-user] [JBoss Portal] - Re: How I configute a custom IdentityLoginModule

2008-03-26 Thread ameo
Thanks for reply!

I think I don't know where to place the CUSTOMIdentityLoginModule.class. I put 
the class in a WAR-File and deployed it. That's wrong, right ?

I've read the referencequide twice :-(

 


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

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


[jboss-user] [JBoss Portal] - Re: WSRP: IBM Websphere Portal Server

2008-03-26 Thread asaitov
Here is WPS reply to JBoss' getMarkup():
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | soapenv:Header/
  | soapenv:Body
  | soapenv:Fault
  | faultcode xmlns:p631=urn:oasis:names:tc:wsrp:v1:types
  | p631:InvalidCookie
  | /faultcode
  | faultstring
  | ![CDATA[EJPWC1104E: The Producer environment has timed out. The Consumer 
needs to invoke initCookie() again.]]
  | /faultstring
  | detail encodingStyle=
  | InvalidCookie/
  | /detail
  | /soapenv:Fault
  | /soapenv:Body
  | /soapenv:Envelope
  | 
However I had a mistake saying Websphere Portal answers incorrectly. It does 
send an InvalidCookie message.

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

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


[jboss-user] [JBoss Portal] - Re: How I configute a custom IdentityLoginModule

2008-03-26 Thread Antoine_h
I don't have time to make a long answer now.

but : you need then to read the doc of :
 - jboss and the security processing and settings
 - tomcat and the security processing and settings
 - JAAS ...
 - SSO (single sign on), etc... on jboss...

read things, understand the minimum that will allow you to set your 
configuration properly...

think of one thing : this is security... so it is worthwhile to know quite well 
what you are doing...

even if you can't learn everything in so little time...
but at least global things and how to properly configure you login module...

hope it helps...

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

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


[jboss-user] [JBoss Messaging] - Re: Failover on clustered queues causes thread leak

2008-03-26 Thread timfox
How many nodes did you start with, and how many did you failover?

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

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


[jboss-user] [JBoss Portal] - Hibernate Open Session In View (in Portlet)

2008-03-26 Thread EricML
Hey. I'm using JBoss AS 4.2.2 GA with Portal 2.6.4 and running into problems 
with accessing objects in the view: 

Caused by: org.hibernate.LazyInitializationException: could not initialize 
proxy - no Session

I am using the HibernateService deployed as HAR to retrieve objects in the 
processAction-Method of the GenericPortlet. The configuration of the Service is 
as follows (jboss-service.xml):


  | server
  | mbean code=org.jboss.hibernate.jmx.Hibernate
  | name=ebal:name=SessionFactory
  | attribute name=DatasourceNamejava:/PortalDS/attribute
  | attribute name=Dialect
  | org.hibernate.dialect.MySQLDialect
  | /attribute
  | attribute name=SessionFactoryName
  | java:/hibernate/SessionFactory
  | /attribute
  | attribute name=Hbm2ddlAutoupdate/attribute
  | attribute name=ShowSqlEnabledtrue/attribute
  | attribute name=ScanForMappingsEnabledtrue/attribute
  | /mbean
  | /server
  | 

The service uses the standard PortalDS which is bound to a transaction:


  | datasources
  |   local-tx-datasource
  | jndi-namePortalDS/jndi-name
  | 
connection-urljdbc:mysql://localhost:3306/jbossportal?useServerPrepStmts=false/connection-url
  | driver-classorg.gjt.mm.mysql.Driver/driver-class
  | user-name/user-name
  | password/password
  |   /local-tx-datasource
  | /datasources
  | 

In the init()-Method of my Portlet I am retrieving the HibernateService:

  | public void init(javax.portlet.PortletConfig config)
  | throws PortletException {
  | super.init(config);
  | try {
  | InitialContext ctx = new InitialContext();
  | sessionFactory = (SessionFactory) ctx
  | 
.lookup(java:/hibernate/SessionFactory);
  | } catch (NamingException e) {
  | throw new PortletException(e.getMessage());
  | }
  | };
  | 

and later in the processAction-Method I am retrieving some objects through 
sessionFactory.getCurrentSession() and store them in the PortalSession. This 
works fine for I retrieve the current session bound to the transaction. Btw, I 
have also included the transattribute in the jboss-portlet.xml:


  | portlet
  | portlet-nameTestPortlet/portlet-name
  | trans-attributeRequired/trans-attribute
  | /portlet
  | 

Everything works fine so far until I try to access properties from objects in 
the portletSession in the view (jsp, through jstl) which are proxied through 
hibernate (lazy initialized). The session is already closed in the view and so 
is the transaction. Normally I would set a HibernateSession filter in the 
web.xml and open/close the session before/after the request in a standard 
struts/spring mvc webapplication and have the session open in view but I fear 
this will not work in a portlet environment.

I did browse through this forum and the web all the day but did not come to a 
conclusion how to achieve to hold the session/transaction open (and closed 
after the entire request). 

Is there anyone who was running into the same problem? Maybe I miss something 
substantial because I could not find any solution to this very common problem? 
Is there a way to span the transaction around the view-rendering as well? Every 
help or hints are appreciated! 

Regards,
Eric

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

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


[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool

2008-03-26 Thread baz
The patch P20080313153530 is available via updatemanager.
 but P20080325024219 is not. And there is this note on the mentioned site:
anonymous wrote : They are normaly very specialized, for a specific purpose or 
adopter, and not for general use. Those that are for general use -- and 
end-users -- will be made available via update manager.
So we have to wait?

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

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


[jboss-user] [JBoss Messaging] - Re: Failover on clustered queues causes thread leak

2008-03-26 Thread timfox
One more question:

How many connections and sessions do you have attached to each node when 
failover occurs?

Do you see the same problem if you failover with no jms connections using the 
nodes?

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

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


[jboss-user] [JBoss Portal] - Re: How can i view and download files from CMS as a user?

2008-03-26 Thread jvitor
Thanks for the help, but i don't think that's what i'm looking for.

What i would like to achieve is a portlet with a file explorer look, a user or 
even a guest could navigate through the contents of the CMS and download them. 

But nothing else, no options to create folders or upload files, that would be 
up to the admin or some power users using the management portlet. I suppose 
theres nothing like this already available then?

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

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


[jboss-user] [JBoss jBPM] - Re: jPDL-Designer

2008-03-26 Thread kukeltje
No, sorry

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

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


[jboss-user] [JBoss Portal] - Re: Uploading to CMS with other language then english?

2008-03-26 Thread jvitor
Thanks for the tips.

The files are in the repository, i can see them, with the same access 
restrictions as the other files i uploaded choosing English. 

But those files associated with any other language than English (my browser 
default), i can't get them later using an url not even when i'm logged as admin.

Maybe a bug in the localization support feature? If there's no file in the CMS 
associated with the browser's default language, CMS can't find any other 
language version of the file, even when they exist.

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

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


[jboss-user] [JBoss Messaging] - Re: Failover on clustered queues causes thread leak

2008-03-26 Thread lerdek
Thank you for your quick reply!

We have a cluster of 2 nodes, and have killed/started 1 node a couple of times. 
We did the following scenario:

1. Start node 1
2. Start node 2 after node 1 has started completely
3. Once node 2 has started completely, 'kill -9' node 2 (first failover)
4. Start node 2
5. Once node 2 has started completely, 'kill -9' node 2 (second failover)
6. etc.

At the moment we have no JMS connections or sessions at either node, because 
we're testing the failover scenario 'pure' without any additional load.
Please note that the JMS functionality as such works very fine from the client 
perspective in the clustered setup (sending, receiving, reconnecting once a 
node a gone, etc.). Our problem at the moment only concerns the messaging-node 
failover with the mentioned thread-increase.

After killing node2 several times (depending on the amount of available OS 
memory) we get the following exception (stack trace varies, but all are 
OOME-native-thread):


  | 2008-03-26 10:23:03,967 ERROR [org.jgroups] uncaught exception in 
Thread[ServerSocket acceptor thread 
(channel=DefaultPartition-EntityCache),5,JGroups threa
  | ds] (thread group=org.jgroups.util.Util$1[name=JGroups threads,maxpri=10] )
  | java.lang.OutOfMemoryError: unable to create new native thread
  | at java.lang.Thread.start0(Native Method)
  | at java.lang.Thread.start(Thread.java:574)
  | at 
org.jgroups.protocols.FD_SOCK$ServerSocketHandler.run(FD_SOCK.java:1089)
  | at java.lang.Thread.run(Thread.java:595)
  | 

Here's an excerpt from our log from node 1 from the moment where it has 
started, until when the failover has finished:


  | 2008-03-26 10:01:46,914 INFO  [org.jboss.system.server.Server] JBoss (MX 
MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] 
Started in 59s:380ms
  | 2008-03-26 10:02:45,989 INFO  [org.jboss.cache.TreeCache] viewAccepted(): 
[192.168.86.201:45958|1] [192.168.86.201:45958, 192.168.86.202:45969]
  | 2008-03-26 10:02:46,041 INFO  
[org.jboss.cache.statetransfer.StateTransferGenerator_140] returning the state 
for tree rooted in /(1024 bytes)
  | 2008-03-26 10:02:53,732 INFO  
[org.jboss.ha.framework.interfaces.HAPartition.lifecycle.devel] New cluster 
view for partition devel (id: 1, delta: 1) : [192.168.86.201:1099, 
192.168.86.202:1099]
  | 2008-03-26 10:02:53,734 INFO  
[org.jboss.ha.framework.server.DistributedReplicantManagerImpl.devel] I am 
(192.168.86.201:1099) received membershipChanged event:
  | 2008-03-26 10:02:53,734 INFO  
[org.jboss.ha.framework.server.DistributedReplicantManagerImpl.devel] Dead 
members: 0 ([])
  | 2008-03-26 10:02:53,734 INFO  
[org.jboss.ha.framework.server.DistributedReplicantManagerImpl.devel] New 
Members : 1 ([192.168.86.202:1099])
  | 2008-03-26 10:02:53,734 INFO  
[org.jboss.ha.framework.server.DistributedReplicantManagerImpl.devel] All 
Members : 2 ([192.168.86.201:1099, 192.168.86.202:1099])
  | 2008-03-26 10:02:56,742 INFO  [org.jboss.cache.TreeCache] viewAccepted(): 
[192.168.86.201:45964|1] [192.168.86.201:45964, 192.168.86.202:45972]
  | 2008-03-26 10:02:59,322 INFO  [org.jboss.cache.TreeCache] viewAccepted(): 
[192.168.86.201:45966|1] [192.168.86.201:45966, 192.168.86.202:45974]
  | 2008-03-26 10:03:35,464 WARN  [org.jgroups.blocks.ConnectionTable] peer 
closed connection, trying to re-send msg
  | 2008-03-26 10:03:35,464 ERROR [org.jgroups.blocks.ConnectionTable] 2nd 
attempt to send data failed too
  | 2008-03-26 10:03:35,465 WARN  [org.jgroups.blocks.ConnectionTable] peer 
closed connection, trying to re-send msg
  | 2008-03-26 10:03:35,465 ERROR [org.jgroups.blocks.ConnectionTable] 2nd 
attempt to send data failed too
  | 2008-03-26 10:03:35,466 WARN  [org.jgroups.blocks.ConnectionTable] peer 
closed connection, trying to re-send msg
  | 2008-03-26 10:03:35,466 ERROR [org.jgroups.blocks.ConnectionTable] 2nd 
attempt to send data failed too
  | 2008-03-26 10:03:35,633 ERROR 
[org.jboss.remoting.transport.socket.SocketClientInvoker] Got marshalling 
exception, exiting
  | java.net.SocketException: end of file
  | at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:604)
  | at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:418)
  | at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
  | at 
org.jboss.remoting.ConnectionValidator.doCheckConnection(ConnectionValidator.java:133)
  | at 
org.jboss.remoting.ConnectionValidator.run(ConnectionValidator.java:308)
  | at java.util.TimerThread.mainLoop(Timer.java:512)
  | at java.util.TimerThread.run(Timer.java:462)
  | 2008-03-26 10:03:36,972 INFO  
[org.jboss.ha.framework.interfaces.HAPartition.lifecycle.devel] Suspected 
member: 192.168.86.202:8800
  | 2008-03-26 10:03:37,031 INFO  
[org.jboss.ha.framework.interfaces.HAPartition.lifecycle.devel] New 

[jboss-user] [JBoss jBPM] - Re: jPDL-Designer

2008-03-26 Thread Pebbels
Thanks for your answer!

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

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


[jboss-user] [JBoss Portal] - Re: Uploading to CMS with other language then english?

2008-03-26 Thread [EMAIL PROTECTED]
If i remember well, (i'm really not sure) there is a default language to 
specify to the CMS so that it knows what to fall back to.
I don't have the time to check right now, but that could be a hint.

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

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


[jboss-user] [Clustering/JBoss] - Re: Jboss 4.2.1 web session problem

2008-03-26 Thread [EMAIL PROTECTED]
I am facing the same problem.
I am using jboss v4.2.1.GA and apache v2.0.
Error like this means the requests from apache is not mounted on jboss.

Please help.

Do I need to install new version of apache?


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

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


[jboss-user] [JBoss Cache: Core Edition] - basic question on starting a jboss cache

2008-03-26 Thread radomehta
I have read a lot of documentation on jboss cache and have finally decided to 
use it for my persistence layer. I am using hibernate and now plan to integrate 
hibernate with jboss cache for 2nd level caching. 
After reading the documents, I got confused as to how to start jboss cache? Do 
I have to write my own client code and use its API to start it or is there some 
run.sh script file which will read my config-cache.xml file for persistence and 
start the jboss cache thread? 
I would be really thankful if you could provide me this basic information.


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

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


[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer

2008-03-26 Thread alesj
[EMAIL PROTECTED] wrote : Just wondering if there is a code example somewhere 
of a simple parsing deployer using the JAXB stuff.  I'm having a hard time 
figuring out the intended usage based on the documentation (a lot of the 
deployer stuff is still missing from the docs it seems).
  | 
ATM I don't think there is any 'production' usage of the new 
JBossXB.Builder/JAXB parsing.
Since we haven't done the full switch yet.

I'll have a look today, trying to provide the initial parsing deployer based on 
this stuff.
But for time being have a look at any XYZJaxbTestCase in Microcontainer module, 
and follow the trail to the parsing bit.

[EMAIL PROTECTED] wrote : 
  | The documentation, in many cases, says things like The BeanMetaData 
provides top level information and access to the more detailed information 
about the bean deployment or The purpose of Structure Deployer is to 
recognise the deployment type and prepare this information for the actual 
Deployers.  These are all good, concise explanations for the purpose of these 
concepts.  But then fails to explain how to actually use them in practice; e.g. 
I'm looking for something that says To actually implement a deployer, extend 
XXX and provide implementations for YYY and ZZZ.
All agreed.
But the MC's VDF is a huge huge beast.
Providing example for every part is virtually impossible.

But I think the new concept of being able to comment on the docs will help with 
this problem. e.g. users providing best practices

And we can also keep a note of the things you users :-) want in the docs from 
the beginning. 
Having example of new cool JBossXB.Builder is a reasonable choice. :-)

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

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


[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer

2008-03-26 Thread newtonm
Hi David,

Finishing the Deployment Framework sections of the JBoss Microcontainer User 
Guide is the very next thing on my list.

I've been wanting to do this for a while but I've been held up trying to get 
the JBoss Documentation project back on its feet so that all JBoss.org projects 
can produce docs from DocBook using Maven and the JBoss.org style (as used by 
the JBoss MC Guide).

For the moment, until I can complete the content, looking at the Unit Test for 
the JAXB parsing deployer is probably the best you can do.

Mark

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

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


[jboss-user] [Beginners Corner] - LDAP login

2008-03-26 Thread lema
hallo all,

could anyone, pls, help me with (logging in through) LDAP settings? i've 
written a part which checks if usernamepassword exist in active directory. 
But., i've to get usernames of all application users. some users may be in one 
city, some in another, and infos which the application give are different for 
each city.

the part which check usernamepassword:

public SmdUser checkLogin(String username, String password) throws Exception {
try{
int ldapPort = LDAPConnection.DEFAULT_PORT;
int ldapVersion = LDAPConnection.LDAP_V3;
LDAPConnection lc = new LDAPConnection();
context = getInitialContext();
smsDeliverySecurityRemote = (SmsDeliverySecurityRemote)

context.lookup(smsdelivery.security/sms.delivery.security/remote);
try{
lc.connect( ourserver, ldapPort );
lc.bind(ldapVersion, username+@kcell.kz, 
password.getBytes(UTF-8));
lc.disconnect();
SmdUser smdUser = smsDeliverySecurityRemote.getUser(username);
System.out.println(checkLogin SMDUSER  + smdUser.getName());
return smdUser;
}
catch(LDAPException e){ 
System.err.println( Error:  + e.toString() );
return null;
}
catch(java.io.UnsupportedEncodingException e ) { 
System.out.println( Error:  + e.toString() );
return null;
}
}
catch(java.lang.NullPointerException e){ 
return null;
}
}

thanks in advance, lema.

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

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


[jboss-user] [Beginners Corner] - Re: LDAP login

2008-03-26 Thread lema
before setting the application security to LDAP, i used to do it like:

String username = getThreadLocalRequest().getRemoteUser();

and could get city of the username.

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

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


[jboss-user] [Security JAAS/JBoss] - LDAP login

2008-03-26 Thread lema
hallo,

please, help me with ldap security. i've described my question here 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4138938#4138938

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: EJB3 way of recreating Xdoclet's @jboss.audit feature?

2008-03-26 Thread smithmb
Can I modify these entities in an interceptor on a method in a session bean? 
Will I be able to access the entity bean in question from the interceptor? 
There's got to be a way to duplicate this functionality from EJB2!

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

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


[jboss-user] [JBoss Messaging] - Re: Failover on clustered queues causes thread leak

2008-03-26 Thread timfox
Can i confirm you have no MDBs or any other consumers on the nodes?

Also can you confirm which version of JBoss remoting you are using?

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

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


[jboss-user] [EJB/JBoss] - Transaction commit-option question

2008-03-26 Thread itayby
Hi 

I have a clustered JBOSS 4.0.4 server deployed with EJB 2.1 using MySql 
Database. 
My commit-option is set to A 
I want to add a new entity bean that will be updated/inserted/deleted a lot. 
In the documentation it says
anonymous wrote : Currently there is no distributed locking capability for 
entity beans within the cluster. This functionality has been delegated to the 
database and must be supported by the application developer. For clustered 
entity beans, it is suggested to use commit-option B or C in combination with a 
row locking mechanism.
My question is can I set the commit-option to B only on the new entity bean, 
and have all other beans stay at A? 

Thanks, Itay


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

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


[jboss-user] [JBoss jBPM] - Re: Problem sending mails

2008-03-26 Thread rodosa
The problem could reside in what parameters use jbpm. Because I've implemented 
to send a mail implementing it and works. If I use the mail-node of jbpm or the 
handler , how I described before, it fails.


Any ideas?


Thanks

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

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


[jboss-user] [JBoss jBPM] - Not calling action handler class

2008-03-26 Thread kalyanikbt
Hi 

I am trying to create a process definition which consists of two nodes and the 
pd looks like this:

process-definition
  |   xmlns=urn:jbpm.org:jpdl-3.2  name=ExpeditorAdaptorProcess
  |swimlane name=user
  |   assignment expression=user(ernie)/assignment
  |/swimlane
  |start-state name=start
  |   task name=Start Instance swimlane=user
  |  controller
  | variable name=integerValue/variable
  |  /controller
  |   /task
  |   transition name= to=Adaptor1/transition
  |/start-state
  |node name=Adaptor1
  |   transition name= to=adaptor2
  |  action name=action1 
class=com.expeditor.integration.File2DBActionHandler/action
  |   /transition
  |/node
  |node name=adaptor2
  |   transition name= to=end
  |  action name=action2 
class=com.expeditor.integration.DB2JBPMActionHandler/action
  |   /transition
  |/node
  |end-state name=end/end-state
  | /process-definition

While deploying, every thing is fine but when the actual flow starts it is not 
reaching to the nodes i am getting the an error message which is as follows:


  | javax.servlet.ServletException: Error calling action method of component 
with id taskform:transitionButton
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
  | 
org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:56)
  | org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
  | org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  | 
  | 
  | root cause 
  | 
  | javax.faces.FacesException: Error calling action method of component with 
id taskform:transitionButton
  | 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
  | javax.faces.component.UICommand.broadcast(UICommand.java:106)
  | javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
  | javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
  | 
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:271)
  | 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:94)
  | 
org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:56)
  | org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
  | org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  | 
  | 

The action class which is mentioned in the processdefinition is not calling.
can any one help me in this with u r valuable suggestion.

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

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


[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool

2008-03-26 Thread [EMAIL PROTECTED]
well  you can just try and use it and report back if it works...

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

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


[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer

2008-03-26 Thread [EMAIL PROTECTED]
You don't need to write code for a parsing deployer if you use the annotations.

You need to do two things:

1) Configure the generic JBossXB deployer


  |bean name=ClassLoadingMetaDataParser 
class=org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer
  | 
  | !-- This is what you expect the metadata to parsed to --
  | 
  |   constructor
  |  
parameterorg.jboss.classloading.spi.metadata.ClassLoadingMetaData/parameter
  |   /constructor
  | 
  | !-- This says you want to parse any META-INF/jboss-classloading.xml --
  | 
  |   property name=namejboss-classloading.xml/property
  | 
  | !-- This is optional for the profile service - it builds the management 
information from annotations --
  | 
  |   property name=buildManagedObjecttrue/property
  |/bean
  | 


2) But there is one extra step that JBossXB needs.
It needs to know that your schema name maps to that class.

Technically, this should be redundant, but the deployer doesn't do this for 
you. :-(

You either make it a factory setting in the SingletonSchemaBindingResolver
or you have to add some extra metadata to JBossXB, 
e.g. see deployers/metadata-beans.xml in the appserver

I guess we could add an extra option to the SchemaResolverParser

  |propertry name=registerWithJBossXBtrue/property
  | 
which would take the schema name from the annotation on the class/package
and register the generated schema binding with JBossXB?
Which would remove the need for step (2)

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

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


[jboss-user] [JBoss jBPM] - Re: Not calling action handler class

2008-03-26 Thread kukeltje
look in the logging of the appserver. There should be more info in there

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

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


[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer

2008-03-26 Thread [EMAIL PROTECTED]
Off Topic

Alex, this kind of thing would be a good example for the use case xml.

i.e. instead of

  |bean name=ClassLoadingMetaDataParser 
class=org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer
  | 
  |   constructor
  |  
parameterorg.jboss.classloading.spi.metadata.ClassLoadingMetaData/parameter
  |   /constructor
  | 
  |   property name=namejboss-classloading.xml/property
  |/bean
  | 

you do

  | jbossxb-parser xmlns=urn:jboss:deployers:2.0
  | name=FooParser
  | class=com.foo.MetaData
  | suffix=-foo.xml/
  | 

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

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


[jboss-user] [JBoss jBPM] - Re: Not calling action handler class

2008-03-26 Thread kalyanikbt
There is no info in the log file of the app server regarding this.

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

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


[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer

2008-03-26 Thread alesj
[EMAIL PROTECTED] wrote : 
  | I guess we could add an extra option to the SchemaResolverParser
  | 
  |   |propertry name=registerWithJBossXBtrue/property
  |   | 
  | which would take the schema name from the annotation on the class/package
  | and register the generated schema binding with JBossXB?
  | Which would remove the need for step (2)
  | 
OK, I'll add this.
Since I think that step (2) is pita, and a very possible root of problems.
e.g. recent jboss:security-config:5.0 ;-)

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

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


[jboss-user] [JBossWS] - Re: Providing your own wsdl instead of the generated one.

2008-03-26 Thread jacobsm
ngtdave and PeterJ:

Thank you for this topic.  It was quite helpful.

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

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


[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer

2008-03-26 Thread alesj
[EMAIL PROTECTED] wrote : 
  | Ales, this kind of thing would be a good example for the use case xml.
  | 
You mean a use case of a use case. :-)
I'll add this as well then.


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

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


[jboss-user] [JBossWS] - Re: Providing your own wsdl instead of the generated one.

2008-03-26 Thread ngtdave
Glad to have helped. :)

jacobsm wrote : ngtdave and PeterJ:
  | 
  | Thank you for this topic.  It was quite helpful.

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

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


[jboss-user] [JBoss Messaging] - Re: Failover on clustered queues causes thread leak

2008-03-26 Thread andrei.martchouk
There aren't any consumers deployed on the messaging nodes. Only the queues are 
deployed.

JBoss remoting 2.2.2sp4

(Thijs and me working together on the problem)

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

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


[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer

2008-03-26 Thread [EMAIL PROTECTED]
OK, looks good so far.  The only piece of the puzzle missing for me is how to 
write the actual deployer which takes the metadata and converts it into a bean 
deployment (that's how it's supposed to work, right?), presumably feeding that 
back to the MC so that it can do its magic.

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

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


[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer

2008-03-26 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote : You don't need to write code for a parsing deployer 
if you use the annotations.
  | 
  | You need to do two things:
  | 
  | 1) Configure the generic JBossXB deployer
  | 
  | 2) But there is one extra step that JBossXB needs.
  | It needs to know that your schema name maps to that class.
  | 

Cool, easier than I thought.  Adding an option for registering the schema 
binding would be very handy.

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

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


[jboss-user] [JBoss Cache: Core Edition] - eviction inacurracy

2008-03-26 Thread mircea.markus
The modifiedTimeStamp attribute of an NodeEntry is currently being set when the 
eviction thread kicks in to valus Sys.CurrentTime (a). The inaccuracy is in the 
difference between (a) and the actual time when action took place, eviction 
event was created and added to the region(b). 
E.g. 
if we have a maxAge set to 15, wakeupInterval set to 10. 
sec 0) node /a is added 
sec 10) eviction thread kicks in, an NodeEntry is created with 
modifiedTimeStamp set to Sys.currentTime
sec 20) eviction thread kicks in again, notices that node /a is only 10 sec old 
and does not evict it
sec 30) eviction thread kicks in again and evicts node /a as it's timestamp is 
20 sec old

In other words the node is evicted after 30secs. A better approach would be to 
pass the timestamp from eviction thread, which would reduce the inaccuracy and 
evict node in 20 secs.

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

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


[jboss-user] [JCA/JBoss] - Using CLOB in Serlvet

2008-03-26 Thread PrasnnaP
Hi All,

  We want to use CLOB in servlet. For this we created Oracle 9i Datasouce in 
-ds.xml file. But we getting ClassCast Exception while we retreiving the 
WrappedConnection from Datasource connection.


DataSource ds = (DataSource) ctx.lookup(java:/OracleDS);
con = ds.getConnection();//DPDao.getConnection();
System.out.println(Connection class =  + 
con.getClass().getName());
// This returns $Proxy55

// This block is never executed.
if(con instanceof 
org.jboss.resource.adapter.jdbc.WrappedConnection){
WrappedConnection wc=(WrappedConnection)con;
//with getUnderlying connection method , cast 
it to Oracle Connection
Connection 
oracleConnection=wc.getUnderlyingConnection();
}


Basically we getting Proxy connection when we want to retriev the Oracle 
underlying connection in our servlet code. 

Thanks in advance !
-PrasP  

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

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


[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer

2008-03-26 Thread alesj
[EMAIL PROTECTED] wrote : The only piece of the puzzle missing for me is how 
to write the actual deployer which takes the metadata and converts it into a 
bean deployment (that's how it's supposed to work, right?), presumably feeding 
that back to the MC so that it can do its magic.
You (usually) don't have to write the deployer, you only need to write your 
metadata classes. Or better, you need to properly annotate them.

You have two approaches - if we're talking about creating bean deployment.

1) Your custom xml is included in existing beans deployment

Have proper annotations on metadata, register schema and your metadata class 
must implement org.jboss.beans.metadata.spi.BeanMetaDataFactory.
e.g.
 - 
http://anonsvn.jboss.org/repos/jbossas/projects/jboss-cl/trunk/classloading-vfs/src/main/org/jboss/classloading/spi/vfs/metadata/VFSClassLoaderFactory.java

2) You have custom xml file

Have proper annotations on metadata.
Use both of previous Adrian's suggestions.
Now you need to create proper components that MC will understand.
See this thread for more info:
 - http://www.jboss.org/index.html?module=bbop=viewtopict=130527

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deploying Hudson on JBoss5 beta4

2008-03-26 Thread jaikiran
I spent some time on this today with my local version of JBoss-5 Beta4. A bit 
of debugging and some modification to the JBoss server code (to print out some 
logs) pointed to a file named exposed.beans which is present in the META-INF 
folder of hudson.war/WEB-INF/lib/hudson-core-1.200.jar/META-INF folder. 
Apparently while parsing/opening this file there's some problem which leads to 
these exceptions. I haven't exactly been able to figure out what exactly is 
wrong with this file.  As a workaround (just for tests) i deleted this file 
from the META-INF folder and deployed the application. The application deployed 
successfully without problems. I was even able to deploy the hudson.war file in 
an archive format (after deleting the exposed.beans file). I still don't 
exactly know what's the problem with the exposed.beans. Maybe you would want to 
point this to someone who's involved in developing Hudson (not sure whether 
they would entertain this request because you are using a Beta !
 server and their documentation mentions using JBoss-4.2.x)?


P.S: If you are going to delete the exposed.beans for testing, you will also 
have to delete the HUDSON.SF from hudson.war/META-INF folder (remember this 
just for testing), or else the war file will fail verification (since this is a 
signed jar).

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

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

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


[jboss-user] [JBoss Tools (users)] - Re: anyone else have issues with visual editor on OSX?

2008-03-26 Thread jcg3
I re-downloaded the JBoss Tools plugins and...  as described, it just worked.

There must have been something wonky about my install...  thanks for helping me 
figure out that it must have been something local.

-Jason

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

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


[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool

2008-03-26 Thread baz
In case of missunderstanding.
@Max
I thought that P20080325024219  is the patch. And this is not available via 
updatemanager,yet:-(

This was the reaseon for my question:
anonymous wrote : So we have to wait?
In long words: Have we to wait for the availability of the patch via update 
manager or are you so kind to accelerate this ?

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

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


[jboss-user] [JBoss Portal] - Re: Hibernate Open Session In View (in Portlet)

2008-03-26 Thread PMN
If you access an hibernate object outside the scope of the hibernate session 
where it has been loaded or saved, then before accessing a lazy property you 
have to open a new session and reattach the object to the new session. Check 
the hibernate session interface to do that  - I believe it's update() ...

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

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


[jboss-user] [JBoss Portal] - Re: WSRP: SAP EP versus JBoss

2008-03-26 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBPORTAL-1963
http://jira.jboss.com/jira/browse/JBPORTAL-1964

:)

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

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


[jboss-user] [JBoss Portal] - Re: WSRP: IBM Websphere Portal Server

2008-03-26 Thread [EMAIL PROTECTED]
I will look into it. Could you attach WPS' service description, please?

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

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


[jboss-user] [EJB 3.0] - Re: Get ear name

2008-03-26 Thread benc
I don't know about klejs's reason, for me it is for JNDI lookups because  the 
default path starts with the ear name.  Our build scripts include build number, 
date, etc in the ear name.  It would be nice for the application to be able to 
determine what the ear name is dynamically instead of having to hard code it 
somewhere and update it for every new build.

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

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


[jboss-user] [JBoss Portal] - Re: Hibernate Open Session In View (in Portlet)

2008-03-26 Thread EricML
Hi PMN, thanks for your suggestions, but I dont think that this would be the 
best way to handle it for several reasons:

* Writing Java Code in a JSP is not recommended
* Opening a new session and reattaching the objects in the JSP violates the 
MVC-pattern. 
* Performance will suffer a lot because you need additional selects for the 
reattachment

Is there no way to span the transaction around the whole request?

TXStart--processAction--...--doView--...--(rendering JSP)--TXEnd

Is there no equivalent of an HibernateSessionRequestFilter 
(http://www.hibernate.org/43.html) for ServletApps in JBoss Portal?

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

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


[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer

2008-03-26 Thread [EMAIL PROTECTED]
OK, I'm going with #1 for now.  What about composite metadata objects though?  
For example I'd have a RemotingMetaData that contains EndpointMetaDatas.  
Should the nested MetaData objects implement BeanMetaDataFactory as well?  Or, 
should just my outermost metadata class implement the interface, and produce 
BeanMetaData for all the nested items as a flat list?

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

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


[jboss-user] [JBossWS] - Connection refused

2008-03-26 Thread kkkasper
Hello 

I have a problem. When I envoke a webservice call on a weblogic 8 from within 
jboss i get a connection refused error. 
Calling it from OUTSIDE jboss everything works fine (using the same class for 
doing the calling)
, but when run inside JBOSS (that is being run as part of executing a 
webservice call on the jboss), it refuses 
to do the call to the weblogic server. (see stack trace below)

I've tried connecting to the WS url using a URL object just to see if that was 
possible and I 
was able to read and output to the screen the full wsdl file. However, looking 
at the stack trace, it looks 
as though its the call thats failing.. but i don't know..

I'm using axis2 for the webservice call which nicely generated code based on 
the service's wsdl file.


I hope someone has a clue as what I have done wrong. I'm a rookie both at jboss 
and WS for the moment ;-)

many thanks!
K

I'm running 

14:48:19,203 INFO  [Server] Starting JBoss (MX MicroKernel)...
14:48:19,234 INFO  [Server] Release ID: JBoss [Zion] 4.0.3RC1 (build: 
CVSTag=JBoss_4_0_3_RC1 date=200506260723)
14:48:19,234 INFO  [Server] Home Dir: C:\jboss-4.0.3RC1
14:48:19,234 INFO  [Server] Home URL: file:/C:/jboss-4.0.3RC1/
14:48:19,234 INFO  [Server] Library URL: file:/C:/jboss-4.0.3RC1/lib/
14:48:19,234 INFO  [Server] Patch URL: null
14:48:19,234 INFO  [Server] Server Name: default
14:48:19,234 INFO  [Server] Server Home Dir: C:\jboss-4.0.3RC1\server\default
14:48:19,234 INFO  [Server] Server Home URL: 
file:/C:/jboss-4.0.3RC1/server/default/
14:48:19,234 INFO  [Server] Server Data Dir: 
C:\jboss-4.0.3RC1\server\default\data
14:48:19,250 INFO  [Server] Server Temp Dir: 
C:\jboss-4.0.3RC1\server\default\tmp
14:48:19,250 INFO  [Server] Server Config URL: 
file:/C:/jboss-4.0.3RC1/server/default/conf/
14:48:19,250 INFO  [Server] Server Library URL: 
file:/C:/jboss-4.0.3RC1/server/default/lib/
14:48:19,250 INFO  [Server] Root Deployment Filename: jboss-service.xml
14:48:19,250 INFO  [Server] Starting General Purpose Architecture (GPA)...
14:48:20,437 INFO  [ServerInfo] Java version: 1.6.0_01,Sun Microsystems Inc.
14:48:20,437 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.6.0_01-b06,Sun Microsystems Inc.
14:48:20,437 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
14:48:21,312 INFO  [Server] Core system initialized


and here is the stack trace

14:50:12,109 INFO  [STDOUT] calling 
http://10.xxx.xxx.xxx:7001/Doc/webservice/Document.jws?WSDL
14:50:17,703 INFO  [STDOUT] java.rmi.RemoteException: SOAP 
Fault:javax.xml.rpc.soap.SOAPFaultException
Detail:

 bea_fault:stacktrace   
xmlns:bea_fault=http://www.bea.com/servers/wls70/webservice/fault/1.0.0;java.net.ConnectException:
 Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:193)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:515)
at sun.net.www.http.HttpClient.(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:318)
at 
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792)
at 
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:733)
at 
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:658)
at 
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:836)
at 
weblogic.webservice.binding.http11.Http11ClientBinding.send(Http11ClientBinding.java:399)
at 
weblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHandler.java:37)
at 
weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.java:143)
at 
weblogic.webservice.core.ClientDispatcher.send(ClientDispatcher.java:231)
at 
weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:143)
at 
weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
at 
weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:303)
at 
weblogic.jws.proxies.DocumentBatchSoap_Stub.updateBatchStatus(DocumentBatchSoap_Stub.java:482)
at 
weblogic.jws.proxies.DocumentBatchSoap_Stub.updateBatchStatus(DocumentBatchSoap_Stub.java:504)
 ...
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 

[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer

2008-03-26 Thread [EMAIL PROTECTED]
Of course now that I think of it, I'd like other deployers to be able to 
produce metadata instances for the various Remoting entites, so that 
deployments can be dynamically created - I guess that implies that each 
metadata type that can produce a bean or beans ought to implement 
BeanMetaDataFactory.

I guess in this case my outer metadata unit is just a holder for the 
different types of actual metadata.  In this case I guess I won't implement 
BeanMetaDataFactory on it, but rather on each metadata class that translates 
into beans.

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

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


[jboss-user] [Microcontainer] - Re: Code example for a basic parsing deployer

2008-03-26 Thread alesj
[EMAIL PROTECTED] wrote : 
  | I guess in this case my outer metadata unit is just a holder for the 
different types of actual metadata.  In this case I guess I won't implement 
BeanMetaDataFactory on it, but rather on each metadata class that translates 
into beans.
Your top element/metadata must implement BMDF, since that is how 
AbstractKernelDeployment is able to understand what you've put as any element:

  |@XmlElements
  |({
  |   @XmlElement(name=bean, type=AbstractBeanMetaData.class),
  |   @XmlElement(name=beanfactory, 
type=GenericBeanFactoryMetaData.class),
  |   @XmlElement(name=lazy, type=AbstractLazyMetaData.class)
  |})
  |@XmlAnyElement
  |public void setBeanFactories(ListBeanMetaDataFactory beanFactories)
  |{
  |   this.beanFactories = beanFactories;
  |   flushJBossObjectCache();
  |}
  | 
What you do in that method, how you get the beanmetadatas, is up to you.

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

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


[jboss-user] [JBoss AOP] - Re: aopc and headaches

2008-03-26 Thread apinto
[EMAIL PROTECTED] wrote : AFAIK, the value of classpath must contain all 
classes referenced by the classes to be weaved. 
  | So, here are my two cents:  check if the class that JBoss AOP is not 
finding is in the path referenced by classpathref (in the case, the.classpath).

Hi Flavia, thanks for your answer. The file is located in ${dir.bin.priv}, so, 
it's being imported... I still can't put this to work! Damn! :-D

AP

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

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


[jboss-user] [Management, JMX/JBoss] - Re: JConsole remote not working with JBoss4.2.2GA

2008-03-26 Thread axismundi
kpandey, what exactly did you change?
We are having trouble to connect to the JBoss JVM running on Linux. I 
investigated http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6209663
but changes to /etc/hosts didn't help.

I tried to set in run.conf
JAVA_OPTS=$JAVA_OPTS -Djboss.bind.address=LOCALIP
and
JAVA_OPTS=$JAVA_OPTS -Djboss.bind.address=HOSTNAME

but this didn't help either.




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

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


[jboss-user] [EJB 3.0] - Re: Get ear name

2008-03-26 Thread jaikiran
benc wrote : for me it is for JNDI lookups because  the default path starts 
with the ear name.  Our build scripts include build number, date, etc in the 
ear name.  

You are right, the default jndi name includes the ear name as well. However, 
you can override this default jndi name and bind the beans to specific 
jndi-names of your choice either by using the jboss.xml file or by using 
annotations (look for @RemoteBinding or @LocalBinding). This way, you don't 
have to depend on the ear file name.


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

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


[jboss-user] [JBoss Portal] - Scriptaculous JS files are added twice

2008-03-26 Thread tomstrummer
Scriptaculous has this handy built-in thing where it will automatically load 
its sub-modules (like effects.js) when you include the base scriptaculous.js.  
See http://wiki.script.aculo.us/scriptaculous/show/Usage.Unfortunately 
people don't realize this and add script tags for them anyway; the effect being 
that the libs are included twice:

This is the generated portal markup:

  | body id=body
  | script src=/portal-ajax/dyna/prototype.js type=text/javascript
  | /script
  | script src=/portal-ajax/dyna/scriptaculous.js type=text/javascript
  | /script
  | script src=http://localhost:8080/portal-ajax/dyna/builder.js; 
type=text/javascript
  | /script
  | script src=http://localhost:8080/portal-ajax/dyna/effects.js; 
type=text/javascript
  | /script
  | script src=http://localhost:8080/portal-ajax/dyna/dragdrop.js; 
type=text/javascript
  | /script
  | script src=http://localhost:8080/portal-ajax/dyna/controls.js; 
type=text/javascript
  | /script
  | script src=http://localhost:8080/portal-ajax/dyna/slider.js; 
type=text/javascript
  | /script
  | script src=/portal-ajax/dyna/effects.js type=text/javascript
  | /script
  | script src=/portal-ajax/dyna/dragdrop.js type=text/javascript
  | /script
  | script src=/portal-ajax/dyna/dyna.js type=text/javascript
  | 
  | 

Note that effects, and dragdrop are there twice -- once with a relative and 
once with an absolute URL.  The absolute URLs are generated on the client when 
scriptactulous.js is sourced.  Also I'm guessing the inclusion of controls, 
slider and builder are unintentional??

Just to double check, I looked at FireBug's net console and the libs are in 
fact being downloaded twice by the client.

The easiest solution would be to utilize the built-in loading like so:

  | script src=scriptaculous.js?load=effects,dragdrop 
type=text/javascript/script
  | 
And then do not explicitly add script.. tags for effects and dragdrop.

Environment:  JBoss Portal 2.6.4-GA on JBoss AS 4.2.2.GA

Should I file a bug report?

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

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


[jboss-user] [JBossWS] - Overriding InvocationHandlerFactory

2008-03-26 Thread [EMAIL PROTECTED]
Particulars:  Jboss AS 4.2.2.GA, JBossWS native 2.0.3.GA with JSE endpoints.


I am trying to implement my own InvocationHandlerFactory so that I can 
implement my own InvocationHandler instead of the 
DefaultInvocationHandlerJAXWS.   

To do so, I've created my implementations of the factory and the handler.  
These classes are in WEB-INF/classes directory of the WAR file.

In the base dir of the WAR. I've created the file 
META-INF\services\org.jboss.wsf.spi.invocation.InvocationHandlerFactory
with the name of my factory class as the only line.

I also have this same file in the classes directory of the WEB-INF directory so 
its path   looks like
WEB-INF/classes/META-INF/services/org.jboss.wsf.spi.invocation.InvocationHandlerFactory


Regardless, the ServiceLoader keeps finding service file in 
jboss-4.2.2.GA-Cox-AS/server/default/lib/jbossws-jboss42.jar.

So the question is...am I supposed to be able to override that service 
definition?  If so, can I configure the classloader to find the service file in 
my war before looking in the lib directory without screwing stuff up?

Thanks
Zach





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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Deployed error

2008-03-26 Thread Talo_ct
Hello to all,
I am trying to deploy a war file. I have checked that this war file run in 
Tomcat but I need to do it in JBOSS.
When I did it in jboss I obtained the following error:

  |   10:35:32,915 DEBUG [org.jboss.deployment.DeploymentInfo] 
createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: 
JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: 
null, configParserClassName: null, repositoryConfig: null)
  |   10:35:32,915 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] 
setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] 
url=file:/opt/shared/as/jboss-4.0.5.GA/server/resins/tmp/deploy/tmp11873iuclid-exp.war/
 ,addedOrder=0}
  |  10:35:32,915 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] 
setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] 
url=file:/opt/shared/as/jboss-4.0.5.GA/server/resins/tmp/deploy/tmp11873iuclid-exp.war/
 ,addedOrder=0}
  |   10:35:32,915 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding 
[EMAIL PROTECTED] 
url=file:/opt/shared/as/jboss-4.0.5.GA/server/resins/tmp/deploy/tmp11873iuclid-exp.war/
 ,addedOrder=0}
  |  26 10:35:32,915 DEBUG [org.jboss.deployment.MainDeployer] 
resolveLibraries: i5common.jar commons-logging-1.0.4.jar log4j-1.2.11.jar
  |  26 10:35:32,915 DEBUG [org.jboss.deployment.MainDeployer] new manifest 
entry for sdi at iuclid.war entry is i5common.jar
  |  10:35:32,915 DEBUG [org.jboss.deployment.MainDeployer] The manifest entry 
in file:/opt/shared/data/resins/IUCLUD/content/iuclid.war references URL 
file:/opt/shared/data/resins/IUCLUD/content/i5common.jar which could not be 
opened, entry ignored
  | org.jboss.deployment.DeploymentException: url 
file:/opt/shared/data/resins/IUCLUD/content/i5common.jar could not be opened, 
does it exist?
  | end 
  |   | the war file has the following name: iuclid.war
  |   | and the following structure:
  |   | +i5client
  |   | +i5clientPlugins
  |   | +images
  |   | +META-INF
  |   | +WEB-INF
  |   | client.properties.jsp
  |   | config.jsp
  |   | download.jsp
  |   | player.jsp
  |   | style.css
  | 
  | Please I would be very gratefully for any help or suggestion
  | Best Regards
  | Talo

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

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


[jboss-user] [Beginners Corner] - Method called when we enter and leave pages

2008-03-26 Thread jrochat
Hello !

My question is quite simple. How can I declar methode called when we enter in a 
page and when we leave a page. 

I have to perform some code when a user arrive on my page...

do I have to use @In (create= true) or @Factory or something else in my managed 
bean ?

Think you for your response !

gl0be

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

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


[jboss-user] [JBoss Portal] - Re: Hibernate Open Session In View (in Portlet)

2008-03-26 Thread PMN
I am not an expert of JSP 186 but I would rather commit the transaction in 
processAction to let changes seen by other portlets that may use another 
session.

An alternative to share an object outside the current session, why don't you 
reload it in the doView() ? Using a second level cache has almost the same 
caching feature. 



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

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


[jboss-user] [JBoss Portal] - Re: Scriptaculous JS files are added twice

2008-03-26 Thread [EMAIL PROTECTED]
Yes please !

And thanks for all the details !

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

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


[jboss-user] [JBoss Portal] - Re: JBOSS User API?

2008-03-26 Thread PMN
In my case the master copy of users will never be managed by jbp, so as long as 
users are kept in jbp database it's just another copy to synchronize with the 
master copy.  Thanks for the advice to never do this but using yet another 
api means rewriting a tool that works already for years and before jbp (jbp is 
not the central piece)

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

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


[jboss-user] [JBoss jBPM] - Re: jbpm on oracle

2008-03-26 Thread AJanz
do i have to change the hibernate.cfg.xml?

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

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


[jboss-user] [JBoss Portal] - Re: Scriptaculous JS files are added twice

2008-03-26 Thread tomstrummer
Done:  http://jira.jboss.com/jira/browse/JBPORTAL-1965

I would have provided a patch except I couldn't find where that markup is 
written from.

Thanks!

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

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


[jboss-user] [JCA/JBoss] - Re: Using CLOB in Serlvet

2008-03-26 Thread vickyk
PrasnnaP wrote :  System.out.println(Connection class =  + 
con.getClass().getName());
  | // This returns $Proxy55  
No this can not be true , I have tested it right now with oracle . 
Can you try it again with simple jsp page and see if you still see the Proxy , 
it should be  
WrappedConnection .
http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpAOracleDatasource
Check this 
 How to retrieve the underlying Oracle connection object?
  | 
  |Connection conn = myJBossDatasource.getConnection();
  |WrappedConnection wrappedConn = (WrappedConnection)conn;
  |Connection underlyingConn = wrappedConn.getUnderlyingConnection();
  |OracleConnection oracleConn = (OracleConnection)underlyingConn;
  | 


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

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


[jboss-user] [JBoss Tools (users)] - Re: Connector modules are not deployed

2008-03-26 Thread rtimush
Sorry for inconvenience, I cannot get nightly build right now. I seems, issue 
was only half-solved. I hope I'm wrong :)
 I have changed 
org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior from 
JBoss Tools 2.0.1 as in JIRA diff. Connector module was deployed after that, 
but with wrong extension (.jar). This won't work, .rar extension is needed.
I will test nightly build myself as soon as possible, but anyone, please take a 
look.

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

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


[jboss-user] [JBoss Portal] - JBoss Portal From Source - JSFSunRIPortlet war sample not wo

2008-03-26 Thread [EMAIL PROTECTED]
Hello friends,

I downloaded latest JBoss Portal from Source y/d and configured it with JBoss 
AS 4.2.2 GA along with MySQL5. 

I also downloaded 2 sample examples 
1. HelloWorldJSFMyFaces42Portlet.war
2. HelloWorldJSFSunRIPortlet.war

The first one did work fine. However; the second one did not work. I have a 
running version of JBoss Portal 2.6.4 on other machine where this second war is 
working pretty well.

Can anybody let me know why is it not working with the JBoss that I configured 
from the Source?

Here is the exception:


  | 2008-03-26 09:19:51,640 ERROR [STDERR] java.lang.ClassCastException: 
com.sun.faces.portlet.LifecycleFactoryImpl
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:805)
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:486)
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 2008-03-26 09:19:51,640 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 

and


  | 
  | 2008-03-26 09:19:51,656 ERROR [STDERR]  at 
java.lang.Thread.run(Thread.java:595)
  | 2008-03-26 09:19:51,671 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/helloworldjsfsunriportlet]]
 Exception sending context initialized event to listener instance of class 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
  | javax.faces.FacesException: java.lang.ClassCastException: 
com.sun.faces.portlet.LifecycleFactoryImpl
  | at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:387)
  | at 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
  | at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
  | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
  | 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:296)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 

  1   2   >