[JBoss-user] [JBoss Seam] - Re: I get Exception : No active application scope , how to r

2006-03-23 Thread [EMAIL PROTECTED]
Hi
Thanks for your help.
I am using glassfish build40
here is the stacktrace.


  | 
[#|2006-03-24T12:59:33.562+0430|WARNING|sun-appserver-pe9.0|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=25;_ThreadName=httpWorkerThread-28080-0;_RequestID=e72df59f-60bf-4c0b-a1b5-7aa5601cae18;|executePhase(INVOKE_APPLICATION
 5,[EMAIL PROTECTED]) threw exception
  | javax.faces.FacesException: No active application scope
  | at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(Unknown 
Source)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(Unknown Source)
  | at com.sun.faces.lifecycle.LifecycleImpl.execute(Unknown Source)
  | at javax.faces.webapp.FacesServlet.service(Unknown Source)
  | at 
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:423)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  | at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
  | at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  | at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:181)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  | at 
com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
  | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  | at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
  | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
  | at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:223)
  | at 
com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
  | at 
com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
  | at 
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
  | at 
com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
  | at 
com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
  | at 
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
  | at 
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
  | Caused by: java.lang.IllegalStateException: No active application scope
  | at org.jboss.seam.core.Init.instance(Init.java:86)
  | at 
org.jboss.seam.jsf.SeamNavigationHandler.handleNavigation(SeamNavigationHandler.java:23)
  | at com.sun.faces.application.ActionListenerImpl.processAction(Unknown 
Source)
  | at javax.faces.component.UICommand.broadcast(Unknown Source)
  | at javax.faces.component.UIViewRoot.broadcastEvents(Unknown Source)
  | at javax.faces.component.UIViewRoot.processApplication(Unknown Source)
  | ... 28 more
  | 

I included :
All required jar files to the application and not any of myfaces stuff.
from jboss , i included jboss-common and jboss-ejb3.jar to project.
I think i have just required jar files in the project because i add each jar in 
one compilation/deployment phase until i get no more , class not found 
exception.


Thanks again

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Is this possible with JBoss Web services?

2006-03-23 Thread znet
Hi I am busy with a systems integration project.

I have he following problem. Calling a SOAP web service running in jboss 
returns a raw roap response from the web service that contain"soapenv" xml tags 
and xml attributes as well as xmlns and xsi attributes. This is a proper SOAP 
response.

My problem is this. The 3rd party software (which i can't change) has the 
facility to call soap calls and make the XML available to that 3rd party 
application. However that application can't understand the returned SOAP tags 
and xml descriptive attributes received with the XML data after calling a SOAP 
web service running in JBoss I described above.

Is there a way to exclude the soap headers and/or those extra descriptive tags 
in a JBoss SOAP web service response in a config file or somewhere else?

What I basically want is the plain xml returned like this:
Code:


  | 
  | 1
  | 2
  | abc
  | 
  | 


instead of this Code:


  | http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  |   http://schemas.xmlsoap.org/soap/encoding/";>
  | 
  |   
  | 
  | http://schemas.xmlsoap.org/soap/encoding/"; 
xsi:type="ns2:WSTransactionMessage" 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:ns2="urn:SoapEsocket">
  |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="xsd:string">1
  | 
  | etc
  | 

Is this possible in XML?

The SOAP call use to only return the simple XML data as given in the first 
example above (I wasn't working on the project at the time) so I have to figure 
out if the fact that it's not returning the non simple XML (with the SOAP 
headers and descriptive attributes) anymore is the fault of the
a) Web Service
b) JBoss change?
c) 3rd party application change.

Thanks
Running JBoss 4.0.3

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Tracing the Process Instance

2006-03-23 Thread akakunin
Yes, of cource - it is LogInstances

Here is simples way to get all tracing information for the root token of the 
process instance:

  | LoggingSession logSession = 
JbpmContext.getCurrentContext().getLoggingSession();
  | 
  | Map logMap = logSession.findLogsByProcessInstance(m_process.getId());
  | 
  | List resultLogs = new ArrayList();
  | 
  | Collection logs = (Collection)logMap.get(processInstance.getRootToken()); 
  | 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Seam reverse engineering tool

2006-03-23 Thread aristide
Please, I´m trying for days to use reverse engineering for to generate a CRUD 
web application from a database using JBoss Eclipse IDE but i can´t because 
some errors when I deploy it at jboss-4.0.4rc1. Look this:

.
.
.

03:37:36,718 INFO  [Component] Component: entityManager, scope: CONVERSATION, 
type: JAVA_BEAN, class: org.jboss.seam.core.ManagedPersistenceContext

03:37:36,718 ERROR [[/seamapp]] Exception sending context initialized event to 
listener instance of class org.jboss.seam.servlet.SeamListener
java.lang.IllegalArgumentException: no property for configuration setting: 
entityManager.jndiName

at org.jboss.seam.Component.initInitializers(Component.java:250)
at org.jboss.seam.Component.(Component.java:186)
at org.jboss.seam.Component.(Component.java:143)
at org.jboss.seam.Component.(Component.java:138)
at org.jboss.seam.init.Initialization.addComponent(Initialization.java:2
52)
at org.jboss.seam.init.Initialization.addComponents(Initialization.java:
190)
at org.jboss.seam.init.Initialization.init(Initialization.java:97)
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.j
ava:31)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3692)
 
.
.
.

Someone can say what is happening and how to fix it?

Thanks a lot.


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss/Spring Integration] - JBoss Hot Deployment Issue

2006-03-23 Thread Hari Prasad
Hai All,

I have a issue with JBoss Hot Redeployment.

I have an EAR say Static.ear,which uses a JAR file(Dynamic.jar) in my 
application.

The logic is that,the Dynamic.jar is provided so that any user can use it  to 
configure/customize some of functionalities in the application.From 
Static.ear,it uses reflection and loads the class from the Dynamic.ear to 
execute a customized feature.

So now,intially I have deployed both EAR & JAR files.After sometime,the 
Dynamic.JAR is only updated.JBoss does not do a Hot Redeployment and it still 
uses the old JAR file classes.But when I redepoy the EAR,it takes the latest 
JAR file.

Can anybody tell me where is the problem


Thanks
Hari


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Hibernate unable to startNewTransaction

2006-03-23 Thread tvaishnav
I am using JBoss 4.0.3, hibernate3 and Oracle 10gi. The scenario is:
I have a EJB method that starts a transaction. This method after starting 
transaction calls another method say A() in some class (which is not an EJB). 
This method A() starts a new transaction using hibernate and then calls another 
method say B() which also tries to start a new transaction but fails and throws 
the following exception: 

[JTATransaction] [ERROR] JTA transaction begin failed
java.lang.IllegalStateException: Trying to change transaction 
TransactionImpl:XidImpl[FormatId=257, GlobalId=magnolia.storeperform.com/18, 
Branc
hQual=, localId=18] in enlist!

Does anyone has an idea as to what's wrong with this?

Thanks
Trupti

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Tracing the Process Instance

2006-03-23 Thread romin.irani
Is any API available to get a trace of the entire Process Instance that has 
ended or running.

So, for e.g.  consider the following process definition (Pls ignore the exact 
syntax) :

1) START
2) NODE-A
2) NODE-B
4) FORK --> NODE-C
 --> NODE-D
5) JOIN
6) NODE-E
7) END

I create a process instance and run through it i.e. the process instance ends. 
For the instance, I can get hold of different things like:
1) Any tasks
2) Variables and their values
3) Current Node -- where it is

But how do I get an entire trace i.e. it went through the above steps ? The 
variables at end step, etc.

Thanks
Romin.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Process Variables in Process Definition

2006-03-23 Thread romin.irani
Hello All,

I have a defined several Process Definitions. Each of these Process Definitions 
contain only System Activities i.e. Nodes which have their Action Handlers. 

Now, looking at all the Process Definitions -- I find that I have around 5-6 
common Process variables like FromPartnerId, ToPartnerId, Content, etc. I want 
to define all these variables at the start of the Process Definition -- so that 
anyone looking at the Process Definition can easily figure out which Process 
Variables are needed at the minimum.

How do I do this. Currently -- the way I am doing this is in the code:


//Create process instance
  | ProcessInstance PI = 
ctx.getGraphSession().findLatestProcessDefinition("some-process-def").createProcessInstance();
  | 
  | //Set common process variables
  | Map ProcessMap = new HashMap();
  | ProcessMap.put("FromPartner",new String("Partner-A"));
  | ProcessMap.put("ToPartner",new String("Partner-B"));
  | 
  | PI.getContextInstance().addVariables(ProcessMap);
  | 
  | //start the process
  | PI.getRootToken().signal();

