[jboss-user] [JBoss jBPM] - Random JBPM TASK and Process ID with Oracle

2008-02-21 Thread zahidmaqbool
Hello Everyone, 

I was using previously MySQL database and the task Ids, process Ids etc were 
generated in a sequence automatically like 1, 2, 3, 4 
However, Now I changed my application to Oracle 10G and it seems to be using 
random ids like 1549, 2000.

I have used Sequence and Triggers for my Tables and It seems to be working. Now 
my question is If I don't add any sequences to JBPM Tables , will they work 
fine for over a period of time. What I mean is will their ID's conflict.

If anyone else can tell me what to do to make JBPM Tables use proper ID 
generation incrementing by 1 , it will be great.


Thanks in Advance.

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

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


[jboss-user] [Clustering/JBoss] - Re: Potential issue with JGroups using JBoss 3.2.7 and Java

2008-02-21 Thread [EMAIL PROTECTED]
I don't see anything suspicious going on in the JGroups threads. The 
MessageDispatcher up thread dump looks okay, it simply blocks, waiting for work.

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

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


[jboss-user] [Clustering/JBoss] - Re: Potential issue with JGroups using JBoss 3.2.7 and Java

2008-02-21 Thread [EMAIL PROTECTED]
Thanks for the reply Bela, I'll certainly pursue the JVM / Garbage Collection 
angle as well.

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

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


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

2008-02-21 Thread dmary
Well, does it work in version 2.xx and could I install 2.xx version with Jboss 
4.0.5 GA ?

Thanks for ur response.

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

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


[jboss-user] [Clustering/JBoss] - Re: Potential issue with JGroups using JBoss 3.2.7 and Java (Repost)

2008-02-21 Thread [EMAIL PROTECTED]
Doesn't look like all the dump can fit on here, posting the end of the dump and 
the sudden restart of the Kernel at 12:15

RMI TCP Accept-1987 daemon prio=1 tid=0x5635d058 nid=0x7771 runnable 
[56048000..56048868]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
- locked 0x5fca6688 (a java.net.PlainSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:448)
at java.net.ServerSocket.accept(ServerSocket.java:419)
at sun.rmi.transport.tcp.TCPTransport.run(TCPTransport.java:334)
at java.lang.Thread.run(Thread.java:534)

ScannerThread daemon prio=1 tid=0x5635b050 nid=0x7771 runnable 
[560c9000..560c9868]
at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
at java.io.File.isDirectory(File.java:701)
at 
org.jboss.net.protocol.file.FileURLLister.doesDirTriggersRecursiveSearch(FileURLLister.java:101)
at 
org.jboss.net.protocol.file.FileURLLister.listFiles(FileURLLister.java:75)
at 
org.jboss.net.protocol.file.FileURLLister.listMembers(FileURLLister.java:40)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:376)
- locked 0x5fcb7420 (a 
java.util.Collections$SynchronizedRandomAccessList)
- locked 0x5fcb9598 (a 
org.jboss.deployment.scanner.URLDeploymentScanner)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)

Thread-0 daemon prio=1 tid=0x5634aa48 nid=0x7771 in Object.wait() 
[5614a000..5614a868]
at java.lang.Object.wait(Native Method)
- waiting on 0x5fb54ee0 (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:429)
- locked 0x5fb54ee0 (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:382)

DestroyJavaVM prio=1 tid=0x59217710 nid=0x7771 waiting on condition 
[0..bfffb6d4]

Signal Dispatcher daemon prio=1 tid=0x59204000 nid=0x7771 waiting on 
condition [0..0]

Surrogate Locker Thread (CMS) daemon prio=1 tid=0x59202b88 nid=0x7771 waiting 
on condition [0..591ff9e8]

Finalizer daemon prio=1 tid=0x59200690 nid=0x7771 runnable 
[593c4000..593c4868]
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)

Reference Handler daemon prio=1 tid=0x080f9d08 nid=0x7771 in Object.wait() 
[59445000..59445868]
at java.lang.Object.wait(Native Method)
- waiting on 0x5f9655d0 (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:429)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)
- locked 0x5f9655d0 (a java.lang.ref.Reference$Lock)

VM Thread prio=1 tid=0x080f92b0 nid=0x7771 runnable 

VM Periodic Task Thread prio=1 tid=0x59208378 nid=0x7771 waiting on condition 
Suspend Checker Thread prio=1 tid=0x592035c8 nid=0x7771 runnable 
12:15:20,433 ERROR [Log4jService$ThrowableListenerLoggingAdapter] Unhandled 
Throwable
java.lang.IllegalStateException: Transaction has terminated
at org.jboss.tm.TransactionImpl.lock(TransactionImpl.java:983)
at org.jboss.tm.TransactionImpl.timedOut(TransactionImpl.java:233)
at 
org.jboss.util.timeout.TimeoutFactory$TimeoutWorker.run(TimeoutFactory.java:105)
at 
org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:134)
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Thread.java:534)
12:15:21,492 WARN  [TransactionImpl] Lock contention, 
tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=cathlbgts01//258801, 
BranchQual=]
12:15:21,904 WARN  [TransactionImpl] Lock contention, 
tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=cathlbgts01//258828, 
BranchQual=]
12:15:21,901 WARN  [TransactionImpl] Lock contention, 
tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=cathlbgts01//258823, 
BranchQual=]
12:15:21,250 WARN  [GMS] checkSelfInclusion() failed, cathlbgts01:35704 
(additional data: 15 bytes) is not a member of view [cathlbgts04:37194 
(additional data: 16 bytes)|21] [cathlbgts04:37194 (additional data: 16 bytes), 
cathlbgts07:38148 (additional data: 16 bytes), cathlbgts02:37356 (additional 
data: 15 bytes), cathlbgts06:39566 (additional data: 16 bytes)]; discarding view
12:15:21,491 WARN  [TransactionImpl] Transaction TransactionImpl:XidImpl 
[FormatId=257, 

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - CookieDomain non clustered on jboss 4.0.5 doesnt work

2008-02-21 Thread delkant
Hello guys,

I'm trying to configure the jboss (i have in production a 4.0.5) to have a 
unique JSESSIONID cookie for two hosts in the same domain.

i have something like this  http://app1.zxy.com and http://app2.zxy.com and 
what i need is that  both of them have a zxy.com cookie for the JSESSIONID.

i found this in the jboss wiki:  
http://www.jboss.org/wiki/Wiki.jsp?page=SingleSignOn

i try to use this line:
Valve className=org.apache.catalina.authenticator.SingleSignOn 
cookieDomain=xyz.com/

on my server.xml inside the jbossweb.deployer
path: jboss-4.0.5.GA/server/myConfig/deploy/jbossweb-tomcat55.sar

in server.xml i insert this lines, with the intention of define a new host y 
try to asociate to it a cookieDomain.



  | Host name=app1.xyz.com  autoDeploy=false deployOnStartup=false 
deployXML=false 
configClass=org.jboss.web.tomcat.security.config.JBossContextConfig
  | Valve className=org.apache.catalina.authenticator.SingleSignOn 
cookieDomain=xyz.com /
  | 
  |  /Host
  | 

my new host is defined inside the


  | Engine name=jboss.web defaultHost=localhost
  | 
because i put in my /etc/hosts list a entry pointing to localhost the 
app1.xyz.com domain.

THE RESULT


when i try to come in to http://app1.xyz.com:8080/myApp i recibe a white page 
and no error in the server.log

can anyone help me?? please!!

thank you in advance.

delKant.


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

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


[jboss-user] [JBossCache] - Re: Problems deploying POJO cache to JBoss AS 4.2.2.GA

2008-02-21 Thread mircea.markus
We've tested JBossCache 2.x in AS 4.2 and wiki ok that one 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCacheAsCompatibility
Never tried Pojo though, seems like it does not work as per your example. 


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: 100's of java.util.zip.ZipException when starting jboss

2008-02-21 Thread gcameo
My application is packaged as jar

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

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


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

2008-02-21 Thread cat4hire
I'm not sure about the use of an agent, because it will perform the annotation 
addition at the program load time, while I have to perform it depending on 
run-time conditions at class loading time, and most important I could have 
separate class loaders that add or not the annotations to the class they are 
loading. Is this possible with the agents?

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

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


[jboss-user] [JBoss AOP] - Re: maven-plugin

2008-02-21 Thread avihaimar
Thanks a lot.

There are several issues here:
1. the project server compile after model compile , so if you insert aopc in 
the model the server didnt compile yet, unless it dosnt need that the 
interceptor class will be compiled. (acttualy the compile in server project)

2. can you give an exampe please? how in the model i have reference to server.

Thank you!

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

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


[jboss-user] [JBoss Portal] - Re: exposing back end web services thru portlet?

2008-02-21 Thread ChuckMorrison
have various web services and need to provide access to them through the 
portal.  

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

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


[jboss-user] [JBoss jBPM] - Re: Random JBPM TASK and Process ID with Oracle

2008-02-21 Thread kukeltje
you can configure the hibernate config files any way you like so feel free 
to do whatever you like.

And yes, duplicate id's will cause problems...

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

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


[jboss-user] [Microcontainer] - Re: ClassLoaderMetaData not propagating (yet?) to classloade

2008-02-21 Thread alesj
gcompienne wrote : It is due to the fact the code uses the Module.domain 
attribute rather than the Module.metadata.domain.
  | 
I don't really understand what you mean here?

The Module, Domain, ... is currently being rewritten, but it's probably gonna 
take till CR1 to put it in place.

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

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


[jboss-user] [JBossWS] - Re: out parameter

2008-02-21 Thread rukus
[EMAIL PROTECTED] wrote : I think nobody understands what you are asking for 
;)
hmm - ok, maybe this let others to understand what i want:
For example we have:
 @WebMethod public void  get_parameter(String outParam) {
  | outParam=Test;
  | }
  | 
When we invoke this webmethod from client:
String param=empty;
  | myservice.get_parameter(param);
  | System.out.println(param); //output Test instead empty

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

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


[jboss-user] [JBoss jBPM] - Re: Help in Excecuting Hello World BPEL Example

2008-02-21 Thread yogesharora
Hi,

I have written a standalone java client to access the HelloWorld Sample example 
of JBPEL 1.1 GA.

Environment Details
=
JDK - version 1.5
JBPM - version 3.1.4
JBPEL - version 1.1GA
JBoss - version 4.2.2 GA

I am getting the following error:


at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at 
org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:129)
at $Proxy0.lookup(Unknown Source)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.jbpm.bpel.tutorial.hello.MyClient.doJNDILookup(MyClient.java:76)
at org.jbpm.bpel.tutorial.hello.MyClient.test(MyClient.java:35)
at org.jbpm.bpel.tutorial.hello.MyClient.main(MyClient.java:30)



MyClient.java
=

package org.jbpm.bpel.tutorial.hello;

import java.io.IOException;
import java.util.Hashtable;

import javax.naming.InitialContext;
import javax.xml.rpc.ServiceException;

import org.tempuri.hello.Greeter;
import org.tempuri.hello.HelloWorldService;

