[jboss-user] [JBossWS] - Re: jax-ws soap protocol handler and white space.

2008-11-18 Thread mignaak
After days spent debugging I found a solution.
It seems the remote server does not support chunked requests.
The remote server is websphere 5.1.

The solution is to put chunksize=0 in client config Standard Client in file
standard-jaxws-client-config.xml in jbossws.

Hope this solution ca be useful to others.

Bye.

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

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


[jboss-user] [JBoss jBPM] - Re: Jbpm preliminary questions

2008-11-18 Thread dkmorb
Many thanks woo37830!


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: My project startup problem in JBoss-4.2.3.GA

2008-11-18 Thread svr.vin
Hi Jaikiran

   anonymous wrote : What are the contents of com.management.JBossStartupClass 
class?

   All the project startup settings are activated using this Startup Service.

   It is not displaying any info in log file or server execution command prompt 
window.

   later i added the import command 

   import org.jboss.util.ServiceMBeanSupport;

   now the error is throwing 


  | 
===
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: D:\jboss-4.2.3.GA
  | 
  |   JAVA: C:\Program Files\Java\jdk1.6.0_07\bin\java
  | 
  |   JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms128m -Xmx512m 
-Dsun.rmi.dgc.cli
  | ent.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360
  | 
  |   CLASSPATH: C:\Program 
Files\Java\jdk1.6.0_07\lib\tools.jar;D:\jboss-4.2.3.GA\b
  | in\run.jar;D:\jboss-4.2.3.GA\server\default\lib\ext;
  | 
  | 
===
  | 
  | 16:39:20,218 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 16:39:20,218 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: 
SVNTag=
  | JBoss_4_2_3_GA date=200807181439)
  | 16:39:20,218 INFO  [Server] Home Dir: D:\jboss-4.2.3.GA
  | 16:39:20,218 INFO  [Server] Home URL: file:/D:/jboss-4.2.3.GA/
  | 16:39:20,234 INFO  [Server] Patch URL: null
  | 16:39:20,234 INFO  [Server] Server Name: default
  | 16:39:20,234 INFO  [Server] Server Home Dir: 
D:\jboss-4.2.3.GA\server\default
  | 16:39:20,234 INFO  [Server] Server Home URL: 
file:/D:/jboss-4.2.3.GA/server/defa
  | ult/
  | 16:39:20,234 INFO  [Server] Server Log Dir: 
D:\jboss-4.2.3.GA\server\default\log
  | 
  | 16:39:20,250 INFO  [Server] Server Temp Dir: 
D:\jboss-4.2.3.GA\server\default\tm
  | p
  | 16:39:20,250 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 16:39:21,546 INFO  [ServerInfo] Java version: 1.6.0_07,Sun Microsystems Inc.
  | 16:39:21,546 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
10.0-b23,Sun
  |  Microsystems Inc.
  | 16:39:21,546 INFO  [ServerInfo] OS-System: Windows 2000 5.0,x86
  | 16:39:23,671 INFO  [Server] Core system initialized
  | 16:39:35,312 ERROR [MainDeployer] Could not create deployment: 
file:/D:/jboss-4.
  | 2.3.GA/server/default/conf/jboss-service.xml
  | org.jboss.deployment.DeploymentException: - nested throwable: 
(java.lang.reflect
  | .UndeclaredThrowableException)
  | at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
  | :196)
  | at 
org.jboss.system.ServiceController.install(ServiceController.java:226
  | )
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy4.install(Unknown Source)
  | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:251)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
  | or.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
  | BeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:264)
  | at 

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: My project startup problem in JBoss-4.2.3.GA

2008-11-18 Thread jaikiran
Please look at this wiki for creating a startup class 
http://www.jboss.org/community/docs/DOC-9463. That wiki points to an Example 
MBean which you can refer 

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

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


[jboss-user] [JBoss Tools (users)] - Seam perspective not available after installation

2008-11-18 Thread tom_frank
I installed eclipse 3.4.1 and Jboss Tools via UpdateManager 
http://download.jboss.org/jbosstools/updates/development.

When I check the available software section in the update manager of eclipse 
everything seems to be fine, because SeamTools Feature is available in the 
list.

However, the seam perspective is not available. I am also not able to create a 
new Seam Web project.

Looking in the log file of eclipse these are the only message related to jBoss:
!ENTRY org.jboss.tools.common.model 1 0 2008-11-18 09:36:18.881
  | !MESSAGE ClassLoaderUtil:activate: Cannot find required plugin 
org.jboss.tools.jst.web.ui
  | 
  | !ENTRY org.jboss.tools.common.model 1 0 2008-11-18 09:36:18.881
  | !MESSAGE ClassLoaderUtil:activate: Cannot find required plugin 
org.jboss.tools.jst.web
  | 
  | !ENTRY org.jboss.tools.common.model 1 0 2008-11-18 09:36:18.897
  | !MESSAGE ClassLoaderUtil:activate: Cannot find required plugin 
org.jboss.tools.jsf.ui

But I do not know which plug-in the message refers to and how to install the 
same ? I expected the update manager to install all dependencies..

Can somebody help on that?

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

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


[jboss-user] [JBossWS] - Re: WS Addressing

2008-11-18 Thread [EMAIL PROTECTED]
This is metro approach that doesn't work in native.
See our WS-Addressing documentation/tutorials/tests
to see how to enable WS-Addressing in native if native
is your preferred SOAP stack.
If you don't have preferred stack, use metro integration
instead.

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

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


[jboss-user] [JBoss Portal] - how to post within the same JSP in a portlet?

2008-11-18 Thread reeson
I mean the form and the action script are the same file..
How to detect if submit button of HTML form is clicked using JSTL?
Thanks!

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

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


[jboss-user] [JBoss jBPM] - Security in jBPM

2008-11-18 Thread vinodkv
Hi , 
I am using SOA- Suite 4.2 which comes with jBPM 3.2.2. 

I want to access the admin console available in jBPM via JSF. i.e I want to use 
JSF as the front end. jBPM uses a file based security and the user information 
and their roles are stored in 2 different property files.
soa-users.properties and soa-roles.properties. 

The login-config.xml file in the conf folder within the Server profile stores 
the information that it calls UsersRolesLoginModule class but that class is not 
to be found.

Is there any way that you can directly call the jBPM API from the JSF Bean to 
authenticate a User and give him access to the jBPM Web Console.

Thank You in anticipation

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

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


[jboss-user] [Beginners Corner] - 2nd level cache

2008-11-18 Thread CharlyBrown
Hi all,

Is it possible to turn off the second level cache when the 

cache usage = transactional 

attribute is set in the class?


I tried to turn off the second level cache in the jmx console
SecondLevelCacheEnabled false
but nothing happened.
The cache is still alive

AS 4.0.5 GA

Thanks
Charly

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

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


[jboss-user] [EJB 3.0] - Re: EJB in same class loader as Servlets

2008-11-18 Thread jaikiran
As far as i know, when you package the WAR and the EJB JAR into an EAR, the WAR 
will have its own classloader (as specified by the spec) and the classes in the 
WAR will not be accessible outside the WAR file.

anonymous wrote : I have found in the performance tuning section the advice in 
the subject. 

Could you please point us to that? 

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

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


[jboss-user] [Microcontainer] - Re: Lots of little XML files?

2008-11-18 Thread alesj
[EMAIL PROTECTED] wrote : 
  | What about some kind of mechanism to allow users to combine descriptors 
into a single file?
You can already do this.
It's called 'urn:jboss:bean-deployer:2.0'. ;-)


  | deployment xmlns=urn:jboss:bean-deployer:2.0
  |bean name=blah
  |   ...
  |/bean
  | 
  |classloading xmlns=urn:jboss:classloading:1.0
  |   capabilities
  |   package name=foo.bar version=1.0/
  |   /capabilities
  |/classloading
  | 
  |jbossxb-parser .../
  | 
  |...
  | 
  | /deployment
  | 

That's the whole point on having wildcard on BeanMetaDataFactory in 
KernelDeployment.
And your metadata implementing it.

Or how is your suggestion different from this?

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

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


[jboss-user] [JBoss jBPM] - Simple question on JPDL designer

2008-11-18 Thread dkmorb
Is it possible to show in JPDl Designer data from a db? For instance, I need to 
show a list of users somewhere during tasks editing (because tasks are 
associated to specific users stored in database). 
Should I modify RCP plugin code to have this feature? 

Thanks in advences!   

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Server is not Responding ( Jboss 4.2.3.GA with JDK1.5) a