How do I define the above common process variables in the process definition 
itself -- so that at the time of creating the Process instance, I can get a 
list of global variables definition and then set them dynamically before 
launching the process.

I tried to look up the documentation in the jPDL Schema, etc -- but it doesnt 
seem very clear to me how to exactly define the above. 

Thanks
Romin. 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Clustered SSO not following the semantics of local SSO

2006-03-23 Thread CptnKirk
Hi Brian,

Finally had the chance to circle back and re-ramp on my clustered project.  
This problem is still there.  Session information seems to be replicated fine, 
but not auth context.

I didn't exactly understand your explanation above.  Is auth context not pushed 
along with session information out to all nodes upon login?

-Jim



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Problem with clustering tests in Windows XP SP2

2006-03-23 Thread sreeshyam
Hi
I just want to know whether clustering test will pass in windows xp sp2.Because 
in my test run most of my clustering tests are failing.i had  disabled windows 
firewall and disabled media sensing feature before the run.in windows xp sp1 
and windows 2000 server its not failing.please help.Thanks in advance.

cheers
shyam

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - setting unicode charset in Jboss

2006-03-23 Thread gireeshkollam
hai

how can i set a common charset for my all jsp pages generatting from jboss


currently i am seeting charset for each jsp page by giving



for this any common setting in jboss

is any method that made it easy.

please help me.


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: configuring spring to wire in ejb3 stateless session bea

2006-03-23 Thread eielk
figured it out... i simply removed the 'resourceRef' property from the 
JNDIObjectFactory bean config!!!

according to the spec about resource ref: it adds the java:comp crap at the 
beginning of the jndi lookup, no wonder it couldn't find the beans.

anonymous wrote : resourceRef - if the lookup occurs in a J2EE container, i.e. 
if the prefix "java:comp/env/" needs to be added if the JNDI name doesn't 
already contain it.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: How to pass object of web tier to slsb in ejb tier

2006-03-23 Thread gus888
Hi Bill,

Thank you very much for your response and help. You said  anonymous wrote : You 
need to move your utility jars outside of it. It means I need to create another 
utility jar? I currently have one ejb jar and a web war. Should I put the 
utility jar into ejb jar or a independent jar.

In addition. anonymous wrote : See the JBoss 4.0.x doco for more detail: hint 
its a switch in jboss-web.xml Could you please give me a little more details? 
in which section of Jboss server document. Sorry for many questions. I am new 
in ejb 3, honestly in ejb. Thanks again for your help.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: How to modify the order and region in which portlets app

2006-03-23 Thread webcat
I modify "0",but it doesn't work

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - How to modify the order and region in which portlets appear

2006-03-23 Thread webcat
thank you in advance

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss Bootstrap Environment config

2006-03-23 Thread johnson4
Well I've installed a jdk and jre from Sun
And got jboss to start, the one thing is that I have to add the environment 
variables from the command line,
my /root/.bashrc looks like
  | # .bashrc
  | 
  | # User specific aliases and functions
  | 
  | alias rm='rm -i'
  | alias cp='cp -i'
  | alias mv='mv -i'
  | 
  | # Source global definitions
  | if [ -f /etc/bashrc ]; then
  | . /etc/bashrc
  | fi
  | 
  | # User specific environment and startup programs
  | JAVA_HOME=/usr/java/jdk
  | JBOSS_HOME=/usr/java/jboss
  | 
  | PATH=$JAVA_HOME/bin:$JBOSS_HOME/bin:$PATH:$HOME/bin
  | BASH_ENV=$HOME/.bashrc
  | USERNAME="root"
  | 
  | export USERNAME BASH_ENV JAVA_HOME JBOSS_HOME HOME PATH
  | 
  | unset USERNAME
  |   | 
  |   | have I got it wrong? 
  |   | Thanks a ton

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: MSException: Could not store message:

2006-03-23 Thread GQSmooth
We are using SQL Server 2000 SP4.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - MSException: Could not store message:

2006-03-23 Thread GQSmooth
We are trying to convert an application from using the Hypersonic DB to SQL 
Server.  During some simple testing, we are getting this error message when 
writing to the JMS_MESSAGES table:

(org.jboss.mq.SpyJMSException: Could not store message: 5 m
sg=4 hard NOT_STORED PERSISTENT queue=QUEUE.scheduleQueue priority=4 
lateClone=false hashCode=843963; - nested throwable: (java.sql.SQLException: 
[Microsoft]
[SQLServer 2000 Driver for JDBC]Unable to determine the type of the specified 
object.))
at 
org.jboss.mq.server.JMSDestinationManager.transact(JMSDestinationManager.java:459)
at 
org.jboss.mq.server.JMSServerInterceptorSupport.transact(JMSServerInterceptorSupport.java:186)
at 
org.jboss.mq.security.ServerSecurityInterceptor.transact(ServerSecurityInterceptor.java:182)
at 
org.jboss.mq.server.TracingInterceptor.transact(TracingInterceptor.java:438)
at 
org.jboss.mq.server.JMSServerInvoker.transact(JMSServerInvoker.java:186)
at 
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:166)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:362)
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377)
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
at java.lang.Thread.run(Thread.java:534)

The JMS_MESSAGES schema looks like this:

CREATE TABLE JMS_MESSAGES (
MESSAGEID int NOT NULL ,
DESTINATION varchar (255) NULL,
TXID int NULL,
TXOP char (1) NULL ,
MESSAGEBLOB image NULL 
) 
GO

 CREATE  UNIQUE  INDEX JMS_MESSAGES_IDX ON dbo.JMS_MESSAGES(MESSAGEID, 
DESTINATION) 
GO

 CREATE  INDEX JMS_MESSAGES_TXOP_TXID ON dbo.JMS_MESSAGES(TXOP, TXID) 
GO

 CREATE  INDEX JMS_MESSAGES_DESTINATION ON dbo.JMS_MESSAGES(DESTINATION) 
GO

We are using JBoss version 4.0.1SP1 on Windows 2000 EE SP1.  We also tried this 
using Microsoft JDBC 1.2.2 SP1 and SP3 with no difference.

Any help would be appreciated!

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - How to config SessionFactory's JNDI name?

2006-03-23 Thread saphir
I am using jbpm3.1 in jboss and I want to config the jndi name for 
SessionFactory, so I turn to the config file "jbpm.cfg.xml", in which it 
contains the config 

  | 
  | ...
  | ...
  | ...
  | 
There is no item in the file configed the JNDI name for persistence service.
what should I do to set the JNDI name for the SessionFactory

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: configuring spring to wire in ejb3 stateless session bea

2006-03-23 Thread eielk
asack, thanks for the hint for the spring deployer...i'll check it out, will it 
work with struts action injection using the plugin in struts-config.xml?

  
  |  
  |  
  |   
  |  

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Apparently wrong driver class specified

2006-03-23 Thread acorazado
Hi, I am new in jboss and I am experimenting some problems when trying to 
connect with my postgres database. The postgres service is up, I can reach it 
with psql, I've also configured my jndi to point to the driver which is in the 
WEB-INF/class directory, and the jboss-web.xml and web.xml with the paths and 
references, then I tried to use it with an jsp script this way:


  | Context initCtx = new InitialContext();
  | DataSource 
dataSource=(javax.sql.DataSource)(initCtx.lookup("java:/postgresDS"));
  | Connection con = dataSource.getConnection();
  | Statement stm = con.createStatement();
  | 

 and it didn't work it throws me an org.jboss.util.NestedSQLException and tells 
me this: org.jboss.util.NestedSQLException: Could not create connection; - 
nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong 
driver class specified for URL: class: org.postgresql.Driver, url: 
jdbc:postgresql://localhost/mydatabase);

My theory is that it is not founding the class, but when I connect with 
Class.forName(); method there's no error shown and I can make queries and 
updates without problem. I will really apreciate any help, Sorry for my 
english, i am spanish spoken :-). 

Thanks in advance

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: configuring spring to wire in ejb3 stateless session bea

2006-03-23 Thread eielk
looks i didn't look down into the root exception:  NameNotFoundException, do i 
need to prefix this if using spring, here is a snippet of the global jndi 
listing also...

thanks.


  | 21:12:35,456 WARN  [RequestProcessor] Unhandled Exception thrown: class 
java.lang.reflect.Undec
  | laredThrowableException
  | 21:12:35,456 ERROR [[action]] Servlet.service() for servlet action threw 
