[jboss-user] [Remoting] - Re: How to classify instances of InvokerCallbackHandler ?

2008-11-14 Thread [EMAIL PROTECTED]
Hi DanielTraven,

"DanielTravin" wrote : 
  | Why there is no out of the box solution for this ? 
  | 

I guess no one ever asked for it.  The fact is that Remoting 2 is no longer 
under active development, or I would consider adding something like that.

However, I believe that jaikiran has given a good solution.

By the way, I don't mean to say that Remoting 2 is not actively supported, just 
that new features are more likely to appear in Remoting 3.

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

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


[jboss-user] [Remoting] - Re: Remoting 2.5 SP1 - ServerInvoker.TIMEOUT does not work?

2008-11-14 Thread [EMAIL PROTECTED]
In fact, you've discovered the fact that a timeout value is never set for the 
ServerSocket in SocketServerInvoker.  In fact, there really doesn't seem to be 
any point to setting the timeout value, since all we would do in the event of a 
timeout is go back and call ServerSocket.accept() again.  In fact, the 
asynchronous nature of a distributed system suggests that the server should be 
prepared to wait indefinitely to hear from a client.

If you look in SocketServerInvoker.run(), you will see two calls to 
getTimeout(), the result of which is passed to a ServerThread in each case.  
This timeout value is used to set the timeout value for the Socket through 
which invocations will arrive from the client.  Given that network connections 
are a relatively scarce resource, it *does* make sense to let these sockets 
time out if an invocation is not forthcoming, rather than have them wait 
forever.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JConsole / jmxremote connection problems

2008-11-14 Thread [EMAIL PROTECTED]
Peter,

Thank you very much for taking the effort to document your experiences, I'm 
very pleased to say that your suggestion fixed my problem too - although I did 
have a typo in my hostname without realising, so combined with that and a 
restart to the windows machine it was fixed.  

I'm not sure whether the reboot was required, but if anyone else stubles across 
this forum and still can't get it working, double check the hostname you typed, 
obviously the IP address too and if all else fails, reboot.

Thanks again peter!

Rob.


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

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


[jboss-user] [JBoss jBPM] - jBPM-3.3.0.GA Released

2008-11-14 Thread [EMAIL PROTECTED]
Folks,

I'm happy to announce that jBPM-3.3.0.GA has just been released.

* Maven based build system
* Hudson based QA as integral part of the project
* IzPack based Installer
* Defined target containers
* Defined target databases
* GPD distribution as Eclipse update site

For details please see the release notes 
http://www.jboss.org/community/docs/DOC-12946 on the wiki

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

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


[jboss-user] [Remoting] - Re: Worker thread initialization failure

2008-11-14 Thread [EMAIL PROTECTED]
It looks like a client has connected to the Remoting server, which attempts to 
create an ObjectInputStream to read the forthcoming invocation.  But the client 
shut down before writing the header bytes to the corresponding 
ObjectOutputStream.  Look and see what is happening on the client side when 
these EOFExceptions occur.

By the way, there is no AS 4.3.0.GA_CP02.   Do you mean EAP 4.3.0.GA_CP02?   In 
the latter case, you might get more timely help from the customer portal.  The 
support guys are really good, and in the unusual event that they can't solve 
your problem, it will come back to me anyway.  :)

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

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


[jboss-user] [Microcontainer] - Re: how to re-configure class loader policy?

2008-11-14 Thread alesj
"emmartins" wrote : 
  | What would be content of the class loading descriptor for the same class 
loader as it is done by default (with no such descriptor) but with blacklisting 
off.
  | 
Try this:

  | 
  | 
  | 

"emmartins" wrote : 
  | PS: By the way, what's the idea of the black listing at all? :-)
Very simple and common idea. ;-)
Constantly looking up / resolving some classes that already failed is costly.
If you can put an early condition on this check, it speeds up things.


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

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


[jboss-user] [JBoss jBPM] - Using JBoss jBPM 3.1 and JRules(Drools 4) With Weblogic 9.2

2008-11-14 Thread rajuak
Hi,

I am using jBPM for the first time.I need to configure it with weblogic 9.2.

Can anyone please provide me details for configuring the same or any link which 
provides the same?



Regards
Raju


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

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


[jboss-user] [Beginners Corner] - Re: JBoss web service output

2008-11-14 Thread worrow
Finally found out what the problem is-->SOAP.

The old setting is based on jbossws4ee but now JBoss 4.2.3 used jbossws.  
Without touching the war file, I tried to downgrade back to jbossws4ee but when 
I started JBoss, I got a message say "Could not create deployment:Caused 
by: java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.webservice.WebServiceClientDeployment
"  Anyone which jar file is this class located?  Thanks in advance.

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

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


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

2008-11-14 Thread garwind111
Hello, 

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

Now i must deploy it into behind a firewall. I opened the following ports :

Host F (proxy/firewall)  Host A (my server)
1098 --->1098
8443 -HTTPS--> 8443


I read that i must open 4457 and a secondary connection port 4460. But If i 
understand the thing, this is for the biscoket connector.

How does it work if I use my HTTPS connector ?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EJB not deployed in EAR file with libraries

2008-11-14 Thread antonio.genghi
"jaikiran" wrote : 
  |   | http://java.s
  |   | un.com/dtd/application_1_3.dtd'>
  |   | 
  |   |   myApp
  |   |   Application description
  |   |   
  |   | myEjb.jar
  |   |   
  |   |   lib
  |   |   
  | Point#1 - The library-directory is not meant to be in the application.xml. 
Instead it should be in the jboss-app.xml:
  | 
  | 
  |   |   lib
  |   | 
  | 
  | Fix the application.xml to remove that element and create a jboss-app.xml 
file with the above contents in the EAR/META-INF folder.
  | 

Really? Why i should put library directory in jboss-app.xml instead of 
application.xml? J2ee standard say library directory shoul declared in 
application.xml. Btw, i tried to put in jboss-app, but don't know why, jboss 
refuses to load the correct schema to read xml, and refuses to parse library 
directory.
But it is that problem, because jboss correctly read lib directory (i'm 
debugging whole deploy chain and i've seen with my eye jboss read my util*.jar 
:) )


"jaikiran" wrote : 
  | Next, what do the util*.jar contain? And finally, do you see any exceptions 
in the logs? If yes, then please post the same. Please also post the logs, from 
the point where your application starts getting deployed.
  | 

Well, util*.jar are two stupid library such as could be log4j, or any other jar 
containing classes. Nothing more, nothing less.

I continued to debug the deployer chain, and i noticed that JBoss "fails" in 
these:
It reads the EAR file
Deploy EAR
Search in application.xml modules and library.
Find 2 libraries and a deployable module
Unpack the EAR in the tmp directory
Search the correct deployer for the module found.
Now comes the problem
When EJBDeployer is asked to accepts myEJB.jar (located in the EAR tmp 
directory), it refuse to accept because it cannot read META-INF/ejb.jar from 
archive.

But obviously, if i open the file and search for ejb-jar, i found it.

It seems like an issue with classloading.