2008-11-18 Thread prakashmvc
Hi Peter,
I got some tool to analyze the thread dump.After analysis what I found is,
In jboss server connection pool is configured to allow 75 connections.
After sometime starting the server,all database connections being blocked,it 
shows all 75 connections are inactive.
Java code base also, we are closing the connections after performing the 
operations.
Because of all the database connections are blocked, server couldn't connect to 
database.Hence it's going to zombie state.

Is there any configuration changes required in jboss to overcome this issue?

Regards,
Prakash

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

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


[jboss-user] [JBoss/Spring Integration] - Re: help on jboss spring integration

2008-11-18 Thread alesj
mattlf wrote : Maybe there should not be a dot in the version number 
MYPROJECT-JAR-1.0.spring ?
  | 
I doubt that dot is the cause.

How does your application.xml look like?
Perhaps you need to declare .spring jar as apps module:
(pseudo code, as it's been a while since I've done some real .ear)

  | app
  |module
  |   jarMYPROJECT-JAR-1.0.spring/jar
  |/module
  | /app
  | 

And you don't need to package spring jar with your app,
it's already part of SpringDeployer.

btw: try testing SpringDeployer, by deploying simple jboss-spring.xml 
directly into deploy directory.

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

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


[jboss-user] [JBoss Portal] - JBoss Portal 2.7.0 GA and MySQL

2008-11-18 Thread suzchr
Hi everybody.

I downloaded the package JBoss Portal + JBoss AS 4.2.3 version 2.7.0. I unzip 
all and now I would like to use my own MySQL database. In fact, by default, 
it's a HSQLDB used. I try to configure the xml files for Mysql but there is no 
effect. 
Someone can help me ?

Thank you.

Christophe

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

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


[jboss-user] [JBossWS] - Problem in interpreting SOAP message on JBoss EAP 4.3.0

2008-11-18 Thread eontech
Hi All,

We are using XFire to invoke webservices. We were using Jboss AS 4.0.5 earlier 
to deploy our webservices. This combination was working fine.
Now we have upgraded to JBossEAP 4.3.0. When we generate webservice clients via 
XFire to test webservices deployed on EAP, the parameters passed are null.
If we generate clients from wsconsume (Jboss utility), it works fine. It works 
well with .NET clients as  well.
I am wondering what has changed in EAP which is not interpreting XFire request 
correctly. 

Following are the SOAP messages from various clients, all work well in JBoss AS 
4.0.4 but on EAP with XFire, parameters become null.

=Jboss Client

  | 
  | env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'
  |  env:Header/
  |  env:Body
  |   ns1:callwebsvcService 
xmlns:ns1='http://ws.websvc.services.abhishek.com/standard/head/websvctest'
  |tokenmyvalue/token
  |holdingId101/holdingId
  |   /ns1:callwebsvcService
  |  /env:Body
  | /env:Envelope
  | 

=.NET Client

  | 
  | soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' 
xmlns:xsd='http://www.w3.org/2001/XMLSchema' 
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  |  soap:Body
  |   callwebsvcService 
xmlns='http://ws.websvc.services.abhishek.com/standard/head/websvctest'
  |token xmlns=''test/token
  |holdingId xmlns=''1/holdingId
  |   /callwebsvcService
  |  /soap:Body
  | /soap:Envelope
  | 

=XFIRE Client===

  | 
  | soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' 
xmlns:xsd='http://www.w3.org/2001/XMLSchema' 
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  |  soap:Body
  |   ns1:callwebsvcService 
xmlns:ns1='http://ws.websvc.services.abhishek.com/standard/head/websvctest'
  |ns1:tokenXFire/ns1:token
  |ns1:holdingId123/ns1:holdingId
  |   /ns1:callwebsvcService
  |  /soap:Body
  | /soap:Envelope
  | 



Following is the wsdl contents


  | ?xml version=1.0 encoding=UTF-8?
  | definitions name=websvcCallService 
targetNamespace=http://ws.websvc.services.abhishek.com/standard/head/websvctest;
 
  | xmlns:tns=http://ws.websvc.services.abhishek.com/standard/head/websvctest; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  | xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; 
xmlns=http://schemas.xmlsoap.org/wsdl/;
  |   types
  | xs:schema 
targetNamespace=http://ws.websvc.services.abhishek.com/standard/head/websvctest;
 version=1.0 
  | 
xmlns:tns=http://ws.websvc.services.abhishek.com/standard/head/websvctest; 
xmlns:xs=http://www.w3.org/2001/XMLSchema;
  |xs:element name=callwebsvcService type=tns:callwebsvcService/
  |xs:element name=callwebsvcServiceResponse 
type=tns:callwebsvcServiceResponse/
  |xs:complexType name=callwebsvcService
  | xs:sequence
  |  xs:element minOccurs=0 name=token type=xs:string/
  |  xs:element name=holdingId type=xs:int/
  | /xs:sequence
  |/xs:complexType
  |xs:complexType name=callwebsvcServiceResponse
  | xs:sequence
  |  xs:element minOccurs=0 name=callwebsvcServiceResponse 
type=xs:string/
  | /xs:sequence
  |/xs:complexType
  |   /xs:schema
  |   /types
  |   message name=websvcCallService_callwebsvcService
  | part name=callwebsvcService element=tns:callwebsvcService
  | /part
  |   /message
  |   message name=websvcCallService_callwebsvcServiceResponse
  | part name=callwebsvcServiceResponse 
element=tns:callwebsvcServiceResponse
  | /part
  |   /message
  |   portType name=websvcCallService
  | operation name=callwebsvcService parameterOrder=callwebsvcService
  |   input message=tns:websvcCallService_callwebsvcService
  | /input
  |   output message=tns:websvcCallService_callwebsvcServiceResponse
  | /output
  | /operation
  |   /portType
  |   binding name=websvcCallServiceBinding type=tns:websvcCallService
  | soap:binding style=document 
transport=http://schemas.xmlsoap.org/soap/http/
  | operation name=callwebsvcService
  |   soap:operation soapAction=/
  |   input
  | soap:body use=literal/
  |   /input
  |   output
  | soap:body use=literal/
  |   /output
  | /operation
  |   /binding
  |   service name=websvcCallService
  | port name=websvcCallServicePort 
binding=tns:websvcCallServiceBinding
  |   soap:address location=http://127.0.0.1:8080/ws/websvcCallService/
  | /port
  |   /service
  | /definitions
  | 


XFire uses namespace with the attribute which is correct, why does EAP fails to 
parse these values.

Any Help on this matter is highly appreciated.

Regards,
Abhishek


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

Reply to the post : 

[jboss-user] [JBoss Cache: Core Edition] - Re: JTA Support Clarification

2008-11-18 Thread [EMAIL PROTECTED]
luis.miranda wrote : Is JTA support used strictly for replication purposes in 
JBoss Cache (3.0.0.CR3) or is there full transactional support even in a local 
cache (i.e. atomicity and isolation from other transactions within the same 
JVM)? In other words, can I roll back some puts after I have done them?
  | 

No, they can be used for consistency guarantees in LOCAL mode too.

luis.miranda wrote : 
  | Also, according to the FAQ it is not possible to have a JBC participate in 
a global/XA transaction (together with the RDBMS). If that's the case, what 
approach should be taken to ensure consistency between the two resources?
  | 

That's not true, a JTA transaction can span databases too - it is just that 
internally, JBC will not propagate this to a transaction-aware cache loader 
(such as JDBC) but instead will use its own lifecycle of prepares and commits 
on the cache loader.

If you have a DB outside of the cache participating in the same JTA 
transaction, this is supported.

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.7.0 GA and MySQL

2008-11-18 Thread suzchr
I've forgotten, I use a MySQL version 5 and I'm a novice in JBoss and JBoss 
Portal

I can give you more precision if you need.
Thank you.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JBossCache with Apache Tomcat

2008-11-18 Thread [EMAIL PROTECTED]
what do you need?  Just use it in your webapp and package the necessary libs in 
your WAR.

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

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


[jboss-user] [EJB 3.0] - Re: Need Urgent Help; MDB

2008-11-18 Thread jaikiran
Which version of JBoss and Java do you use?

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

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


[jboss-user] [JBoss jBPM] - Re: How to get the actor-id of the actor who started a proce

2008-11-18 Thread azeemullah_m
I have A question . Is this possible to set an actorId as well as a 
swimlaneInstance for a taskInstance. Because in my application. I have group 
Workitem and myworkitem. When the user logs in he will see his task in my 
workitem page and in the group workitem he will see the tasks related to his 
group persons,