public class MyClient {

private HelloWorldService helloService;

public static final String JNDI_NAME = java:comp/env/service/Hello;

/**
 * To handle the get requests.
 * 
 * @param HttpServletRequest -
 *theRequest
 * @param HttpServletResponse -
 *theResponse
 * @throws IOException
 */
public static void main(String[] args){

MyClient client = new MyClient();
client.test();
}

public void test(){

helloService = (HelloWorldService) doJNDILookup(JNDI_NAME);
if(helloService == null){
System.out.println(Service not found. Exiting.);
return;
}
try {

Greeter greeter = helloService.getGreeterPort();
String greeting = greeter.sayHello(Yogesh);
System.out.println( greeting   + greeting);
} catch (ServiceException se) {
System.out.println(ServiceException Thrown  + 
se.getMessage());
se.printStackTrace();
}
catch(Exception e){
System.out.println(Exception Thrown  + 
e.getMessage());
e.printStackTrace();

}
}

/**
 * 
 * @param jndiName
 * @return the Object
 */
public static Object doJNDILookup(String jndiName) {
Object object = null;
try {

Hashtable env = new Hashtable(); 
env.put(java.naming.factory.initial, 
org.jnp.interfaces.NamingContextFactory);   
env.put(java.naming.factory.url.pkgs, 
org.jboss.naming.client);
//env.put(java.naming.factory.url.pkgs, 
org.jboss.naming:org.jnp.interfaces);
env.put(java.naming.provider.url, 
jnp://localhost:1099);
env.put(j2ee.clientName,jbpmbpel-client);


[jboss-user] [JBoss jBPM] - Re: Token.signal() --- 2 tokens?

2008-02-21 Thread kukeltje
please make a unit test so we can see the problem and what you specifically do.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - JBOSS SSO Authentication with Windows

2008-02-21 Thread thanushka
Hi, 

I need to enable Single Sign On(SSO) authentication between JBOSS and Windows 
for my project. How can I do that. 

I've found that I can do it with JCIFS (Java Common Interface File System). 
Will it be possible. And if so is it reliable and secure. And where can I find 
some more information? 

Thanks in advance. 


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

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


[jboss-user] [JBoss Messaging] - Re: JBM and informix

2008-02-21 Thread dd_la_frime
Ok, same for the postoffice_name I guess ?

Do you know, when do you plan to release JBM 2.x ?

Thanks.

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

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


[jboss-user] [JBoss jBPM] - Re: Token.signal() --- 2 tokens?

2008-02-21 Thread pojomonkey
Correction. In the process defintion the actions should be defined as follows:
action name=EnterNode class=forktest.EnterStateHandler/action
  | 
  | action name=LeaveNode class=forktest.ExitStateHandler/action

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

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


[jboss-user] [JBoss Messaging] - Re: JBM and informix

2008-02-21 Thread timfox
We aim to get a JBM 2.0 GA release out towards the end of the year, a beta in 
the summer, and an alpha in four to six weeks time,

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

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


[jboss-user] [JBossCache] - Re: LRU Eviction Policy is clearing the entire cache after M

2008-02-21 Thread fatefree
Is this feature even available in JBoss Cache as of the last production release?

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

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


[jboss-user] [JBoss Messaging] - Re: JBM 1.4.0.SP3 JMSX properties bug

2008-02-21 Thread timfox
Clearly the extra sem-colon is a bug.

But regarding the issue of not allowing JMSX properties to be set:

The JMS spec (1.1, section 3.5.8, table 3.3) makes it clear that the only JMSX 
properties that can be set by the client are JMSXGroupID and JMSXGroupSeq.

So I think the current behaviour is correct.

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

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


[jboss-user] [JBoss Messaging] - Re: JBM 1.4.0.SP3 JMSX properties bug

2008-02-21 Thread timfox
Also this is related to http://jira.jboss.org/jira/browse/JBMESSAGING-1185

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

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


[jboss-user] [JBoss and NetBeans] - JBoss 5 and Netbeans 6

2008-02-21 Thread Deni
Hello,

is there a way to get JBoss 5 work with Netbeans 6.

Greetings

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

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


[jboss-user] [JBoss Messaging] - Re: JBM 1.4.0.SP3 JMSX properties bug

2008-02-21 Thread jkwalnutCC
Yes, this is related to the other issue. The Oracle provider is setting the 
JMSX properties which causes the exception within JBoss.

My workaround was for JBoss is to ignore those properties and NOT throw the 
exception.

JBossMesage.java:

   public void setObjectProperty(String name, Object value) throws JMSException
  |{
  |   
  |   if (JMS_JBOSS_SCHEDULED_DELIVERY_PROP_NAME.equals(name)  value 
instanceof Long)
  |   { 
  |  this.scheduledDeliveryTime = ((Long)value).longValue();
  |  return;
  |   }
  | 
  |   // Ignore JMSX properties. 
  |   // Click Commerce workaround for using bridge with OC4J JMS Provider.
  |   if (isJMSXProperty(name))
  |   return;
  | 
  | 
  | 
  |/**
  | * Click Commerce workaround for using bridge with OC4J JMS Provider. 
  | * 
  | * Check the property name to see if it is a JMXS property. JMSX 
properties
  | * should not be propagated. This method is used to determine if the 
given property
  | * is eligable to be ignored.
  | * 
  | * Note this method was introduced as a work around to JBoss JBM JIRA 
ticket See:
  | * http://jira.jboss.org/jira/browse/JBMESSAGING-1224
  | *   
  | * Note checkProperty() will throw an exception when a JMSX propery is 
encountered.   
  | * 
  | * @param name the property name
  | * @return boolean true indicating the property is a JMSX property or 
  | * false if the property is not a JMSX property.
  | */
  |boolean isJMSXProperty(String name)
  |{
  |if (name.startsWith(JMSX) 
  |  !name.equals(JMSXGroupID) 
  |  !name.equals(JMSXGroupSeq) 
  |  !name.equals(JMSXDeliveryCount))
  |   {
  |  return true;
  |   }
  |else
  |{
  |return false;
  |}
  |}
  |
  | 

This was used with Oracle Application Server 10.1.2


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

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


[jboss-user] [Javassist user questions] - Re: Duplicate a method

2008-02-21 Thread chiba
Your way is dangerous.  Suppose the following method:

int foo(int i) {
  int j = 3;
  return j + i;
}

At the bytecode level, the variable i would be register 1 and j would be 
register 2.

If you add a parameter k, you must change the bytecode
of the method body so that the variable j will be register
3 because k will be register 2.

Current Javassist does not provide direct support for
adding a new parameter. :-




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

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


[jboss-user] [JBoss jBPM] - Re: Token.signal() --- 2 tokens?

2008-02-21 Thread kukeltje
I do not see strange things in here. The only thing that surprises me is that 
token.getName() is null for the root token 

What version of jBPM are you using? I'll try to reproduce tonight... btw

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

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


[jboss-user] [JBoss and NetBeans] - Re: JBoss 5 and Netbeans 6

2008-02-21 Thread Deni
with Beta 4 i mean


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - newbie: import script questions

2008-02-21 Thread mars1412
1) what character encoding do I need to use for the import.sql file: ISO-8859-1 
or UTF-8

2) when you have master-child data to insert, what is the best way to do it?
since I am using MS-SQL database, the ID's will be generated by the database, 
so I must do this:
insert into ParentTable (field1, field2, ..) values (..)
  | insert into Child Table (filed1, field2, .., ParentId) values (..., 1)
  | insert into Child Table (filed1, field2, .., ParentId) values (..., 1)
  | insert into ParentTable (field1, field2, ..) values (..)
  | insert into Child Table (filed1, field2, .., ParentId) values (..., 2)

* this is not really nice, that I have to guess the parent id
  | * the other thing is, that when you ever change your database to e.g. 
oracle, you have to completely rewrite your importscript: e.g. in this case, 
you have to add the id field for every row
  | insert into ParentTable (id, field1, field2, ..) values (1, ..)
  |   | insert into Child Table (id, filed1, field2, .., ParentId) values (1, 
..., 1)
  |   | insert into Child Table (id, filed1, field2, .., ParentId) values (2, 
..., 1) is there a better way?
maybe I should not use the updatescript at all and create the data on 
application startup in java-code - then I could insert my entities and didn't 
have to care about the underlying database, right?

3) is this right:
the import.sql not really has anything todo with hibernate - it's just an 
importscript and hibernate automatically executes it against your database at 
startup (if configured)

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

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


[jboss-user] [JBoss Messaging] - Re: JBM and informix

2008-02-21 Thread dd_la_frime
Ok, thank you very much.

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

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


[jboss-user] [JBoss Messaging] - java.lang.RuntimeException: Failed to convert payload to byt

2008-02-21 Thread targit
client code:

MBeanServerConnection mBeanServer =  
MBeanServerConnection)_main._ctx.lookup(jmx/invoker/RMIAdaptor);
ObjectName serverObjectName = new ObjectName(jboss. + 
this.getMessagingSubSystem() + .destination:service=Queue,name= + _args);
List o = (List)mBeanServer.invoke(serverObjectName, 
listMessages, new Object[] { null }, new String[] { java.lang.String });
if (o!=null) {
log.debug(queueCount :  + o.size());
}
_taskResult = RESULT_OK;

throws under load sporadical on client:

2008-02-21 12:15:19,042 ERROR [ActionTaskMessaging] java.lang.RuntimeException: 
Failed to convert payload to byte[]

on server:

2008-02-21 12:15:18,929 FATAL 
[org.jboss.serial.persister.RegularObjectPersister] error
2008-02-21 12:15:18,932 ERROR [STDERR] 
java.lang.reflect.InvocationTargetException
2008-02-21 12:15:18,932 ERROR [STDERR]  at 
sun.reflect.GeneratedMethodAccessor506.invoke(Unknown Source)
2008-02-21 12:15:18,933 ERROR [STDERR]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2008-02-21 12:15:18,933 ERROR [STDERR]  at 
java.lang.reflect.Method.invoke(Method.java:585)
2008-02-21 12:15:18,933 ERROR [STDERR]  at 
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
2008-02-21 12:15:18,933 ERROR [STDERR]  at 
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)
2008-02-21 12:15:18,933 ERROR [STDERR]  at 
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
2008-02-21 12:15:18,933 ERROR [STDERR]  at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
2008-02-21 12:15:18,933 ERROR [STDERR]  at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
2008-02-21 12:15:18,933 ERROR [STDERR]  at 
org.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)
2008-02-21 12:15:18,933 ERROR [STDERR]  at 
org.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)
2008-02-21 12:15:18,934 ERROR [STDERR]  at 
org.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)
2008-02-21 12:15:18,934 ERROR [STDERR]  at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)
2008-02-21 12:15:18,934 ERROR [STDERR]  at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)
2008-02-21 12:15:18,934 ERROR [STDERR]  at 
org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:181)
2008-02-21 12:15:18,934 ERROR [STDERR]  at 
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:298)
2008-02-21 12:15:18,934 ERROR [STDERR]  at 
org.jboss.messaging.core.message.RoutableSupport.internalWriteObject(RoutableSupport.java:266)
2008-02-21 12:15:18,934 ERROR [STDERR]  at 
org.jboss.messaging.core.message.MessageSupport.writePayloadExternal(MessageSupport.java:341)
2008-02-21 12:15:18,934 ERROR [STDERR]  at 
org.jboss.messaging.core.message.MessageSupport.getPayloadAsByteArray(MessageSupport.java:170)
2008-02-21 12:15:18,934 ERROR [STDERR]  at 
org.jboss.messaging.core.message.MessageSupport.writeExternal(MessageSupport.java:301)
2008-02-21 12:15:18,934 ERROR [STDERR]  at 
org.jboss.jms.message.JBossMessage.writeExternal(JBossMessage.java:939)
2008-02-21 12:15:18,934 ERROR [STDERR]  at 
java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1310)
2008-02-21 12:15:18,934 ERROR [STDERR]  at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
2008-02-21 12:15:18,935 ERROR [STDERR]  at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
2008-02-21 12:15:18,935 ERROR [STDERR]  at 
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
2008-02-21 12:15:18,935 ERROR [STDERR]  at 
java.util.ArrayList.writeObject(ArrayList.java:569)
2008-02-21 12:15:18,935 ERROR [STDERR]  at 
sun.reflect.GeneratedMethodAccessor598.invoke(Unknown Source)
2008-02-21 12:15:18,935 ERROR [STDERR]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2008-02-21 12:15:18,935 ERROR [STDERR]  at 
java.lang.reflect.Method.invoke(Method.java:585)
2008-02-21 12:15:18,935 ERROR [STDERR]  at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
2008-02-21 12:15:18,935 ERROR [STDERR]  at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
2008-02-21 12:15:18,935 ERROR [STDERR]  at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
2008-02-21 12:15:18,935 ERROR [STDERR]  at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
2008-02-21 12:15:18,935 ERROR [STDERR]  at 