Here it is the incriminated lines in EJBDeployer:

  |   // However the jar must also contain at least one ejb-jar.xml
  |   boolean accepts = false;
  |   try
  |   {
  |  URL dd = di.localCl.findResource("META-INF/ejb-jar.xml");
  |  if (dd == null)
  |  {
  | return false;
  |  }
  | 

di.locaCl is created in the MainDeployer in that way:

  |   log.debug("Starting deployment (init step) of package at: " + 
deployment.url);
  |   try
  |   {
  |  // Create a local copy of that File, the sdi keeps track of the 
copy directory
  |  if (deployment.localUrl == null)
  |  {
  | makeLocalCopy(deployment);
  | URL[] localCl = new URL[]{deployment.localUrl};
  | deployment.localCl = new URLClassLoader(localCl);
  |  }
  | 

where localurl is the file in the tmp directory of EAR unpacked.

Any idea???

Thanks a lot!

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

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


[jboss-user] [JNDI/Naming/Network] - Re: Multiple databases solution

2008-11-14 Thread khedive
Guys, thank you very much!
Unfortunately, it's really not actual already and we are doing the project 
using Spring-Hibernate framework, which is more flexible for this issue.


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

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


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

2008-11-14 Thread AmiraTalbi
Hi Jikiran;
thkx for your help; 
I tried this solution earlier but it doesn't seam to resolve my problem. Many 
entityManager updates are lost :(  

Is there an other issue ??? 
Thkx in advance 

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

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


[jboss-user] [Advanced Documentation] - How to configure Virtual hosts in JBoss-4.2.2.GA

2008-11-14 Thread ssaguturu
Hi All-

i am new to JBoss-4.2.2.GA, i want to configure Virtual Hosts in this new 
server setup.

My requirement is to re-direct the contexts based on URL (domain name)... 
let's say 

  1. if my URL is myoss.com then i want to redirect to /oss/ (here /oss/ is 
one of my contexts available in server

   2. if my URL is myjmx.xom then i want to redirect to /jmx-console/

i don't want to put any code on JSP/HTML, i need some configuration on XML.. i 
heard we can do this by adding Virtual Hosts in JBoss.

Any help on this is appreciated...

Thanks & Regards,
- Suneel Saguturu.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Need information for delaying war deployment due to dependen

2008-11-14 Thread rohitdev
My war has dependency on a JMS topic,JNDI name creation and an EJB.

Where do i define the delay?

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

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


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

2008-11-14 Thread jaikiran
"AmiraTalbi" wrote : Hi Jikiran;
  | 
  | I tried this solution earlier but it doesn't seam to resolve my problem. 
Many entityManager updates are lost :(  
  | 
  | 

I thought you were trying to setup a singleton MDB. Can you please provide more 
details about what you are trying to do? I did not understand what you meant by 
entitymanager updates being lost. Please provide the version of JBoss and Java 
that you are using and also what your application is trying to do.


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Need information for delaying war deployment due to dependen

2008-11-14 Thread rohitdev
My war has dependency on a JMS topic,JNDI name creation and an EJB.

Where do i define the delay?

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

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


[jboss-user] [JBoss jBPM] - Re: fork and join childeren

2008-11-14 Thread salaboy21
if you wanna really see the values variables and tokens you must debug...
And remember that asserts are basic concept in JUnit testing... so... try to 
leave println...


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

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


[jboss-user] [Advanced Documentation] - Re: How to configure Virtual hosts in JBoss-4.2.2.GA

2008-11-14 Thread jaikiran
See this http://www.jboss.org/community/docs/DOC-12549

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

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


[jboss-user] ActiveThreadCount return a wrong value?

2008-11-14 Thread Alban Soupper
Hi all,

 

I the jmx-console the jboss.system:type=ServerInfo/ActiveThreadCount
give me 788 threads.

But when I invoke the jboss.system:type=ServerInfo/listThreadDump gives
me only 524 threads...

 

Can someone explain me what's wrong?

 

Alban.

 

Note : the JBoss version is 3.2.6 and I know it's indecent but I have no
choice :-(

 



This email and any files transmitted with it contain confidential information 
and are intended solely for the use of the individual or entity to whom they 
are addressed. If you are not the intended recipient, you are hereby notified 
that any disclosure, copying, use, or distribution of the information included 
in this message and any attachments is strictly prohibited. If you have 
received this email in error please notify the system manager at [EMAIL 
PROTECTED] or by reply email and immediately and permanently delete this 
message and any attachments. Email transmission cannot be guaranteed to be 
secure or error-free and may be susceptible to data corruption, delay, 
interception, unauthorised amendment, or contain viruses. The sender therefore 
does not accept liability for any errors, omissions or other such consequences 
which may arise as a result of this email transmission. 


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


[jboss-user] [Remoting] - Re: Worker thread initialization failure

2008-11-14 Thread boniek
I think I tracked the problem. My load-balancer was probing port 3873 (one of 
many) to see if it is up or not to determine if machine is up and working. 
Probing was done by acquiring connection on this port and if succesful - 
closing it. Removing probe solved the problem. Thanks for translating exception 
for me:)

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

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


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

2008-11-14 Thread AmiraTalbi
I have a JBPM process that sends MEssages (communication control blocks) to a 
given MDB queue.  these message are being translated when they are received by 
the bean. 

My problematic is to consume messages one by one, in other words, when 
transaction 1 have finished, MDB must consume the next message in queue.

In normal execution, MDB open a new Transaction for each received message, so, 
I'm finishing with multiple concurrent sessions that may update the same data 
concurrently. And As a result,  many times my data updates are lost 


So, I have to organize message consommation by MDB 

I hope being clear 

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

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


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

2008-11-14 Thread jaikiran
Okay i now get some idea about what you are trying to do :-)

Going back to my earlier reply, did you configure the MDB to be a singleton as 
explained in the wiki? I would recommend that you try this first on a 
non-clustered setup and get the singleton MDB and your entity updates working. 
If it does not work even on a non-clustered setup, you might be having some 
other issues in the application. 

Let us know how it goes on a non-clustered setup. If it works on this setup 
then we can see why it does not work on a clustered setup. I assume you have 
read the "This doesn't work in a cluster?"  section in that wiki, which 
explains what has to be done on a clustered setup.

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

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


[jboss-user] [JBoss Portal] - Re: Downloading a File from within a Portlet.

2008-11-14 Thread [EMAIL PROTECTED]
Use the new resource serving mechanism in JSR-286... See the spec for more 
details.

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

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


[jboss-user] [JBoss Messaging] - Reliable messaging with bridge

2008-11-14 Thread Wayland
If I want to guarantee a topic message is delivered to a remote server,
is it possible to use jboss message bridge to implement it? 
When the remote server is down, the messages are kept persistent in the client 
server,
the messages are redelivered when the remote server comes back alive again. 
I actually have deployed a bridge to try that, but the messages sent during the 
remote server's down time are all lost. So I am not sure if bridge can serve 
such purpose. If not, what other solutions are possible? Thanks.

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM Oracle connection Issue

2008-11-14 Thread Kodee
After changing oracledialect, it works fine.. Thanks for the help

cheers,
Kodee

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

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


[jboss-user] [JBoss Portal] - Re: i want to disable page

2008-11-14 Thread Nagendra1020
i did 2 suggestion but page tab still displaying. how can i check that portal 
have recursive access permission or not.


"PeterJ" wrote : Two things to check: 
  | 
  | 1: make sure that the portal does not have a recursive access permission 
set.
  | 
  | 2: Try dropping all the tables from the database, this will eliminate any 
old configuration settings.



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

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


[jboss-user] [JBoss jBPM] - JDBCConnectionException: Cannot open connection

2008-11-14 Thread asique
Hi all

when i run ant build "create.jbpm.configuration" i get this exception message 
in console 
i m using jbpm-starter-kit-3.1.3 and using default properties of hibernate and 
hsql i did not change any property file

the whole console track isanonymous wrote : 
  | Buildfile: 
  | D:\app\jbpm-starters-kit-3.1.3\jbpm\build.deploy.xml
  | delete.jbpm.configuration:
  | build.webapp:
  | compile.jbpm:
  | compile.identity:
  | compile.jbpm.test:
  | compile.webapp:
  | compile.identity.test:
  | compile.examples:
  | compile:
  | build.webapp:
  | build.service.archive:
  | compile.jbpm:
  | build.jbpm:
  | compile.identity:
  | build.identity:
  | build.service.archive:
  | declare.jbpm.tasks:
  | compile.jbpm:
  | build.jbpm:
  | build.jbpm.src:
  | compile.identity:
  | build.identity:
  | build.identity.src:
  | compile.jbpm.test:
  | compile.webapp:
  | compile.identity.test:
  | compile.examples:
  | compile:
  | build.webapp:
  | build.service.archive:
  | build.converter:
  | build:
  | db.clean:
  |[delete] Deleting directory 
  | D:\app\jbpm-starters-kit-3.1.3\jbpm\build\db
  | [mkdir] Created dir: 
  | D:\app\jbpm-starters-kit-3.1.3\jbpm\build\db
  | db.start:
  | [starthsqldb] starting 'java -cp 
D:app\starters-kit-3.1.3jbpm-server/server/default/lib/hsqldb.jar 
org.hsqldb.Server  -database 
D:\app\jbpm-starters-kit-3.1.3\jbpm/build/db/localDB -port 1701'...
  | [starthsqldb] Exception in thread "Thread-1" java.lang.NullPointerException
  | [starthsqldb] at 
org.apache.tools.ant.Project.fireMessageLoggedEvent(Project.java:1981)
  | [starthsqldb] at 
org.apache.tools.ant.Project.fireMessageLogged(Project.java:2058)
  | [starthsqldb] at org.apache.tools.ant.Project.log(Project.java:367)
  | [starthsqldb] at org.apache.tools.ant.Task.log(Task.java:346)
  | [starthsqldb] at org.apache.tools.ant.Task.log(Task.java:334)
  | [starthsqldb] at org.jbpm.ant.Launcher.run(Launcher.java:51)
  | create.db:
  | [jbpmschema] 16:00:39,897 [main] DEBUG AntHelper : creating hibernate 
configuration from cfg 
'D:\app\jbpm-starters-kit-3.1.3\jbpm/src/config.files/hibernate.cfg.xml' and 
properties 
'D:\app\bpm-starters-kit-3.1.3\jbpm/src/resources/hsqldb/create.db.hibernate.properties'
  | [jbpmschema] 16:00:40,069 [main] INFO  Environment : Hibernate 3.1
  | [jbpmschema] 16:00:40,084 [main] INFO  Environment : hibernate.properties 
not found
  | [jbpmschema] 16:00:40,100 [main] INFO  Environment : using CGLIB reflection 
optimizer
  | [jbpmschema] 16:00:40,100 [main] INFO  Environment : using JDK 1.4 
java.sql.Timestamp handling
  | [jbpmschema] 16:00:40,381 [main] INFO  Configuration : configuring from 
file: hibernate.cfg.xml
  | [jbpmschema] 16:00:40,631 [main] INFO  Configuration : Reading mappings 
from resource: org/jbpm/graph/action/Script.hbm.xml
  | [jbpmschema] 16:00:40,944 [main] INFO  Configuration : Reading mappings 
from resource: org/jbpm/identity/User.hbm.xml
  | [jbpmschema] 16:00:41,037 [main] INFO  HbmBinder : Mapping class: 
org.jbpm.identity.User -> JBPM_ID_USER
  | [jbpmschema] 16:00:41,225 [main] INFO  HbmBinder : Mapping collection: 
org.jbpm.identity.User.permissions -> JBPM_ID_PERMISSIONS
  | [jbpmschema] 16:00:41,225 [main] INFO  Configuration : Reading mappings 
from resource: org/jbpm/identity/Group.hbm.xml
  | [jbpmschema] 16:00:41,303 [main] INFO  HbmBinder : Mapping class: 
org.jbpm.identity.Group -> JBPM_ID_GROUP
  | [jbpmschema] 16:00:41,569 [main] INFO  HbmBinder : Mapping collection: 
org.jbpm.identity.Group.permissions -> JBPM_ID_PERMISSIONS
  | [jbpmschema] 16:00:41,569 [main] INFO  Configuration : Reading mappings 
from resource: org/jbpm/identity/Membership.hbm.xml
  | [jbpmschema] 16:00:41,616 [main] INFO  HbmBinder : Mapping class: 
org.jbpm.identity.Membership -> JBPM_ID_MEMBERSHIP
  | [jbpmschema] 16:00:41,631 [main] INFO  HbmBinder : Mapping collection: 
org.jbpm.identity.Membership.permissions -> JBPM_ID_PERMISSIONS
  | [jbpmschema] 16:00:41,631 [main] INFO  Configuration : Reading mappings 
from resource: org/jbpm/db/hibernate.queries.hbm.xml
  | [jbpmschema] 16:00:41,741 [main] INFO  Configuration : Reading mappings 
from resource: org/jbpm/graph/def/ProcessDefinition.hbm.xml
  | [jbpmschema] 16:00:41,834 [main] INFO  HbmBinder : Mapping class: 
org.jbpm.graph.def.ProcessDefinition -> JBPM_PROCESSDEFINITION
  | [jbpmschema] 16:00:41,928 [main] INFO  Configuration : Reading mappings 
from resource: org/jbpm/graph/def/Node.hbm.xml
  | [jbpmschema] 16:00:42,022 [main] INFO  HbmBinder : Mapping class: 
org.jbpm.graph.def.Node -> JBPM_NODE
  | [jbpmschema] 16:00:42,053 [main] INFO  Configuration : Reading mappings 
from resource: org/jbpm/graph/def/Transition.hbm.xml
  | [jbpmschema] 16:00:42,163 [main] INFO  HbmBinder : Mapping class: 
org.jbpm.graph.def.Transition -> JBPM_TRANSITION
  | [jbpmschema] 16:00:42,178 [main] INFO  Configuration : Reading mappings 
from resource: org/jbpm/graph/def/Event.hbm.xml
  | [jbpmschema] 16:00:42,522 [main] INFO  HbmBinder : Ma

[jboss-user] [JBossWS] - Re: How to generate the WSDL at build time for EJB3 based we

2008-11-14 Thread eminil
Hmm, i have the same question.

But is it really necessary to use the wsprovide tool. From the wiki it says:
anonymous wrote : 
  | A JSE or EJB3 deployment can be built using this class, and it is the only 
Java code needed to deploy on JBossWS. The WSDL, and all other Java artifacts 
called "wrapper classes" will be generated for you at deploy time. This 
actually goes beyond the JAX-WS specification, which requires that wrapper 
classes be generated using an offline tool. The reason for this requirement is 
purely a vender implementation problem, and since we do not believe in 
burdening a developer with a bunch of additional steps, we generate these as 
well. However, if you want your deployment to be portable to other application 
servers, you will unfortunately need to use a tool and add the generated 
classes to your deployment.
  | 
  | This is the primary purpose of the wsprovide tool, to generate portable 
JAX-WS artifacts. Additionally, it can be used to "provide" the abstract 
contract (WSDL file) for your service. This can be obtained by invoking 
wsprovide using the "-w" option: 

>From which i get the impression i would not need to use any other tools...
Or is it so that the CLIENT will need the generated classes from wsprovide to 
be able to use the webservice?

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

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


[jboss-user] [JBoss jBPM] - Re: JDBCConnectionException: Cannot open connection

2008-11-14 Thread salaboy21
can you post us the content of the hibernate.cfg.xml file?
did you configure the Database connection?



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

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


[jboss-user] [JBoss jBPM] - Re: JDBCConnectionException: Cannot open connection

2008-11-14 Thread asique
Thanks for ur quick reply
here is the contents of hibernate.cfg.xml
i did nothing just run ant build

 
  | 
  | http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
  | 
  | 
  |   
  | 
  | 
  | org.hibernate.dialect.HSQLDialect
  | org.hsqldb.jdbcDriver
  | jdbc:hsqldb:mem:.;sql.enforce_strict_size=true
  | sa
  | 
  | 
  | org.hibernate.cache.HashtableCacheProvider
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  | 



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

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


[jboss-user] [JBoss jBPM] - Re: JDBCConnectionException: Cannot open connection

2008-11-14 Thread salaboy21
are you using jbpm-starter-kit-3.1.3 (i think is jbpm-starter-kit-3.2.3) for 
any particular reason?

With what DB did you like to use jBPM?

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

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


[jboss-user] [Microcontainer] - [VFS] Better way to scan for modifications

2008-11-14 Thread dazz_x
Hi all,

I didn't see any forum for VFS, so I post here since I use it with the 
MicroContainer.

My question is about the possibility to know if a VirtualFile or one of its 
children has been recently modified.

Context :
I work on a grid that executes jobs. Each job instance arriving at a node is of 
the same type and delegates execution to an engine whose implementation depends 
on some metadata hold by the instance. The grid node is started as a service by 
the microcontainer, but messaging between nodes is performed by the Grid. I 
would like to be able to put jars in a predefined directory that could serve as 
an implementation for the Engine interface in a hot manner (i want to be able 
to hot deploy some implementations).  I tried to understand deeply MC 
deployment framework to achieve that, but i certainly misunderstood some 
concepts as I've come to think that it was mandatory for me to write my own 
deployers (and the way to effectively implement that is a bit blur to me, since 
some parts of docs are not written).

So, I have a periodic scanner that is meant to determine if a directory has 
appeared elsewhere and then trigger a loading of the classes included in it (as 
jar files).
In my scanning method, I wanted to do a snapshot of the current VirtualFile 
hierarchy in order to compare it to the future hierarchy (found by the next 
scan).
But I didn't see any way to "freeze" the VirtualFile hierarchy as the 
VirtualFiles are bound to the handler objects so I can't do a freeze copy (or 
immutable if you prefer) that I can store and compare later.
I saw the hasBeenModified() method of Virtual File, but the modification time 
is said to be initialized at Handler's instantiation, so when the file is first 
"discovered" by the VSF. 

I hope you'll see my point and give advice to me

Cheers

dazz_x

PS : sorry for my poor english


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

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


[jboss-user] [JBoss jBPM] - Re: JDBCConnectionException: Cannot open connection

2008-11-14 Thread asique
Yes i m using starter kit 3.1.3 and i m trying to use default db that is hsql
according to my knowledge this db is already configured but i m facing the 
problem that i have mentioned in first post


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

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


[jboss-user] [JBoss jBPM] - Re: JDBCConnectionException: Cannot open connection

2008-11-14 Thread salaboy21
where did you configure the Database and with what database?

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

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


[jboss-user] [JBoss jBPM] - Re: JDBCConnectionException: Cannot open connection

2008-11-14 Thread asique
i did not use any database 
i m trying to use hypersonicSQL which is i think default one and 
no need to configure hypersonicSQL as u can see in hibernate.cfg.xml

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

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


[jboss-user] [Microcontainer] - Re: [VFS] Better way to scan for modifications

2008-11-14 Thread alesj
Have a look at my demos, its bootstrap to be exact:
 - http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk/
See HDScanner class, its usage of files Map.

A bit more complicated impl is here:
 - 
http://anonsvn.jboss.org/repos/jbossas/trunk/system/src/main/org/jboss/system/server/profile/basic/MetaDataAwareProfile.java

HTH

And for any VFS or Deployers issues you might have,
this is the right forum. ;-)

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

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


[jboss-user] [JBoss Messaging] - JMS Browser for application administrator

2008-11-14 Thread romanenco
Hello

Our system uses JBOSS Messaging for jms communication. A set of components talk 
with each other via set of jms queues.

Some times our users report about messaing lost and so on and our applications 
administrators want to have some kind of admin tool for JBoss Messaging.
Admins want to be able to "browse" queues, my be make searches.

Does Jboss Messaging have such tool? may be it is any third party open source 
solution?

thanks

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

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


[jboss-user] [JBoss jBPM] - Re: JDBCConnectionException: Cannot open connection

2008-11-14 Thread salaboy21
Ok, i see that.. 
can you see this configuration file??

create.db.hibernate.properties??

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: SSL Certificates Dynamic Loading

2008-11-14 Thread rgurzhiy
Hy.
I faced the same problem. Have you solve it?


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

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


[jboss-user] [JBoss jBPM] - Re: JDBCConnectionException: Cannot open connection

2008-11-14 Thread kukeltje
what I'm curious about is why so many people seem to start fresh with jBPM and 
use a 3.1.x release? Why not use 3.2  Or even 3.3 that was just kind of 
released...

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

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



[jboss-user] [JBoss Messaging] - Re: Message distribution in cluster

2008-11-14 Thread rana24
I could achive this by using JBM 1.4.0 SP3. Thank you very much for your help.


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

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


[jboss-user] [JBoss jBPM] - Re: JBPM Oracle connection Issue

2008-11-14 Thread kukeltje
"salaboy21" wrote : yeah! this is because if he is a new user, he 
probably spend a lot of time reading about hibernate (not a bad thing) and have 
less time to read about jBPM...

Uhmmm... if he spend a lot of time on hibernate, and read the basic jBPM docs, 
he would have known hibernate is used in jBPM and would have known he had to 
change the dialect.

So 

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

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


[jboss-user] [JBoss jBPM] - Re: JDBCConnectionException: Cannot open connection

2008-11-14 Thread salaboy21
Yes.. i was asking me the same... is very odd...


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

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


[jboss-user] [JBoss jBPM] - Re: Using JBoss jBPM 3.1 and JRules(Drools 4) With Weblogic

2008-11-14 Thread kukeltje
Have you read the basic docs? Basic packaging things are in there. Besides that 
there is infon in the wiki and search the forums (this has been discussed 
before)

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

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


[jboss-user] [JBoss Messaging] - db2-persistence.xml file for JBM1.4 SP3

2008-11-14 Thread rana24
Hi,
I was looking with the set of persistance configuration files with JBM 1.4 SP3. 
I could not get db2-persistance-service.xml for the same, I got same file 
posted by some user but its not working in my case. it is basically not 
creating any tables except  JBM_USER n JBM_ROLE. I did some changes in to xml 
but didnt help.
Can anyone send me a db2-persistance-service.xml for the same ?
Did some one face this issue ?
Thanks in advance.

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

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


[jboss-user] [JBoss jBPM] - Re: Getting error in Jbpm webconsole

2008-11-14 Thread kukeltje
first of al, what version are you using? /jbpm is old (3.1) , it currently is 
/jbpm-console. 

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

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


[jboss-user] [EJB/JBoss] - jboss 4.2.2 and 4.0.1 stateless session beans and container

2008-11-14 Thread Anne
I have been trying to find out what is the default transaction policy for ejb2 
stateless session beans in jboss (versions 4.2.2 and 4.0.1) using container 
managed transactions. In other words if no transaction policy is defined to 
bean or its methods in ejb-jar.xml which policy jboss uses.

For me it seems it is "Required" at least in version 4.2.2. 

Does anyone knows for sure which policy is used and is it same or different in 
versions 4.2.2 and 4.0.1?

Thanks in advance,

Anne

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

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


[jboss-user] [JBoss jBPM] - Re: fork and join childeren

2008-11-14 Thread kukeltje
anonymous wrote : if you wanna really see the values variables and tokens you 
must debug... 
+1

anonymous wrote : so... try to leave println... 
leave as in abandon/ditch/get rid of... I guess...

anonymous wrote : I do not understand the problem. In order to assert something 
I first need to check if my idea of what is suppose to happen is correct. 

That is what you do with an assert It prints values as well if they do not 
match... So you can see what you get is what you expect. 

anonymous wrote : There will be no others that ever see the println statements, 
[/quote
  | 
  | We did and you had to write lots of text explaning what you expected and 
there were (natural) language barriers. 
  | 
  | Personally I do not investigate these kinds of problem reports anymore 
since it takes WAY to much time,  but I respect Mauricio for still doing it.

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

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


[jboss-user] [JBoss jBPM] - Re: fork and join childeren

2008-11-14 Thread kukeltje
sorry for not using preview and messing up the previous post

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM Oracle connection Issue

2008-11-14 Thread salaboy21
Yes.. i think you are right.. but.. when I started jBPM i see it like it 
involves a lot of things and i was not able to do the basic things.. 
When you can make it work.. you start to understand things and then knows in 
what you need to focus.. 

So if I can help here to make the things work.. then for each particular case 
the users/developers knows what they need to read .. like I did.. 

But I don't know.. I try to not bother here.. I only try to help the new people 
to get started.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Cannot Marshal velocity template object

2008-11-14 Thread LORDs_diakonos
OK SO I have JBoss cache plugged into Velocity.  I am getting the following 
though


  | [13/11/08 04:45:21:021 EST] ERROR app.VelocityEngine: Velocimacro : 
Velocimacro : Error using VM library : dotCMS_library.vm
  | org.jboss.cache.CacheException: java.lang.Exception: Don't know how to 
marshall object of type class org.apache.velocity.Template
  | at 
org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:227)
  | at 
org.jboss.cache.invocation.CacheInvocationDelegate.put(CacheInvocationDelegate.java:480)
  | at 
com.dotmarketing.business.DotJBCacheAdministratorImpl.put(DotJBCacheAdministratorImpl.java:194)
  | at 
com.dotmarketing.velocity.DotResourceCache.put(DotResourceCache.java:113)
  | at 
org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:339)
  | at 
org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1102)
  | at 