Please reply

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: java.lang.NoClassDefFoundError for jars that are in the

2008-11-18 Thread yairogen

Thanks.

Looks like this solved the problem.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Cannot create a Dynamic Web Module 2.5 version project

2008-11-18 Thread akazakov
This bug has been fixed already https://jira.jboss.org/jira/browse/JBIDE-3182.
Please use the latest nightly build.

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

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


[jboss-user] [JBoss Portal] - Re: cms nodes

2008-11-18 Thread [EMAIL PROTECTED]
You should not try to access the data in the tables directly as the structure 
is in the form of Serialized Java Objects and will lead to data corruption

You should use the JCR API to access the CMS node tree like the way our CMS 
Service does using the Command Framework which is part of our CMS Service.


Look at the code in the package org.jboss.portal.cms.impl.jcr.command for 
example of how to do this. There is also a chance you can use the 
out-of-the-box Commands to accomplish what you are trying to do.

Thanks


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

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


[jboss-user] [Security JAAS/JBoss] - Re: Migration from Bea Weblogic = Security roles, users and

2008-11-18 Thread Wolfgang Knauf
Hi,

there are some differences. First of all, you need a jboss specific Security 
Domain. For this, add a file jboss-web.xml to WEB-INF of your web project, 
declaring a security-domain:

?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE jboss-web PUBLIC
  | -//JBoss//DTD Web Application 4.2//EN
  | http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd;
  | 
  | jboss-web
  | security-domainjava:/jaas/nameofyoursecuritydomain/security-domain
  | context-root.../context-root
  | /jboss-web

The security domain itself is declared in 
\server\default\conf\login-config.xml and defines the user/role mappings. 

As I see that you are from Germany: here is a german tutorial for JBoss 
security (including a database-based user/role mapping):  
http://www.informatik.fh-wiesbaden.de/~knauf/SWTVertiefungWS2007/security/index.html

Hope this helps

Wolfgang

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

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


[jboss-user] [EJB 3.0] - Re: Need Urgent Help; MDB

2008-11-18 Thread jaikiran
I do have a simple EJB3 application in JBoss-4.2.3 GA in which i have the 
singleton MDB working. So please post your code in the MDB (along with the 
annotations) and also the steps that you are following to test that only one 
instance is created.

While posting the logs or code or xml content, remember to wrap it in a code 
block using the Code button in the message editor window and please hit the 
Preview button to make sure your post is correctly formatted

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

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


[jboss-user] [JBoss Tools (users)] - Re: Seam perspective not available after installation

2008-11-18 Thread [EMAIL PROTECTED]
hmm 2 things:

1) Please report this in jira with steps on how to reproduce since it should 
just get the plugins for you 

2) Also get the common/core/jsf plugins to get those jst.* plugins

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.7.0 GA and MySQL

2008-11-18 Thread analyzediz
To use JBoss Portal with MySQL, you will need to setup you database connections 
so that the portal container can setup all the tables that it needs to 
function. 

You should be able to take the following steps (give or take a couple) to get 
things working. (Portal_home is the root directory where the portal is 
extracted)

1. Go to the [Portal_Home]/setup. Copy the file portal-mysql5-ds.xml to 
[Portal_Home]/server/[config]/deploy directory. Where [config] is the server 
configuration that you chose... all, default, minimal etc.

2. Edit this file at it's new location to include your database server's 
connection URL and everything else that is needed to connect to your database 
server.

3.Go to the MySQL site to download a copy of the JDBC driver for MySQL and 
place the JAR file at [Portal_Home]/server/[config]/lib. I think it is 
available here: http://dev.mysql.com/downloads/connector/j/5.0.html

4. Startup your server and you should be good to go.

Hope this helps a bit.


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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JTA Support Clarification

2008-11-18 Thread luis.miranda
Clearly something is misconfigured on my end. Thank you for confirming my 
suspicions! :)

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Log4j in JBoss WEB server

2008-11-18 Thread chemaaa
I am trying to configure JBoss WEB server 2.1.1 GA to use log4j as the logging 
framework. What I want is to use log4j to write the internal messages generated 
by the server to a file and use a log4j.properties file to configure these.

In the JBoss Web server documentation it does mention that it is possible to 
use log4j 
(http://www.jboss.org/file-access/default/members/jbossweb/freezone/docs/2.1.1/logging.html),
 but it doesn't say how to do it (it only mentions the java.util.logging 
configuration).

To get around this, I have applied the instructions that are given for Apache 
Tomcat 6.0 at http://tomcat.apache.org/tomcat-6.0-doc/logging.html to the JBoss 
Web Server source, but it still does not work.

Has anyone managed to get this to work? 
Is this a limitation of JBoss Web Server compared to Apache Tomcat?

Thanks!


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

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


[jboss-user] [JBoss Portal] - Re: Injection of header content (title, scripts) with portal

2008-11-18 Thread andiXT
1. Ok, I have included in my layouts 
 titlep:title default=%= PortalConstants.VERSION.toString() %//title
  | 
And it really helped me. But only when I replaced portal-layout.tld from portal 
2.6 with version from portal 2.7. I think this point should be noticed in 
reference guide in migration chapter. Also it should be noticed that we should 
add this specific tag to our layouts.

2. Somehow my  p:headerContent/ started to output injected header contents 
from portlets. I don't know how. But the problem is that your tag handler 
(HeaderContentTagHandler) doesn't know how to parse w3c.dom.Element, so they 
just do simple Element.toString(). But, doing this, it returns following:

  | [meta: null][meta: null][link: null] [script: null] 
for java code:

  | Element element = response.createElement(title);
  | element.setTextContent(Just small);
  | response.addProperty(MimeResponse.MARKUP_HEAD_ELEMENT, element);
  | 
  | Element elementK = response.createElement(meta);
  | elementK.setAttribute(name, keywords);
  | elementK.setAttribute(content, keyword,new keyword);
  | response.addProperty(MimeResponse.MARKUP_HEAD_ELEMENT, 
elementK);
  | 
  | Element elementD = response.createElement(meta);
  | elementD.setAttribute(name, description);
  | elementD.setAttribute(content, sample description);
  | response.addProperty(MimeResponse.MARKUP_HEAD_ELEMENT, 
elementD);
  | 
  | 
  | Element elementL = response.createElement(link);
  | elementL.setAttribute(type, text/css);
  | elementL.setAttribute(rel, stylesheet);
  | elementL.setAttribute(href, /local/yuruy.css);
  | response.addProperty(MimeResponse.MARKUP_HEAD_ELEMENT, 
elementL);
  | 
  | Element elementS = response.createElement(script);
  | elementS.setAttribute(type, text/javascript);
  | elementS.setAttribute(src, /local/yuruy.js);
  | response.addProperty(MimeResponse.MARKUP_HEAD_ELEMENT, 
elementS);   
  | 
  | response.addProperty(MimeResponse.MARKUP_HEAD_ELEMENT, meta 
name=simple/meta);
  | 
For last one meta no output at all.

So, as you can see, it returns some object instead of valid xml tag string. I 
ahve found the message, that it's a bug, or maybe other behavior of java 1.5, 
because in 1.4.2 it returned proper xml string. More here:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6181019

So, what to do, what workaround use to have tags in page header? We are using 
xml-apis-1.3.03.jar for w3c.dom.Element

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

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


[jboss-user] [JBoss jBPM] - Re: How to get the actor-id of the actor who started a proce

2008-11-18 Thread kukeltje
No idea, give it a try... make a unittest to see

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

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


[jboss-user] [JBoss jBPM] - Re: Simple question on JPDL designer

2008-11-18 Thread kukeltje
dkmorb wrote : Is it possible to show in JPDl Designer data from a db? 
no

dkmorb wrote : 
  | Should I modify RCP plugin code to have this feature? 
  | 

Yes

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

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


[jboss-user] [JBoss jBPM] - Re: Security in jBPM

2008-11-18 Thread kukeltje
yes, just write your own login module like you would/could for any other webapp

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

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


[jboss-user] [JBoss jBPM] - ActorID and swimlane for a Task instance

2008-11-18 Thread azeemullah_m
Hi ,
In my application i need to insert both Actor id as well as swimlane for a 
taskinstance whenever it is created.Because the logged in user views his tasks 
in myworkitem page and in group workitem he will be viewing the group workitem 
tasks. So for Myworkitem i will retrive based on ActorId and for group workitem 
i will retrive based on swimlane instance.

My JPDL :Contains
--