exception
  | java.lang.reflect.UndeclaredThrowableException
  | at $Proxy79.addTest(Unknown Source)
  | at com.gwig.struts.action.TestAction.execute(TestAction.java:60)
  | at 
org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.j
  | ava:106)
  | 
  | ...
  | 
  | Caused by: javax.naming.NameNotFoundException: gwig not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:716)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | at 
org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:123)
  | at 
org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85)
  | at 
org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:121)
  | at 
org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:146)
  | at 
org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:86)
  | at 
org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:104)
  | at 
org.springframework.jndi.JndiObjectTargetSource.getTarget(JndiObjectTargetSource.jav
  | a:121)
  | at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:
  | 150)
  | ... 28 more
  | 

  
  | +- gwig (class: org.jnp.interfaces.NamingContext)
  |   |   +- TestSLSBLocal (proxy: $Proxy77 implements No ClassLoaders found 
for: com.gwig.ejb.TestSLSBIF (no security manager: RMI class loader disabled))
  |   |   +- TestSFSBLocalStatefulProxyFactory (class: 
org.jboss.ejb3.stateful.StatefulLocalProxyFactory)
  |   |   +- TestSFSBLocal (class: java.lang.Object)
  | 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: @EJB annotation not working in web tier

2006-03-23 Thread treespace
Here's a tip for doing a lookup without having to cast: generic method. I've 
hard-coded some assumptions that are easy enough to parameterize or use globa 
settings with. 



  | 
  | public static  T getEJB(Class klass) throws NamingException
  | {
  |return (T) (new InitialContext().lookup("app/" + klass.getSimpleName() + 
"Bean/local"));
  | }
  | 
  | Example use:  PizzaService service = getEJB(PizzaService.class);
  | 
  | 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Required indexes missing in JBPM DB script.

2006-03-23 Thread [EMAIL PROTECTED]
You should turn on SQL trace in the hibernate properties and analyze the 
queries to figure out which indexes you will need.  I did that with MySQL once 
to make it process the sql queries more efficiently.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - javax.naming.CommunicationException

2006-03-23 Thread ijaffery12
I am trying to connect from a jboss behinfd the firewall to jboss inside the 
firewall and getting this exception:

javax.naming.CommunicationException [Root exception is 
java.rmi.ConnectIOException: non-JRMP server at remote endpoint]
2006-03-23 19:54:18,197 INFO  [STDOUT]  at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:649)
2006-03-23 19:54:18,197 INFO  [STDOUT]  at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)

from inside the network it works fine.
My code snippest is


  | Properties p1 = new Properties();
  | p1.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
  | p1.put(Context.URL_PKG_PREFIXES, 
"jboss.naming:org.jnp.interfaces");
  | p1.put(Context.PROVIDER_URL, "server_external_IP_Address:1099");
  | Context ctx1 = new InitialContext(p1);
  | Object  externalJobIntegerationMgmtHomeRef = 
ctx1.lookup(ExternalJobIntegerationMgmtHome.JNDI_NAME);
  | externalJobIntegerationMgmtHome = 
(ExternalJobIntegerationMgmtHome)PortableRemoteObject.narrow(externalJobIntegerationMgmtHomeRef,
 ExternalJobIntegerationMgmtHome.class);
  | 
 All ports are open I can do telnet on 1099,1098, and many more...
Any idea why it is happening?

Cheers,

IJ

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: JBoss 4.0.4rc1 deployment performance problem

2006-03-23 Thread [EMAIL PROTECTED]
I don't think this would work for redeploy.  Plus, it inherently leaks.  The 
real question is why Class-path entries in the manifest are being added to the 
scan.  Looking into that...

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBoss Portal source build failed

2006-03-23 Thread tletts
I am getting the exact same error.  There was plenty of trial and error, but 
during the last run the tables were created in the mySQL database.  No errors 
in log files that I could see.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: java:comp/env problem

2006-03-23 Thread datta55
I am getting the same error. I created a sample application, as described in 
tutorial http://docs.jboss.com/jbosside/tutorial/build/en/html/index.html. When 
I test the application I get 

17:00:15,540 INFO  [STDOUT] javax.naming.NamingException: Could not dereference 
object [Root exception is javax.naming.NameNotFoundException: ejb not bound]

JNDI name appears correct in configuration files. Here is the Servlet code:

public void init(ServletConfig config) throws ServletException {
super.init(config);
try {
Context context = new InitialContext();
Object ref = context.lookup("java:/comp/env/ejb/Fibo");
home = (FiboHome) PortableRemoteObject.narrow(ref, 
Fibo.class);
}
catch (Exception e) {
e.printStackTrace(System.out);
throw new ServletException("Lookup of java:/comp/env/ 
failed");
}
}

Thanks.
Datta


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Handling Wizard-Style submission failure

2006-03-23 Thread paper57
I am using an Extended Persistence context, SeamManagedPhaseListener, etc. to 
collect information through a number of wizard-like steps.

When the user confirms, I perform all of my persistence.  In the event of some 
unforseen database error, I want to rollback the transaction, present the user 
with an error message and allow them to potentially resolve the error and 
resubmit.

To do this, I catch all exceptions around the persistence logic and issue a

SessionContext.setRollbackOnly();

Something like

  | try
  | {
  | em.persist(x);
  | } catch (RuntimeEception e)
  | {
  | ctx.setRollbackOnly();
  |
  | //set error message
  | 
  | return "errorpage";
  | }
  | 


then set an error message and return the page that will display it.

The setRollbackOnly() completes without error, however after returning the page 
to navigate to I get the following:


  | Caused by: javax.transaction.NotSupportedException: Transaction already 
active, cannot nest transactions.
  | at org.jboss.tm.TxManager.begin(TxManager.java:208)
  | 

What is the proper way to attempt to recover from persistence errors?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - A JBoss configuration problem

2006-03-23 Thread zxp_simon
Could u tell me how to configure the JBoss-4.0.4 for MS SQLServer 2000?
Thank u very much!

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: creating a page with lists from the db

2006-03-23 Thread zzztimbo
"[EMAIL PROTECTED]" wrote : It means there is an @In attribute for a context 
variable that is null, and you do not have required=false or create=true.

thank you very much. that appears to have worked.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Webservice using EJB3

2006-03-23 Thread nidhi1976
Does EJB3 implementation in JBoss 4.0.4RC1 supports webservices?
I mean I want to make a stateless sessionbean and then use @webMethod and 
@webService annotations to make it WebService. 

Is it supported in JBoss4.0.4RC1? If yes which tool should i use to make wsdl 
and client jar automatically.

Thanks
Nidhi

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Writting CMP and Error of datasource bound

2006-03-23 Thread mikode
Hi everybody,

I deploy a CMP by using Jboss Eclipse IDE and it works well (if do not condider 
Database). Then I want to map it with MySQL. I followed the guide to 
copy/change mysql-ds.xml, standardjbosscmp-jdbc.xml and standardjaws.xml, start 
the server, the  information :
00:19:50,342 INFO  [WrapperDataSourceService] Bound connection factory for 
resource adapter for ConnectionManager 
'jboss.jca:service=DataSourceBinding,name=MySqlDS to JNDI name 'java:MySqlDS'

is showed ane I think that it means my configuration is correct.

At CMPTest class I wrote some code like that :
Context ctx = new javax.naming.InitialContext(props);
javax.sql.DataSource ds = (javax.sql.DataSource)ctx.lookup("java:MySqlDS");

but has an error : MySqlDS not bound.

PS. I try to write some SessionBeans and manually to connect with Mysql, it is 
OK!

I do not know where is the problem, someone help me, please!!

Thank you very much!.

Lan



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: creating a page with lists from the db

2006-03-23 Thread [EMAIL PROTECTED]
It means there is an @In attribute for a context variable that is null, and you 
do not have required=false or create=true.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: JBoss 4.0.4rc1 deployment performance problem

2006-03-23 Thread JeffBrooks
I did some checking in the code.

In EJB3Deployer there is a method called accept. This method does some simple 
checks to see if something has the possiblity of being an ejb3 jar and if it is 
it exits quickly. If it can't determine if it's an ejb3 jar it eventually calls 
hasEjbAnnotation which scans the jar for class files with ejb3 annotations. 

The problem is it won't find any annotations for libraries so it will end up 
scanning all the class files in it.

I'm new to the code for the jboss deployer but I think something like this 
should fix the problem:

rename the hasEjbAnnotation method to scanForEJB3Annotation

Add this to the EJB3Deployer


  |private Map annotationCache = new HashMap(); 
  | 
  |public boolean hasEjbAnnotation(DeploymentInfo di)
  |{
  |Boolean bool = (Boolean)annotationCache.get(di.url);
  |
  |if (bool == null)
  |{
  |bool = Boolean.valueOf(scanForEJB3Annotation(di));
  |
  |annotationCache.put(di.url, bool);
  |}
  |
  |return bool.booleanValue();
  |}
  | 

There may be a better way to do this if jboss keeps track of the libraries 
deployed (won't need the cache).

Jeff Brooks


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: where is the correct package of InvocationContext

2006-03-23 Thread [EMAIL PROTECTED]
because glassfish is releasing a version of an EJB3 specification that hasn't 
been released yet to the public.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - JBOSS changes my address location!!!

2006-03-23 Thread kbbass
When my web app gets deployed, JBOSS changes the soap:address location that I 
specifiy in my WSDL. Specifically, it changes the host:port. This apparently is 
only for the WSDL that is retrieved. The actual working address:port is still 
what I set it at.

First, I set the location in my wsdl:
http://localhost/testapp/soap/Admin"; />

When the app is deployed, I get this in the logs:
15:20:00,000 INFO  [AxisService] Web Service deployed: 
http://baby:8080/testapp/soap/Admin

("baby" is the computer name that JBOSS is running on.)

If I use the above URL to access the wsdl, the page isn't found (ie, nothing 
listening on that port).

I can get the wsdl from the correct URL: http://localhost/testapp/soap/Admin.

But this is the location in the fetched wsdl:
http://baby:8080/idassure/soap/Admin"; /> 

What gives?

Any help greatly appreciated.
TIA

ken 



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - tomcat55 port conflict using ServiceBindingManager to unique

2006-03-23 Thread sitkom
Recently joined a project and my first task is to get multiple instances of 
JBoss 4.0.3SP1 running on a single Win2K machine. I followed the instructions 
from the wiki 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine
. 
I am currently experiencing the same behavior described in this previous post 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3900440
.
(i.e.) All ports are configured per my sample-bindings.xml except for tomcat55. 
Tomcat uses the port defined in deploy\jbossweb-tomcat55.sar\server.xml rather 
the port specified in sample-bindings.xml.
I copied {jboss.home}\server\default to {jboss.home}\server\node1. 
The jboss-service.xml for both servers contains the mbean-definition for 
ServiceBindingManager.
The default server uses "ServerName">ports-default.
The node1 server uses "ServerName">ports-01.
I suspect deployment order as mentioned here: 
[url=http://jira.jboss.com/jira/browse/JBAS-2350]
[/url] to be a factor. 
But no idea why the config. change did not resolve.
Any suggestions for further debugging would be appreciated.






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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: JBoss 4.0.4rc1 deployment performance problem

2006-03-23 Thread JeffBrooks
The structure of the ear looks like this:

meta-inf/application.xml
module1.jar
module2.jar
...
module14.jar
lib1.jar
lib2.jar
...
lib20.jar

The application.xml contains a list of all the modules. Nothing special there.

The only thing interesting for each module is in the manifest there is a 
Class-Path entry that contains the list of libraries.

What appears to be happening is:

foreach module do
classpath = get module classpath

for each item in classpath do
deploy classpath item (includes scan of jar)
end
end

If the above was switched do this it would be MUCH faster:

foreach module do
classpath = get module classpath

for each item in classpath do
if classpath item hasn't been deployed
deploy classpath item (includes scan of jar)
end
end
end


It appears the libraries are getting scanned once per module that has a 
classpath entry that references it.

The scanning of the jars appears to take about 22 seconds. The problem is 22 
seconds * 14 modules is more than 5 minutes.

I have no problem with jboss scanning the jars. I just would like jboss changed 
so it only scans them once per ear, instead of once per module in the ear.

Jeff Brooks


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: How to pass object of web tier to slsb in ejb tier

2006-03-23 Thread [EMAIL PROTECTED]
...or, change the classloading behavior of the war with a jboss specific 
configuration.  See the JBoss 4.0.x doco for more detail:  hint  its a switch 
in jboss-web.xml

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: How to pass object of web tier to slsb in ejb tier

2006-03-23 Thread [EMAIL PROTECTED]
WARs are isolated.  You need to move your utility jars outside of it.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: creating a page with lists from the db

2006-03-23 Thread zzztimbo
"ido_tamir" wrote : from the docs:
  | 1.3.2. How it works
  |  The first time we navigate to the messages.jsp page, whether by a JSF 
postback (faces request) or a direct browser GET request (non-faces request), 
the page will try to resolve the messages context variable. Since this context 
variable is not initialized, Seam will call the factory method findMessages(), 
which performs a query against the database and results in a DataModel being 
outjected. This DataModel provides the row data needed for rendering the 
.
  | 
  | hth
  | ido

ok. i added a @Factory annotation to my method that is equivalent to 
findMessages(). now i get this error: "In attribute requires value for 
component:" what does this mean? how do i attempt to fix this? 





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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: How to pass object of web tier to slsb in ejb tier

2006-03-23 Thread gus888
Hi Asack, 

Thank you for your response. The partial codes shown as follows:

  | [web tier]
  | public class ManageBean implements Serializable {
  | 
  | private Test test;
  | 
  | public void saveTo() {
  | Utils.getTestDAO.save(test);
  | }
  | ...
  | }
  | 
  | public class Test {
  | private Analyte analyte;
  | private Method method;
  | ...
  | }
  | 
  | [ejb tier]
  | @Entity
  | @Table (name="METHODS")
  | public class Method {
  | ...
  | }
  | 
  | @Entity
  | @Table (name="ANALYTE")
  | public class Analyte {
  | ...
  | }
  | 
  | @Stateless
  | public class TestDAOBean{
  | public void saveTo(Test test) {
  | em.persist(test.getMethod);
  | em.persist(test.getAnalyte);
  | }
  | }
When I deployed the codes, I got a exception of NoClassFound for Test ...
Since I already changed the original code to pass entity reference to SLSB DAO, 
I could not give the detail exceptions, but I really want to know why I 
couldn't pass a web tier reference to ejb container. Thank you very much in 
advance.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Persistence and caching using MySQL errors

2006-03-23 Thread jelevy01
Solved by upgrading to: mysql-connector-java-3.1.12 from 3.1.11

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss 4.0.3 + mySQL and TIMERS and HILOSEQUENCES

2006-03-23 Thread jelevy01
I was having the same problem and solved it by upgrading to 
mysql-connector-java-3.1.12

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: configuring spring to wire in ejb3 stateless session bea

2006-03-23 Thread [EMAIL PROTECTED]
What is the cause exception please.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: JBoss 4.0.4rc1 deployment performance problem

2006-03-23 Thread [EMAIL PROTECTED]
what I could do is add a switch that states whether .jar files should be 
ignored and only .ejb3 and .par files should be scanned

Please though, tell me your ear structure in more detail so that I can figure 
out if this is a deployer issue or just that we're screwed because we just have 
to scan every .jar

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Required indexes missing in JBPM DB script.

2006-03-23 Thread k.pravin
required indexes missing in JBPM DB script.
Due to this deadlock occurs in JBPM DB.

Following is the Oracle DB log:

Changing data in table JBPM_TOKEN will lock table JBPM_PROCESSINSTANCE
Create an index on table JBPM_PROCESSINSTANCE with the following columns to 
remove lock problem
Column = ROOTTOKEN_ (1).

Can somebody provide me sql script with required indexes?Since i don't know the 
JBPM schema well.
This problem occurs due to heavy traffics on DB.





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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - JBPM Database Deadlock problem

2006-03-23 Thread k.pravin
DEADLOCK DETECTED

Current SQL statement for this session:

update JBPM_TOKEN set NAME_=:1, START_=:2, END_=:3, NODEENTER_=:4, 
NEXTLOGINDEX_=:5, ISABLETOREACTIVATEPARENT_=:6, ISTERMINATIONIMPLICIT_=:7, 
NODE_=:8, PROCESSINSTANCE_=:9, PARENT_=:10 where ID_=:11

The following deadlock is not an ORACLE error. It is a

deadlock due to user error in the design of an application

or from issuing incorrect ad-hoc SQL. The following

information may aid in determining the deadlock:

Deadlock graph:

   -Blocker(s)  -Waiter(s)-

Resource Name  process session holds waits  process session holds waits

TM-258e-14  22SX 13  27SX   SSX

TX-0007001a-612e13  27 X 14  22   X

session 22: DID 0001-000E-1106  session 27: DID 0001-000D-2EA8

session 27: DID 0001-000D-2EA8 session 22: DID 0001-000E-1106

Rows waited on:

Session 27: obj - rowid = 2596 - AAACWWAAQA

  (dictionary objn - 9622, file - 16, block - 0, slot - 0)

Session 22: obj - rowid = 258E - AAACWOAAQMGABc

  (dictionary objn - 9614, file - 16, block - 774, slot - 92)

Information on the OTHER waiting sessions:

Session 27:

  pid=13 serial=55637 audsid=738276 user: 99/COMWFLSVC

  O/S info: user: jbsadmin, term: unknown, ospid: , machine: s0161cdc

program: JDBC Thin Client

  application name: JDBC Thin Client, hash value=0

  Current SQL Statement:

  delete from JBPM_PROCESSINSTANCE where ID_=:1

End of information on OTHER waiting sessions.

Changing data in table JBPM_TOKEN will lock table JBPM_PROCESSINSTANCE



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: error at org.jbpm.graph.def.GraphElement

2006-03-23 Thread [EMAIL PROTECTED]
It looks to me you are lacking the commons logging library.

Regards,
Koen

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: JBoss 4.0.4rc1 deployment performance problem

2006-03-23 Thread [EMAIL PROTECTED]
Can you explain a bit more the structure of your ear and application.xml?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: @Factory Method invoked from Seam Component @In (injecti

2006-03-23 Thread [EMAIL PROTECTED]
it does do exactly that.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Component Binding to conversation does not work

2006-03-23 Thread [EMAIL PROTECTED]
it is unavoidable

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: help about workflow

2006-03-23 Thread [EMAIL PROTECTED]
Why would jBPM be a bad choice. The problem you want to solve is perfectly fit 
for jBPM. What exactly do you have problems with?

Regards,
Koen

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: I get Exception : No active application scope , how to r

2006-03-23 Thread [EMAIL PROTECTED]
post the whole stack trace

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Error during the deployment of ejb3 Embedded-War example

2006-03-23 Thread [EMAIL PROTECTED]
looks like a jndi name problem.  Please see the migration guide.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: External signal

2006-03-23 Thread [EMAIL PROTECTED]
You can always contribute ;-)

Regards,
Koen

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: FormAuthenticator with User Output

2006-03-23 Thread Notarzt-hd
Hi cgriffith,

thank you very much! After i copied my "self made Authenticator CLASS" to the 
catalina JAR and made the reference in the properties File: It is working :))