org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1077)
  | at 
org.apache.velocity.runtime.VelocimacroFactory.initVelocimacro(VelocimacroFactory.java:196)
  | at 
org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:251)
  | at 
org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:534)
  | at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:144)
  | at com.dotmarketing.util.VelocityUtil.init(VelocityUtil.java:17)
  | at com.dotmarketing.util.VelocityUtil.getEngine(VelocityUtil.java:26)
  | at 
com.dotmarketing.velocity.VelocityServlet.init(VelocityServlet.java:242)
  | at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
  | at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.lang.Exception: Don't know how to marshall object of type 
class org.apache.velocity.Template
  | at 
org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:408)
  | at 
org.jboss.cache.marshall.CacheMarshaller200.marshallCommand(CacheMarshaller200.java:445)
  | at 
org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:277)
  | at 
org.jboss.cache.marshall.CacheMarshaller200.marshallCommand(CacheMarshaller200.java:445)
  | at 
org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:277)
  | at 
org.jboss.cache.marshall.CacheMarshaller200.objectToObjectStream(CacheMarshaller200.java:161)
  | at 
org.jboss.cache.marshall.CacheMarshaller200.objectToObjectStream(CacheMarshaller200.java:106)
  | at 
org.jboss.cache.marshall.VersionAwareMarshaller.objectToByteBuffer(VersionAwareMarshaller.java:162)
  | at 