[jboss-user] [JBoss jBPM] - jBPM @ EclipseCon

2008-02-21 Thread [EMAIL PROTECTED]
I will be hosting a number of sessions at EclipseCon this year. If you want to 
know about it, have a look at my blog: 
http://koentsje.blogspot.com/2008/02/jbpm-comes-to-eclipsecon.html.

I hope to see you all there of course!

Regards,
Koen

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

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


[jboss-user] [JBossWS] - Re: out parameter

2008-02-21 Thread rukus
*upd: instead of string may be user-defined object

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

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


[jboss-user] [JBoss Portal] - Multiple Portals Management

2008-02-21 Thread amontobin
Hi,

I've got some questions about JBoss Portal :

1. If i create multiple portals (For instance : PortalA, PortalB ..) ; Is it 
possible to customize JBoss Portal to have a User Management, CMS Management by 
portal and not globally ?
User : Test can exist in PortalA and PortalB and is not the same user.
CMS : Administrator of PortalA can't see CMS resources of PortalB.

2. Is it possible to run 2 JBoss Portal Service (jboss-portal1.sar on /portal1
and jboss-portal2.sar on /portal2) to have two distinct Administrative 
Management ? Is there some performance bottlenecks ?

Is there any others solutions that i've not seen ?

Thank you for your help,

Sebastien 

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

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


[jboss-user] [JBossCache] - Re: Problems deploying POJO cache to JBoss AS 4.2.2.GA

2008-02-21 Thread [EMAIL PROTECTED]
Thanks for the wiki link. :)

You say that The class loader isolation for each app ensures that user code 
can use JBC 2.x while the app server still uses 1.4.x for its own clustering.  
Recommend that you spell out how that class loader isolation was achieved -- 
that's the key piece of info readers need to understand.

I'm guessing you did it just by putting JBC 2.x and all its dependencies in 
WEB-INF/lib and counting on the fact that a webapp uses a child-first 
classloader.

Re: PojoCache vs core cache, when I look at the stack trace on 
http://www.jboss.com/index.html?module=bbop=viewtopict=128465 I see it's 
failing in constructing a CacheImpl.  That doesn't seem like something that 
would only fail in the PojoCache case.  I suspect Pete hasn't done whatever you 
did to get the needed class loader isolation.

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

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


[jboss-user] [JBoss jBPM] - Re: Token.signal() --- 2 tokens?

2008-02-21 Thread mputz
IMO, you shouldn't signal the root token once it has arrived in the fork:


  | Token root = processInstance.getRootToken();
  | // root token is already on the fork, signal children instead
  | // root.signal();
  | 

I've found a (rejected) feature request to prevent the root token from being 
signaled on a fork node: http://jira.jboss.com/jira/browse/JBPM-642

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

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


[jboss-user] [JBoss jBPM] - Re: Token.signal() --- 2 tokens?

2008-02-21 Thread pojomonkey
kukeltje wrote : I do not see strange things in here. There may be nothing 
'strange', but I wasn't expecting multiple tokens to pass through any node.

I'm looking to use 'client base assignment' (see 
http://www.jboss.com/products/jbpm/docs/jpdl) and use jBPM as the execution 
engine. Since I then want to hang actions off the node-enter/leave events, I 
need to know which token is the 'active' execution path.

In the example supplied, the root token that 'follows' the 't10' token is - in 
effect - creating a second execution path through the same node, unless there 
is some way to distinguish when the root token is the active token on the 
execution path and when it is not. (I am assuming that following the 'fork' 
that the root token - being the parent of the other 2 - is no longer the 
'active' token'?)

kukeltje wrote : The only thing that surprises me is that token.getName() is 
null for the root token
Yeah, that threw me too.

kukeltje wrote : What version of jBPM are you using? I'll try to reproduce 
tonight... btw
I downloaded jbpm-jpdl-suite-3.2.2.zip

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

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


[jboss-user] [JBoss Portal] - CMS service access

2008-02-21 Thread karpin
I need to create a portlet which can show versions and authors of the files 
contained in a folder of the CMS (JBoss Portal 2.6.2, but in this moment 
upgrading to 2.6.4).

How can i obtain a reference to the CMS service so that i can access into it 
from my ear??

Is there any way to inject or obtain the reference to the service JCR170?

Thanks

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

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


[jboss-user] [Datasource Configuration]Configuring Oracle

2008-02-21 Thread Stephen Davidson
Greetings.

I tried posting this in the Getting Started Documentation section, but that did
not really seem to work (was ignored).

The Wiki page for configuring Oracle is, to put it mildly, misleading.  The way
it is laid out, it implies that local-tx datasources are what should be used for
Oracle Databases.  This might have been correct for Oracle 8 and before, but is
definitely not the case for Oracle 10  later.

The page I am concerned about is;
http://www.jboss.com/wiki/Wiki.jsp?page=SetUpAOracleDatasource

Proposed correction attached.  I can upload if you would like, or post a
revision (or if somebody wants to update, go ahead).

The major change was to add a few statements just before the sample Datasource
files, and to switch the order the Datasource Examples are given in the
document.  This should help cut down on the number of Transaction Manager
complaints as well, I would think.  (Would have eliminated them from me, 
anyways).

Regards,
Steve


Title: JBoss.com - Wiki - SetUpAOracleDatasource







  



  
  
subscription
jboss.com
jboss.org
redhat.com
  
  



   
  



Login
Register
Careers
Contact Us

  
  

  
  
  

  

  
Home
JBoss Enterprise Middleware System (JEMS)
  





  




  

  JBoss Middleware
  
Application Platform
Portal Platform
Data Services Platform
SOA Platform
Operations Network
Developer Studio
Hibernate Framework
jBPM Framework
Rules Framework
Seam Framework
 
Download
Documentation
 Online Education
  


JBoss.org Community
Support Services   
Partners
About Us
Blogs
Resource Centers
JBoss Store





  









Online:
  29167 guests, 52 members



Monthly JBoss newsletter:

 
  
  
 

























  



  
Home  About  Search  Changes  Unused Pages  Undefined Pages  Index  License


  
  
  

  
   
  
Edit this page
  
   
   

  
 

SetUpAOracleDatasource





	



 
 
Your trail: 
 
  

  
  

  beware of the file name, save them in the server instance's deploy directory, eg. $JBOSS_HOME/server/default/deploy/oracle-ds.xml.
  Note that only ONE local-tx datasource can be safely enlisted in a Transaction at a time.  XA drivers are known to be viable for
  Oracle 10g Drivers and above.  They may work for Oracle 8 and 9 Drivers.  Please test before using XA for Oracle 8 & 9 Drivers.
  (There has been some success using Oracle 10g JDBC drivers against an Oracle 8 database).

 XA
 

?xml version="1.0" encoding="UTF-8"?

!-- = --
!--   --
!--  JBoss Server Configuration   --
!--   --
!-- = --

!-- $Id: oracle-xa-ds.xml,v 1.13 2004/09/15 14:37:40 loubyansky Exp $ --

!-- = --
!-- ATTENTION:  DO NOT FORGET TO SET Pad=true IN transaction-service.xml  --
!-- = --

datasources
  xa-datasource
jndi-nameXAOracleDS/jndi-name
track-connection-by-tx/
isSameRM-override-valuefalse/isSameRM-override-value
xa-datasource-classoracle.jdbc.xa.client.OracleXADataSource/xa-datasource-class
xa-datasource-property name="URL"jdbc:oracle:oci8:@tc/xa-datasource-property
xa-datasource-property name="User"scott/xa-datasource-property
xa-datasource-property name="Password"tiger/xa-datasource-property
!-- Uses the pingDatabase method to check a connection is still valid before handing it out from the pool --
!--valid-connection-checker-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker/valid-connection-checker-class-name--
!-- Checks the Oracle error codes and messages for fatal errors --
exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name
!-- Oracles XA datasource cannot reuse a connection outside a transaction once enlisted in a global transaction and vice-versa --
no-tx-separate-pools/

  !-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) --
  metadata
 type-mappingOracle9i/type-mapping
  /metadata
  /xa-datasource

  mbean code="org.jboss.resource.adapter.jdbc.vendor.OracleXAExceptionFormatter" 
 name="jboss.jca:service=OracleXAExceptionFormatter"
depends 

[jboss-user] [Clustering/JBoss] - Problem runing JBoss cluster - java.net.SocketException: No

2008-02-21 Thread kranjcec
Hi!

I'm having problem with jboss cluster on linux (on vista cluster works fine). 
JBoss version is 4.2.2GA.

When JBoss is started (without any change to default installation except JMX - 
PlatformMBeanServer) with:
run.sh -c all
it throws this error:


  | Caused by: java.lang.Exception: problem creating sockets 
(bind_addr=/161.53.1.206, mcast_addr=230.1.2.7:45577)
  | at org.jgroups.protocols.UDP.start(UDP.java:372)
  | at 
org.jgroups.stack.Protocol.handleSpecialDownEvent(Protocol.java:571)
  | ... 135 more
  | Caused by: java.net.SocketException: No buffer space available
  | at java.net.PlainDatagramSocketImpl.join(Native Method)
  | at 
java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:172)
  | at java.net.MulticastSocket.joinGroup(MulticastSocket.java:276)
  | at org.jgroups.protocols.UDP.createSockets(UDP.java:476)
  | at org.jgroups.protocols.UDP.start(UDP.java:367)
  | 

We tried with firewall disabled, but nothing changed.