For swimlane i have given swimlane Tag as
--

  
  assignment pooled-actors=AD,GSM,RVP,DVP,CDM/
   


For the actorId setting i have used .. Event  tag with task-create attribute. 
where i am doing the following code


My Sample Task Node in my JPDL
---
 task-node name=RateCard  AD Approval
  
   
   
   
   
  
   /task-node



public class MyHandlerClass implements ActionHandler
{
private static final long serialVersionUID = 1L;

public void execute(ExecutionContext poExecutionContext) throws 
Exception {
System.out.println(Assigning the Task to the User);
JbpmContext jbpmContext = poExecutionContext.getJbpmContext();
long taskId = poExecutionContext.getTaskInstance().getId();
System.out.println(Task Instance ID IS : +taskId);
TaskInstance taskInstance = jbpmContext.getTaskInstance(taskId);
taskInstance.setActorId(AD);
jbpmContext.save(taskInstance);
System.out.println(Task Instance  ACTOR ID: 
+poExecutionContext.getTaskInstance().getActorId());
System.out.println(Assigning Done);
}
}




The Problem is when i remove the swimlane from Process Defintion it sets the 
Actor id in taskInstance table. but when i try with swimlane it either sets the 
actor iD but removes the swimlaneInstance .

WHY do we not have provision to set both while task instantiated...

Kindly reply as soon as possible.

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

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


[jboss-user] [JBoss jBPM] - Re: Defining a public API for jBPM

2008-11-18 Thread kukeltje
There is some preliminary things to see. Please check 
http://www.jboss.com/index.html?module=bbop=viewtopict=145775

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

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


[jboss-user] [JBoss jBPM] - Re: ActorID and swimlane for a Task instance

2008-11-18 Thread kukeltje
2 things:

- use [ c o d e ] tags (see preview)
- make a real unit test with embedded processdefinition and actionhandler so we 
can easilty try it an maybe find a quick solution

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

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


[jboss-user] [JBoss jBPM] - Re: How to get the actor-id of the actor who started a proce

2008-11-18 Thread azeemullah_m
Thanks for your immediate Replly.

I tried to do the testing. but it doesnt allow a swimlane and an actor id both 
at once through jbpmContext . but when i try separately say outside of the jbpm 
like having a method where it sets actor Id with arguments TaskInstanceId and 
ActorId . it works Fine. but the same functionality is not attained through 
JbPm instance. I have also posted  a sample with new topic in this forum itself 
kindly have a look.
Kindly check if you could help me out...


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

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


[jboss-user] [JBoss Tools (users)] - Re: Seam perspective not available after installation

2008-11-18 Thread tom_frank
Well, it was my own mistake...

I installed the eclipse IDE instead of eclipse for JEE.
Now it works fine!

Sorry...my fault!


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - JBOSS and MSSQL

2008-11-18 Thread Sherst
hi all.

I am developing simple web application .I am using sqlserver2000 and jboss 
4.0.5GA app server.I copied all the three jar (sqlserver) into
jboss-4.0.5.GA\server\default\lib
But i am getting following error,can anybody tell what mistake i did?

An error occured in the bean. Error Message is: Could not create connection; - 
nested throwable: (java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for 
JDBC]Error establishing socket.); - nested throwable: 
(org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for 
JDBC]Error establishing socket.))
  | Stack Trace is :
  | 
  | org.jboss.util.NestedSQLException: Could not create connection; - nested 
throwable: (java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for 
JDBC]Error establishing socket.); - nested throwable: 
(org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for 
JDBC]Error establishing socket.))
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
  | at com.avalbank.callstat.DBWork.getConnection(DBWork.java:87)
  | at com.avalbank.callstat.DBWork.getCallList(DBWork.java:139)
  | at org.apache.jsp.callstat2_jsp._jspService(callstat2_jsp.java:111)
  | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
  | at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
  | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: org.jboss.resource.JBossResourceException: Could not create 
connection; - nested throwable: (java.sql.SQLException: [Microsoft][SQLServer 
2000 Driver for JDBC]Error establishing socket.)
  | at 
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:190)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:619)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:264)
  | at 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:575)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:347)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:330)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:402)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
  | ... 27 more
  | 

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: where to set the JAVA_OPTS for Max memory allocated

2008-11-18 Thread gan.gary
but I think this section( almost one third) has the most posts?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - configuring custom error pages across all vhosts

2008-11-18 Thread brettcave
I would like to set up custom error pages across all vhosts on a JBoss
AS. I have configured web.xml in ROOT.war of jboss-web.deployer with
error-page / error-code / location directives for all errors -
/error/404.html for not found as an example.

I currently have the following setup on jboss:
The standard vhost
1 x name-based vhost (vhosts configured in server.xml)
custom error pages on ROOT.war/error and configured
ROOT.war/WEB-INF/web.xml for custom error pages.
1 x app deployed on /myapp/ to name-based vhost

What is needed to configure the custom error pages on the named virtual host?

my server.xml looks similar to

  |  Engine name=jboss.web defaultHost=localhost
  | Realm 
className=org.jboss.web.tomcat.security.JBossSecurityMgrRealm
  |  
certificatePrincipal=org.jboss.security.auth.certs.SubjectDNMapping
  |allRolesMode=authOnly
  |/
  |Host name=localhost
  |   autoDeploy=false deployOnStartup=false deployXML=false
  |  configClass=org.jboss.web.tomcat.security.config.JBossContextConfig
  |   
  |Valve
  | className=org.jboss.web.tomcat.service.jca.CachedConnectionValve
  | 
  | 
cachedConnectionManagerObjectName=jboss.jca:service=CachedConnectionManager
  | 
  | transactionManagerObjectName=jboss:service=TransactionManager /
  | /Host
  | 
  |Host name=myvhost
  |autoDeploy=false deployOnStartup=false
  | 
  | configClass=org.jboss.web.tomcat.security.config.JBossContextConfig
  |Aliasvhost.access.uri/Alias
  |Valve
  | className=org.apache.catalina.valves.AccessLogValve
  | prefix=someprefix- suffix=.log
  |pattern=common directory=/path/to/log/ /
  |DefaultContext cookies=true crossContext=true
  | override=true/
  |/Host
  |  /Engine
  | 
I'm guessing I need a valve that uses errorReportValve to get this right?

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

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


[jboss-user] [JBoss Portal] - Re: Injection of header content (title, scripts) with portal

2008-11-18 Thread thomas.he...@jboss.com
Can you please open a Jira for it ?
Also if you have a patch in mind, that would be very helpful to attach it to 
the Jira.

Thanks for the report !

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

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


[jboss-user] [Remoting] - Configure for Firewall and https only

2008-11-18 Thread garwind111
Hello,

I have a Jboss Messaging application which is configured over HTTPS (HTTPS 
transport + SSL socket factory)

Now I must deploy it into behind a firewall and use only port 8443.

How does I must configure my https connector ?

Thanks.

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

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


[jboss-user] [JBoss Portal] - Re: Error occured accessing the

2008-11-18 Thread SivaSekhar
Thanx a lot Peter
Finally jbossportal2.7 is running on y machine using bundled source.

But when I tried using binary source it is not working
the following error is produced... anonymous wrote : 
  | 18:28:47,455 ERROR [InternalPortletContentProvider] Portlet invoker 
exception during portlet window rendering
  | org.jboss.portal.portlet.PortletInvokerException: 
javax.servlet.ServletException
  | at 
org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:101)
  | at 
org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
  | at 
org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)
  | at 
org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
  | at 
org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:75)
  | at 
org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
  | at 
org.jboss.portal.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:116)
  | at 
org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
  | at 
org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:219)
  | at 
org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.org$jboss$portal$core$impl$portlet$state$ProducerPortle
  | tInvoker$invoke$aop(ProducerPortletInvoker.java:53)
  | at 
org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletI
  | nvoker$invoke_N8654503705355129869.java)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
  | at 
org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletI
  | nvoker$invoke_N8654503705355129869.java)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
  | at 
org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletI
  | nvoker$invoke_N8654503705355129869.java)
  | at 
org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java)
  | at 
org.jboss.portal.portlet.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:145)
  | 
  | at 
org.jboss.portal.portlet.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:14
  | 9)
  | at 
org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$1.invoke(InstanceContainerImpl.java:93)
  | at 
org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
  | at 
org.jboss.portal.portlet.management.PortletContainerManagementInterceptorImpl.invoke(PortletContainerManagementIntercep
  | torImpl.java:59)
  | at 
org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
  | at 