org.jboss.cache.marshall.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:87)
  | at 
org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:403)
  | at 
org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:375)
  | at 
org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:380)
  | at 
org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:143)
  | at 
org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:117)
  | at 
org.jboss.cache.interceptors.BaseRpcInterceptor.replicateCall(BaseRpcInterceptor.java:89)
  | 

My question is this; what is the best way for me to handle this?

Do I need a custom marshaler?  if so how does that work in this case?

Is it that the velocity template isn't serializable?  If that is the problem 
any recommendations?  I'd rather not mess with velocity source code if it can 
be avoided. 

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

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

[jboss-user] [JBoss jBPM] - Re: question about JobExecutor and Threads

2008-11-14 Thread kukeltje
The scheduler servlet van be configured to use multiple threads afaik... one 
'polling' thread and multiple for executing the actions

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

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


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

2008-11-14 Thread [EMAIL PROTECTED]
In building the Web Beans RI we have decided from the outset to not provide any 
built in discovery of classes and xml files to deploy, but instead delegate to 
the container via an SPI. We need initially to build one that is suitable for 
JBoss 5.

I have decided that the simplest approach is for the integration layer to 
implement the discovery rules, thus the SPI is very simple:

public interface WebBeanDiscovery {
  |
  |public Set> discoverWebBeanClasses();
  |
  | }

The returned Set> should comprise all classes which present in this 
archive (and any sub-deployments it has e.g. in the war for an ear):

* any web-beans.xml file in any root directory of the application classpath, 
* any ejb-jar.xml file in any root directory of the application classpath that 
also has a web-beans.xml file, and 
* any Java class in any archive or directory in the classpath that has a 
web-beans.xml file in the root directory. 

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Cannot Marshal velocity template object

2008-11-14 Thread [EMAIL PROTECTED]
Sounds like the Template isn't serializable.  Perhaps you could extend the 
template and make your extension externalizable, and read/write the relevant 
bits?