I googled for that problem, but I didn't find solution.
Similar (same?) problem:
http://www.nabble.com/java.net.SocketException:-No-buffer-space-available-(maximum-connections-reached-):-Datagram-send-failed-td15090283.html

Any ideas what's wrong?

Thanks in advance.

Regards,
Denis

This is full console output:

  | [EMAIL PROTECTED]:/home/jboss/jboss-4.2.2.GA/bin$ run.sh -c all  
  | =
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: /home/jboss/jboss-4.2.2.GA
  | 
  |   JAVA: /usr/local/java/bin/java
  | 
  |   JAVA_OPTS: -Dcom.sun.management.jmxremote.ssl=false 
-Dcom.sun.management.jmxremote.authenticate=false 
-Dcom.sun.management.jmxremote.port=12345 -Dcom.sun.management.jmxremote 
-Djboss.platform.mbeanserver 
-Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl
 -Dprogram.name=run.sh -server -Xms128m -Xmx512m 
-Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 
-Djava.net.preferIPv4Stack=true
  | 
  |   CLASSPATH: 
/home/jboss/jboss-4.2.2.GA/bin/run.jar:/usr/local/java/lib/tools.jar
  | 
  | =
  | 
  | 15:46:10,537 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 15:46:10,539 INFO  [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: 
SVNTag=JBoss_4_2_2_GA date=200710221139)
  | 15:46:10,541 INFO  [Server] Home Dir: /home/jboss/jboss-4.2.2.GA
  | 15:46:10,541 INFO  [Server] Home URL: file:/home/jboss/jboss-4.2.2.GA/
  | 15:46:10,543 INFO  [Server] Patch URL: null
  | 15:46:10,543 INFO  [Server] Server Name: all
  | 15:46:10,543 INFO  [Server] Server Home Dir: 
/home/jboss/jboss-4.2.2.GA/server/all
  | 15:46:10,544 INFO  [Server] Server Home URL: 
file:/home/jboss/jboss-4.2.2.GA/server/all/
  | 15:46:10,544 INFO  [Server] Server Log Dir: 
/home/jboss/jboss-4.2.2.GA/server/all/log
  | 15:46:10,545 INFO  [Server] Server Temp Dir: 
/home/jboss/jboss-4.2.2.GA/server/all/tmp
  | 15:46:10,545 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 15:46:11,063 INFO  [ServerInfo] Java version: 1.6.0_03,Sun Microsystems Inc.
  | 15:46:11,063 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
1.6.0_03-b05,Sun Microsystems Inc.
  | 15:46:11,064 INFO  [ServerInfo] OS-System: Linux 2.6.18-6-686-bigmem,i386
  | 15:46:11,863 INFO  [Server] Core system initialized
  | 15:46:16,452 INFO  [WebService] Using RMI server codebase: 
http://127.0.0.1:8083/
  | 15:46:16,455 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:jboss-log4j.xml
  | 15:46:17,299 INFO  [TransactionManagerService] JBossTS Transaction Service 
(JTA version) - JBoss Inc.
  | 15:46:17,299 INFO  [TransactionManagerService] Setting up property manager 
MBean and JMX layer
  | 15:46:17,670 INFO  [TransactionManagerService] Starting recovery manager
  | 15:46:17,838 INFO  [TransactionManagerService] Recovery manager started
  | 15:46:17,838 INFO  [TransactionManagerService] Binding TransactionManager 
JNDI Reference
  | 15:46:23,993 INFO  [EJB3Deployer] Starting java:comp multiplexer
  | 15:46:25,653 WARN  [ServiceController] Problem starting service 
jboss.cache:service=TomcatClusteringCache
  | org.jgroups.ChannelException: failed to start protocol stack
  | at org.jgroups.JChannel.connect(JChannel.java:389)
  | at org.jboss.cache.TreeCache.startService(TreeCache.java:1548)
  | at org.jboss.cache.aop.PojoCache.startService(PojoCache.java:94)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at 

[jboss-user] [JBoss Portal] - Localization bug in 2.6.x?

2008-02-21 Thread jvence
I've been trying everything to localize Jboss portal in different languages but 
have come across a weird problems where some language are not supported 
properly. I have posted and reported the bug with no success...

I tried looking at http://portal.demo.jboss.com/ (which is running 2.6.4), 
selected Portuguese Brazilian for the 'user' locale but everything appears in 
English (the source code indicates that a localized Resource_pt_BR resource 
file does exist and that it has been declared as a supported language). 

As I said some languages work but others (like arabic) do not. And yes I did 
add   supported-localear/supported-locale to the correct section within 
the portlet.xml file.

Has anyone else have problems with localization?

Thanks

Jean

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

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


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

2008-02-21 Thread [EMAIL PROTECTED]
Could to hear from both your experiences and always nice to hear that you both 
seem quite happy with JBoss Portal. :)

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

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


[jboss-user] [Clustering/JBoss] - Re: Potential issue with JGroups using JBoss 3.2.7 and Java

2008-02-21 Thread [EMAIL PROTECTED]
If this sort of thing happens, take several thread dumps and look for threads 
that aren't progressing.  As with the MessageDispatcherThread here though, a 
thread that's not progressing because it's sitting in wait() is usually not 
an issue.  Look for threads that aren't progressing while they wait to acquire 
a lock; then find the thread the holds the lock. No guarantee that you'll find 
your problem, but it's an approach that often helps.

Here I *suspect* there was something going on with one of the transactions 
referred to in the log messages at the end. No idea what though.

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

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


Re: [jboss-user] [Datasource Configuration] - Massive used of Jboss

2008-02-21 Thread Stephen Davidson
Artec wrote:
 Hi,
 i want to know which are the most important parameter to modify (for example 
 the number of threads) from the default configuration, in a large scale 
 architecture (more than 1000 users).
 Thanks 
 

Hi Artec.

Some items I would start with;
1) Make sure enough DB connections in the JBoss Container for the number of
worker threads that the JBoss  the WebServer are using.  In other words, if
setting minimum  maximum on the WebServer, your min.  max db connections
should be the relative to the WebServer's.  And by relative, I mean approx. what
percentage of Web hits == DB Hits.
2) Database side - make sure that its Connection parameters are set to handle
the maximum number of connections from all JBoss instances.
3) Check out Jetty (http://mortbay.org) for your Servlet  JSP container.  Its 
FAST!
4) Higher number of threads DOES NOT NECESSARILY EQUAL better throughput.  That
is also a function of number of CPU's.  Look at setting worker threads (but
that's another topic).

Grinder tends to make a decent tool for finding performance bottlenecks.
http://grinder.sourceforge.net/

TEST TEST TEST TEST!

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


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

2008-02-21 Thread [EMAIL PROTECTED]
Did you find what the problem was?

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

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


[jboss-user] [JBossCache] - Re: LRU Eviction Policy is clearing the entire cache after M

2008-02-21 Thread mircea.markus
Having maxAgeSeconds=300 will make all nodes be removed after 300 seconds, 
disregarding whether a node has been used e.g. 20 seconds ago. 
anonymous wrote : Unfortunately, we expected that individual elements would 
expire after the time 
Having setMaxAge=0 and timeToLive=300 would cause all the nodes that were not 
'touched'(get the node, add a key/value to the node etc)  for 300 secs to be 
evicted. e.g. if a node is touched every 200 secs it will never be evicted. Is 
this what you want?

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

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


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

2008-02-21 Thread kahotep
[EMAIL PROTECTED] wrote : Did you find what the problem was?

Hey Chris,

I decided to put this one on the back burner for now.  I don't think it will be 
necessary to demonstrate functionality of WSRP between Windows and Ubuntu.

Originally, I tested the WSRP between the two machines merely as a matter of 
convenience; though the project has no plans on running JBoss Portal (or 
anything of any significance) on Windows (thank god).

I have a feeling that it has something to do with Windows XP, and I don't 
really enjoy dealing with Windows, so I will try other methods.  

I am strongly considering setting up VMWare Server on the test box and testing 
everything between multiple Virtual Machines.  This would probably be more 
useful than testing it through a Windows machine anyways.

Another issue that I have chosen to focus on, for the time being, is JBoss LDAP 
integration.  That has been an interesting challenge, since I haven't found a 
truly end-to-end tutorial on how to do this effectively.  I'm thinking of 
writing a wikibook on this once I get all of the basics worked out.

Anyhow, thanks for your help on this matter.  I will post the results of future 
tests here, once I get the VM's up and running.

~chris

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

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


[jboss-user] [JBoss Portal] - Re: Localization bug in 2.6.x?

2008-02-21 Thread [EMAIL PROTECTED]
I don't think we provide pt_BR localization for some parts, the most translated 
parts are in french and Italian thanks to contributors.

For pt_BR we have the previous UserPortlet which is translated partly, but 
that's about it.

All the localization is the same mechanism for all languages. There is just no 
translations for every languages and every parts.

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

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


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

2008-02-21 Thread [EMAIL PROTECTED]
There is a blog on LDAP integration by Bolek at 
http://blog.jboss-portal.org/2007/10/jboss-portal-with-opensso-and-opends.html

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

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


[jboss-user] [JBossWS] - Re: out parameter

2008-02-21 Thread oskar.carlstedt
Hi!

In such cases you have to return the new state to the client in form av a 
returned object. So you cannot have this method as a void method.

Cheers
/Oskar



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

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


[jboss-user] [EJB 3.0] - EJB3 an JBoss client java.io.InvalidClassException

2008-02-21 Thread wilfried.deguil
Hello,

I start to develop with EJB3. I'm using JBoss 4.2.1.GA. I deploy my Entity and 
Session Bean on the server. I verify that my session bean at loaded with the 
JMX console.

Code of my Session Bean :

@Stateful
public class SiteDetailsManagerBean implements SiteDetailsManagerRemote {
 @PersistenceContext
 private EntityManager em;
 private int id;
 private String label;   
 private String securityLevel;
 public SiteDetailsManagerBean(int id,String label) {
}
...
}

code of my interface Session bean :

@Remote
public interface SiteDetailsManagerRemote {
 void createSite(String label); 
 void removeSite(int siteId); 
 SiteDetailsManagerBean getSite(int siteId);
 List   getAllSites();
 public void testReponse(String str);   
}

code of my client :

public class Client {
 private static SiteDetailsManagerRemote siteDetailsMngrRequest;
 private static void getRemoteRequest() throws Exception 
 {
   if (null != siteDetailsMngrRequest){ return ; } 
   String JNDINameRemote =  SiteDetailsManagerBean/remote ;   
   Context context = new InitialContext();  
   siteDetailsMngrRequest = 
(SiteDetailsManagerRemote)context.lookup(JNDINameRemote);  }
 public Client(String[] args) { }   