org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInt
  | erceptor.java:93)
  | at 
org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
  | at 
org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:93)
  | at 
org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
  | at 
org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:162)
  | at 
org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.org$jboss$portal$core$impl$model$instance$InstanceConta
  | inerImpl$invoke$aop(InstanceContainerImpl.java:418)
  | at 
org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContaine
  | rImpl$invoke_N8654503705355129869.java)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
  | at 
org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContaine
  | rImpl$invoke_N8654503705355129869.java)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
  | at 

[jboss-user] [JBoss jBPM] - Waiting processes

2008-11-18 Thread Cagliostro
Hello,
at the moment i'm evaluating the jboss esb  jbpm functionalities. Interisting 
for us are functions regarding wait states of processes.

Here mainly 3 types:

- 1 process waiting for signal / finishing of another process (or several 
processes)
- Several processes waiting for one signal / one finishing process
- the combination of both - some kind of complex dependency handling, several 
processes waiting for signals, several processes which should give signals to 
one or more other processes

What are the best opportunities to realize these kind of wait states and 
messaging? 
And are there any (complex) examples and/or good documentation which aim at 
these kind of problems? 

Any help would be appreciated!
Greets

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBOSS and MSSQL

2008-11-18 Thread jaikiran
anonymous wrote : Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 
Driver for JDBC]Error establishing socket

Are you sure the database server ipcc-dawsl.opc.aval on port 1433 is accessible 
from the system where JBoss is running? What does

telnet ipcc-dawsl.opc.aval 1433

return from the JBoss system?

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

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


[jboss-user] [JBoss jBPM] - Re: GPD and remote process definition editing

2008-11-18 Thread gpstathis
Got it. Thank you for clarifying.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: configuring custom error pages across all vhosts

2008-11-18 Thread jaikiran
Maybe i am missing something, but isn't the error page mapping in the web.xml 
independent of virtual hosts? What i mean is as long as you configure your 
web.xml correctly to map the error codes to custom error pages, it does not 
matter whether you have virtual host configured for the application. Maybe i am 
wrong. Could you please post the contents of your web.xml? And does the custom 
error page redirection, currently work without any additional changes.

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

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


[jboss-user] [JCA/JBoss] - Re: Keep the connection alive after a management bean method

2008-11-18 Thread wimxa
Peter, OK, I might do something like that. Thanks!

vickyk, that would mean that all DataSources would behave like this. The last 
chapter in the link you gave (Turning off Connection Close Checking) is a setup 
for the whole CachedConnectionManager MBean. Is there a way to do that on a 
per-DataSource basis? 


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - jboss can't connect to Oracle

2008-11-18 Thread iscsi
Hi

I found here a simple oracle testing method: 
http://bderzhavets.blogspot.com/2007/06/deployment-seam-application-against.html
i tried it but i have a problem with a connection, so i got this error/warn:

12:31:49,721 WARN  [JBossManagedConnectionPool] Throwable while attempting to 
get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; 
- nested throwable: (java.sql.SQLException: Io exception:
 The Network Adapter could not establish the connection)

i found here an answer for this : 
This stack trace is probably due to using an old oracle 
JDBC driver with a newer oracle engine

So i found two driver, where the server run ojdbc5.jar, ojdbc6.jar
, and i download ojdbc14.jar but i got the same error message.

So have you got any idea what would be the problem?
Or where should i looking for the bug, or which log files should i check?

THanks,

Istvan

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

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


[jboss-user] [JBoss Messaging] - Re: Configure JBM over HTTPS behind Firewall + Nat

2008-11-18 Thread garwind111
ok, I ask to them. 

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

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


[jboss-user] [JBoss jBPM] - Re: Waiting processes

2008-11-18 Thread kukeltje
1: use subprocesses
2: build some custom code that knows how the relation is and signal the 
corresponding processes
3: hmm.. be creative... 

There are no examples of these since there is such a huge diversity of problems 
that we cannot start providing examples of these. But... there is a very 
flexible api to be used

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

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


[jboss-user] [JBoss jBPM] - Re: How to get the actor-id of the actor who started a proce

2008-11-18 Thread kukeltje
I did have a look there... Did you have a look at my response?

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

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


[jboss-user] [JBoss jBPM] - Re: Question about jBPM Client API

2008-11-18 Thread kukeltje
Have a look here: 
http://www.jboss.com/index.html?module=bbop=viewtopict=138169

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBOSS and MSSQL

2008-11-18 Thread Sherst
anonymous wrote : Quote:
  | Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for 
JDBC]Error establishing socket
  | 
  | 
  | Are you sure the database server ipcc-dawsl.opc.aval on port 1433 is 
accessible from the system where JBoss is running? What does
  | 
  | Code:
  | 
  | telnet ipcc-dawsl.opc.aval 1433 
  | 
  | 
  | 
  | return from the JBoss system?


Hmm when I use direct connection to database (not data source pool) all workes 
fine:

  | public Connection getConnection() throws SQLException, 
ClassNotFoundException, javax.naming.NamingException {
  | Connection con = null;
  | Class.forName(com.microsoft.jdbc.sqlserver.SQLServerDriver);
  | String url_base = 
jdbc:microsoft:sqlserver://ipcc-daws1.opc.aval:1433;DatabaseName=aval_hds;;
  | con = DriverManager.getConnection(url_base, user, pass);
  | con.setAutoCommit(false);
  | /*if (ic == null) {
  | ic = new javax.naming.InitialContext();
  | }
  | pool = (DataSource)ic.lookup(java:jdbc/avalHDS-ds);
  | con = pool.getConnection();
  | con.setAutoCommit(false);*/
  | 
  | return con;
  | }

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

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


[jboss-user] [Remoting] - JBoss Remoting form MIDlet

2008-11-18 Thread chrisitan_knappe
Hello all,

I am very new to JBoss Remoting. What I am trying to do is porting a 
SocketClient to a J2ME environment (a MIDlet). I have CLDC 1.1 and MIDP 2.0. I 
found the org.jboss.remoting.transport.socket.MicroSocketClientInvoker but I 
can't get it work.

Is there someone who has some experiences in doing that - or any other ideas 
connecting a MIDlet to JBoss?

Thanks for help

Regards,
Christian

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

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


[jboss-user] [JCA/JBoss] - Re: Keep the connection alive after a management bean method

2008-11-18 Thread vickyk
wimxa wrote : 
  | vickyk, that would mean that all DataSources would behave like this. The 
last chapter in the link you gave (Turning off Connection Close Checking) is a 
setup for the whole CachedConnectionManager MBean. Is there a way to do that on 
a per-DataSource basis? 
  | 

No, you can configure the EJB container without out the 
CachedConnectionInterceptor and tie it to specific EJB where you don't want the 
connections to be automatically closed... This is a *HACK* , refractor the 
LegacyObject as explained before.
I am not telling you to play with CachedConnectionManager.



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

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


[jboss-user] [Beginners Corner] - Address already in use client side

2008-11-18 Thread cattivik100
HI
We are using webstart for deploying an application that is constantly 
maintained and neeed frequently updates.
We are now moving clients from jre 1.5.12 to jre 1.6.10 but we are focusing a 
strange problem when an updated version is released.
When a user wants to get last version, he simply closes and reopens the 
application, leaving to webstart to re-download the all stuff.

But once the application is closed, for some time (more or les 5 minutes) 
webstart cannot access the server by giving the following error:
 net.BindException: Address already in use: connect

After that time if user try again it works fine.
The all stuff worked fine with jdk1.5.

I suspect this comes from some incompatibility with jboss 4.2.2 client libs 
that for some reason maintain a connection to the server when application 
closes The problem raises in windows xp clients.

Any ideas?
Many thanks
f

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

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


[jboss-user] [JCA/JBoss] - Re: Keep the connection alive after a management bean method

2008-11-18 Thread wimxa
anonymous wrote : No, you can configure the EJB container without out the 
CachedConnectionInterceptor and tie it to specific EJB where you don't want the 
connections to be automatically closed... This is a *HACK* , refractor the 
LegacyObject as explained before.
  | I am not telling you to play with CachedConnectionManager.
  | 
It's not named LegacyObject for nothing - if I could refactor it, I would. OK, 
bad water here, I'll get out of here and try something else. Thanks for the 
explanation!

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBOSS and MSSQL

2008-11-18 Thread PeterJ
anonymous wrote : when I use direct connection to database (not data source 
pool) all workes fine:

I would be more convinced if you used that connection to actually make a 
database call - some drivers delay obtaining the actual connection until a call 
is made.

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

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