Or create a wrapper around Template which knows how to serialize/deserialize 
the Template.

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

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


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

2008-11-14 Thread alesj
"[EMAIL PROTECTED]" wrote : 
  | The returned Set> should comprise all classes which present in 
this archive (and any sub-deployments it has e.g. in the war for an ear):
  | 
  | * any web-beans.xml file in any root directory of the application 
classpath, 
  | * any ejb-jar.xml file in any root directory of the application classpath 
that also has a web-beans.xml file, and 
  | * any Java class in any archive or directory in the classpath that has a 
web-beans.xml file in the root directory. 
Basically this is saying, give me all classes from classpath of a deployment 
which has web-beans.xml file in its metadata path?
I don't understand other two restrictions - ejb-jar.xml and Java class.

Note: I think web-beans.xml should be in META-INF (or WEB-INF), not in root

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Cannot Marshal velocity template object

2008-11-14 Thread LORDs_diakonos
OK I was thinking that.  

One other question.

If I want to sync all regions except the velocity templates which would be 
invalidation is that possible?  I couldn't tell how to do this in the xml 
config. 

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

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


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

2008-11-14 Thread [EMAIL PROTECTED]
I don't understand the second restriction great either. Gavin?

The third one I think is saying "give me all the classes from any shared (lib/) 
jar that has web-beans.xml in it's metadata path". Gavin, is that right?

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Cannot Marshal velocity template object

2008-11-14 Thread [EMAIL PROTECTED]
No, you can't do that.  You'd want to create a separate cache instance for that 
then.

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

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


[jboss-user] [JBoss jBPM] - Re: fork and join childeren

2008-11-14 Thread tbeernot
Ok. 

Now, I fully appriciate the help you guys are giving me. Again many thanks for 
that. And I even appriciate the promotion of unittests, although you are 
talking to an already converted believer. But I do think it is a bit overdone 
to try to tell me how I should work my way to a unittest, as long as -when I'm 
done- there is a nice unittest with assertions. 

So when I'm busy learning something (like JBPM here) I prefer prints. Simple, 
straight forward and it outputs the info exactly at the right time, over and 
over again, without me having to think in advance about what should be there. 
Token classes? Node classes? Iterator? I'm learning what should be there, 
prints are telling me this, and then I can replace the prints with assert and 
continue to the next part. Step by step.

I most definitely use debuggers, but for when I need to trace the execution, 
and they often involve tiredsome manual "step-in", "execute-out", "run-to" and 
other program flow management, which I do not like. Especially if certain 
pieces of code have to be navigated multiple times. Plus, how do you think I 
should have illustrated my problem we discussed in the thread? Make a movieclip 
of the debugger screen?

So, again, I'm very grateful for the help, and I'm a great proponent for 
unittests, but let's keep the how-to-get-there to each's personal taste. I use 
intermediate prints, you guys use asserts. Great. At least we all write 
unittests.

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

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


[jboss-user] [JBossWS] - getting errors while starting JBoss Portal 2.7.0 server

2008-11-14 Thread raheemch
i have downloaded JBoss Portal 2.7.0 GA and started the server by clicking 
run.bat file in bin directory. I am getting following errors:

17:54:19,593 INFO  [TomcatDeployer] deploy, ctxPath=/portal-wsrp, warUrl=.../dep
loy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.war/
17:54:46,078 ERROR [MainDeployer] Could not start deployment: file:/D:/jboss-por
tal-2.7.0.GA/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.
war/
org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: WSDLExceptio
n: faultCode=OTHER_ERROR: Cannot extract schema definition: java.net.ConnectExce
ption: Connection timed out: connect
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsF
actory.java:154)
at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(Service
MetaData.java:295)
at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder.buil
dMetaData(JAXRPCServerMetaDataBuilder.java:97)
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(Unifi
edMetaDataDeploymentAspect.java:56)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy
(DeploymentAspectManagerImpl.java:118)
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDep
loyerHook.java:97)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInt
erceptor.java:90)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy201.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:368)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy199.addDeployer(Unknown Source)
at org.jboss.web.tomcat.service.JBossWeb.startService(JBossWeb.java:517)

at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
.java:97)
at org.jboss.deployment.SubDeployerInterceptor.invokeNext(SubDeployerInt
erceptor.java:124)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:109)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceControlle

[jboss-user] [JBoss jBPM] - Re: Using JBoss jBPM 3.1 and JRules(Drools 4) With Weblogic

2008-11-14 Thread rajuak
Hi Ronald,

I have used Oracle BPM/Designer to some extent.

Getting confused with jboss packages to use.

I want a BPEL Process Manger and BPEL designer.

Latest jBPM is 3.x but there is jbpm-bpel 1.1 also  and jPDL designer(this is 
not BPEL its output is a jpd file).

What should i go with or download.

Thanks 
Raju


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

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


[jboss-user] [JBoss jBPM] - Re: question about JobExecutor and Threads

2008-11-14 Thread lblaauw
Ronald,

Yeah I have implemented the executor without the servlet for now. Bit worried 
that it makes its own threads in a JEE app but it works for now. Maybe later on 
I will have some time in this project to make the jobexecutor use the JBoss 
managed workmanager threadpool as it really should in a JEE environment... ;-)

Leo

"kukeltje" wrote : The scheduler servlet van be configured to use multiple 
threads afaik... one 'polling' thread and multiple for executing the actions

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

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


[jboss-user] [JBoss jBPM] - Re: fork and join childeren

2008-11-14 Thread salaboy21
right! 
It's ok!! 
I that you can probe the same with asserts.. but.. obviously here all 
understand the to methods...

Thanks and good look with jBPM!!!

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

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


[jboss-user] [JBoss jBPM] - Re: question about JobExecutor and Threads

2008-11-14 Thread salaboy21
Interesting thread.. can someone create some wiki about this?
I will try to make a post in my blog about it.. 

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

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


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

2008-11-14 Thread AmiraTalbi
Hi jaikiran;
I tried the maxSessions annotation and when debugging, It seems that MD is not 
paying attention for that. All messages are proceeded in arriving time 

thkx

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

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


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

2008-11-14 Thread AmiraTalbi
I'm running actually in a non clustered environnement

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

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


[jboss-user] [JBoss Portal] - Re: insert meta data in jboss portal

2008-11-14 Thread [EMAIL PROTECTED]
If you use CMS admin portlet to upload contents, then it will create meta data 
for you. 

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

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


[jboss-user] [JBoss Portal] - Re: insert meta data in jboss portal

2008-11-14 Thread [EMAIL PROTECTED]
If still does not work, then please let me know what you are seeing and not 
seeing. I see there is and open issue 
https://jira.jboss.org/jira/browse/JBPORTAL-1774 but this may have been 
resolved.

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

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


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

2008-11-14 Thread [EMAIL PROTECTED]
"[EMAIL PROTECTED]" wrote : I don't understand the second restriction great 
either. Gavin?
  | 
  | The third one I think is saying "give me all the classes from any shared 
(lib/) jar that has web-beans.xml in it's metadata path". Gavin, is that right?

He's talking about the spec defined behaviour 
(although it is not actually recommended that people use it)
see the JavaEE5 spec 8.3.1.3.d
anonymous wrote : 
  |  Another exception to this rule is JAR files located in the library
  | directory (usually named lib) in the application package. Note that the
  | presence of component-declaring annotations in shared artifacts, such as
  | libraries in the library directory and libraries referenced by more than one
  | module through Class-Path references, can have unintended and
  | undesirable consequences and is not recommended.
  | 

The reason its not recommend is because if you have for example
two ejb jars that reference the same helper jar via the manifest
they could both get processed for an ejb contained in the helper jar
which could in turn lead to the ejb constructed twice and then
not able to bind the remote interface to the same jndi name twice.
And other similar problems.

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

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


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

2008-11-14 Thread [EMAIL PROTECTED]
"[EMAIL PROTECTED]" wrote : 
  | public interface WebBeanDiscovery {
  |   |
  |   |public Set> discoverWebBeanClasses();
  |   |
  |   | }
  | 

Isn't it more scalabe to use 
Iterable>
which could be a Set but also could be something more performant
if there are a very large number of classes.

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

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


[jboss-user] [JBoss jBPM] - Re: Problem deleting a process containing a subProcess

2008-11-14 Thread dleerob
I am on Jbpm 3.2.3, using MySQL 5 db.
I am also having this problem (can't delete a process if it has a sub-process 
attached).

I have also tried the solution at:  
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=94196
and I also get a constraint violation on JBPM_LOG.

I have also looked at 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=113885, but no one 
replied to the post, and I don't like the idea of changing the database and 
deviating from the Jbpm standard release - I'd rather it be an official Jbpm 
change if it were to happen.

I have also looked at Jira issue https://jira.jboss.org/jira/browse/JBPM-785 
which explains the problem, but it was rejected and closed. Apparently, if 
someone could supply a unit test, Tom could look into it again. Has anyone got 
a unit test they could supply? I would love to supply one if I knew how. 
Perhaps when I find some time I can look into it.