 public static void main(String[] args) {...}



So when I start my client, on the red line I get this exception :


javax.naming.NamingException: Could not dereference object [Root exception is 
java.lang.reflect.UndeclaredThrowableException]
at 
org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1152)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:707)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
at javax.naming.InitialContext.lookup(Unknown Source)
at fr.horoquartz.client.Client.getRemoteRequest(Client.java:27)
at fr.horoquartz.client.Client.main(Client.java:42)
Caused by: java.lang.reflect.UndeclaredThrowableException
at $Proxy0.createProxy(Unknown Source)
at 
org.jboss.ejb3.JndiProxyFactory.getObjectInstance(JndiProxyFactory.java:53)
at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
at 
org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1127)
at 
org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1144)
... 5 more
Caused by: java.rmi.MarshalException: Failed to communicate.  Problem during 
marshalling/unmarshalling; nested exception is: 
java.io.InvalidClassException: org.jboss.ejb3.remoting.BaseRemoteProxy; 
local class incompatible: stream classdesc serialVersionUID = 
1126421850898582900, local class serialVersionUID = -2711693270411201590
at 
org.jboss.remoting.transport.socket.SocketClientInvoker.handleException(SocketClientInvoker.java:122)
at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:646)
at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
at org.jboss.remoting.Client.invoke(Client.java:1634)
at org.jboss.remoting.Client.invoke(Client.java:548)
at 
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.remoting.IsLocalProxyFactoryInterceptor.invoke(IsLocalProxyFactoryInterceptor.java:70)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:61)
... 10 more
Caused by: java.io.InvalidClassException: 
org.jboss.ejb3.remoting.BaseRemoteProxy; local class incompatible: stream 
classdesc serialVersionUID = 1126421850898582900, local class serialVersionUID 
= -2711693270411201590
at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at 
org.jboss.aop.joinpoint.InvocationResponse.readExternal(InvocationResponse.java:122)
at 

[jboss-user] [JBoss AOP] - Re: Long startup time

2008-02-21 Thread avihaimar
I want to include all packages that start with com.company ...
and exludes others.

thank you

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

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


[jboss-user] [JBoss Portal] - JbossPortal and ldap

2008-02-21 Thread badock
Hello all,

I use JBossPortal 2.6.3 with Openldap 2.23 for authentication.
In a first time i used the ldif schema provided with the documentation : 
http://docs.huihoo.com/jboss/portal/2.6/reference-guide/html/ldap.html#d0e7333 
and the ldap_identity-config.xml associated.

Now i need to use  a ldap schema like describe here : 
http://blog.jboss-portal.org/2007/07/ldap-support-tutorial-for-jboss-portal.html.
So i used my ldap_identity-config.xml and change the things as describe.
However, it doesn't work at all, meaning that i can't have the portal displayed 
at all.

Did i miss something ?
Should i first edit the login-config.xml file ?  and if so, how, cause i can't 
find any accurate tutorial on this subject.

Thank you for your time.
Regards,




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

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


[jboss-user] [EJB 3.0] - Re: EJB3 an JBoss client java.io.InvalidClassException

2008-02-21 Thread ALRubinger
Please see http://jira.jboss.com/jira/browse/EJBTHREE-1118.

Check that the EJB3 Client JARs (or jbossall-client.jar) on your client 
classpath matches the release running on your server (ie. 4.2.1.GA).

S,
ALR



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

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


[jboss-user] [JBossCache] - Re: LRU Eviction Policy is clearing the entire cache after M

2008-02-21 Thread fatefree
I believe I initially got the definition of a Node incorrect. I had thought 
that a Node was a cache Element, but instead I learned that its a Map of cache 
Elements.

What I am looking for is an eviction policy that expires individual elements in 
the cache, rather than the entire node. Does JBoss offer this out of the box, 
or is it limited to the Node level?

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Problem deploying MDB

2008-02-21 Thread cristi_cioriia
Hi,

I have tried to create a MDB to consume some messages posted to a message 
queue. The MDB looks like that: 

  | @MessageDriven(activationConfig = [EMAIL PROTECTED](propertyName= 
destinationType, propertyValue=javax.jms.Queue)})
  | public class AlertEmailSender implements MessageListener {
  | 
  | @Override
  | public void onMessage(Message message) {
  | Logger log = Logger.getInstance(AlertEmailSender.class);
  | //My code here...
  | }
  | 
  | }
  | 
I have also defined my own queue:

15:51:25,125 INFO  [EmailQueue] Bound to JNDI name: queue/EmailQueue
  | 15:51:25,140 INFO  [A] Bound to JNDI name: queue/A
  | 15:51:25,140 INFO  [B] Bound to JNDI name: queue/B
  | 15:51:25,140 INFO  [C] Bound to JNDI name: queue/C
  | 15:51:25,156 INFO  [D] Bound to JNDI name: queue/D
  | 15:51:25,156 INFO  [ex] Bound to JNDI name: queue/ex
  | 15:51:25,171 INFO  [testTopic] Bound to JNDI name: topic/testTopic
  | 15:51:25,171 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
  | 15:51:25,203 INFO  [testDurableTopic] Bound to JNDI name: 
topic/testDurableTopic
  | 15:51:25,218 INFO  [testQueue] Bound to JNDI name: queue/testQueue
  | 15:51:25,265 INFO  [UILServerILService] JBossMQ UIL service available at : 
/127.0.0.1:8093
  | 15:51:25,281 INFO  [DLQ] Bound to JNDI name: queue/DLQ
  | 15:51:25,390 INFO  [ConnectionFactoryBindingService] Bound 
ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to 
JNDI
  |  name 'java:JmsXA'
Now, when I try to deploy my application into JBOSS I get the following 
exception:

  | 15:51:35,390 WARN  [ServiceController] Problem starting service 