Thx and greetings,
Michael

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: CMR collections access from web-tier

2006-03-23 Thread jelevy01
Ignore above, wrong thread.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: CMR collections access from web-tier

2006-03-23 Thread jelevy01
RB,

Thank you for your reply, except that I haven't deployed my application yet :(.

I am just tring to get JBoss up w/o exceptions.

J

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Error during the deployment of ejb3 Embedded-War example in

2006-03-23 Thread sisepago
Hi all ejb3 gurus,

I want to know if someone brought the embedded-war example with tomcat 5.5.16 
to run. Because during my test I got this errors my tomcat 5.5.16 Servlet 
container.

The Exception looks like this in tomcat 5.5.16

  | description The server encountered an internal error () that prevented it 
from fulfilling this request.
  | 
  | exception 
  | 
  | org.apache.jasper.JasperException: 
org.jboss.tutorial.embeddedwar.CustomerDAOLocal not bound
  | 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
  | 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
  | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  | 
  | 
  | root cause 
  | 
  | javax.servlet.ServletException: 
org.jboss.tutorial.embeddedwar.CustomerDAOLocal not bound
  | 
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
  | 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
  | org.apache.jsp.EmbeddedEJB3_jsp._jspService(EmbeddedEJB3_jsp.java:178)
  | org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  | 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
  | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  | 
  | 
  | root cause 
  | 
  | javax.naming.NameNotFoundException: 
org.jboss.tutorial.embeddedwar.CustomerDAOLocal not bound
  | org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | org.jnp.server.NamingServer.lookup(NamingServer.java:296)
  | org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  | org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | javax.naming.InitialContext.lookup(InitialContext.java:351)
  | org.apache.jsp.EmbeddedEJB3_jsp._jspService(EmbeddedEJB3_jsp.java:143)
  | org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  | 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
  | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  | 
  | 
  | note The full stack trace of the root cause is available in the Apache 
Tomcat/5.5.16 logs.
  | 
  | 
  | 

when yes, please posts me some suggestions

Thanks ... 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Can i use seam in glassfish ?

2006-03-23 Thread [EMAIL PROTECTED]
Hi
Thank you for reading my post.
do you come to any step toward deploying seam to glassFish ?
I mean for persistence using glassfish ejb3 + other deployment issue ?


Thanks

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - seam and glassFish , when it is possible to use seam on glas

2006-03-23 Thread [EMAIL PROTECTED]
Hi
Thank you for reading my post.
I did some research on , using seam and glassfish together.
the last thing that i found is a issue in glassFish bug tracker.

https://glassfish.dev.java.net/issues/show_bug.cgi?id=290

now , my question is : 
when next version of seam will be available ? for example a beta 3 .

is there any step by step guide to deploy a seam based application to glassfish 
?


thank you[/url]

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Error when runnig the embeddable-test-with-unit - EJB3-A

2006-03-23 Thread sisepago
Thank u bill, the test run now without problem

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA

2006-03-23 Thread [EMAIL PROTECTED]
It is more than evident in the error message the you are looking for class 
test.MyTest, but you have packaged Mytest.class

Also where is your MyTestMBean class???



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - JBoss 4.0.4rc1 deployment performance problem

2006-03-23 Thread JeffBrooks
I encountered a performance problem when deploying a very large .ear in jboss 
4.0.4rc1 with ejb3 installed.

My ear contains 14 modules in it and many libraries. Each module has a manifest 
that has a Class-Path that references other modules, and some shared libraries 
in the ear.

Deploying it took about 6 minutes!

After hunting down the problem I found out the ejb3 deployer scans class files 
in jars (I assume to look for annotations).

The problem is for each module in the ear the Class-Path is checked and for 
each entry it does some deploy logic that causes a scan.

This is bad because if all the modules have a Class-Path that reference 
foo.jar, then foo.jar is scanned once per module.

My guess is the reason this hasn?t been a problem for most people so far is 
most people don?t have 14 modules that reference over 20 megs of libraries 
causing 14 * 20 = 280 megs to scan.

I think the behavior should be changed so that a .jar in an .ear is only 
scanned once.

As a temporary workaround I was able to modify 
ejb3.deployer/META-INF/jboss-service.xml by adding in all my jars to 
IgnoredJars. Doing this reduced my deployment time to about 30 seconds.

Jeff Brooks


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - Re: targetObject and typedTargetObject?

2006-03-23 Thread Luntain
I have just cut out everything not needed to show the foul behaviour and wanted 
to attach it to an issue in bug trackin system but I see that you don't welcome 
zipped projects. It is relatively simple so I am attaching it here.

import org.jboss.aop.joinpoint.Invocation;
  | import org.jboss.aop.joinpoint.MethodInvocation;
  | 
  | public class SecurityAspect {
  | 
  | Invocation invocation;
  | 
  | public Object authenticationAdvice(Invocation inv) throws Throwable {
  | this.invocation = inv;
  | System.out.print("authentication advice: ");
  | 
  | if (inv instanceof MethodInvocation) {
  | MethodInvocation mi = (MethodInvocation)inv;
  | show_login_form("Please sign in."); 
  | }   
  | 
  | return null;
  | }
  | 
  | private void show_login_form(String message) {
  | LoginFrame loginDialog = new LoginFrame(this, message);
  | loginDialog.setVisible(true);
  | }
  | 
  | //callback method for login dialog
  | public void authenticate(String userName,String passwd) throws 
Throwable {
  | 
  | 
  | System.out.println("before invoke next");
  | invocation.invokeNext();
  | System.out.println("after invoke next");
  | }
  | 
  | }


  | @SuppressWarnings("serial")
  | public class LoginFrame extends JDialog {
  | JTextField userName = new JTextField();
  | JTextField password = new JPasswordField();
  | JButton okButton = new JButton("OK");
  | JButton cancelButton = new JButton("Cancel");
  | public LoginFrame(final SecurityAspect securityInterceptor, String 
message) {
  | 
  | this.setTitle("Authentication");
  | 
  | userName.setPreferredSize(new Dimension(150,20));
  | password.setPreferredSize(new Dimension(160,20));
  | this.setPreferredSize(new Dimension(400,100));
  | 
  | this.setLayout(new FlowLayout());
  | this.add(new JLabel(message));
  | this.add(new JLabel("User Name:"));
  | 
  | this.add(userName);
  | this.add(new JLabel("Password:"));
  | 
  | add(password);
  | 
  | 
  | add(okButton);
  | add(cancelButton);
  | 
  | 
  | final JDialog thisDialog = this;
  | 
  | okButton.addActionListener(new ActionListener() {
  | 
  | public void actionPerformed(ActionEvent arg0) {
  | try {
  | thisDialog.setVisible(false);
  | thisDialog.setEnabled(false);
  | //make call back to security interceptor
  | 
securityInterceptor.authenticate(noNull(userName.getText()), 
noNull(password.getText()));
  | } catch (Throwable e) {
  | e.printStackTrace();
  | }   
  | }
  | 
  | private String noNull(String text) {
  | return text==null?"":text;
  | }
  | });
  | 
  | }
  | }
  | 


  | 
  | 
  | 
  | 
  |
  | 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - Re: annotations-based binding