This problem seems to be over 2 years old. Does anyone know if there are any 
working solutions or fixes? I'm sure a lot of people would be very appreciative.


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

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


[jboss-user] [JBoss jBPM] - jbpm-console error

2008-11-14 Thread srLucas
Hi All,
I finally solved the login issue and now I can see the processes list, but when 
trying to examine any process I get this error:

XML Parsing Error: not well-formed
Location: http://localhost:8080/jbpm-console/sa/procdef.jsf?id=3
Line Number 92, Column 60:

this is from procdef.jsf

  | 
  | 
  | 
  | Process Instances
  | 
  | 

I'm not a faces expert, so any ideas of why this is not well-formed?

it seems ok to me

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

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


[jboss-user] [JBoss Portal] - Re: Deploying PHP application in JBoss Portal

2008-11-14 Thread PeterJ
Yes, you will get that warning even when you have everything you need to run 
PHP. There is one DLL missing (gpsvc.dll - it is never used) and a few entry 
points are missing from two other DLLs). But the C runtime DLL (msvcr80.dll) is 
critical!

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

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


[jboss-user] [JBoss Portal] - Re: i want to disable page

2008-11-14 Thread PeterJ
Use the Admin portal to look at the security settings. The docs should tell you 
how.

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

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


[jboss-user] [Management, JMX/JBoss] - jmx-console not accecible

2008-11-14 Thread [EMAIL PROTECTED]
I´ve been using jboss-4.0.5.GA with jmx-console to manage MBeans and everthing 
was ok.
Now I´ve just installed jboss-4.2.3.GA and when I want to access jmx-console 
with "http://localhost:8080/jmx-console"; I´ve got that the page is not 
available.
Do I have to set something in this new version?


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

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

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


[jboss-user] [JBoss jBPM] - [3.1.4] access to variables somewhat slow

2008-11-14 Thread Johan.Parent
Hi all,

We use 3.1.4 in production for more than a year now. Overall we are satisfied. 
The bottlenecks appears to be access to variables instance, something we do 
plenty of when populating our jBPM driven SWING GUI. Add to that the fact that 
our app puts put a fair amount of values in the jBPM engine. All the values are 
associated with the process instance right after it is created.

Our dba has already created a fair amount of indexes on the different tables. 
This has, obviously, helped a great deal. Yet, accessing process variables from 
a task instance remains the slowest operation (j-profiler says so). 

Below the SQL (not pretty printed...) caused by a single  'task.getVariables()' 
call. That's quite a number of queries. These all make sense when I read the 
code. Jumping from the variable container, i.e. that of the TaskInstance, to 
the parent variable container i.e. the ProcessInstance's and so on. But the 
result is fair number of milliseconds per call. 

Some my question is: is there a way to avoid this cost? Our process is simple 
(no nest processes).

Any suggestion is much appreciated.

Best regards,

Johan


  |  - @10454aa 2,052 ms [2,132] 15 executing PreparedStatement: select 
taskinstan0_.ID_ as ID1_23_0_, taskinstan0_.NAME_ as NAME3_23_0_, 
taskinstan0_.DESCRIPTION_ as DESCRIPT4_23_0_, taskinstan0_.ACTORID_ as 
ACTORID5_23_0_, 
  | taskinstan0_.CREATE_ as CREATE6_23_0_, 
  | taskinstan0_.START_ as START7_23_0_, taskinstan0_.END_ as END8_23_0_, 
  | taskinstan0_.DUEDATE_ as DUEDATE9_23_0_, 
  | taskinstan0_.PRIORITY_ as PRIORITY10_23_0_, taskinstan0_.ISCANCELLED_ as 
ISCANCE11_23_0_, taskinstan0_.ISSUSPENDED_ as ISSUSPE12_23_0_, 
taskinstan0_.ISOPEN_ as ISOPEN13_23_0_, 
  | taskinstan0_.ISSIGNALLING_ as ISSIGNA14_23_0_, taskinstan0_.ISBLOCKING_ as 
ISBLOCKING15_23_0_, taskinstan0_.TASK_ as TASK16_23_0_, taskinstan0_.TOKEN_ as 
TOKEN17_23_0_, taskinstan0_.SWIMLANINSTANCE_ as SWIMLAN18_23_0_, 
taskinstan0_.TASKMGMTINSTANCE_ as TASKMGM19_23_0_ from 
workflow_db..JBPM_TASKINSTANCE taskinstan0_ where 
taskinstan0_.ID_=1500115821
  | 
  |  - @10454aa 1,869 ms [2,010] 15 executing PreparedStatement: select 
variablein0_.TASKINSTANCE_ as TASKINS15_1_, 
  | variablein0_.ID_ as ID1_1_,
  | variablein0_.NAME_ as NAME3_1_, 
  | variablein0_.ID_ as ID1_29_0_, 
  | variablein0_.NAME_ as NAME3_29_0_, 
  | variablein0_.CONVERTER_ as CONVERTER4_29_0_, 
  | variablein0_.TOKEN_ as TOKEN5_29_0_, variablein0_.TOKENVARIABLEMAP_ as 
TOKENVAR6_29_0_, variablein0_.PROCESSINSTANCE_ as PROCESSI7_29_0_,
  |  variablein0_.BYTEARRAYVALUE_ as BYTEARRA8_29_0_, variablein0_.DATEVALUE_ 
as DATEVALUE9_29_0_, variablein0_.DOUBLEVALUE_ as DOUBLEV10_29_0_,
  |  variablein0_.LONGIDCLASS_ as LONGIDC11_29_0_, variablein0_.LONGVALUE_ as 
LONGVALUE12_29_0_, variablein0_.STRINGIDCLASS_ as STRINGI13_29_0_,
  |  variablein0_.STRINGVALUE_ as STRINGV14_29_0_, 
  | variablein0_.CLASS_ as CLASS2_29_0_ from workflow_db..JBPM_VARIABLEINSTANCE 
variablein0_ wher
  | e variablein0_.TASKINSTANCE_=1500115821
  | 
  |  - @10454aa 5,591 ms [2,318] 15 executing PreparedStatement: select 
token0_.ID_ as ID1_25_0_, 
  | token0_.VERSION_ as VERSION2_25_0_, 
  | token0_.NAME_ as NAME3_25_0_, 
  | token0_.START_ as START4_25_0_, 
  | token0_.END_ as END5_25_0_, 
  | token0_.NODEENTER_ as NODEENTER6_25_0_, 
  | token0_.NEXTLOGINDEX_ as NEXTLOGI7_25_0_, token0_.ISABLETOREACTIVATEPARENT_ 
as ISABLETO8_25_0_, token0_.ISTERMINATIONIMPLICIT_ as ISTERMIN9_25_0_, 
  | token0_.ISSUSPENDED_ as ISSUSPE10_25_0_, 
  | token0_.NODE_ as NODE11_25_0_, 
  | token0_.PROCESSINSTANCE_ as PROCESS12_25_0_, 
  | token0_.PARENT_ as PARENT13_25_0_, t
  | oken0_.SUBPROCESSINSTANCE_ as SUBPROC14_25_0_ from workflow_db..JBPM_TOKEN 
token0_ where token0_.ID_=1500048948
  |  - @10454aa 1,617 ms [1,735] 15 executing PreparedStatement: select 
processins0_.ID_ as ID1_16_0_, 
  | processins0_.VERSION_ as VERSION2_16_0_,
  | processins0_.START_ as START3_16_0_, 
  | processins0_.END_ as END4_16_0_, 
  | processins0_.ISSUSPENDED_ as ISSUSPEN5_16_0_, 
processins0_.PROCESSDEFINITION_ as PROCESSD6_16_0_, processins0_.ROOTTOKEN_ as 
ROOTTOKEN7_16_0_, processins0_.SUPERPROCESSTOKEN_ as SUPERPRO8_16_0_ from 
workflow_db..JBPM_PROCESSINSTANCE processins0_ where 
processins0_.ID_=1500048648
  |  - @10454aa 1,648 ms [1,648] 15 executing PreparedStatement: select 
instances0_.PROCESSINSTANCE_ as PROCESSI3_1_, 
  | instances0_.ID_ as ID1_1_,
  |  instances0_.NAME_ as NAME5_1_, 
  | instances0_.ID_ as ID1_11_0_, 
  | instances0_.PROCESSINSTANCE_ as PROCESSI3_11_0_, 
instances0_.TASKMGMTDEFINITION_ as TASKMGMT4_11_0_, instances0_.CLASS_ as 
CLASS2_11_0_ from workflow_db..JBPM_MODULEINSTANCE instances0_ where 
instances0_.PROCESSINSTANCE_=1500048648
  |  - @10454aa 1,806 ms [1,597] 15 executing PreparedStatement: select 