jboss.j2ee:ear=wise-ear.ear,jar=wic-core.jar,name=AlertEmailSender,service=E
  | JB3
  | org.jboss.deployment.DeploymentException: Required config property [EMAIL 
PROTECTED] descriptions=[Desc
  | [EMAIL PROTECTED] for messagingType 'javax.jms.MessageListener' not found 
in activation config [ActivationConfigPropert
  | y(destinationType=javax.jms.Queue)] 
ra=jboss.jca:service=RARDeployment,name='jms-ra.rar'
  | at 
org.jboss.resource.deployment.ActivationSpecFactory.createActivationSpec(ActivationSpecFactory.java:95)
I have googled for the exception, but didn't find much. The warning concerning 
this bean deployment is the only one that I get.Can u please point me what I am 
doing wrong? Thanks.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: 100's of java.util.zip.ZipException when starting jboss

2008-02-21 Thread PeterJ
And the tool you used to create the jar?

Could you post the jar file contents? Enter:

jar -tf xxx.jar

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

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


[jboss-user] [JBoss jBPM] - Re: Token.signal() --- 2 tokens?

2008-02-21 Thread pojomonkey
mputz wrote : IMO, you shouldn't signal the root token once it has arrived in 
the fork:
  | 
  | 
  |   | Token root = processInstance.getRootToken();
  |   | // root token is already on the fork, signal children 
instead
  |   | // root.signal();
  |   | 
OK, but how should the root token progress to the matching join? And what about 
the example I've given where on of the execuation paths forks again?

What is the logic to determine when I can signal which tokens? In my test - see 
below - from fork1, I would expect to be signalling token t20 - but when that 
arrives at fork2, should I cease signalling t20? Then how is it to join finally?

mputz wrote : I've found a (rejected) feature request to prevent the root 
token from being signaled on a fork node: 
http://jira.jboss.com/jira/browse/JBPM-642
I'll be reading that shortly...

It may explain why I can get the root token to the last state in the process 
when it's children haven't all joined yet. Seems to me that the join is 
operating like a discriminator..

  | package forktest;
  | 
  | import java.util.Map;
  | 
  | import junit.framework.TestCase;
  | 
  | import org.jbpm.JbpmConfiguration;
  | import org.jbpm.JbpmContext;
  | import org.jbpm.context.exe.ContextInstance;
  | import org.jbpm.graph.def.Node;
  | import org.jbpm.graph.def.ProcessDefinition;
  | import org.jbpm.graph.exe.ProcessInstance;
  | import org.jbpm.graph.exe.Token;
  | import org.jbpm.persistence.db.DbPersistenceServiceFactory;
  | import org.jbpm.svc.Services;
  | import org.jbpm.taskmgmt.exe.TaskInstance;
  | 
  | public class ForkUnitTest extends TestCase
  | {
  | /**
  |  * Some helpers
  |  */
  | JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
  | DbPersistenceServiceFactory dbPersistenceServiceFactory = 
(DbPersistenceServiceFactory) 
jbpmConfiguration.getServiceFactory(Services.SERVICENAME_PERSISTENCE);
  | 
  | JbpmContext jbpmContext;
  | 
  | private ProcessInstance processInstance;
  | 
  | private longprocessInstanceId;
  | private ContextInstance contextInstance;
  | //  private TaskMgmtInstancetaskMgmtInstance;
  | 
  | public ForkUnitTest()
  | {
  | }
  | 
  | /**
  |  * Set up the basic in-memory DB, deploy the process description and
  |  * set up a jBPM context.
  |  * @see jBPM docs wrt jbpm configuration file
  |  */
  | protected void setUp() throws Exception
  | {
  | super.setUp();
  | dbPersistenceServiceFactory.createSchema();
  | deployProcess();
  | jbpmConfiguration.startJobExecutor();
  | jbpmContext = jbpmConfiguration.createJbpmContext();
  | }
  | 
  | /**
  |  * Tidy up.
  |  */
  | protected void tearDown() throws Exception
  | {
  | super.tearDown();
  | jbpmContext.close();
  | dbPersistenceServiceFactory.dropSchema();
  | jbpmContext = null;
  | }
  | 
  | /**
  |  * 
  |  */
  | public void newTransaction() 
  | {
  | jbpmContext.close();
  | jbpmContext = jbpmConfiguration.createJbpmContext();
  | processInstance = 
jbpmContext.loadProcessInstanceForUpdate(processInstanceId);
  | //  processInstanceId = processInstance.getId();
  | }
  | 
  | /**
  |  * Get the process description file, parse it and deploy the
  |  * process definition.
  |  */
  | private void deployProcess() 
  | {
  | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  | try 
  | {
  | ProcessDefinition processDefinition = 
  | 
ProcessDefinition.parseXmlResource(ForkProcess/processdefinition.xml);
  | jbpmContext.deployProcessDefinition(processDefinition);
  | } finally 
  | {
  | jbpmContext.close();
  | }
  | }
  | 
  | /**
  |  * Each subsequent test will need a new process instance
  |  * @return a TaskInstance, or null if there is no start task defined.
  |  */
  | private TaskInstance createNewProcessInstance() 
  | {
  | processInstance = 
jbpmContext.newProcessInstanceForUpdate(ForkTest);
  | processInstanceId = processInstance.getId();
  | contextInstance = processInstance.getContextInstance();
  | //  taskMgmtInstance = processInstance.getTaskMgmtInstance();
  | return 
processInstance.getTaskMgmtInstance().createStartTaskInstance();
  | }
  | 
  | public void testFork()
  | {
  | TaskInstance taskInstance = createNewProcessInstance();
  | contextInstance.setVariable(choice, OptionB);
  | assertEquals(startstate, 
processInstance.getRootToken().getNode().getName());
  |   

[jboss-user] [JBoss Portal] - Re: Portlet load time

2008-02-21 Thread [EMAIL PROTECTED]
There is no out of the box way to see this time but I don't think this would be 
hard to get given that portlet lifecycle is fairly straight forward. Time 
difference between init call and towards the end of render call should do the 
job.

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

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


[jboss-user] [JBoss Portal] - Re: Portlet load time

2008-02-21 Thread swisst
You don't want to put the start code in init, that only happens when the 
portlet is loaded in the container.  We are using Spring, so our mechanism is a 
little different, but you would want to put timing code is a base 
portlet...time the action phase (which may not be executed), pass the action 
phase time via a render parm to the render phase, then time the render phase.  

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

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


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

2008-02-21 Thread [EMAIL PROTECTED]
Could you point out exactly which chapter you are referring to?
http://docs.jboss.com/jbportal/v2.6.4/referenceGuide/html/xmldescriptors.html#descriptors_portlet
 is pretty explicit on the fact that these descriptors are optional...

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - How can I control infinite requests?

2008-02-21 Thread bunkenburg
What happens if the programmer writes an infinite request? 

What if we have a servlet that may take a very long or infinite time to 
complete? Does that mean that every time some one sends a request to that 
servlet, one of the threads goes away to execute the servlet and never comes 
back? Is there any way that JBoss can monitor and kill such a thread?

Example servlet:



  | protected void doGet(HttpServletRequest request, HttpServletResponse 
response) throws ServletException, IOException {
  | try {
  | String s = request.getParameter(N);
  | int N = Integer.parseInt(s);
  | PrintWriter writer = response.getWriter();
  | for (int i=0; iN; i++){
  | writer.println(i + / + N);
  | System.out.println(i + / + N);
  | Thread.sleep(1000);
  | }
  | } catch (NumberFormatException e){
  | throw new ServletException(e);
  | } catch (InterruptedException ie){
  | throw new ServletException(ie);
  | }
  | }
  | 

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

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


[jboss-user] [JBoss jBPM] - Re: Token.signal() --- 2 tokens?

2008-02-21 Thread pojomonkey
mputz wrote : I've found a (rejected) feature request to prevent the root 
token from being signaled on a fork node: 
http://jira.jboss.com/jira/browse/JBPM-642
That seems to be exactly what I've found.

So if this behaviour is 'normal', how is it possibly to use jBPM as the 
execution engine in the 'client based assignment' mode as described in the 
documentation?

If the code that's signalling the tokens has to actually be 'aware' of the 
process definition, then that goes out of the window completely!

Having looked at some of the unit tests in the jBPM source repository, I think 
that some of those 'ignore' this behaviour (or avoid dealing with it!)

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

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


[jboss-user] [JBossCache] - Viewing replication activity

2008-02-21 Thread a045103
Greetings,

I am working with JBoss Cache as a second level hibernate cache, where 
Hibernate is used via Spring DAO support. 

By virtue of Hibernate logging I can tell the cache is working as expected, and 
that data is being replicated. However, I have not been able to figure out the 
right log settings to view the replication activity via the logs.

Ideally, in a two JVM cluster, I'd like to see all activity related to 
replication in the logs (for my own edification) -- logging related to the 2 
phase commit (for REPL_SYNC), logging related to data transfer, etc.

I can glean the fact data is being replicated by setting the serialization 
logging to debug, but I'm really after a higher level picture of the 
communication between the cluster members. When replication is occurring, for 
example, I don't see any indication of JGroups activity.

Here's my logging configuration (this is all running in the latest GA JBoss app 
server).


  | ?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE log4j:configuration SYSTEM log4j.dtd
  | 
  | 
  | log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/; 
debug=false
  | 
  | 
  |!-- A time/date based rolling appender --
  |appender name=FILE 
class=org.jboss.logging.appender.DailyRollingFileAppender
  |   errorHandler class=org.jboss.logging.util.OnlyOnceErrorHandler/
  |   param name=File value=${jboss.server.log.dir}/server.log/
  |   param name=Append value=false/
  | 
  |   !-- Rollover at midnight each day --
  |   param name=DatePattern value='.'-MM-dd/
  | 
  |   layout class=org.apache.log4j.PatternLayout
  |  !-- The default pattern: Date Priority [Category] Message\n --
  |  param name=ConversionPattern value=%d %-5p [%c] %m%n/
  | 
  |   /layout
  |/appender
  | 
  |appender name=CONSOLE class=org.apache.log4j.ConsoleAppender
  |   errorHandler class=org.jboss.logging.util.OnlyOnceErrorHandler/
  |   param name=Target value=System.out/
  |   param name=Threshold value=DEBUG/
  | 
  |   layout class=org.apache.log4j.PatternLayout
  |  !-- The default pattern: Date Priority [Category] Message\n --
  |  !-- param name=ConversionPattern value=%d{ABSOLUTE} %-5p 
[%c{1}] %m%n/ --
  |  param name=ConversionPattern value=%d %-5p [%c] %m%n/
  |   /layout
  |/appender
  |
  |category name=org.hibernate
  |   priority value=DEBUG/
  |/category
  |
  |   category name=org.springframework
  |   priority value=DEBUG/
  |/category
  |
  | category name=org.jgroups
  |   priority value=DEBUG/
  |/category
  |
  |category name=org.jboss.cache
  |   priority value=DEBUG/
  |/category
  |
  |category name=org.jboss.serial
  |   priority value=DEBUG/
  |/category
  |
  |category name=test
  |   priority value=DEBUG/
  |/category
  |
  |category name=org.jboss
  |   priority value=INFO/
  |/category
  |
  |category name=com.arjuna
  |   priority value=INFO/
  |/category
  |
  |category name=org.jnp
  |   priority value=INFO/
  |/category
  |
  |!--  --
  |!-- Limit categories --
  |!--  --
  | 
  |!-- Limit the org.apache category to INFO as its DEBUG is verbose --
  |category name=org.apache
  |   priority value=INFO/
  |/category
  | 
  |!-- Limit the jacorb category to WARN as its INFO is verbose --
  |category name=jacorb
  |   priority value=WARN/
  |/category
  |
  |!-- Limit the org.quartz category to INFO as its DEBUG is verbose --
  |category name=org.quartz
  |   priority value=INFO/
  |/category
  | 
  |!-- Limit the JSR77 categories --
  |category name=org.jboss.management
  |   priority value=INFO/
  |/category
  | 
  |root
  |   appender-ref ref=CONSOLE/
  |   appender-ref ref=FILE/
  |/root
  | 
  | /log4j:configuration
  | 

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

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


[jboss-user] [JBoss Portal] - Portlet load time

2008-02-21 Thread ChuckMorrison
Is there a way to view portlet load time?  Can it be significant in portals?  
Looked in log file, but couldn't find the load time.

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

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


[jboss-user] [JBoss AOP] - Re: Long startup time

2008-02-21 Thread [EMAIL PROTECTED]
Use the Include and Exclude attributes of the AspectManagerService. 

If something matches the Exclude filter, it will not be woven unless it also 
matches something in the Include filter.

* will be supported as a value for Exclude in the next AOP 2.0.0 release

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

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


[jboss-user] [JBoss Portal] - Performance benchmarking?

2008-02-21 Thread ChuckMorrison
Is there any performance benchmarking data available for the portal?

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

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


[jboss-user] [EJB 3.0] - Method Overidding

2008-02-21 Thread mikeeprice
When I try to override a method in a subclass Entity I get the error message

Repeated column in mapping for entity

I can't find documentation on this. I imagine there is some annotation I am 
supposed to use for this.

Thanks for any help.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Migrate existing Tomcat-application - using session together

2008-02-21 Thread tomka
Hello.

we want to migrate our existing tomcat bases web application to a JBoss 
architecture. In the first step of the migration process we want to use both 
systems together: new parts of the application should be integrated with JBoss, 
existing parts should be used from the old application.

I think it should work like this:
- We build a new web application with JBoss.
- We copy the war-file of the existing application to the tomcat and register 
the context.
- In the menu of the new application we integrate some links to the .jsp-files 
of the old application.
- Users log in at the JBoss web app.
- When a user click in the menu on one of the menuitems of the old application 
he does not have to login a second time - the tomcat session is the same for 
the JBoss web app and the new one.
- No data-exchange exept of user-handling has to be done between the two 
applications. Perhaps the old application can use some webservices from the 
JBoss


Does this scenario work?
Are there any integration-problems in general?

Thanks for answers, Tomka.

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

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


[jboss-user] [JBossCache] - Re: Viewing replication activity

2008-02-21 Thread [EMAIL PROTECTED]
You'll need to expose the org.jgroups and org.jboss.cache categories at the 
TRACE level. Be aware though that this generates tons of logging data !
You could also enable the Management interceptor in JBossCache, which shows 
stats about JBossCache.

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

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


[jboss-user] [JBoss Portal] - Re: Localization bug in 2.6.x?

2008-02-21 Thread jvence
I have spent hours trying to figure this out and there really seem to be a 
problem. Is there a guide somewhere?

If you have 5 minutes, look at http://jira.jboss.com/jira/browse/JBPORTAL-1895
and try to reproduce it. You will see that something is wrong.

It's very simple to reproduce:

1. Addsupported-localear/supported-locale  to portlet.xml
2. Identity_fr.properties to Identity_ar.properties (use fr just to test 
obviously)
3. Recompile and deploy

You will see that if you select Arabic, the UserIdentityPortlet is displayed in 
English rather then French. Is it possible that this has to do with the JVM not 
supporting ALL languages. I noticed that UserIdentityPortlet displays a list of 
all languages in the user's specified locale. 

I'm at a complete loss. Any help would be greatly appreciated...
Jean





[EMAIL PROTECTED] wrote : I don't think we provide pt_BR localization for 
some parts, the most translated parts are in french and Italian thanks to 
contributors.
  | 
  | For pt_BR we have the previous UserPortlet which is translated partly, but 
that's about it.
  | 
  | All the localization is the same mechanism for all languages. There is just 
no translations for every languages and every parts.

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

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


[jboss-user] [Clustering/JBoss] - error with org.jgroups.protocols.pbcast.NAKACK

2008-02-21 Thread simvtran
jboss4.2.2GA
jdk1.5.0_14

I was able to cluster two instance by using the all directory and everything 
works accordingly. However, I have been trying to search online for the 
following error message:

2008-02-21 09:43:28,600 ERROR [org.jgroups.protocols.pbcast.NAKACK] 
(requester=server1ip:38638, local_addr=server2ip:59284) message 
server2ip:59284::141323 not found in sent msgs.
Sent messages: [141220 - 141343] (124)

I found one URL with similar case but the answer was not completely clear. Can 
someone please let me know what the above message mean or why I am getting the 
ERROR message. The above message appeared only once out of 5 hours. If more 
information is need, please let me know. Thank you.



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

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


[jboss-user] [JBoss jBPM] - Process Logging Not Happening Correctly

2008-02-21 Thread CBax007
I have a small issue that I was wondering if anyone could help with.  I find 
that when I use the RemoteCommandService to interact with JBPM, not much (if 
anything at all) gets logged to the JBPM_LOG table.  Here's the basic sequence 
that I'm doing. I start of with a StartProcessInstanceCommand to kick off my 
new process.  The new process gets saved and a single line gets committed to 
the log table for the start of the process.  Because I use the 
StartProcessInstanceCommand, the process gets moved off the start node and onto 
the first actual task node.  Because of this, I was expecting more in the log 
table.  If I start the process via the web console and signal the start token, 
I get much more in the log table.  So next I use a TaskInstanceEndCommand to 
complete the active task.  Again, the task gets completed and the DB is updated 
properly except that nothing gets logged to the log table again.  Now, if I use 
the web console to perform the same action, everything gets logge!
 d to the log table as expected.

So my question is this.  Why does the logging not work correctly when I go in 
via the RemoteCommandService but does work correclty when I use the web console?

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

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Issue with the JBoss HelloWorldIPC portlet

2008-02-21 Thread briandehaven
I'm having the same issue. I made my own portlet to isolate it. All the portlet 
does is traverse portalNode.getParent() until it reaches the top, and then it 
tries to print out the entire tree structure. It only has access to the 
context/portal/page/window that the starting portlet belongs in. Trying to 
access any other PortalNode instance results in the exception reported in the 
first post.

How would you grant a portlet permissions to view the entire PortalNode 
directory structure to enable page linking, site mapping, etc?


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

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


[jboss-user] [JCA/JBoss] - How to create socket connection to legacy sytem instead of J

2008-02-21 Thread chavali
We have a requirement to connect to legacy system socket port for each client 
from web service skeleton and maintain the connection thoughout the client 
session.

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

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


[jboss-user] [JBossWS] - SubClasses not included into WSDL

2008-02-21 Thread arvi
Hi all,
   The WSDL file generated using java classes does not include the sub 
classes for an abstract class.

This is the actual case.

1) The service class is abstract, which is extended many other classes.

2) The serviceProfile class has a Collection of service class.