[jboss-user] [Microcontainer] - Re: Web Bean Discovery

2008-11-18 Thread alesj
[EMAIL PROTECTED] wrote : 
  | * a list of all classes in classpath archives with web-beans.xml files
  | 
Let me see if I got this.

yes == includes web-beans.xml
no == doesn't include web-beans.xml

e.g.
- myapp.ear
-- lib
--- ext.jar // yes
--- util.jar // no
-- first.jar // yes
-- second.jar // no
-- users.war
--- WEB-INF
 web-beans.xml
 classes
-- org/acme/...
 lib
- ui1.jar // yes
- ui2.jar // no
-- crm.war
--- WEB-INF
 lib
-xyz.jar // yes

Classes from the following stuff should be returned:
 - ext.jar
 - first.jar
 - users.war/WEB-INF/classes
 - ui1.jar
 - xyz.jar

But not the rest, as they don't have proper web-beans.xml in metadata.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: PHP on TOMCAT

2008-11-18 Thread [EMAIL PROTECTED]
The above link is accessible, apologies for that, i'll try and drop in that 
version.

As a bit more background and for anyone else who wanders down this path, I have 
an apache ( 2.0.52) / tomcat ( 55sar bundled with jboss AS 4.0..2 ) 
installation on CENTOS(4.4). PHP (4.* - 5.*, 5-preferable)

I can get my php working as a dso mudule or cgi by dropping it in the httpd 
document root.

I want it to work like jsp though and am looking to package the php into my web 
application alongside the jsp as it seems easier to distribute notwithstanding 
the *.so module  dependancies.

Im finding it a lot of work, enjoyable as it is, and thus far the the only 
reward. I've come across some other postings which has provided me the evidence 
that its possible and also implemented it in a windows environment without too 
much trouble.

Is there a good reason not to do it, excepting dependancy on libphp5servlet.so 
being available and enabled.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Jboss + Maven

2008-11-18 Thread no_escape
Hi, I have a multi-project maven build system defined on my project (1 parent 
pom file, and 1 pom file for every subproject).
We are needing a way for starting/stopping jboss from within maven, but every 
time I configure a plugin (maven jboss plugin, cargo, is there another?) on the 
parent pom file it gets inheritated to every subproject so for every module it 
starts jboss (jboss gets started once per subproject).
How can we overcome this? I'm deploying the files using an ant task inside 
maven, right after the install phase...is there another way?

thanks in advance.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - ear deployment from 4.0.3SP1 doesn't work on 4.2.2.GA

2008-11-18 Thread jamicide
I have an ear working on v4.0.3SP1 (linux) which I am migrating to v4.2.2.GA 
(linux).

When I deploy the .ear file to v4.2.2.GA, while trying to deploy a .war 
contained within the .ear the deployer will throw a ClassDefNotFoundError 
exception. In an attempt to get this ear working I got around several 
ClassDefNotFoundErrors by copying some .class files from the .war into a .jar 
file which is also contained in the .ear.

Following this, I now I get

org.jboss.ws.WSException: Cannot obtain method parameter mapping for message 
part 'licenseKey' in wsdl operation

as jboss is trying to deploy the .war of the package. At this point I am unsure 
how to overcome this problem.

Any suggestions on what might be going wrong (with either problem)? Thanks in 
advance!

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

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


[jboss-user] [Microcontainer] - Re: Web Bean Discovery

2008-11-18 Thread [EMAIL PROTECTED]
Looks right to me :-)

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

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


[jboss-user] [JBoss Portal] - JSF and HELP mode

2008-11-18 Thread suzchr
I'm developping a portlet on JBoss portal which use JSF SUN RI. Now, I would 
like to add the Help view to my portlet and I don't know how can I do. JSF can 
manage the three mode ?

Thank you for your help.

christophe

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

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


[jboss-user] [Microcontainer] - Re: Lots of little XML files?

2008-11-18 Thread [EMAIL PROTECTED]
Cool, I didn't know that...

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

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


[jboss-user] [JBossWS] - Re: Problem consuming .net webservice with jbossws-3.0.1-nat

2008-11-18 Thread jeckles933
its this

your working message has 
Content-Length: bla

broken one:
Transfer-Encoding: chunked

looks like not everybody supports chunked, now - how do we turn of chunking??

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Deploying Tomcat 5.5 Web Application with Axis2 Web Services

2008-11-18 Thread dannysporea
Hello all,

I have an issue deploying a Tomcat 5.5 web application in JBoss 4.2.3. The 
application is running fine, everything but the web services that it should 
expose. The web services were created using Axis2, I have in WEB-INF the 
axis2.xml file and the server-config.wsdd, yet the services do not seem to 
deploy. There is no error during deployment and the interface of the 
application works fine, just that the web services are not deployed. 

I would appreciate if anybody can help me with this or point me to some piece 
of documentation that will explain how should this be deployed in JBoss 4.2.3, 
if possible at all. I have only partial source code for the application, so my 
goal is to deploy it with minimal configuration changes.

Thank you !

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

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


[jboss-user] [JBossWS] - Re: replacement of REPLACE_WITH_ACTUAL_URL when using annota

2008-11-18 Thread will.tatam
nobody from the JBossWS team going to comment ?

@bschmoll1  - manage to fix your port -1 issue ?

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

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


[jboss-user] [JBoss jBPM] - Re: Question about jBPM Client API

2008-11-18 Thread benhu
kukeltje wrote : Have a look here: 
http://www.jboss.com/index.html?module=bbop=viewtopict=138169

Thanks! I'll check it out.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Server is not Responding ( Jboss 4.2.3.GA with JDK1.5) a

2008-11-18 Thread PeterJ
anonymous wrote : all database connections being blocked,it shows all 75 
connections are inactive.

Could you post the stack trace for one of the threads that is blocked on the 
database?

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

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


[jboss-user] [Clustering/JBoss] - Re: HA-JNDI and SFSB Bean

2008-11-18 Thread [EMAIL PROTECTED]
To see what is in HA-JNDI, use the JMX console's jboss:service=JNDIView bean, 
and invoke the list operation. What's bound in the Cluster Wide JNDI tree is 
shown under the HA-JNDI Namespace section at the bottom -- usually nothing 
there.  JBoss AS itself doesn't bind anything there.

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

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


[jboss-user] [Clustering/JBoss] - Re: HA-JNDI and SFSB Bean

2008-11-18 Thread mohitanchlia
mohitanchlia wrote : Could somebody throw some light on how EJB sessions 
failover for sticky sessions? As I understand Jboss cache replicates SFSB but I 
am not sure how it fails over the EJB session connected to machine B that just 
crashed.

I am still not able to understand the above. Sorry for keep asking.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - automatically install and configure jboss

2008-11-18 Thread ashishkhatri
HI Guys,

I want to install jboss application automatically using a script through a 
cd/dvd .
I want that simply inserting the disk to my PC the script will run and it will 
install the jboss and automatically my j2ee applications will deploy and the 
database is uptated automatically i dont have to anything so Is it possible to 
install, deploy and update database automatically by running a script.If yes 
then please help me.

Ashish khatri

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

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


[jboss-user] [Clustering/JBoss] - Re: HA-JNDI and SFSB Bean

2008-11-18 Thread [EMAIL PROTECTED]
EJB failover works because when you lookup your EJB in JNDI, you are actually 
downloading a proxy that contains within it the current cluster topology for 
the EJB (i.e. what nodes the EJB is deployed on) along with load balancing and 
failover logic.

If you try to use that proxy to invoke on a crashed node, the proxy detects the 
failure and retries the call on one of the other nodes where the bean is 
deployed.

When the call reaches that other node, the EJB container retrieves the bean' 
state from the distributed cache (JBoss Cache).

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: automatically install and configure jboss

2008-11-18 Thread PeterJ
Yes, that is possible. What operating system? Do you plan on writing this by 
yourself or will you use tools such as InstallShield?

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: is compatible jboss cache 3.0 with hibernate 3.3?

2008-11-18 Thread [EMAIL PROTECTED]
You're using Hibernate's legacy CacheProvider caching integration rather than 
the new RegionFactory one that came out with Hibernate 3.3.

JBC 2 and JBC 3 are only supported via the RegionFactory.

Docs for how to use this can be found at 
http://galder.zamarreno.com/wp-content/uploads/2008/09/hibernate-jbosscache-guide.pdf

Apologies that this remains such a secret so long after 3.3 came out. I don't 
understand why the above guide isn't included on Hibernate's docs page after 
several requests to get it added. It's actually part of the Hibernate 
documentation build.

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

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