2006-03-23 Thread eprst
thanks a lot :)

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: JBossCache 1.3 Beta 2

2006-03-23 Thread akardell
I tried increasing the timeout from 15000 to 15.  Similar results.

However, I noticed that there's a new option with 1.3, in addition to the new 
INVALIDATION_ASYNC option...


  | OPTIMISTIC
  | 

Setting this caused all of the lock exceptions to go away!

I'm now getting OutOfMemory errors, about 11 minutes into the test, but I need 
to confirm what the root cause on that is still.  It may be unrelated to 
JBossCache -- I'm not sure yet.

Thanks for your help.


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - where is the correct package of InvocationContext

2006-03-23 Thread [EMAIL PROTECTED]
Hi
Can some one tell me where is the correct package for
InvocationContext ?

In jboss ejb3.jar it is inside javax.ejb package and in glassFish it is inside 
javax.interceptor

Why ,in case that these two class are the same, they are in different packages ?
which one is correct ?
does standard say  where classes should be in package hierarchicy ?

Thank you

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Error when runnig the embeddable-test-with-unit - EJB3-A

2006-03-23 Thread [EMAIL PROTECTED]
we no longer bind ems to jndi by default.  Please see migration guide on ejb3 
wiki

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Persistence and caching using MySQL errors

2006-03-23 Thread jelevy01
My development enviroment is on Windows / MySql5 / JDK5, I am setting up my 
prod enviroment on RHEL3 /MySql5/JDK5.  I have configured (in both envorments) 
all of the Persistence and caching using MySQL.  This works fine in my 
development enviroment.  However on Linux everytime I restart I get the 
following errors unless I clean the DB first.


20:04:50,579 WARN  [ServiceController] Problem starting service 
jboss:service=KeyGeneratorFactory,type=HiLo
java.sql.SQLException: Table 'HILOSEQUENCES' already exists
... (truncated)
--- MBeans waiting for other MBeans ---
ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
  State: FAILED
  Reason: java.sql.SQLException: Table 'HILOSEQUENCES' already exists
  I Depend On:
jboss:service=TransactionManager
jboss.jca:service=DataSourceBinding,name=DefaultDS

ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
  State: FAILED
  Reason: java.sql.SQLException: Table 'TIMERS' already exists
  I Depend On:
jboss.jca:service=DataSourceBinding,name=DefaultDS

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
  State: FAILED
  Reason: java.sql.SQLException: Table 'HILOSEQUENCES' already exists
  I Depend On:
jboss:service=TransactionManager
jboss.jca:service=DataSourceBinding,name=DefaultDS

ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
  State: FAILED
  Reason: java.sql.SQLException: Table 'TIMERS' already exists
  I Depend On:
jboss.jca:service=DataSourceBinding,name=DefaultDS

Any suggestions?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: @JoinTable - table contents being cleared when a new obj

2006-03-23 Thread scotttam
Anyone have any ideas? I am still stuck on this one. Thanks!

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: V3.1 Authentication Model

2006-03-23 Thread michaelholtzman
On a related note ...

When I retrieve ProcessLogs for a process instance, the "actorId" field is 
always null. I expected that setting actorId on the JbpmContext would propagate 
into the process logs, but that doesn't seem to be the case.

I need the log to include who (which actor) initiated a JBPM action (action in 
the generic sense, not a specific JBPM action).

Thanx for any tips.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: A CMR collection may only be used within the transction

2006-03-23 Thread redBeard15
See my post at 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=59240

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: root folder of CMS (what is that)

2006-03-23 Thread gator
Hi Ilangocal,

Out of the box, I would say the root folder for the CMS looks like this:

http://localhost:8080/portal/content/

under there you will see the "default" directory.  If you want to see
a image in the default directory you would enter a URL like:

http://localhost:8080/portal/content/default/images/check.gif

You should be able to create a "gallery" folder using the CMS Admin
tool and upload images using this tool. You need to login as "admin" 
password "admin" before you will see this tool.

The imagegallery uses URLs like the following to link to the images
you upload:

/portal/content/gallery/thumbnails/desert.jpg

Hope this helps

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: CMR collections access from web-tier

2006-03-23 Thread redBeard15
i'm not sure how you're exactly accessing the various beans n methods, but you 
mention something that will point to the solution:
anonymous wrote : 
  | Calling the CMR method getAddenda() that returns the Set works
  | perfectly from another bean, but I would like to call it from custom
  | JSP tags in the web tier of the same server. When I try this, I get the
  | following exception:
The act of instantiating a collection of related objects and then retrieving 
the value objects from that collection must be done in the same transaction.

I suspect that when you call the 'getAddenda()' method from another bean, the 
methods on that bean require a transaction. You can check your configuration 
for this.

However, I'm not sure, but I suspect that servlets (e.g., JSP pages) do not 
wrap entire methods in a transaction.  You'll have to do this yourself.

I was running into the same sort of problem running JunitEE tests.  I had to 
augment my JunitEE tests with something like the following (code example not 
complete):

  | Context ic = new InitialContext();
  | tx = (UserTransaction) ic.lookup ("java:comp/UserTransaction");
  | tx.begin();
  | 
  | AccountLocal lObj = home.findByPrimaryKey(objKey);
  | AccountValue vObj = lObj.getAccountValue();
  | tx.commit();
  | 
this is because I had created value objects for another bean (1:n) related to 
Account.  sooo, the 'getAccountValue()' method also retrieves value objects for 
the Account children, all in one method call.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss 3.2.5 Will Not Load Embedded Obj Under JAAS & SSL

2006-03-23 Thread tklem
Sorry, I used the instant reply instead of the main reply function.  Here's the 
code for the context.xml file.


  | 
  | 
  |   
  | 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EntityManager injection is thread safe?

2006-03-23 Thread dbudworth
Thanks for the reply guys,

I hadn't realized that SLSB was single threaded.  So, more instances get 
created with concurrent requests?  Or all requests get processed serially?

I ask because I made the (apprearantly incorrect) assumption that SLSB was 
accessed concurrently and implemented our site's authentication system as a 
SLSB that gets injected into our MDBs.

Basically it's an AJAX style site where a requests go browser -> servlet -> JMS 
-> MDB (auth, process request, update db, use various injected SLSBs, etc) -> 
JMS -> servlet -> browser.

When concurrent hits occur, we sometimes get weird interractions.
As well sometimes it seems like 
@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) doesn't always 
work.

We'll force a store by calling a store() method annotated as above, then send a 
message to another module who fails to find it in the DB.

Doesn't always happen, it's either random, or something weird going on.

I do know that I can't seem to get SonicMQ connections enrolled in JBoss JTA 
(I'm assuming because I'm not using the real JCA adapter they wrote due to them 
requiring me to hack up standard-jboss.xml which is scarry when using EJB3)

Anywho, more than you wanted to know there.

Thanks for the response again guys, I'll investigate further into our issues.



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: creating a page with lists from the db

2006-03-23 Thread ido_tamir
from the docs:
1.3.2. How it works
 The first time we navigate to the messages.jsp page, whether by a JSF postback 
(faces request) or a direct browser GET request (non-faces request), the page 
will try to resolve the messages context variable. Since this context variable 
is not initialized, Seam will call the factory method findMessages(), which 
performs a query against the database and results in a DataModel being 
outjected. This DataModel provides the row data needed for rendering the 
.

hth
ido

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss 3.2.5 Will Not Load Embedded Obj Under JAAS & SSL

2006-03-23 Thread tklem
I am having trouble getting this to work.  I've put the following code into a 
context.xml file in the WEB-INF director.


  