The WSDL includes only the service class and not the subclasses, Is there 
anyway to include them into the WSDL?

With the earlier implmentation using JBoss-net we used web-service.xml for 
explicit 'typeMappings'.
Is there a way for this explicit typeMappings with JBossWS?


Thanks,
Arvind

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

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


[jboss-user] [JBossWS] - CSTA ECMA wsdl

2008-02-21 Thread chavali
Has anybody worked on CSTA ECMA wsdl? 

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Issue with the JBoss HelloWorldIPC portlet

2008-02-21 Thread briandehaven
This is the portlet I threw together. There are many other pages and windows 
deployed. Only the PageLinkWindow and its parent are printed. Exceptions are 
thrown for every other node the code attempts to access, but they don't 
propogate into the portlet doView method. They are just printed to console.

Output:: context
  | -DemoPortal: portal
  | --ipc: page
  | ---PageLinkWindow: window

Portlet code:
import java.io.IOException;
  | import java.util.Collection;
  | 
  | import javax.portlet.PortletException;
  | 
  | import org.jboss.portal.api.node.PortalNode;
  | import org.jboss.portlet.JBossPortlet;
  | import org.jboss.portlet.JBossRenderRequest;
  | import org.jboss.portlet.JBossRenderResponse;
  | 
  | public class PageLinkPortlet extends JBossPortlet
  | {
  |protected void doView(JBossRenderRequest request, JBossRenderResponse 
response) throws IOException, PortletException
  |{
  |   try
  |   {
  |  response.setContentType(text/html);
  |  StringBuffer html = new StringBuffer();
  | 
  |  PortalNode baseNode = request.getPortalNode();
  |  while (baseNode.getParent() != null)
  |  baseNode = baseNode.getParent();
  | 
  |  list(html, baseNode);
  |  listchildren(html, baseNode, 1);
  | 
  |  response.getWriter().write(html.toString());
  |   }
  |   catch(Exception e)
  |   {
  |  //e.printStackTrace();
  |   }
  |}
  | 
  |private void list(StringBuffer html, PortalNode pn)
  |{
  |String type = ;
  |if (pn.getType() == PortalNode.TYPE_CONTEXT)
  |type = context;
  |else if (pn.getType() == PortalNode.TYPE_PORTAL)
  |type = portal;
  |if (pn.getType() == PortalNode.TYPE_PAGE)
  |type = page;
  |if (pn.getType() == PortalNode.TYPE_WINDOW)
  |type = window;
  | 
  |html.append(pn.getName() + :  + type + br);
  |}
  | 
  |private void listchildren(StringBuffer html, PortalNode pn, int depth)
  |{
  |CollectionPortalNode c = (CollectionPortalNode) pn.getChildren();
  | 
  |for (PortalNode node : c)
  |{
  |for (int i = 0; i  depth; i++)
  |html.append(-);
  | 
  |list(html, node);
  |listchildren(html, node, depth + 1);
  |}
  |}
  | }
  | 

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Loading Context entered in server.xml file

2008-02-21 Thread ramboid
Is there a way to make tomcat load a context that I enter in the server.xml 
file? I added a Context entry into the server.xml file to make available an 
External Directory (as it is explained in the How To documentation) but I need 
to restart jboss before I can access the content in the external directory via 
http://:8080/external directory.  Is it possible to reload tomcat or force a 
lood of its configuration files via the JMX console or twiddle without having 
to restart jboss?  It would also be useful to force a loading of the context 
entry without having to restart tomcat for an application in production.

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

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


[jboss-user] [JBossWS] - How to maintain session management with web services

2008-02-21 Thread chavali
we have both webservices (synchronous request/responses and asynchronous events 
from legacy system). Synchronous requests are towards the legacy system and 
asynchronous events reported from the legacy system are reported to client 
invoked using asynchronous webservice request implemented in the clientside 
webserver.

There is a need to maintain user session per client throughout the session. 
Can somebody suggest the solution.

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

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


[jboss-user] [Security JAAS/JBoss] - Tomcat 5.5 login module compatibility?

2008-02-21 Thread jptalberg
We are currently running JBoss AS 4.2.1 and having difficulty configuring the 
login-config.xml to use a login module that was written for tomcat 5.5.

In particular, the authentication aspect seems to be working.  It only lets 
valid usernames/passwords through as we expect from our login module.  However, 
our web application is not able to retrieve our custom principal object out of 
the request; instead we get a org.jboss.security.SimplePrincipal object.

We don't have direct access to the source code for the login module code, 
should AS 4.2.1 (default all configuration) be able to use a tomcat 5.5 login 
module without modification?

I have seen http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingCustomPrincpalsWith 
which seems to state the the custom principal must have a constructor with a 
string username, or be installed under the Subject using a 
java.security.acl.group named CallerPrincipal.  I don't think our custom 
login module does either of these, but I could be wrong as the login-module is 
not under our control.

In our login-conf.xml we are specifying the following module-options for our 
custom login-module: appName, principalClass, userClassNames, roleClassNames.  
I would provide the files but they are on a non accessible network.

Any help in this matter would greatly be appreciated!

Also is there any way to turn up more debug login framework?

Thanks,
   Jeff

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

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


[jboss-user] [JBoss jBPM] - Re: Token.signal() --- 2 tokens?

2008-02-21 Thread kukeltje
Good catch Martin so there was something 'strange' in the code, I just 
missed it... shame one me.

A full client based assignment is (afaik) seldomly fount. In most of the 
situations the states (not to be confused with the state nodes) are either 
signalled by a human, or async after the execution of some action. When using 
async nodes, the token is 'known' to the code that signals the node again. That 
way it does not have to have knowledge about the processdefinition but just the 
one token that needs to be signalled. Kind of what happens with tasknodes where 
the tokens are 'known' in a task list and can be signalled without knowing the 
processdefinition

Regarding the unit test, they avoid dealing with it

Btw, Client based assignment only shows up on google for the jbpm 2.0 docs. Is 
that where you read it? (I cannot check the 3.x docs since I have no full 
access to the source here)

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

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


[jboss-user] [JBoss Portal] - Re: Localization bug in 2.6.x?

2008-02-21 Thread [EMAIL PROTECTED]
I tried again, the exact same scenario you mention here, it's just working fine 
without any extra configuration.
The identity portlets tabs are using Identity_ar.properties as expected.

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

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


[jboss-user] [JBoss Portal] - Re: Personalization Features in 2.4?

2008-02-21 Thread ryousure2000
Did you able to implement your requirement. I have similar reuirement , we want 
user to select content from predefined list.

Thanks


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Install issue:Using different port to 8080 from jboss 4.

2008-02-21 Thread JGF1
Many thanks for solving my JBoss install issues.
TCPView utility tracked down Java process using ports.
So I have now gone into Services and made SunJavaSystemAppserver9PE
start manually. This way I can start JBoss without the conflicts and it
resolves everything satisfactorily for my needs, since I don't need both 
servers to run concurrently.
In case anyone needs to track down TCPView, the URL in article you pointed me 
to is slightly out of date.
It now resides at:
http://technet.microsoft.com/en-gb/sysinternals/bb897437.aspx
I also changed those ports back to 8080 range from 18080 range too now in 
server.xml files.
Everything is now starting without errors when I run.
Once again thanks for all your great advice.
I will add the URL's you mention to my favorites.
Cheers, Jeremy

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - how to add custom properties to xml?

2008-02-21 Thread shawnsmsu
We're currently using a standard configuration file to allow users to choose 
their datasource and whatnot when running JBoss 4.0.5.  Obviously, the 
properties in this file get passed into the web application but I cannot find 
how.  

I'd like to add a custom property to the xml file that will be accessible by 
the web app at runtime.  Can someone please explain what I need to do to add a 
tag and read it in on the application side?

Here's our standard config xml:


  | ?xml version=1.0 encoding=UTF-8?
  | datasources
  |   !-- Microsoft SQL Server 2000 Database configuration --
  |   local-tx-datasource
  | jndi-namejdbc/LEDataSource/jndi-name
  | 
connection-urljdbc:jtds:sqlserver://localhost:1433/test;prepareSQL=1/connection-url
  | driver-classnet.sourceforge.jtds.jdbc.Driver/driver-class
  | user-nameuser/user-name
  | passwordpassword/password
  | 
  | 
transaction-isolationTRANSACTION_READ_COMMITTED/transaction-isolation
  | 
  | min-pool-size4/min-pool-size
  | max-pool-size20/max-pool-size
  | idle-timeout-minutes30/idle-timeout-minutes
  |   /local-tx-datasource
  | /datasources
  | 

I would like to add one property that the web app could read:


  | support-email[EMAIL PROTECTED]/support-email
  | 

Thanks!

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: how to add custom properties to xml?

2008-02-21 Thread PeterJ
The *-ds.xml file is used as a template to generate several (3-6, if I recall 
correctly) MBeans. Once the MBeans are generated, the *-ds.xml file is ignored. 
Apps get at the data source by looking up the name (jdbc/LEDataSource in your 
example) in JNDI which yields one of the MBeans.

For web app properties, those are usually best placed into a properties file 
accessible by the web app (for example, located in WEB-INF/classes), or you 
could use the properties service - see the properties-service.xml file.

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

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


[jboss-user] [Javassist user questions] - Re: Duplicate a method

2008-02-21 Thread gkorland
Yes, thanks I found it myself few days ago, do you think there's a way to make 
it happen anyway?

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to stop JBoss from connecting to database on application