[jboss-user] [EJB 3.0] - Re: EJB 3.1/2 Embeddable Usage

2008-11-18 Thread wolfc
This is probably the culprit:
jboss:jboss-common-core:jar:2.0.2.GA:compile
It probably ends up before org.jboss:jboss-common-core:jar:2.2.8.GA on the 
classpath.

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

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


[jboss-user] [EJB 3.0] - Share entity bean between stateless session beans

2008-11-18 Thread kstrunk
Hi!

I have a problem with two local stateless session beans and an EntityManager 
which is used in one of the SLSBs.

 I want the first SLSB to do basic database operations like finding entities 
and the other one to work with the resulting entities. I attached a small 
example:


@Stateless
public class Bean1 {

@PersistenceContext(unitName = UnitName)
protected EntityManager entityManager;

public Entity findEntity(...) {
...
}
}


@Stateless
public class Bean2 {

@EJB
private Bean1 bean1;

public User doSomething(...) {
Entity entity = bean1.findEntity();
   
entity.setAnything();
}
}


My problem is that the entity in method doSometing of Bean2 gets detached. So 
any changes of the entity bean (by calling the setter) are not transacted to 
database.

Is this behaviour correct? Is there any way to use a managed entity bean in 
both SLSBs so that I can use the entity in bean2 the same way as in bean1?

Hope someone here can help me!

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

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


[jboss-user] [Clustering/JBoss] - Re: HA-JNDI and SFSB Bean

2008-11-18 Thread mohitanchlia
Thanks. So when a bean is annotated with @Clustered does it get bound to 
clusterwide HA-JNDI or is that different only in terms of how client 
interceptor proxy works.

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

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


[jboss-user] [Clustering/JBoss] - Re: HA-JNDI and SFSB Bean

2008-11-18 Thread [EMAIL PROTECTED]
JBoss AS does not bind anything in the cluster wide tree. @Clustered doesn't 
change that.

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

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


[jboss-user] [Clustering/JBoss] - Local proxy

2008-11-18 Thread mohitanchlia
Say for eg: There is a clustered Bean X on Jboss server A and B. A and B 
belong to same cluster. So when Bean Y does a lookup on Bean X on server A 
does it always get the local object reference or is there a possibility that it 
might invoke the method on server B. I mean does it use client interceptor 
logic with some optimization in the sense that first check the local binding 
and then only call remote invoke instead of doing Round robin always.

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

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


[jboss-user] [JBoss Portal] - emptyRenderer

2008-11-18 Thread Shazzaam
Is there a way to set a default RenderSet to emptyRenderer within the portlet 
configuration without setting an instance of the portlet?




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

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


[jboss-user] [EJB 3.0] - InheritanceType.TABLE_PER_CLASS broken in JBoss5 CR2?

2008-11-18 Thread Wolfgang Knauf
I have a sample with entity inheritance (by the way: just a sample to show 
inheritance, nothing which makes sense ;-) ): one base class 
(ZutatBaseInheritanceBean with generated id and one field), three child classes 
(ZutatGewichtInheritanceBean, ZutatFluessigkeitInheritanceBean, 
ZutatStueckzahlInheritanceBean).

I want to make it running in all three inheritance strategies. SINGLE_TABLE und 
JOINED work fine. But for TABLE_PER_CLASS, it fails to populate a collection of 
all entities. The first type (ZutatGewichtInheritanceBean) is properly 
initialized, the other two types just contain the base class fields, all their 
individual fields are empty.

The named query to load all types of child entities is:
@NamedQuery (name=findAllZutaten, query=select o from 
ZutatBaseInheritanceBean o)

This seems to be a matter of the SQL statement which I see in the console:
select zutatbasei0_.id as id113_, zutatbasei0_.kuchen_id as kuchen3_113_, 
zutatbasei0_.zutatName as zutatName113_, 
  | zutatbasei0_.gewicht as gewicht114_, zutatbasei0_.gewichtEinheit as 
gewichtE2_114_, 
  | zutatbasei0_.masseinheit as masseinh1_115_, zutatbasei0_.masseinheitMenge 
as masseinh2_115_, 
  | zutatbasei0_.anzahl as anzahl116_, zutatbasei0_.clazz_ as clazz_ from 
  | ( select id, gewicht, zutatName, null as anzahl, kuchen_id, null as 
masseinheit, gewichtEinheit, null as masseinheitMenge, 1 as clazz_ from 
ZutatGewichtInheritanceBean union select id, null as gewicht, zutatName, null 
as anzahl, kuchen_id, masseinheit, null as gewichtEinheit, masseinheitMenge, 2 
as clazz_ from ZutatFluessigkeitInheritanceBean union select id, null as 
gewicht, zutatName, anzahl, kuchen_id, null as masseinheit, null as 
gewichtEinheit, null as masseinheitMenge, 3 as clazz_ from 
ZutatStueckzahlInheritanceBean ) zutatbasei0_ 
The columns from ZutatFluessigkeitInheritanceBean and 
ZutatStueckzahlInheritanceBean are always NULL, so I suspect that either 
Hypersonic does not support it or the EntityManager creates a wrong query.

I have a working sample at 
http://www.informatik.fh-wiesbaden.de/~knauf/KomponentenArchitekturen2008/kuchenzutatinheritance/KuchenZutatInheritance.ear,
 but it is completely in german, and the app client is a bit difficult to start 
(uses EJB injection), so I hope someone can make sense of my descriptions ;-).

I had a similar sample with two child classes, which worked in JBoss 4.2. If I 
find the time, I will test it with JBoss 5.

Thanks

Wolfgang

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ear deployment from 4.0.3SP1 doesn't work on 4.2.2.GA

2008-11-18 Thread jamicide
Update:

the WSDL error had to do with some incorrect config in my WS .mapping.xml files 
that version 4.0.3SP1 must not pick up on.

Any thoughts as to the ClassDefNotFoundErrors is still appreciated.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: where to set the JAVA_OPTS for Max memory allocated

2008-11-18 Thread noelo
Its also one of the longest running forum sections (since 2001), so of course 
it would have the most posts.

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

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


[jboss-user] [JBossWS] - Re: Logging SOAP Messages

2008-11-18 Thread brintoul
brintoul wrote : 
  | I've tried setting the category org.jboss.ws.core.MessageTrace to a 
priority of TRACE in jboss-log4j.xml but I'm still not seeing the 
outgoing/incoming SOAP messages.
  | 
  | I'm communicating with a web service using SSL - does this change anything?

I'm using jbossws-native-3.0.2.GA.

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

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


[jboss-user] [JBossWS] - Logging SOAP Messages

2008-11-18 Thread brintoul

I've tried setting the category org.jboss.ws.core.MessageTrace to a priority of 
TRACE in jboss-log4j.xml but I'm still not seeing the outgoing/incoming SOAP 
messages.

I'm communicating with a web service using SSL - does this change anything?

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

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


[jboss-user] [JBoss Portal] - Re: iGoogle Style portel selection for dashboard

2008-11-18 Thread Nagendra_singh_krishnawat
I am looking for this too..

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

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


[jboss-user] Re: JConsole, JWS, JMX and JBoss 4.2.2 Fails

2008-11-18 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=53530 Posted on behalf of 
a User

It is not exactly the same - my JBOSS is a 4.2.3 - it runs on Windows XP with 
Java Version 1.5.0_16

The exception I get is:

14:59:49,741 ERROR [MainDeployer] Could not create deployment: 
file:/W:/Presto_JBoss/P4_Going_Live/Deployment/jboss-4.2.3.GA/server/default/deploy/jms/jms-ds.xml
org.jboss.deployment.DeploymentException: - nested throwable: 
(java.lang.NullPointerException)
at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
at 
org.jboss.system.ServiceController.install(ServiceController.java:226)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.server.jmx.LazyMBeanServer.invoke(LazyMBeanServer.java:291)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:251)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.server.jmx.LazyMBeanServer.invoke(LazyMBeanServer.java:291)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy42.create(Unknown Source)
at org.jboss.deployment.XSLSubDeployer.create(XSLSubDeployer.java:192)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.server.jmx.LazyMBeanServer.invoke(LazyMBeanServer.java:291)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 

[jboss-user] Re: JConsole, JWS, JMX and JBoss 4.2.2 Fails

2008-11-18 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=53530 Posted on behalf of 
a User

No Idea, but EXACTLY the same problem here...
Would be great, if anyone has a solution for this.