However, I don't know if this is a complete context.xml file.  Is there a 
sample file out there somewhere that I haven't been able to find?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - creating a page with lists from the db

2006-03-23 Thread zzztimbo
i would like to have a page display items that are already persisted in the 
database. 

the examples i've encountered have been displaying a list of items only after 
an action button has been pressed. is there an example of how to do this when a 
page loads? 



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBoss Portal 2.2.1RC3 with JBoss AS 4.0.4RC1

2006-03-23 Thread [EMAIL PROTECTED]
You're a little ahead of the curve. ;-)

I have some rough details here http://jira.jboss.com/jira/browse/JBPORTAL-623. 
Look at the comment I added.

This was done with 404RC1 and Portal 2.4, though.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: I get Exception : No active application scope , how to r

2006-03-23 Thread [EMAIL PROTECTED]
Hi
Thank you for reply.
here is my web.xml portion that i add to make this web.xml seam enabled.


  | 
  | 
  | Seam Redirect Filter
  | 
org.jboss.seam.servlet.SeamRedirectFilter
  | 
  | 
  | 
  | Seam Redirect Filter
  | /face/*
  | 
  | 
  | 
  | 
  | 
org.jboss.seam.core.manager.conversationTimeout
  | 12
  | 
  | 
  | 
  | 
  | org.jboss.seam.core.init.jndiPattern
  | jboss-seam-booking/#{ejbName}/local
  | 
  | 
  | 

I should say that my face servlet mapping is like :

  | 
  | Faces Servlet
  | javax.faces.webapp.FacesServlet
  | 1
  | 
  | 
  | Faces Servlet
  | /faces/*
  | 
  | 

and this is the code from my faces-config.xml

  |  
  | 
org.jboss.seam.jsf.SeamPhaseListener
  | 
  | 
  | 
  | 

I still get the same error.

what is wrong ?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - JBoss Portal 2.2.1RC3 with JBoss AS 4.0.4RC1

2006-03-23 Thread christophe.laumond
Hi all,
I'm trying to using JBoss Portal 2_1.2.1RC3 with the JBoss Server 4.0.4RC1

My aim is developing portlets using EJB3 EJBs.

My Environment:
Windows 2003 server Enterprise Edition
jre1.5.0_06
jboss-4.0.4RC1-installer.jar -> I chose the 'all' configuration
jboss-portal-2_1.2.1RC3.zip -> I unziped the jboss-portal.sar folder in deploy 
directory
I'm using the Hypersonic database embedded in the jboss-4.0.4RC1
so I deployed the file portal-hsqldb-ds.xml and create database according to it.

  
PortalDS

jdbc:hsqldb:${jboss.server.data.dir}${/}portal${/}hypersonic${/}database
org.hsqldb.jdbcDriver
sa

  

I'm using the JDBC connector provided with jboss-4.0.4RC1 ( didn't do anything 
specific about this)

I will expose all the errors and warning I get related to the deployment of the 
portal in order to provide you all the information which can be relevant.

so sorry it will be a long post...

Thanks in advance for your help, I think I'm not the only one who would like 
use the new EJB3 features with JBoss Portal.

Christophe 

The following texts are extract from the log.
Each part is separated with - only


  | 2006-03-23 21:35:20,280 DEBUG [org.jboss.deployment.MainDeployer] Starting 
deployment of package: 
file:/C:/jboss-4.0.4RC1/server/default/deploy/jboss-portal.sar/
  | 
  | -
  | 
  | 2006-03-23 21:35:25,452 DEBUG 
[org.jboss.portal.security.impl.JBossPortalPolicyConfigStoreImpl] Starting 
portal:policy=PortalPolicyConfigStore,type=Component
  | 2006-03-23 21:35:25,483 DEBUG 
[org.jboss.portal.security.impl.JBossPortalPolicyConfigStoreImpl] Starting 
failed portal:policy=PortalPolicyConfigStore,type=Component
  | 2006-03-23 21:35:25,483 WARN  [org.jboss.system.ServiceController] Problem 
starting service portal:policy=PortalPolicyConfigStore,type=Component
  | java.lang.IllegalArgumentException: No transaction manager provided
  | at 
org.jboss.portal.common.transaction.Transactions.applyBefore(Transactions.java:72)
  | at 
org.jboss.portal.security.impl.store.TreeCacheAdapter.start(TreeCacheAdapter.java:146)
  | at 
org.jboss.portal.security.impl.store.JBossTreeCacheStore.startService(JBossTreeCacheStore.java:68)
  | at 
org.jboss.portal.security.impl.JBossPortalPolicyConfigStoreImpl.startService(JBossPortalPolicyConfigStoreImpl.java:264)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
  | at 
org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:86)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:991)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
  | at $Proxy4.start(Unknown Source)
  | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
  | at sun.reflect

[JBoss-user] [JBoss jBPM] - Re: Get all nodes in process definition when a SuperState is

2006-03-23 Thread mjm_uk
I'm having the same issue...

Process Definition = 



   
  
   
   
   
   
   
  
   
   
  
   



   
  
   
   
  
   



   
  
   
   
  
   


   
  
   


Code to get the nodes =
ProcessDefinition def1 = 
jbpmContext.getGraphSession().findLatestProcessDefinition("test");  
   
System.err.println("*** GET THE NODES ** " + 
def1.getNodes().size());   
for (Iterator i = def1.getNodes().iterator(); i.hasNext();) {
Node val = (Node)i.next();
System.err.println("Got node : " + val.getFullyQualifiedName());

}   
System.err.println("*** ALL OF THE NODES ");


Result of Code = 
19:21:18,777 INFO  [STDOUT] *** GET THE NODES ** 6
19:21:18,777 INFO  [STDOUT] Got node : super3/state5
19:21:18,777 INFO  [STDOUT] Got node : super3/state6
19:21:18,777 INFO  [STDOUT] Got node : super1
19:21:18,777 INFO  [STDOUT] Got node : super2
19:21:18,777 INFO  [STDOUT] Got node : super3
19:21:18,777 INFO  [STDOUT] Got node : state7
19:21:18,777 INFO  [STDOUT] *** ALL OF THE NODES 


If I change my code to: -
ProcessDefinition def1 = 
jbpmContext.getGraphSession().findLatestProcessDefinition("test");  
   
System.err.println("*** GET THE NODES ** " + 
def1.getNodes().size());   
for (Iterator i = def1.getNodes().iterator(); i.hasNext();) {
Node val = (Node)i.next();

if (val instanceof SuperState) {
for (Iterator j = ((SuperState)val).getNodes().iterator(); 
j.hasNext();) {
Node val1 = (Node)j.next();
System.err.println("Got node : " + 
val1.getFullyQualifiedName());
}
}
System.err.println("Got node : " + val.getFullyQualifiedName());

}   
System.err.println("*** ALL OF THE NODES ");

I get: -
19:25:51,720 INFO  [STDOUT] *** GET THE NODES ** 6
19:25:51,720 INFO  [STDOUT] Got node : super3/state5
19:25:51,720 INFO  [STDOUT] Got node : super3/state6
19:25:51,720 INFO  [STDOUT] Got node : super1/state1
19:25:51,720 INFO  [STDOUT] Got node : super1/state2
19:25:51,720 INFO  [STDOUT] Got node : super1
19:25:51,720 INFO  [STDOUT] Got node : super2/state3
19:25:51,720 INFO  [STDOUT] Got node : super2/state4
19:25:51,720 INFO  [STDOUT] Got node : super2
19:25:51,720 INFO  [STDOUT] Got node : super3/state5
19:25:51,720 INFO  [STDOUT] Got node : super3/state6
19:25:51,720 INFO  [STDOUT] Got node : super3
19:25:51,720 INFO  [STDOUT] Got node : state7
19:25:51,720 INFO  [STDOUT] *** ALL OF THE NODES 

Which is still not totally correct because super3 is displayed twice.


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - V3.1 Authentication Model

2006-03-23 Thread michaelholtzman
I recently looked at the security framework in 3.1, and I am a little confused. 
The interface org.jbpm.security.AuthenticationService does not include a method 
to set the authenticated actor id.

That means I cannot do something like

  | AuthenticationService authenticate = 
jbpmContext.getServices().getAuthenticationService();
  | authenticate.setActorId(someUserIdString);
  | 

Is this an oversight, or am I missing something?

Thanx.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EntityManager injection is thread safe?

2006-03-23 Thread [EMAIL PROTECTED]
A Hibernate Session is certainly not threadsafe. But there is one per 
transaction, and one transaction per thread. So the overall model is threadafe.

Also note that SLSB instances are actually single threaded.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Question about DbPersistenceService

2006-03-23 Thread jesse_sweetland
Found the source of my connection leak, and it may or may not be related to the 
above post, so I'll put it here in case anyone is interested.

My web service was creating a JbpmContext and calling getConnection() to get a 
connection.  My assumption was that this was a shortcut for 
Jbpm.getSession().getConnection(), which is not exactly true.  Lookin at 
DbPersistenceService, they end up being essentially the same thing unless that 
JNDI data source name property is somehow registered on the 
DbPersistenceService.  I then created a JDBC PreparedStatement on the 
connection, executed some arbitrary SQL, and closed the JbpmContext, thinking 
that when the JbpmContext was closed, the Hibernate session would commit and 
close and the underlying connection would be taken care of.

As it turns out, TxConnectionManager.end() was called (which tells me the 
connection.commit() method was called) but the 
TxConnectionManager.connectionClosed() method was never invoked.  I suspect 
that Hibernate has some magic in the Transaction.commit() method that handles 
JTA transactions if there was work done during the transaction (in my case 
Hibernate didn't know about the work being done because I used an external JDBC 
PreparedStatement).  I came to this conclusion for two reasons:

1. Using a Hibernate SQLQuery instead of a PreparedStatement fixed the 
connection leak
2. Using PreparedStatements does not cause a connection leak if JTA is not used

Does using JTA imply exclusive use of the jBPM and/or Hibernate APIs?  Is it 
incorrect to mix JDBC and Hibernate calls in a JTA transaction?  Was there 
another step I needed to take (such as an exclusive JTA commit)?

- Jesse

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - The org.xml.sax.SAXNotRecognizedException:

2006-03-23 Thread sujayc
Hi HITSW did you find any of this error beofore
I tried with different versions of the parser 


Any one faced this issue ?

couldn't set xml parser property 
'http://java.sun.com/xml/jaxp/properties/schemaLanguage' to 
'http://www.w3.org/2001/XMLSchema'
org.xml.sax.SAXNotRecognizedException: Property: 
http://java.sun.com/xml/jaxp/properties/schemaLanguage
at 
org.apache.crimson.parser.XMLReaderImpl.setProperty(XMLReaderImpl.java:272)
at 
org.apache.crimson.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:190)
at org.jbpm.jpdl.xml.JpdlParser.createXmlReader(JpdlParser.java:77)
at org.jbpm.jpdl.xml.JpdlParser.createSaxReader(JpdlParser.java:62)
at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:56)
at 
org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:138)
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlString(ProcessDefinition.java:143)
at 
org.jbpm.tutorial.helloworld.HelloWorldTest.testHelloWorldProcess(HelloWorldTest.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
14:05:01,443 [main] WARN  JpdlParser : couldn't set xml parser property 
'http://apache.org/xml/properties/schema/external-schemaLocation'
org.xml.sax.SAXNotRecognizedException: Property: 
http://apache.org/xml/properties/schema/external-schemaLocation
at 
org.apache.crimson.parser.XMLReaderImpl.setProperty(XMLReaderImpl.java:272)
at 
org.apache.crimson.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:190)
at org.jbpm.jpdl.xml.JpdlParser.createXmlReader(JpdlParser.java:83)
at org.jbpm.jpdl.xml.JpdlParser.createSaxReader(JpdlParser.java:62)
at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:56)
at 
org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:138)
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlString(ProcessDefinition.java:143)
at 
org.jbpm.tutorial.helloworld.HelloWorldTest.testHelloWorldProcess(HelloWorldTest.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
14:05:01,443 [main] WARN  JpdlParser : couldn't set xml parser feature 
'http://apache.org/xml/features/validation/dynamic'
org.xml.sax.SAXNotRecognizedException: Feature: 
http://apache.org/xml/features/validation/dynamic

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=24172

[JBoss-user] [JBossWS] - Re: FiboBean (as per Eclipse-IDE Documentation) as a webserv

2006-03-23 Thread irisel
Ooops, the "See your message" link does not work when a new page is created. 
Usually I am not so silly to post the same message 3 times !

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: FiboBean (as per Eclipse-IDE Documentation) as a webserv

2006-03-23 Thread irisel
That's what I did too.
I will look carefully http://wiki.jboss.org/wiki/Wiki.jsp?page=WSServerEJB and 
if I solve it I will post my results.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: FiboBean (as per Eclipse-IDE Documentation) as a webserv

2006-03-23 Thread irisel
Hi,

That's what I did, but thought it wasn't the best practice. I will study 
carefully this page and if I solve it I will post my results:

http://wiki.jboss.org/wiki/Wiki.jsp?page=WSServerEJB

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - property 'http://java.sun.com/xml/jaxp/properties/schemaLang

2006-03-23 Thread sujayc
The XMLReader is not recognising this property - 
Did anybody face this problem ?


WARN JpdlParser : couldn't set xml parser property 
'http://java.sun.com/xml/jaxp/properties/schemaLanguage' to 
'http://www.w3.org/2001/XMLSchema' 
org.xml.sax.SAXNotRecognizedException: Property: 
http://java.sun.com/xml/jaxp/properties/schemaLanguage 
at org.apache.crimson.parser.XMLReaderImpl.setProperty(XMLReaderImpl.java:272) 
at org.apache.crimson.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:190) 
at org.jbpm.jpdl.xml.JpdlParser.createXmlReader(JpdlParser.java:77) 
at org.jbpm.jpdl.xml.JpdlParser.createSaxReader(JpdlParser.java:62) 
at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:56) 
at 
org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:138) 
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlString(ProcessDefinition.java:143) 
at 
org.jbpm.tutorial.helloworld.HelloWorldTest.testHelloWorldProcess(HelloWorldTest.java:40)
 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
at java.lang.reflect.Method.invoke(Method.java:324) 
at junit.framework.TestCase.runTest(TestCase.java:154) 
at junit.framework.TestCase.runBare(TestCase.java:127) 
at junit.framework.TestResult$1.protect(TestResult.java:106) 
at junit.framework.TestResult.runProtected(TestResult.java:124) 
at junit.framework.TestResult.run(TestResult.java:109) 
at junit.framework.TestCase.run(TestCase.java:118) 
at junit.framework.TestSuite.runTest(TestSuite.java:208) 
at junit.framework.TestSuite.run(TestSuite.java:203) 
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: StatisticsCollector

2006-03-23 Thread steve.devore
I seem to be having the same problem.. I configure the StatisticsCollector, but 
the reports all show no activity.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - problem deploying my portlet ear

2006-03-23 Thread ilangocal
Hi
I am testing a simple upload portlet. I have the following errors while trying 
to deploy.


10:42:52,734 ERROR [MainDeployer] Could not initialise deployment: file:/C:/navn
orth/jboss403/jboss-4.0.3SP1/server/default/deploy/concepts.ear
org.jboss.deployment.DeploymentException: No META-INF/application.xml found
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:118)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:843)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:319)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:507)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:192)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:265)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:274)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:230)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:943)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:428)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
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:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanO

[JBoss-user] [EJB 3.0] - Re: EntityManager injection is thread safe?

2006-03-23 Thread [EMAIL PROTECTED]
Our impl is a proxy that delegates to an EM instance stored in a 
TransactionLocal.  So, at least on a per transaction basis, there is safety.  
Whether or not a Hibernate Session is thread safe, I don't know...

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: jBPM Process Scheduling & Monitoring

2006-03-23 Thread kukeltje
hmm... a line disappeared...

For the monitoring part, give 3.1 a try. You'll be pleasantly surprised (3.2 
will be even better in this area)

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: jBPM Process Scheduling & Monitoring

2006-03-23 Thread kukeltje
"hitsw" wrote :  But is there any way to schedule the entire process to start 
at a particular time?

What about quartz? A good j2ee scheduler

"hitsw" wrote : 
  | Also how do I monitor these processes. Is there a user interface?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: [URGENT] help about workflow with JBPM

2006-03-23 Thread kukeltje
Hi,

Why must the workflow ENGINE generate an ear? I can imagine some designer 
delivering/creating an ear file but not the engine.

jBPM does not generate or specifically use an ear file. It uses a 
processdefinition which is parsed and put in a database. You can bundle all 
jBPM stuff in an ear and put a custom processdefinitionloader in there that 
deploy time reads that file and puts it in the DB. Bundeling it this way is 
something you have to do yourself and for the deployer, search the forum and/or 
wiki. there is some info on this subject.

hth,

Ronald



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   3   >