2008-02-21 Thread lent
Hello,

We are using EJB3 and we are finding that on application (EAR) deployment, a 
connection is obtained from the database even though it is unused.  We can 
understand that if hibernate auto ddl creation/update is specified then the 
connection would be used to do the ddl creation but we have it turned off but 
it still connects to the database and then does nothing and then disconnects.  
We want to stop the connection from being obtained.  Is there any way to 
configure this in Jboss/EJB/hibernate?

Regards,
Len

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

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


[jboss-user] [JBossCache] - Re: LRU Eviction Policy is clearing the entire cache after M

2008-02-21 Thread mircea.markus
It is limited at a node level. 
What can be done, though is to put one key/value in each node.

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

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


[jboss-user] [JBoss Portal] - Re: Localization bug in 2.6.x?

2008-02-21 Thread [EMAIL PROTECTED]
Ok, i was finally able to reproduce.
It works fine if you change the language on your profile (what i initially 
did). It seems to fail when selecting the language in firefox preferences

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

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


[jboss-user] [JBoss Portal] - Re: Localization bug in 2.6.x?

2008-02-21 Thread [EMAIL PROTECTED]
Can you try to add:

  | application
  | locale-config
  | default-localeen/default-locale
  | supported-localeen/supported-locale
  | supported-localear/supported-locale
  | supported-localefr/supported-locale
  | supported-localeit/supported-locale
  | /locale-config
  | ...
  | /application
  | 

In faces-config.xml of core-identity.

My wild guess is that it has to do with the JSF nature of the application more 
than the portal itself

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - [PortletAppDeployment] Failed to create instance - Please ad

2008-02-21 Thread gudram
Hi all,
I am getting the following error when I created a sample portlet application. I 
followed the spring mvc portlet framework on JBoss Portlet Server 2.6.3GA 
,JDK1.5. 
Please let me know whats wrong with  my code.


  | 14:52:38,098 ERROR [STDERR] 
org.jboss.portal.portlet.container.PortletInitializationException: The portlet 
InsideGisMigration threw an error during init
  | 14:52:38,098 ERROR [STDERR] at 
org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.start(PortletContainerImpl.java:268)
  | 14:52:38,098 ERROR [STDERR] at 
org.jboss.portal.portlet.impl.container.PortletApplicationContextImpl.startPortletApplication(PortletApplicationContextImpl.java:135)
  | 14:52:38,098 ERROR [STDERR] at 
org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:151)
  | 14:52:38,098 ERROR [STDERR] at 
org.jboss.portal.core.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:96)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.portal.server.deployment.jboss.DeploymentContext.start(DeploymentContext.java:99)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.portal.server.deployment.jboss.PortalDeploymentInfoContext.start(PortalDeploymentInfoContext.java:211)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.portal.server.deployment.jboss.ServerDeployer.start(ServerDeployer.java:217)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
  | 14:52:38,108 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor245.invoke(Unknown Source)
  | 14:52:38,108 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 14:52:38,108 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Unknown Source)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | 14:52:38,108 ERROR [STDERR] at $Proxy214.deploy(Unknown Source)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.portal.server.deployment.jboss.ServerDeployer.deploy(ServerDeployer.java:259)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.portal.server.deployment.WebAppAdapter.deploy(WebAppAdapter.java:53)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.portal.server.deployment.WebAppIntercepter.handleNotification(WebAppIntercepter.java:159)
  | 14:52:38,108 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  | 14:52:38,108 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 14:52:38,108 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Unknown Source)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
  | 14:52:38,108 ERROR [STDERR] at $Proxy217.handleNotification(Unknown 
Source)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.deployment.SubDeployerSupport.emitNotification(SubDeployerSupport.java:340)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:308)
  | 14:52:38,108 ERROR [STDERR] at 
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:482)
  | 14:52:38,108 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)
  | 14:52:38,108 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 14:52:38,108 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Unknown Source)
  | 14:52:38,108 

[jboss-user] [JBoss AOP] - Re: Maven 2 plugin?

2008-02-21 Thread [EMAIL PROTECTED]
ive added a new version of the maven plugin in the snapshot repository and 
added a wiki page with the same info we have in the docs in svn. you can find 
the wiki here: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossAOPMavenPlugin
please test it out and get back to us if you find any bugs or if there are any 
changes you would like to see before its final. ill try to attach a small 
downloadable example for you to test out too.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Exact Tomcat Version

2008-02-21 Thread murthy64
hopefully someone will tell me where to download tomcat6-service.jar if i give 
my reasons:
a)tomcat 5.5.26 has clustering which to me means the session is shared among a 
cluster of tomcat servers
b)i cannot move past Jboss 4.0.2 because of JSF reasons; basically my JSF app 
doesn't scale with subsequent versions of Jboss; also too lazy to fix the JSF 
code
c) when i am done testing with tomcat5.5.26 i might consider using the Jboss 
clustering solution (which i don't understand well enough to implement).

Any information is appreciated.
Thanks
Murthy

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

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


[jboss-user] [Clustering/JBoss] - Re: error with org.jgroups.protocols.pbcast.NAKACK

2008-02-21 Thread [EMAIL PROTECTED]
Ignore it. This was a spurious retransmission request for message #141323, 
which probably crossed the delivery of the message. 

I assume your system continued to function correctly right ?

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

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


[jboss-user] [JBoss Portal] - Re: JbossPortal and ldap

2008-02-21 Thread kahotep
I was able to get everything but add/remove users to work.  I don't think 
add/remove LDAP users/roles is supported in JBoss Portal yet, so this will have 
to be done in another way besides the user administration module currently in 
use (please correct me if I am wrong).

I learned this after reading:
http://lists.jboss.org/pipermail/jboss-dev-forums/2006-October/002831.html

btw: I would highly recommend phpLDAPadmin for modifying the LDAP setup.  It 
made life much easier for me, since I am not very well versed in using LDAP's 
command line utilities.
http://phpldapadmin.sourceforge.net/

In my setup, I used OpenLDAP, which I installed into my Ubuntu Linux system 
with:

apt-get install slapd ldap-utils

Here is a simple LDIF that worked for me.  It has three users and two roles:

version: 1
  | 
  | # LDIF Export for: dc=cobracombat,dc=com 
  | # Generated by phpLDAPadmin ( http://phpldapadmin.sourceforge.net/ ) on 
February 21, 2008 4:49 pm
  | # Server: My LDAP Server (localhost)
  | # Search Scope: sub
  | # Search Filter: (objectClass=*)
  | # Total Entries: 8
  | 
  | dn: dc=cobracombat,dc=com
  | objectClass: top
  | objectClass: dcObject
  | objectClass: organization
  | dc: cobracombat
  | o: cobracombat
  | 
  | dn: ou=People,dc=cobracombat,dc=com
  | objectClass: top
  | objectClass: organizationalUnit
  | ou: People
  | 
  | dn: uid=admin,ou=People,dc=cobracombat,dc=com
  | objectClass: top
  | objectClass: inetOrgPerson
  | objectClass: person
  | title: n/a
  | uid: admin
  | userPassword: lbjd7896
  | cn: Administrator
  | mail: [EMAIL PROTECTED]
  | sn: Administrator
  | 
  | dn: uid=cbcase,ou=People,dc=cobracombat,dc=com
  | objectClass: top
  | objectClass: inetOrgPerson
  | objectClass: person
  | uid: cbcase
  | cn: Chris Case
  | mail: [EMAIL PROTECTED]
  | sn: Case
  | userPassword: lbjd7896
  | 
  | dn: uid=user,ou=People,dc=cobracombat,dc=com
  | cn: user
  | mail: [EMAIL PROTECTED]
  | objectClass: top
  | objectClass: inetOrgPerson
  | objectClass: person
  | sn: Portal User
  | uid: user
  | userPassword: user
  | 
  | dn: ou=Roles,dc=cobracombat,dc=com
  | objectClass: top
  | objectClass: organizationalUnit
  | ou: Roles
  | 
  | dn: cn=Admin,ou=Roles,dc=cobracombat,dc=com
  | cn: Admin
  | description: Portal admin role
  | objectClass: top
  | objectClass: groupOfNames
  | member: uid=admin,ou=People,dc=cobracombat,dc=com
  | 
  | dn: cn=User,ou=Roles,dc=cobracombat,dc=com
  | cn: User
  | description: Portal user role
  | objectClass: top
  | objectClass: groupOfNames
  | member: uid=admin,ou=People,dc=cobracombat,dc=com
  | member: uid=user,ou=People,dc=cobracombat,dc=com
  | member: uid=cbcase,ou=People,dc=cobracombat,dc=com
  | 

Here is slapd.conf, the configuration file for my LDAP server.

# This is the main slapd configuration file. See slapd.conf(5) for more
  | # info on the configuration options.
  | 
  | ###
  | # Global Directives:
  | 
  | # Features to permit
  | #allow bind_v2
  | 
  | # Schema and objectClass definitions
  | include /etc/ldap/schema/core.schema
  | include /etc/ldap/schema/cosine.schema
  | include /etc/ldap/schema/nis.schema
  | include /etc/ldap/schema/inetorgperson.schema
  | 
  | # Where the pid file is put. The init.d script
  | # will not stop the server if you change this.
  | pidfile /var/run/slapd/slapd.pid
  | 
  | # List of arguments that were passed to the server
  | argsfile/var/run/slapd/slapd.args
  | 
  | # Read slapd.conf(5) for possible values
  | loglevel0
  | 
  | # Where the dynamically loaded modules are stored
  | modulepath  /usr/lib/ldap
  | moduleload  back_bdb
  | 
  | # The maximum number of entries that is returned for a search operation
  | sizelimit 500
  | 
  | # The tool-threads parameter sets the actual amount of cpu's that is used
  | # for indexing.
  | tool-threads 1
  | 
  | ###
  | # Specific Backend Directives for bdb:
  | # Backend specific directives apply to this backend until another
  | # 'backend' directive occurs
  | backend bdb
  | checkpoint 512 30
  | 
  | ###
  | # Specific Backend Directives for 'other':
  | # Backend specific directives apply to this backend until another
  | # 'backend' directive occurs
  | #backendother
  | 
  | ###
  | # Specific Directives for database #1, of type bdb:
  | # Database specific directives apply to this databasse until another
  | # 'database' directive occurs
  | databasebdb
  | 
  | # The base of your directory in database #1
  | suffix  dc=cobracombat,dc=com
  | 
  | # rootdn directive for specifying a superuser on the database. This is 
needed
  | # for syncrepl.
  | #rootdn 

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

2008-02-21 Thread nilsga
I was following the tutorials in the reference guide: 
http://docs.jboss.com/jbportal/v2.6.4/referenceGuide/html/tutorials.html#d0e2127

The chapter you pointed was pretty clear, so thanks for pointing that out.

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

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


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

2008-02-21 Thread [EMAIL PROTECTED]
Maybe it should indeed made clearer in the tutorial that the descriptors are 
optional.

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: MDBs don't work after jms recovery

2008-02-21 Thread rbattu
Was this feature ever added?

Thanks
Ravi.

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

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


  1   2   >