In Response To: 

I am trying to set up JBoss 4.2.2 and JConsole for remote monitoring.

I've added the following to run.conf

JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote.port=11099
JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false
JAVA_OPTS=$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false


This bug points to a work around https://jira.jboss.org/jira/browse/JBWS-1943, 
however it doesn't work and the workaround doesn't seem to be for using 
JConsole remotely?

I've been generally following the following guide;
http://www.componative2.com/content/controller/developer/insights/jconsole2


---

The exception I see:

13:06:56,418 INFO   [TomcatDeployer] performDeployInternal :: deploy, 
ctxPath=/services, 
warUrl=.../tmp/deploy/tmp34585x.ear-contents/mDate-Services-exp.war/
13:06:57,706 WARN   [AbstractServerConfig] getWebServicePort :: Unable to 
calculate 'WebServicePort', using default '8080'
13:06:57,711 WARN   [AbstractServerConfig] getWebServicePort :: Unable to 
calculate 'WebServicePort', using default '8080'
13:06:58,070 WARN   [AbstractServerConfig] getWebServicePort :: Unable to 
calculate 'WebServicePort', using default '8080'
13:06:58,071 WARN   [AbstractServerConfig] getWebServicePort :: Unable to 
calculate 'WebServicePort', using default '8080'
13:06:58,138 ERROR  [MainDeployer] start :: Could not start deployment: 
file:/opt/jboss-4.2.2.GA/server/default/tmp/deploy/tmp34585x.ear-contents/mDate-Services.war
java.lang.NullPointerException
at 
org.jboss.wsf.stack.jbws.WSDLFilePublisher.getPublishLocation(WSDLFilePublisher.java:303)
at 
org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishWsdlFiles(WSDLFilePublisher.java:103)
at 
org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect.create(PublishContractDeploymentAspect.java:52)
at 
org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115)
at 
org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)



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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - TLS extension for hostnames

2008-11-18 Thread EricJava
TLS has a cool feature which makes it easy to do virtual hosts, with TLS, all 
on one IP address.  From: http://www.faqs.org/rfcs/rfc3546.html

3.1. Server Name Indication
  | 
  |TLS does not provide a mechanism for a client to tell a server the
  |name of the server it is contacting.  It may be desirable for clients
  |to provide this information to facilitate secure connections to
  |servers that host multiple 'virtual' servers at a single underlying
  |network address.
  | 
  |In order to provide the server name, clients MAY include an extension
  |of type server_name in the (extended) client hello.  The
  |extension_data field of this extension SHALL contain
  |ServerNameList where:
  | 

Does JBoss AS support this?  It would be very handy to have multiple virt. 
hosts on one IP address and let them use their own SSL certs, but I can't 
figure out a way to configure that within the embedded Tomcat and I don't even 
know if it supports it.

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

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


[jboss-user] [EJB 3.0] - Re: java.lang.ClassCastException: $Proxy79 getting conext

2008-11-18 Thread rober-mpp
Hi all, 

I'm having the ClassCastException issue, but I only have one remote interface.

This is my java code: 

HashtableString, String contextProperties = new HashtableString, 
String();
  | contextProperties.put( InitialContext.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory );
  | contextProperties.put( InitialContext.PROVIDER_URL, 
jnp://127.0.0.1:1099 );
  | 
  | InitialContext initialContext = new InitialContext( 
contextProperties );
  | 
  | Object obj = initialContext.lookup( ZaraServer/FachadaBean/remote 
);
  | 
  | FachadaInterfaz fachada = (FachadaInterfaz)obj;

The exception being throwed on the last line when trying to cast:

  | 23:01:47,984 ERROR [STDERR] java.lang.ClassCastException: $Proxy91 cannot 
be cast to zara.server.session.fachada.FachadaInterfaz
  | 23:01:48,000 ERROR [STDERR] at 
ws.RecibirEnvioATiendaSoapBindingImpl.inicializarFachada(RecibirEnvioATiendaSoapBindingImpl.java:95)
  | 23:01:48,000 ERROR [STDERR] at 
ws.RecibirEnvioATiendaSoapBindingImpl.recibirEnvioATienda(RecibirEnvioATiendaSoapBindingImpl.java:57)
  | 23:01:48,000 ERROR [STDERR] at 
ws.RecibirEnvioATiendaSoapBindingSkeleton.recibirEnvioATienda(RecibirEnvioATiendaSoapBindingSkeleton.java:56)
  | 23:01:48,000 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 23:01:48,000 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 23:01:48,000 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 23:01:48,000 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:597)
  | 23:01:48,015 ERROR [STDERR] at 
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
  | 23:01:48,015 ERROR [STDERR] at 
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
  | 23:01:48,015 ERROR [STDERR] at 
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
  | 23:01:48,015 ERROR [STDERR] at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
  | 23:01:48,015 ERROR [STDERR] at 
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
  | 23:01:48,015 ERROR [STDERR] at 
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
  | 23:01:48,015 ERROR [STDERR] at 
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
  | 23:01:48,015 ERROR [STDERR] at 
org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
  | 23:01:48,015 ERROR [STDERR] at 
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
  | 23:01:48,031 ERROR [STDERR] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | 23:01:48,031 ERROR [STDERR] at 
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
  | 23:01:48,031 ERROR [STDERR] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 23:01:48,031 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | 23:01:48,031 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 23:01:48,031 ERROR [STDERR] at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 23:01:48,031 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 23:01:48,046 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 23:01:48,046 ERROR [STDERR] at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | 23:01:48,046 ERROR [STDERR] at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | 23:01:48,046 ERROR [STDERR] at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | 23:01:48,046 ERROR [STDERR] at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | 23:01:48,046 ERROR [STDERR] at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | 23:01:48,046 ERROR [STDERR] at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | 23:01:48,046 ERROR [STDERR] at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | 23:01:48,046 ERROR [STDERR] at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | 23:01:48,062 ERROR [STDERR] at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | 23:01:48,062 ERROR [STDERR] 

[jboss-user] [EJB 3.0] - Re: java.lang.ClassCastException: $Proxy79 getting conext

2008-11-18 Thread rober-mpp
Sorry guys, just to give you more background information.

I'm using a jboss version 4.0.5.GA. 

I have an EAR deployed called ZaraServer, and I'm trying to get the remote 
reference inside another webapp that is also deployed on the same jboss 
instance.

Thanks again
Rober

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: PHP on TOMCAT

2008-11-18 Thread EricJava
You can run PHP without even needing to use any of the PHP binaries.  Check out 
http://www.caucho.com/resin-3.0/quercus/ 

I'm about to try it out to see if I can get pgAdmin running in it.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: PHP on TOMCAT

2008-11-18 Thread EricJava
EricJava wrote : You can run PHP without even needing to use any of the PHP 
binaries.  Check out http://www.caucho.com/resin-3.0/quercus/ 

And I just now tried it out in Tomcat 6.0.18, and it was super-simple.

1. Download Resin.  I grabbed Resin 3.1.8.

2. Unzip it

3. Grab two JARS from the resin/lib file: quercus.jar and resin-util.jar.  Put 
them in WEB-INF/lib of your app

4. Put in a servlet mapping:

servlet
  |   servlet-namequercus/servlet-name
  |   
servlet-classcom.caucho.quercus.servlet.QuercusServlet/servlet-class
  | /servlet
  | 
  | servlet-mapping
  | servlet-namequercus/servlet-name
  | url-pattern*.php/url-pattern
  | /servlet-mapping
  | 

5. Create a simple test file:

?php
  | 
  | echo Hello world!
  | 
  | for($i = 1; $i  10; $i++)
  |   echo  $i ;
  | 
  | ?
  | 

6. View it in your browser.  It works.

I'm now testing out pgAdmin

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

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


[jboss-user] [EJB 3.0] - Re: java.lang.ClassCastException: $Proxy79 getting conext

2008-11-18 Thread rober-mpp
Ok i've solved this problem with a little help from my friend Agus.

I have duplicated some of the jars in both, the ear and the webapp, in order to 
make the IDE compile. That was causing the interface in the client not to match 
the remote reference.

I've removed the duplicated jars from the webapp that was calling the ejb, and 
added the dependency between projects to make the IDE compile. 
This part is solved, now I have a bunch of other problems, but different ones :P

Thanks

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

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


[jboss-user] [Clustering/JBoss] - Re: Issues with SFSB state replication and bean passivation

2008-11-18 Thread yongz
Can anyone from Jboss confirm this, please? Thanks.

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

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


  1   2   >