tokenvaria0_.CONTEXTINSTANCE_ as CONTEXTI3_1_, 
  | tokenvaria0_.ID_ as ID1_1_, tokenvaria0_.TOKEN_ as TOKEN2_1_, 
tokenvaria0_.ID_ as ID1_26_0_, tokenvar

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

2008-11-14 Thread freejohn22
Dear all,
I have found in the performance tuning section the advice in the subject.
I wonder, how can I achieve that ? is it the default behaviour when I create an 
EAR with EJB and Servlets ?
tahnks a lot
john

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

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


[jboss-user] [JBoss jBPM] - Re: [3.1.4] access to variables somewhat slow

2008-11-14 Thread salaboy21
Very good question...
You can not cache the Task Variables because generally this kind of variables 
change a lot.. I don't know how your process is but I suppose that you can do 
that

Let us know what kind of variables you persist in the taks...

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Need information for delaying war deployment due to depe

2008-11-14 Thread Wolfgang Knauf
Hi,

is the EJB also developed by you? If yes, the easiest way is to place EJB-JAR 
and WAR file in an EAR.

If not: take a look at this:
http://docs.jboss.org/ejb3/app-server/tutorial/dependency/dependency.html

Hope this helps

Wolfgang

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss Studio: Hibernate Tools Issue

2008-11-14 Thread hkyogaguy
oops sorry.. i guessed i missed the viewlet link..my bad :)

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

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


[jboss-user] [JBoss jBPM] - Re: [3.1.4] access to variables somewhat slow

2008-11-14 Thread Johan.Parent
Hi salaboy21,

The process is virtually a hello world process with a single task. The 
variables we store in the engine are mostly String values. So they are 
cache-able. 

The problem is that I don't see how to do that efficiently. It is the very 
nature of BPM to be long lived. So the values would have to sit in the cache a 
long time for this scheme to pay off. Otherwise it would not hide the initial 
cost of retrieving the values the first time. But maybe I view this from a the 
wrong stand point.

I was wondering whether 3.x (x>1) has maybe a better way to get to the variable 
map. That would be a good reason to upgrade.

Johan

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

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


[jboss-user] [JBoss Portal] - Re: Downloading a File from within a Portlet.

2008-11-14 Thread analyzediz
Thanks Chris, for responding to the post.

I have looked at the spec and also tried to use the serveResource() method. The 
issue that I'm having is that changing the content type of the ResourceResponse 
object to the desired type (in this case a vCard with mime type of 
text/x-vcard), and streaming the content back to the client doesn't initiate a 
download of the vCard. It merely sends the result back as text and it's 
embedded into the browser. 

>From my understanding of how to force the browser to initiate a download, i 
>will have to set the response header of "Content-Disposition" with an 
>attachment parameter to let the browser bring up a "Save As" dialogue or 
>launch the target application.

Any thoughts, or am I totally off base?

Thanks again. 

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

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


[jboss-user] [JCA/JBoss] - Re: Setting up XA datasource with oranxo driver and RAC

2008-11-14 Thread jplater
I did try setting properties.  It didn't work, it resulted in host1 being set 
to 'host1name,port1=port1val,host2=host2name,port2=port2'.  I looked at the 
jboss source code and determined that there wasn't a way to set host2 and port2 
without creating a wrapper class.

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

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

2008-11-14 Thread guessthis
Hi,

  I was wondering if anyone have figure this out?I'm trying to 
upgrade from tomcat 6.0.10 to tomcat 6.0.18 on Jboss.  If someone could point 
me in the right direction, I would really appreciate it.

Thank you.

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

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


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

2008-11-14 Thread [EMAIL PROTECTED]
Pete, you slightly mangled the quote from the spec by removing it from context 
:-)

What its really saying is that the web bean manager needs to get given:

* a list of all web-beans.xml files in the app classpath
* a list of all classes in classpath archives with web-beans.xml files
* a list of all EJBs in the application, including their JNDI name and 
component type

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

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


[jboss-user] [JCA/JBoss] - Using an Oracle DataSource

2008-11-14 Thread axacan
I am currently trying to set up an Oracle datasource to be used.


I have configured the following in the file 
jboss-4.2.2.GA\server\default\conf\jboss-service.xml


  | 
  |   true
  | 
  | 

I have also added the Oracle drivers to jboss-4.2.2.GA\server\default\lib

When I try to use the following datasource I get an error

  | 
  | HuonDB_DH 
  | false
  | true 
  | false 
  | 
oracle.jdbc.xa.client.OracleXADataSource
  | jdbc:oracle:thin:@[REMOVED URL]:[REMOVED 
PORT]:[REMOVED SID] 
  |  
  |  
  | 
org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
 
  |  
  | 
  | 
  | 
  | jboss:service=TransactionManager
  | 
  | 

The error is:
10:53:56,593 ERROR [MainDeployer] Could not create deployment: 
file:/C:/XAware511/jboss-4.2.2.GA/server/default/deploy/XAwareConnections-ds.xml

org.jboss.deployment.DeploymentException: No ClassLoaders found for: 
org.jboss.resource.adapter.jdbc.xa.oracle.OracleXAExceptionFormatter; - nested 
throwable: 
(java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.resource.adapter.jdbc.xa.oracle.OracleXAExceptionFormatter)

The same thing also happens for 
org.jboss.resource.adapter.jdbc.xa.oracle.OracleXAExceptionFormatter

Any help is greatly appreciated

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

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


[jboss-user] [JBoss Portal] - where does prototype.js get added?

2008-11-14 Thread Shazzaam
Hi,

I'm trying to find out where this gets loaded into the portal:



I grepped all the files in the jboss portal with AS package, but it didn't find 
it. I would like to add a javascript file after this javscript file is loaded, 
doesn't appear I can do this anywhere in the layout customization or even in a 
portlet. Every js file gets loaded before this one.

Any help would be appreciated.

Thanks.

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

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


[jboss-user] [JBoss Portal] - Re: where does prototype.js get added?

2008-11-14 Thread Shazzaam
sorry, forgot to add the code tags:




Thanks.

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

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


[jboss-user] [Microcontainer] - Re: how to re-configure class loader policy?

2008-11-14 Thread emmartins
Worked, thanks, this, and the one in the other thread, are good info that could 
be on MC wiki.

Regarding the blacklisting feature, it's kind of confusing why it's not off by 
default, what is an example of an use case, where the lookup of a class that 
doesn't exist will benefict from this, won't all result in a 
java.lang.ClassNotFoundException that is usually a failure?

Another thing, lets say I have a domain and 2 class loaders (lets say CL1 and 
CL2), all with a policy defined as export-all="NON_EMPTY" import-all="true" 
blackList="false", a loadClass(String) of a class from CL1 in CL2 is failing, 
is this the expected behavior? Should instead the domain be always used for 
loading the class?

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

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


[jboss-user] [Microcontainer] - Re: how to re-configure class loader policy?

2008-11-14 Thread emmartins
"emmartins" wrote : 
  | Another thing, lets say I have a domain and 2 class loaders (lets say CL1 
and CL2), all with a policy defined as export-all="NON_EMPTY" import-all="true" 
blackList="false", a loadClass(String) of a class from CL1 in CL2 is failing, 
is this the expected behavior? Should instead the domain be always used for 
loading the class?

The domain is a no go too, the loadClass returns null.

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

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


[jboss-user] [EJB 3.0] - Re: jpa persistence deployment error

2008-11-14 Thread mpurdy1973
"jaikiran" wrote : anonymous wrote : @PersistenceContext(name="prj")
  | 
  | This should be
  | 
  | @PersistenceContext(unitName="prj")
  | 

thanx for the help; now i am getting another error deploying:  (is there a 
hello world entity EJB3 example that i could look at? )

i am using jboss 5.0.0 RC2 using MySQL database; i am getting a null pointer 
exception for the data connection.  However, if i use the data connection using 
EJB2 the connection works fine.

the error is:


  | 14:16:36,671 INFO  [ConnectionProviderFactory] Initializing connection 
provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
  | 14:16:36,676 INFO  [InjectedDataSourceConnectionProvider] Using provided 
datasource
  | 14:16:36,685 WARN  [JBossManagedConnectionPool] Throwable while attempting 
to get a new connection: null
  | org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (org.jboss.resource.JBossResourceException: Failed to 
register drive
  | r for: org.gjt.mm.mysql.Driver; - nested throwable: 
(java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver from [EMAIL 
PROTECTED]@
  | 1b6d37d{name=vfszip:/C:/jboss500/server/default/deploy/prj.ear [EMAIL 
PROTECTED] parentPolicy=BEFORE parent=org.jboss.system.No
  | [EMAIL PROTECTED] [EMAIL PROTECTED] 
context=vfsmemory://5c4o133-fux3z2-fnj7jxbg-1-fnj7o4ad-1u 
real=vfsmemory://5c4o133-f
  | ux3z2-fnj7jxbg-1-fnj7o4ad-1u], [EMAIL PROTECTED] 
context=file:/C:/jboss500/server/default/deploy/ 
real=file:/C:/jboss500/server/default/de
  | ploy/prj.ear], [EMAIL PROTECTED]/prjEJB.jar 
context=file:/C:/jboss500/server/default/deploy/ 
real=file:/C:/jboss500/server/default/deploy/
  | prj.ear/prjEJB.jar]]  delegates=null exported=[prj.ejb3, META-INF] 
NON_EMPTY}}))
  | 

prj-ds.xml:


  | 
  |   
  | prjDS
  | jdbc:mysql://localhost:3306/prj
  | org.gjt.mm.mysql.Driver
  | prj
  | prjuser
  |   
  | 
  | 
  | 
  | 

persistence.xml:

  | 
  | http://java.sun.com/xml/ns/persistence";
  |xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";
  |version="1.0">
  | 
  |
  |   org.hibernate.ejb.HibernatePersistence
  |   java:/prjDS
  |   
  |  
  |   
  |
  | 
  | 
  | 


complete stack trace:

  | 14:16:36,077 INFO  [PersistenceUnitDeployment] Starting persistence unit 
persistence.unit:unitName=prj.ear/prjEJB.jar#prj
  | 14:16:36,138 INFO  [Version] Hibernate Annotations 3.4.0.GA
  | 14:16:36,155 INFO  [Environment] Hibernate 3.3.1.GA
  | 14:16:36,163 INFO  [Environment] hibernate.properties not found
  | 14:16:36,169 INFO  [Environment] Bytecode provider name : javassist
  | 14:16:36,175 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
  | 14:16:36,251 INFO  [Version] Hibernate Commons Annotations 3.1.0.GA
  | 14:16:36,257 INFO  [Version] Hibernate EntityManager 3.4.0.GA
  | 14:16:36,301 WARN  [Ejb3Configuration] Persistence provider caller does not 
implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() 
is nu
  | ll.
  | 14:16:36,385 INFO  [AnnotationBinder] Binding entity from annotated class: 
prj.ejb3.HelloWorldEntityBean
  | 14:16:36,434 INFO  [EntityBinder] Bind entity prj.ejb3.HelloWorldEntityBean 
on table ejb3_helloWorld
  | 14:16:36,509 INFO  [Version] Hibernate Validator 3.1.0.GA
  | 14:16:36,563 INFO  [HibernateSearchEventListenerRegister] Unable to find 
org.hibernate.search.event.FullTextIndexEventListener on the classpath. 
Hibernate Searc
  | h is not enabled.
  | 14:16:36,671 INFO  [ConnectionProviderFactory] Initializing connection 
provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
  | 14:16:36,676 INFO  [InjectedDataSourceConnectionProvider] Using provided 
datasource
  | 14:16:36,685 WARN  [JBossManagedConnectionPool] Throwable while attempting 
to get a new connection: null
  | org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (org.jboss.resource.JBossResourceException: Failed to 
register drive
  | r for: org.gjt.mm.mysql.Driver; - nested throwable: 
(java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver from [EMAIL 
PROTECTED]@
  | 1b6d37d{name=vfszip:/C:/jboss500/server/default/deploy/prj.ear [EMAIL 
PROTECTED] parentPolicy=BEFORE parent=org.jboss.system.No
  | [EMAIL PROTECTED] [EMAIL PROTECTED] 
context=vfsmemory://5c4o133-fux3z2-fnj7jxbg-1-fnj7o4ad-1u 
real=vfsmemory://5c4o133-f
  | ux3z2-fnj7jxbg-1-fnj7o4ad-1u], [EMAIL PROTECTED] 
context=file:/C:/jboss500/server/default/deploy/ 
real=file:/C:/jboss500/server/default/de
  | ploy/prj.ear], [EMAIL PROTECTED]/prjEJB.jar 
context=file:/C:/jboss500/server/default/deploy/ 
real=file:/C:/jboss500/server/default/deploy/
  | prj.ear/prjEJB.jar]]  delegates=null exported=[prj.ejb3, META-INF] 
NON_EMPTY}}))
  | at 
org.jboss.resource.adapter.jdbc.local.Lo

[jboss-user] [JBoss Portal] - partial drag-n-drop on the page

2008-11-14 Thread jmaan
I wanted to partially implement drag-n-drop feature on a selected page in the 
dashboard as dashboard provides drag-n-drop feature for swapping windows on the 
page for all logged-in users. 

Eventually, i wanted to have a mandatory portlet in a particluar Window on the 
page whose position can not be changed by portal user using drag-n-drop but 
user can swap other portlet windows on the very same page.

I am not too sure if partial drag-n-drop feature is with the current JBoss 
Portal bundle or not.

Any idea or kind suggestion is really appreciated.

Cheers,
Jitendra

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: RMI behind a firewall

2008-11-14 Thread vschrade
I found the details in my notes, it should be "obvious" it is a conflict with 
WINS services and WINS replication and it is both ports 1098 and 1099.

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

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


[jboss-user] [Microcontainer] - Re: how to re-configure class loader policy?

2008-11-14 Thread alesj
"emmartins" wrote : Should instead the domain be always used for loading the 
class?
I don't think you should be using domain, as that is impl specific.
You should be asking yourself why is classloading failing.

We have some info exposed, and there was a request from Scott,
saying the impl should help as much as possible to resolve why the class 
couldn't be resolved,
but I currently cannot recall what we did about that - apart from JMX exposure.


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

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


[jboss-user] [JBoss jBPM] - Can't find class 'org.jbpm.identity.assignment.ExpressionAss

2008-11-14 Thread johnhurtchan
Why do I get this error when it transitions to task node, creates task 
instance, and tries to assign task? I already included the jbpm-jpdl.jar and 
jbpm-identity.jar in my webapp classpath. Why can't it find the class 
ExpressionAssignmentHandler?

DEBUG GraphElement : event 'task-create' on 'Task' for 'Token(/)'
ERROR Delegation : couldn't load delegation class 
'org.jbpm.identity.assignment.ExpressionAssignmentHandler'
java.lang.ClassNotFoundException: class 
'org.jbpm.identity.assignment.ExpressionAssignmentHandler' could not be found 
by the process classloader
at 
org.jbpm.instantiation.ProcessClassLoader.findClass(ProcessClassLoader.java:118)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)


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

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


[jboss-user] [JBossWS] - Re: Steps for implementing WS-Security in JBoss using Userna

2008-11-14 Thread aalissa
thanks alot for this post

i was searching the net for a way to use username token with jax-ws and it did 
not work for me.

i did the same as you did but their was no usename token in the wsdl
and what i did was :
1-
creating the webservice:
/**
 * 
 */
package test;

import javax.ejb.Stateless;
import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

import org.jboss.annotation.security.SecurityDomain;
import org.jboss.ws.annotation.EndpointConfig;

/**
 * @author ISSA
 *
 */
@Stateless
@WebService 
(name="TestUsername", 
targetNamespace = "http://test";,  
serviceName = "TestUsernameService") 
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT) 
@EndpointConfig(configName = "Standard WSSecurity Endpoint") 
@SecurityDomain("JBossWS") 

public class TestUsername {

@WebMethod
public String hi(String name)
{
return "hi "+name;
}

}

2- jboss-wsse-server.xml:
http://www.jboss.com/ws-security/config";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.jboss.com/ws-security/config
http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd";>







i put it in the meta-inf folder

please if you know why it did not work with me, help me :)
thanks for all of you :)


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

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


[jboss-user] [JBossWS] - Re: Steps for implementing WS-Security in JBoss using Userna

2008-11-14 Thread aalissa
sorry i was trying to reply for other post .

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

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


[jboss-user] [JBossWS] - Re: Steps for implementing WS-Security in JBoss using Userna

2008-11-14 Thread aalissa
"aalissa" wrote : sorry i was trying to reply for other post .

i didn't notice that thier i another page so i was thinking that i am in 
differet post 

execuse me for this things :)
since i could not find a way to delete it .


can you please help.
thanks again pramod_bs for this post.

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

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


[jboss-user] [JBoss Messaging] - how to get my message selector to work

2008-11-14 Thread ilangocal
Hi
I have used a message selector in my MDB as follows:

@ActivationConfigProperty(propertyName = "messageSelector", propertyValue = 
"sessionID='1234567')
(all on one line)

on the servlet client that sends the messages I have the following:

ObjectMessage message = session.createObjectMessage();
QueueingEntity e = new QueueingEntity();// I create an entity bean to perist 
messages in a database

e.setSessionID(sessionID);
message.setObject(e);
messageProducer.send(message);

Now how can I carry out message filtering in the MDB so that if I type in 
'123456789' the MDB should filter that message out and not accept it. 

How can i test to see that a message containing '123456789' is not accepted 
when the MDB is reading the queue?

Thanks

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

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


[jboss-user] [JBoss jBPM] - Re: Can't find class 'org.jbpm.identity.assignment.Expressio

2008-11-14 Thread johnhurtchan
Additional info. I put the JBPM schema in an Oracle datasource.

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

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


  1   2   >