[JBoss-user] [JBoss Eclipse IDE (users)] - JNDI naming problem with JBoss

2006-06-06 Thread rohithadg
Hi all,

I'm trying to deploy a Session bean on JBoss.

My java classes as follows:
pkg1.MyBean //Bean
pkg1.My //Remote Interface
pkg1.MyHome //Home Interface
pkg1.MyLocalHome //Local Home Interface
pkg1.MyLocal //Local Interface


ejb-jar.xml related codes:


  
 
 My
 
 My
 
 pkg1.MyHome
 pkg1.My
 pkg1.MyLocalHome
 pkg1.MyLocal
 pkg1.MySession
 Stateless
 Container
 
  




jboss.xml related codes:

 
  
 My
 My
 MyLocal
 


  
   




then I'm trying to call the Bean using JSP page
JSP page code:

<%!
   private My my = null;
 
   public void jspInit() { 
  try {
 InitialContext ic = new InitialContext();
 Object objRef = ic.lookup("My");
 MyHome home = (MyHome)PortableRemoteObject.narrow(objRef, 
MyHome.class);
 my = home.create();
  } catch (RemoteException ex) {
System.out.println("Couldn't create My bean."+ ex.getMessage());
  } catch (CreateException ex) {
System.out.println("Couldn't create My bean."+ ex.getMessage());
  } catch (NamingException ex) {
System.out.println("Unable to lookup home: "+ "My "+ 
ex.getMessage());
  } 
   }
 
   public void jspDestroy() {
 my = null;
   }
%>




when I'm try to execute jsp page.
I got following Exception:

java.lang.ClassCastException
at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(Unknown 
Source)
at javax.rmi.PortableRemoteObject.narrow(Unknown Source)
at org.apache.jsp.index_jsp.jspInit(index_jsp.java:22)
at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:78)
at 
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:155)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:315)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: $Proxy73
... 27 more



Pls help me.

Rohitha

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - JSR-181 POJO and JAAS

2006-06-06 Thread Juergen.Zimmermann
How do I implement that a JSR-181 POJO can login into JAAS?
a) The EJB-Container uses JAAS, and the JUnit clients can login.
b) The Web-Container also uses JAAS with FORM-based authentication for the JSP 
pages. No problem to invoke JSP pages, no problem to invoke EJB functionality.

Now, I'm implementing a Web service via JSR-181 POJOs. There is no problem as 
long as the POJO invokes a session bean's methods without security restrictions.

However, when I want to login for restricted methods (just like a JUnit test as 
in a) I get this message:
"Insufficient permissions, principal=null, requiredRoles=[mitarbeiter], 
principalRoles=[]"

Any hint is appreciated!

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: [URGENT] JBoss Rules and facts of the same type

2006-06-06 Thread ahmed.adly
hi every one,
I have found the answer about my question, you can see it at this URL 
http://jira.codehaus.org/browse/DROOLS-365

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: iam getting the roll back exception while closing the ta

2006-06-06 Thread cityofdestiny
hi mohan,
iam a new bie and iam also facing the same problem when iam trying to close teh 
task iam getting the warning and the transaction is rolling back .
if u got the solution please let me know.

GraphSession graphSession = jbpmContext.getGraphSession();
ProcessDefinition processDefinition = 
graphSession.loadProcessDefinition(processDefinitionId);
ProcessInstance processInstance = 
jbpmContext.newProcessInstance(processDefinition.getName());
TaskInstance startTaskInstance = 
processInstance.getTaskMgmtInstance().createStartTaskInstance();
List transitions = startTaskInstance.getAvailableTransitions();
int size1 = transitions.size();
String name ="";
for(int i=0;ihttp://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949529#3949529

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Oracle DS

2006-06-06 Thread misge
Jboss 4.0.4, Oracle 9, classes12.jar deploeyd inside lib/  of Jboss

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EJB 3.0 RC8 Preview - FD Released

2006-06-06 Thread Juergen.Zimmermann
I tried both jboss-EJB-3.0_RC8-FD.zip and jboss-EJB-3.0_Embeddable_ALPHA_8.zip. 
I tried them from several download sites of sourceforge.net. I couldn't find a 
client subdirectory. I'll give up.

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Help needed in getting support for https in JBOSS

2006-06-06 Thread cool_bhanu
Hi,
Iam using jBOSS for one of my project and iam new to JBOSS
want to bring https instead of http in the browser 
the browser should support https:\\ url
Iam using jboss-4.0.3SP1 
could anybody please tell me how to bring https support in jboss 
Hope you will help me in this regard

Thanks 
Bhanu 


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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: @SelectItems and @SelectItemsSelection annotations?

2006-06-06 Thread CptnKirk
Looks good, my DataBinder works fine.  Is getSelection() supposed to be on both 
DataBinder and DataSelector interfaces?  What is role of this method on 
DataBinder?

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Message Persistence Error

2006-06-06 Thread aq12ws
Hi ,
 Yeah  I am using thin driver .  I was using  oracle thin driver for 9i 
. Now I have changed to 10g  driver . I have checked the way JBoss writes a 
blob . It not the way oracle expects it to be :

Oracle?s way to write a Blob through a JDBC code  is a  TWO Step procedure :
   Step 1) Insert a row into TABLE with  LOB column values 
initialized to empty.
   Step 2) Retrieve the row just inserted and lock it for 
insertion of the LOB column. Open output stream for the Blob and then write to 
it.
 

JBoss does not follow this two step procedure . It inserts in one shot . 

.

Does using 10g driver solve this problem ?
With the 9i dirver the JBoss was able to write a max of  4000 bytes . Now I am 
not sure with 10g driver what will be the limit .

Thanks ,
Alok.



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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Support for Internationalization

2006-06-06 Thread sbryzak2
I'm guessing that its something to do with how I'm encoding string values for 
transport (they're URL-encoded).  I haven't tested this with anything other 
than ASCII characters but as far as I understand anything should work.  Anyway 
I'll try it tonight with Russian characters and see how far I get.

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Installing and runing JBoss without JDK

2006-06-06 Thread arun_9033
Hi All,

I am  newbie here. Just would like to clear my head on this:-

Is it possible to install and run JBoss4.03 without JDK (valid version)?

I understand that JBoss4.0.3 has an embedded tomcat that uses JDK for compliing 
JSP and servlets.

JBoss won't start if  don't have JAVA_HOME pointing a JDK on the machine.

Any pointer to previous discussion or link appreciated.

Regards
Sunder


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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Help w/ TransactionAttributeType.REQUIRES_NEW

2006-06-06 Thread dbudworth
I didn't even realize you could get the proxy object from the context, might 
have been a better solution.  

The @Tx stuff works, and I've been using the JBoss AOP stuff for a few years in 
production, so I don't really worry about that (aside from the 1/3 increase in 
deploy time, but that's no biggie)

As for adding a jboss specific hack, doing that would kind of suck, think about 
all the places you do things like:

  | Logger log = Logger.getLogger(getClass());
  | 

You'd end up with a funky subclass in your log files, since the only way to 
make self references adhear to the annotations would be to generate a subclass 
or use LoadTimeWeaving. (I believe)

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - JBoss Performance Tuning

2006-06-06 Thread tdanecito
Hi All,

To better tune JBoss,

1. Use the fastest JVM (Mustang I believe)
2. Tune the JVM
3. Use caching in Servlet container where possible
4. Put EJB in same class loader as Servlets
I have measure 1-2msec (P4 3Ghz) just to call across Servlet-EJB boundry in 
same classloader and maybe 100msec if WAR and EAR loaded in seperate 
classloaders

Okay with that said and even a lot more tuning then I have time to mention I 
was getting total transactions in under 20msec over the Internet. Yep it can be 
done. I was shooting for 100,000 transactions per second in App server and I 
got near 50,000 on an old P4 3Ghz machine.


Good luck,
-Tony

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Support for Internationalization

2006-06-06 Thread [EMAIL PROTECTED]
I guess this is a JSF question, not related to Seam.

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: When in the servlet lifecycle does http session state re

2006-06-06 Thread hamptont
Sorry, had some extraneous code in the example.  The block of code commeted 
"Hack to make the session replicate" should not have been there (it did not 
make the session replicate).  Below is the correct code.

Thanks,
Tom




<%@ page import="org.apache.commons.logging.Log" %>
  | <%@ page import="org.apache.commons.logging.LogFactory" %>
  | <%@ page import="java.util.Enumeration" %>
  | 
  | <% final Log logger = LogFactory.getLog("JSP Logger"); %>
  | 
  | 
  | Hit the start button to start the countdown.  Hit the stop button to stop 
the countdown.  Hit the dump button to print the http session state.  
  | 
  |   
  | 
  | 
  |   
  | 
  | 
  |   
  | 
  | <%
  | String state = (String)request.getParameter("state");
  | if (state == null) state = "stop";
  | 
  | if (state.equals("dump")) {
  |   Enumeration enm = session.getAttributeNames();
  |   while(enm.hasMoreElements()) {
  | String attr = (String)enm.nextElement();
  | logger.error("*** TEST SessionID=" + session.getId());
  | logger.error("*** TEST Session variable: " + attr + " 
value: " + session.getAttribute(attr));
  |   }
  | } else {
  |   session.setAttribute("state", state);
  |   if (state.equals("start")) {
  | if (session.getAttribute("cnt") == null) {
  |   session.setAttribute("cnt", new Integer(1));
  | }
  | 
  | int i = ((Integer)session.getAttribute("cnt")).intValue();
  | while (i > 0) {
  |   logger.error("*** TEST " + i);
  |   session.setAttribute("cnt", new Integer(--i));
  |   Thread.sleep(2000);
  |   if (((String)session.getAttribute("state")).equals("stop")) break;
  | }
  |   }
  | }
  | %>
  | 

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Error deploying a process

2006-06-06 Thread jayhir
I have narrowed this down further...

This time I am using the auto generated simple process and modified it to add a 
Node via the designer. If I associate an action handler with the Node, I can 
consistently produce the error. I also noticed that the XML fragment for the 
generated 'node' element has 'transition' element as the first child followed 
by the 'action' element. If I switch the order of the two child nodes then the 
process deploys successfully. This makes sense since the jpdl-3.1.xsd schema 
for the 'node' element does require a sequence where action precedes other 
node-content-elements.

It seems that the designer generated XML that violates the schema and the 
deployer reports HTTP 500 while the underlying problem may be a parse error. I 
am new to jBPM.. but this is what I observe.

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Support for Internationalization

2006-06-06 Thread empty11
Dear.

I'm learning the Seam Framework following example.
There is an error doing remote/helloworld example.

When returning the I18N characters, the characters is broken.
When the server send the I18N characters to client(browser) , how should I 
configure to get the normal characters.

Regards.

 # Ritchie

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [News & Announcements] - Re: JBoss signs Definitive Agreement to be acquired by Red H

2006-06-06 Thread [EMAIL PROTECTED]
Red Hat completed Acquisition of JBoss.
http://www.jboss.com/pdf/press/acquisition.pdf

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Task Assignment using variable

2006-06-06 Thread natacam
Hi
I´m trying to assign a task using the assignment expression: 

  | 
  |   
  | 
  | 

In the first term, i want to get the Group with the name "groupName", but it 
seems that it tries to get a user with name= groupName.

Can`t I get a specific group with the expression "variable(...)"? how?
Thanks for your help


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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] jboss 3.0.3 with java 1.5.0

2006-06-06 Thread Scott M Stark
Won't work.
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossVsJavaJDKVersionMatrix

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Achilleus
Mantzios
Sent: Tuesday, June 06, 2006 9:58 AM
To: jboss-user@lists.sourceforge.net
Subject: [JBoss-user] jboss 3.0.3 with java 1.5.0




Has any one ever done this?
Is there any (fast and dirty) way of getting jboss 3.0.3 to run with the

new java 1.5.0?

I am running diablo  1.5.0 on a fresh FreeBSD 6.1-stable.
(But i doubt that the issue is jvm or OS related)

I am getting
ERROR [Server] start failed
javax.management.InstanceNotFoundException: 
JMImplementation:service=LoaderRepository,name=Default
at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMB
eanServerInterceptor.java:1010)
at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBea
nServerInterceptor.java:804)
at 
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at 
org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:435
)
at
org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:261)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
at org.jboss.Main.boot(Main.java:148)
at org.jboss.Main$1.run(Main.java:381)
at java.lang.Thread.run(Thread.java:595)
javax.management.InstanceNotFoundException: 
JMImplementation:service=LoaderRepository,name=Default
at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMB
eanServerInterceptor.java:1010)
at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBea
nServerInterceptor.java:804)
at 
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at 
org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:435
)
at
org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:261)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
at org.jboss.Main.boot(Main.java:148)
at org.jboss.Main$1.run(Main.java:381)
at java.lang.Thread.run(Thread.java:595)


-- 
-Achilleus




___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: sub-process invocation problem

2006-06-06 Thread hosierdm
Here is the post I was referring to:
http://jboss.org/index.html?module=bb&op=viewtopic&t=80327

Not as helpful as I remember.  Basically Koen said that when a process is 
executed as a subprocess, the intended behavior is for the subprocess to not 
stop on tasks associated with the start state.  Maybe Koen has more to offer, 
but that's about the extent of my knowledge on the subject.

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - EJB3/EntityManager/Transactions and LazyInitializationExcept

2006-06-06 Thread ngtdave
So I implemented an stateless session bean which in turn uses an entity 
manager.  Under that is hibernate.  I am once again trying to answer the age 
old question of how do I get around the LazyInitializationException.

The code in my struts action looks like this:

  
  |   PetServiceInterface psi = null;
  |   try {
  |  InitialContext ctx = new InitialContext();
  |  psi = (PetServiceInterface) ctx.lookup("PetService/local");
  |   } catch (Exception e) {
  |  e.printStackTrace();
  |   }
  |   
  |   Person customer = psi.findPerson(12);
  |   OwnerForm of = (OwnerForm) form;
  |   of.setName(customer.getName());
  |   of.setAge(customer.getAge());
  |   of.setPets(customer.getPets());
  | 
  |   return (mapping.findForward("page"));

My ejb looks like this:

@Service(objectName = "whatever:service=PetService")
  | @Stateless
  | public class PetService implements PetServiceInterface {
  | 
  |@PersistenceContext(unitName="pet") EntityManager em;
  |public Person findPerson(int id) {
  |   return em.find(Person.class, Integer.valueOf(id));
  |   }

Now in my jsp I iterate the pets on the customer which throws a 
LazyInitializationException because the session is already closed.

Looking at secion 4.1.1 in
http://www.hibernate.org/hib_docs/entitymanager/reference/en/html_single/#transactions
it says this:

anonymous wrote : This is the default EJB3 persistence model in a Java EE 
environment (JTA bounded, transaction-scoped persistence context); injected (or 
looked up) entity managers share the same persistence context for a particular 
JTA transaction. The beauty of EJB3 is that you don't have to care about that 
anymore and just see data access through entity manager and demaraction of 
transaction scope on session beans as completely orthogonal.

Since I'm running JBoss 4.0.4.GA.Patch1, and using EBJ3, I was hoping the 
container would take care of the transactions for me.  In other words, I was 
hoping the servlet request then response would all be in a JTA transaction, and 
the EJB would inherit that transaction, and the EntityManager would then 
inherit the same one, and so on.

If I mark the ejb with:
@TransactionAttribute(TransactionAttributeType.MANDATORY)
I will get an exception because there is no transaction.  So am I 
missunderstanding the quore about not needing to care about the transaction, or 
am I missing something in my setup to let the container manage it all for me?

Note: Everything else works in the code as long as I stay in the action.  In 
other words, I get a customer, set the values, and the action returns without 
error as expected.

Before I was using a ServletFilter to manage the hibernate session, but I was 
hoping to get rid of that code.

Any help would be greatly appreciated.

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: sub-process invocation problem

2006-06-06 Thread flawlor
I did a search on your name and looked at dozens of hits and still couldn't 
find the one which addresses this problem.

Cany you give me a link or some keywords?

thanks

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: wstools-config.xml

2006-06-06 Thread cliffb53
Maybe when JBossAS is EJB3.0 ready I'll spend some time looking at that... for 
the time being, I want to stick with proven technologies even if it means 
having to do some manual steps.

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Exception suspending a process

2006-06-06 Thread jorell
I'm not sure if this would help but I thought I would post the code where I am 
suspending the process:


  | public void execute(ExecutionContext executionContext) throws Exception {
  | System.out.print("XPort processing...");
  | executionContext.getProcessInstance().suspend();
  | executionContext.leaveNode();
  | }
  | 

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Scheduler bug

2006-06-06 Thread maksymg
When timer's action tries to end the token it linked to, the scheduler is 
crashed with Hibernate ObjectNotFound exception due to the token ending  
removes all timers. 

I rewrite SchedulerSession to avoid it(not perfect but workable):


  |public void saveTimer(Timer timer) {
  |   try {
  |  // if (session.get(timer.getClass(), timer.getId()) != null)
  |  session.save(timer);
  |   } catch (ObjectNotFoundException e) {
  |  log.debug("timer can't be saved; ignore it");
  |   } catch (Exception e) {
  |  log.error(e);
  |  // jbpmSession.handleException();
  |  throw new JbpmException("couldn't save timer '" + timer
  |+ "' to the database", e);
  |   }
  |}
  | 
  |public Iterator findTimersByDueDate() {
  |   List buffer = new ArrayList();
  |   CollectionUtils.addAll(buffer, super.findTimersByDueDate());
  |   return buffer.iterator();
  |}
  | 
  | 

Should I post it as bug in JIRA?

Maksym

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBoss Forums & JBoss Portal 2.4 Beta 1

2006-06-06 Thread unibrew
Hello
"ThorntonD" wrote : Has anyone tried using JBoss Forums with JBoss Portal 2.4 
Beta 1?  Does it work?
Yes, JBoss Forums are working with JBPortal 2.4 but you must download them from 
CVS.

"ThorntonD" wrote : I also need to be able to link and jump to a specific 
message in the forum.
Now there is only possibility to jump to specific topic. Adding jumping to 
specific message is fairly easy. I will post here when I will do cvs commit 
with this feature.

---
Ryszard Kozmik
JBoss Forums Lead

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: sub-process invocation problem

2006-06-06 Thread hosierdm
If you do a search, including my username, you should see some information on 
this.  I had the same question and got an answer.

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBoss AS 4.04.GA and Portal 2.2.1 deployment

2006-06-06 Thread [EMAIL PROTECTED]
Portal 2.2.1 SP1 has the incompatibility with JBoss 4.0.4GA fixed.
It is available here 
http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=84509

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - sub-process invocation problem

2006-06-06 Thread flawlor
I am trying a simple test of having a process invoke a subprocess.
I'm running into a problem in that when the sub-process is invoked it is 
starting with the second node even though the start node has a task associated 
with it.

That start task ("imple Start Task") never shows up in the tasklist and the 
variables associated with it are never defined.

I am using jBPM 3.1.

Below are the definition of the "SuperSimple" (caller) and "Simple" (callee) 
processes.


  |
  |   
  |
  |
  |   
  |  
  | 
  |  
  |   
  |   
  |
  |
  |
  |   
  |   
  |
  |
  |   
  |  
  | 
  |  
  |   
  |   
  |
  | 
  | 
  | 
  | 
  |
  |   
  |
  |
  |  
  |  
  | 
  | 
  |  
  |   
  |   
  |
  |
  |
  |   
  |  
  | 
  |  
  |   
  |   
  |
  | 

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Specification/deployment of MDB with a JMS topic

2006-06-06 Thread flarosa
Hi,

I've read some tutorials on creating an MDB with a JMS topic, but they all 
mention making specific configuration changes to files outside my EAR, or in 
some cases even making changes through the management consoles.

This won't work well for me because I have many different server installations 
and I want to make EARs that work anywhere they are deployed, even to a 
brand-new server that hasn't been customized.

Is it possible to configure a JMS topic within an EAR, in a way that the server 
will create it when the EAR is deployed? I can do this, for example, with 
ordinary EJBs and with the MDBs themselves by using files like ejb-jar.xml, 
jboss.xml and application.xml.

Thanks,
Frank

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - When in the servlet lifecycle does http session state replic

2006-06-06 Thread hamptont
When in the servlet lifecycle does http session state replication occur when 
clustering http sessions in JBoss ?

Does it occur at the beginning & end of any request ?  Is there some way to 
control when the replication occurs ?

I have a long running operation which changes the http session state.  If the 
server fails-over during this long running request the session data does not 
seem to have been replicated.  The fail-over seems to work correctly the 
browser maintains it's connection and the code continues to execute on another 
server but it looses it's session data.

The following code simulates my problem.  This code just starts & stops a 
countdown that writes to the log.  There is a button to dump the http session 
state to the log.  

Scenario 1: 

1) click start button
2) kill server it is running on  

What I see is the countdown starts decremeting the count writing a message to 
the log every 2 seconds.  Then when the server is killed the second server 
picks up the code no problem and start running it.  But the countdown starts 
back at the initial value.  I was expecting that it would continue where it 
left off on the first server.

Scenario 2:

1) click start button
2) click dump button
3) kill server it is running on

What I see is the countdown starts decremeting the count writing a message to 
the log every 2 seconds.  Then when the server is killed the second server 
picks up the code no problem and start running it.  The coundown does not start 
back at the initial value, but but at the value that was printed in the dump 
step.  I was expecting that it would continue where it left off on the first 
server.

So it seems that the dump request is triggering the http session replication.  
Which leads me to my question, what triggers the replication to occur ? and how 
much control is there over the timing.  It does not seem to matter if I use 
SYNC or ASYNC replicaton as the replication seems to not be triggered.

I expected initially that the session would replicate everytime it was 
modified, but that is clearly not the case.

Thanks in advance for your help.
Tom


<%@ page import="org.apache.commons.logging.Log" %>
  | <%@ page import="org.apache.commons.logging.LogFactory" %>
  | <%@ page import="java.util.Enumeration" %>
  | 
  | <% final Log logger = LogFactory.getLog("JSP Logger"); %>
  | 
  | 
  | Hit the start button to start the countdown.  Hit the stop button to stop 
the countdown.  Hit the dump button to print the http session state.  
  | 
  |   
  | 
  | 
  |   
  | 
  | 
  |   
  | 
  | <%
  | String state = (String)request.getParameter("state");
  | if (state == null) state = "stop";
  | 
  | if (state.equals("dump")) {
  |   Enumeration enm = session.getAttributeNames();
  |   while(enm.hasMoreElements()) {
  | String attr = (String)enm.nextElement();
  | logger.error("*** TEST SessionID=" + session.getId());
  | logger.error("*** TEST Session variable: " + attr + " 
value: " + session.getAttribute(attr));
  |   }
  | } else {
  |   session.setAttribute("state", state);
  |   if (state.equals("start")) {
  | if (session.getAttribute("cnt") == null) {
  |   session.setAttribute("cnt", new Integer(1));
  | }
  | 
  | int i = ((Integer)session.getAttribute("cnt")).intValue();
  | while (i > 0) {
  |   logger.error("*** TEST " + i);
  |   session.setAttribute("cnt", new Integer(--i));
  | 
  |   //Hack seems to make session replicate before end of http request
  |   Enumeration enm = session.getAttributeNames();
  |   while(enm.hasMoreElements()) {
  | String attr = (String)enm.nextElement();
  | session.getAttribute(attr);
  |   }
  | 
  |   Thread.sleep(2000);
  |   if (((String)session.getAttribute("state")).equals("stop")) break;
  | }
  |   }
  | }
  | %>
  | 
  | 

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Does JBoss Seam work with SQL Server 2000?

2006-06-06 Thread mikelarnett
Oh and thanks for the pointers, Gavin and Rorschach.  It got me pointed towards 
the 'work-around' solution.  Unfortunately, I still haven't figured out the 
source of the actual problem.  
-MLA


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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Does JBoss Seam work with SQL Server 2000?

2006-06-06 Thread mikelarnett
So I changed to the jTDS drivers, but I got the same problem.  So then I went 
in and manually just whacked the schema and catalog identifiers from the class 
file, and then reran the ant build file.  Voila, no more problems.  
So what have I learned?  I am not really sure, but here's what is working for 
me:

When using: JBoss 4.0.4 GA (ejb config)
   JBoss Seam 1.0.0CR3
   MS Sql Server 2000
   MS or jTDS JDBC Drivers

1. Follow the basic steps of create java project, create hibernate config, 
create Hibernate reverse engineering code generator. (see the SEAM CRUD Example 
for details)
2. Run the code generator.
3. Follow the readme file up to the point of running the Ant script.  Hold off 
on that.
4. Replace all:
  'import javax.ejb.Interceptors;'
   with 
  'import javax.interceptor.Interceptors;'
5. Replace all:
@In
private transient ResourceBundle resourceBundle;
   with
@In(create = true)
private transient ResourceBundle resourceBundle;
6. Replace all:
   @Table(name = "table_name", schema = "dbo", catalog = "TST_DB", 
uniqueConstraints = {})
with
   @Table(name = "table_name", uniqueConstraints = {})
7. Run the Ant script and startup JBoss 4.0.4 GA.

Hopefully, this helps someone else.  
-MLA


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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: java.lang.LinkageError: loader constraints violated when

2006-06-06 Thread karimrg
Hi, i had a problem like that.  inside my ear i got a .sar and a .jar  at the 
same level.  A class from the .sar called a class contained in the .jar ( a 
LocalHome ).  the section 2.2.2.3 Linkage errors in the server guide was 
helpful.

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: SubProcess Logging

2006-06-06 Thread hosierdm
I just stumbled across the fact that you can call JbpmContext.save(Token).  Is 
this what I need to do in order for a given logging trace for a Token to 
contain details about sub process creation?  I don't have time to try it right 
now, but it would be nice if I could find this out from someone in the know, 
instead of wasting my time later today.  Thanks.

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Embedded Container and TreeCache

2006-06-06 Thread marcioendo
Has anyone managed to install TreeCache in the Embedded Container (or is it 
possible at all)?

I want to do some Unit Testing and one of my SLSB uses TreeCache as an MBean. 

I tried to deploy the TreeCache in the Embedded Stack with the following:


  |
  | 

But I get the following error while trying to bootstrap the 
EJB3StandaloneBootstrap:


  | 19:01:15,464 INFO  [EJB3Container] startup()
  | 19:01:16,174 WARN  [BeanSchemaBinding] You should use the 2.0 version of 
the Microcontainer xml. xmlns='urn:jboss:bean-deployer:2.0'
  | 19:01:16,570 INFO  [LocalTxDataSource] Bound datasource to JNDI name 
'java:/DefaultDS'
  | 19:01:16,575 INFO  [LocalTxDataSource] Bound datasource to JNDI name 
'java:/RosysDS'
  | 19:01:16,741 WARN  [TreeCache] No transaction manager lookup class has been 
defined. Transactions cannot be used
  | 19:01:16,776 INFO  [InterceptorChainFactory] interceptor chain is:
  | class org.jboss.cache.interceptors.CallInterceptor
  | class org.jboss.cache.interceptors.PessimisticLockInterceptor
  | class org.jboss.cache.interceptors.UnlockInterceptor
  | class org.jboss.cache.interceptors.TxInterceptor
  | class org.jboss.cache.interceptors.CacheMgmtInterceptor
  | 19:01:16,833 INFO  [TreeCache] TreeCache: Not using an EvictionPolicy
  | 19:01:16,833 INFO  [TreeCache] cache mode is local, will not create the 
channel
  | 19:01:16,858 ERROR [AbstractKernelController] Error installing to Start: 
name=jboss.cache:service=TreeCache state=Create
  | javax.management.InstanceNotFoundException: 
jboss.system:service=ServiceController
  | at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
  | at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:804)
  | at 
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
  | at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:194)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
  | at 
org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:107)
  | at 
org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextActions.dispatchJoinPoint(KernelControllerContextActions.java:100)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextActions$LifecycleAction.installAction(KernelControllerContextActions.java:582)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:175)
  | at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593)
  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151)
  | at 
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:291)
  | at 
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:261)
  | at 
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:117)
  | at 
org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:95)
  | at 
org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:333)
  | at br.com.riskoffice.ejb3.EJB3Container.startup(EJB3Container.java:48)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:552)
  | at 
org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:318)
  |  

[JBoss-user] [JBoss jBPM] - Workflow State Information

2006-06-06 Thread arshadnj
We would like to design and implement our order management system as a workflow 
using JBPM. 

An ?Order? goes through various states like  ?submitted?, ?approved?, 
?executed? and ?archived?. 
In the object world, we do have an ?Order? object with an attribute called 
?OrderStatus? to represent this ?Order? status.

In the workflow world, this is realized as workflow states and workflow 
transition to next state based on various factors.

Now my design issues is how should I model the ?OrderStatus? attribute? If I 
model this as part of the Order object, it is very much possible that some can 
potentially update this ?Order Status? for an ?Order?, which will make the 
workflow status out of synch with ?Order?. 

Can I make this as part of the workflow? If it is possible to associate this 
with workflow (as process variable?) then do I need to query the workflow to 
get the status of the order? Or can I just join this at database level?

Thanks,
Arshad

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Service descriptor in an ear file

2006-06-06 Thread ofrijole
I have some unusual requirement where I need a service to be initialized after 
the deployment of some session beans.  I've written the service as a JMX bean 
and I'd like it to be triggered upon the deployment of the ear file containing 
my beans.  I can manually get things to work by first deploying my .ear then 
copying the -service.xml to the deploy directory.  Any way to package the 
-service.xml into my .ear to get this to work automatically?

I've tried putting it in the root of the .ear and also in META-INF but neither 
approach seems to work (i.e. nothing happens).  I am using JBoss AS 4.0.4.

Thanks!

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - JBPM Scalability

2006-06-06 Thread arshadnj
I just ran a test on the sample (reference) web application provided by the 
jbpm-starters-kit-3.1.1. The test was to create an order using 'Cookie monster' 
login, later I traced the generated SQL statements. What I founds was around 
40+ insert statements for the following JBPM tables JBPM_VARIABLEINSTANCE, 
JBPM_TOKENVARIABLEMAP, JBPM_SWIMLANEINSTANCE, JBPM_TIMER, JBPM_TASKINSTANCE, 
JBPM_LOG, JBPM_MODULEINSTANCE

I am wondering did I miss something or is this the expected behavior? It is 
very expensive for my application, which is more complex than the sample 
application provided JBPM to handle 40+ insert statement + another set of 
update statements for each of the major transaction of the system.

Can you please clarify this? Is there a way I can optimise this?

Thanks,
Arshad

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: How to Deploy my process?

2006-06-06 Thread hosierdm
Try opening your process and looking for a Deployment tab along with the 
Design, Source, etc. tabs.

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - DataModel Serialization Error?

2006-06-06 Thread chane
I am getting this error with my component.  Is this a problem?

17:29:52,296 ERROR [DebugUtils] javax.faces.FacesException: Could not get 
property serializableDataModel of component f1:items

Where f1 is a form tag and items refers to a @DataModel property:


  | @Name("bo.sale.editor")
  | @Stateful
  | @LoggedIn
  | public class SaleEditor implements ISaleEditor{
  |
  |public Sale sale;
  | 
  |@DataModel
  |private List items;
  |
  |@DataModelSelection
  |private Item item;
  | 
  |  
  | 

I'm using:
Seam - CVS 5/25/2006
MyFaces - 1.1.2
Jboss - 404GA

Thanks,
Chris

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Can not use field from subclass as joincolumn

2006-06-06 Thread chornsey
I have a parent class as follows:

@Entity
@Table(name = "Parent")
public class Parent{
private Set PropertyAsset = new HashSet ();
private Set FinancialAsset = new HashSet ();

@OneToMany(cascade=CascadeType.REFRESH, fetch=FetchType.EAGER, 
mappedBy="parent")   
public Set getPropertyAssets() {return this.PropertyAssets;}
public void setPropertyAssets(Set PropertyAssets) {this.PropertyAssets 
= PropertyAssets;}   

@OneToMany(cascade=CascadeType.REFRESH, fetch=FetchType.EAGER, 
mappedBy="parent")   
public Set getFinancialAsset() {return this.FinancialAsset;}
public void setFinancialAsset(Set PropertyAssets) {this.FinancialAsset 
= FinancialAsset;}   
}

Since both FinancialAsset and PropertyAssets have the parent attribute these 
classes both extend from a base class named BaseAsset

@Entity
@Inheritance(strategy=InheritanceType.JOINED )
@Table(name = "TBLASSET") 
public abstract class BaseAsset extends{
private Parent parent = null;

@ManyToOne(targetEntity=Parent.class)
@JoinColumn(name="PARENTID")
public Parent getParent() {return parent;}
public void setParent(Parent parent){this.parent = parent;} 

other attributes mapped to table
}

The FinancialAsset and PropertyAsset classes have their own table attribute for 
their class specific attributes.
They both extend tbl Asset class.

When Jboss attempts to load the Parent class it raises an error that it can not 
find the field IREPORTID in tblFinancialAsset.
I have no idea why it always trys to join from the most specific table rather 
than the most generic, but it does.

How would I map this so that I can keep my current class structure?


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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: AJP, Apache, Tomcat SSL question

2006-06-06 Thread jiwils
"acxsjones" wrote : Any help?

Given this verbage on the Tomcat AJP connector configuration site for the 
aforementioned attribute, I would guess that this redirect just allows for 
conversion to HTTPS.  I have used the same security constraint to require the 
redirect of HTTP traffic to HTTPS.

anonymous wrote : If this Connector is supporting non-SSL requests, and a 
request is received for which a matching  requires SSL 
transport, Catalina will automatically redirect the request to the port number 
specified here.

So, to answer your question, the redirect attribute has nothing to do with AJP 
per se.  Given that, I would assume that there is no AJP+SSL "out of the box".

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Schedule improvements

2006-06-06 Thread maksymg
Hi All,

The current schedule processes all due timers in a single transaction. As 
result, it rollbacks all timers' work due to an exception in one of the timers. 
It's a problem:
- when you work with nontransactional resources as file system.
- if you have long lasting transaction, the total length of transaction 
processing can extend transaction timeout easily. 

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Using Velocity or XSLT Templates in Seam

2006-06-06 Thread sbryzak2
The path to the file containing your Velocity template.  So for example, if 
you're storing your templates in the WEB-INF directory and they have a 
.template extension, your getResourceStream() method would look like this:


  | public InputStream getResourceStream(String source)
  | throws ResourceNotFoundException
  | {
  |   return getClass().getResourceAsStream(
  | String.format("/WEB-INF/%s.template", source));
  | }
  | 

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Monitoring problem with websale demo

2006-06-06 Thread ypritzke
I have switch the database for the websale example to the postgres database. 
Everything works accept that I do not see any process pictures anymore and 
Monitoring does not work. It shows the following error on the screen: Error for 
process instance  
Any help will be appreciated

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBoss AS 4.04.GA and Portal 2.2.1 deployment

2006-06-06 Thread go2mmusa
"jatsrt" wrote : Ignore me, I now see that SP1 is available and looks to solve 
the problem. Sorry for wasting time.

we are trying to upgrade to Jboss 4.0.4 and getting the same error. You said it 
is fixed in SP1. what SP1?? Please let me know which version was has fix

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss/Spring Integration] - Re: Spring and EJB3 EntityManager

2006-06-06 Thread alesj
This is what first comes to my mind:


  | @Stateless
  | public class myBean implements myBeanLocal {
  |   
  |   @PersistenceContext(unitName = "MM")
  |   private EntityManager em;
  | 
  |   @Spring(jndiName = "mm", bean="myDao")
  |   private MyDao myDao;
  | 
  |   @AroundInvoke
  |   public Object injectEM2DAO(InvocationContext c) {
  | myDAO.setEM(em);
  | return c.proceed();
  |   }
  | 
  |   public void createSome() {
  | myDao.save(someObject);
  |   }
  | 
  | }
  | 

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss/Spring Integration] - Spring and EJB3 EntityManager

2006-06-06 Thread jaboj
HI

In a normal stateless session bean, the entitymanager is injected like this: 


  |   @PersistenceContext(unitName = "MM")
  |   private EntityManager em;
  | 

Is it possible to wire up the entitymanager with SPRING. Ex. I would like to 
get some DAO's injected into my stateless session bean, which automatically has 
been initialized with an entitymanager by the spring framework.

Ex. how to wire up this bean in spring:


  | public class MyDao {
  |   private EntityManager em;
  | 
  |   public void setEntityManager(EntityManager em) {
  | this.em = em;
  |   }
  | }
  | 

When it is wired up it should be possible to inject it into a stateless bean:


  | @Stateless
  | public class myBean implements myBeanLocal {
  |   @Spring(jndiName = "mm", bean="myDao")
  |   private MyDao myDao;
  | 
  |   public void createSome() {
  | myDao.save(someObject);
  |   }
  | }
  | 
  | Does anyone have an example for this trick on JBOSS 4.0.4GA
  | 
  | I have no problems wiring up POJO's but it seems to be more difficult to 
define the entitymanager in the spring xml file.
  | 

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: AJP, Apache, Tomcat SSL question

2006-06-06 Thread acxsjones
Any help?

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Page disappear after som time

2006-06-06 Thread patrickdalla
I was debugging JBoss Portal 2.2 source code to solve my problem and I find 
some Exception that occur in RenderPageCommand.execute() method.

org.jboss.util.NestedSQLException: Transaction is not active: 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=centauro.sjes.gov.br/1098, 
BranchQual=, localId=1098]; - nested throwable: 
(javax.resource.ResourceException: Transaction is not active: 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=centauro.sjes.gov.br/1098, 
BranchQual=, localId=1098])

I've seen the following forum
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939176

And it looks that the cause can be some Transaction that is not ended 
gracefully after a Portal Request.

The exception isn't logged. It is simply ignored so the page is not rendered 
successfully.

Can it be the problem?

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: data source is null

2006-06-06 Thread edross15057

  | 
  |   
  |   
  | 


sorry - the xml caused only part to post

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: JBoss/Firebird Integration

2006-06-06 Thread [EMAIL PROTECTED]
Sorry, misread the post. Please ignore last comment.


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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: data source is null

2006-06-06 Thread edross15057
oops the context.xml didn't fit in the last post






  
  


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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: JBoss/Firebird Integration

2006-06-06 Thread [EMAIL PROTECTED]
Have you tried using the FireBird JDBC driver versus using the JCA adapter?



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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: data source is null

2006-06-06 Thread edross15057
postgresql-ds.xml




jdbc/GiftDevel

jdbc:postgresql://localhost:5432
gift
edross

 5
   20
   0

org.postgresql.Driver
 





/gift
java:/jaas/gift-web

   
jdbc/GiftDevel
javax.sql.DataSource
jdbc/GiftDevel


   



from web.xml

 
jdbc/GiftDevel
javax.sql.DataSource
Container
 


context.xml 



  
  





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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: New Context Naming in Portal 2.2

2006-06-06 Thread rsfeir
 Anyone care to answer this?  We have the same problem.  In fact, I can't 
modify the context-root and still get it to work without having 
/portal/portal/eric.  We have sites that link to us externally to specific 
pages based on how things worked in 2.0, and with this change that will break 
everyone's links short of us putting a ton of redirect pages.

What's the easiest way to get /portal/eric in our case?

Thanks again

R

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: How to Deploy my process?

2006-06-06 Thread flawlor
In the 1.6 IDE there is no longer a .par extension on the process defintion 
folders (and they are now in process, not src/process).  There is also no 
longer a "Deploy Process Archive" option on the menu.

How do you deploy a process definition in 1.6?

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: data source is null

2006-06-06 Thread [EMAIL PROTECTED]
The jar file should be in your /lib and nowhere else. 

Could you post the *-ds.xml file, web.xml, etc. Also, please post context.xml



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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: JBOSS full SSL with Cisco CSM SSL module

2006-06-06 Thread laurarami
"laurarami" wrote : 
  | Running ECM software.  ECM application engine software pushes https back to 
http.  FileNet documentation says to setup keystore.  We do not want to use 
keystore because we have a csm ssl module (less administrative work).
  | 

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: How to deploy Connector in Embedded JBoss

2006-06-06 Thread [EMAIL PROTECTED]
JCA adapters cannot run in a context divorced from the application server. You 
mention 'embedded' in the subject line of your post. Is this truly what you are 
trying to do, use EJB3? Or are you running inside of JBoss?






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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - data source is null

2006-06-06 Thread edross15057
I'm trying to configure a datasource for jboss and the tomcat web container.

My problem is I'm allways getting a null when I do a ctx.lookup.

I've added a postgres-ds.xml in the deploy directory
I've added a jboss-web.xml in webapp/WEB-INF
I've added a reference in the web.xml
I've added a context.xml in the WEB_INF/META-INF
I've copied the driver jar to about every directory in the world

I've read about everything I can think of and still get a null datasource in a 
sample startup app.

code snip
public void init() {
try{
Context ctx = new InitialContext();

if (ctx == null)
throw new Exception("Opps - No Context");
System.out.println("CTX Name in space 
"+ctx.getNameInNamespace());
Object obj = ctx.lookup("java:/jdbc/GiftDevel");
Context context = (Context)ctx.lookup("java:");

DataSource ds = (DataSource) 
context.lookup("java:/jdbc/GiftDevel");
if(ds != null){
System.out.println(" ds is not null ");
}

I don't get lookup errors - just nulls.


The logs all state the daasource is bound to java:jdbc/GifgDevel

setting property: ConnectionURL to value jdbc:postgresql://localhost:5432
2006-06-06 15:45:09,234 DEBUG 
[org.jboss.resource.connectionmanager.RARDeployment] set property ConnectionURL 
to value jdbc:postgresql://localhost:5432
2006-06-06 15:45:09,234 DEBUG 
[org.jboss.resource.connectionmanager.RARDeployment] setting property: 
DriverClass to value org.postgresql.Driver
2006-06-06 15:45:09,234 DEBUG 
[org.jboss.resource.connectionmanager.RARDeployment] set property DriverClass 
to value org.postgresql.Driver
2006-06-06 15:45:09,234 DEBUG 
[org.jboss.resource.connectionmanager.RARDeployment] setting property: UserName 
to value edross
2006-06-06 15:45:09,234 DEBUG 
[org.jboss.resource.connectionmanager.RARDeployment] set property UserName to 
value edross
2006-06-06 15:45:09,234 DEBUG 
[org.jboss.resource.connectionmanager.RARDeployment] setting property: Password 
to value 
2006-06-06 15:45:09,234 DEBUG 
[org.jboss.resource.connectionmanager.RARDeployment] set property Password to 
value x
2006-06-06 15:45:09,234 DEBUG 
[org.jboss.resource.connectionmanager.RARDeployment] Not setting config 
property 'TrackStatements'
2006-06-06 15:45:09,234 DEBUG 
[org.jboss.resource.connectionmanager.RARDeployment] setting property: 
ConnectionProperties to value DatabaseName=gift
2006-06-06 15:45:09,234 DEBUG 
[org.jboss.resource.connectionmanager.RARDeployment] set property 
ConnectionProperties to value DatabaseName=gift
2006-06-06 15:45:09,234 DEBUG 
[org.jboss.resource.connectionmanager.RARDeployment] Started 
jboss.jca:service=ManagedConnectionFactory,name=jdbc/GiftDevel
2006-06-06 15:45:09,234 DEBUG [org.jboss.system.ServiceController] Starting 
dependent components for: 
jboss.jca:service=ManagedConnectionFactory,name=jdbc/GiftDevel dependent 
components: [ObjectName: 
jboss.jca:service=ManagedConnectionPool,name=jdbc/GiftDevel


Everything seems to work but my application.

I've tried about a billion different configurations, and all are the same

Jboss 4.0.3SP1

Anyone??

thx




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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: configuring Oracle's connection pool

2006-06-06 Thread [EMAIL PROTECTED]
Can you provide the link to the JIRA task associated with the 'leak' in 3.2.5? 

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: StatefulSessionBean.someMethod returns Entity, other the

2006-06-06 Thread bdecoste
The Entity1 object is being serialized - there should be a JBoss specific 
optimization via a client side interceptor to detect whether the client and 
session bean are in the same VM to avoid to serialization overhead. I've opened 
a JIRA task for this. Calls to remote interfaces cause the serialization - 
calls to a local interface will not serialize the params and will results in == 
Entity1 objects.

http://jira.jboss.com/jira/browse/EJBTHREE-618

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: Connecting from one server to other

2006-06-06 Thread Niki600
What about next situation?
I have made an .ear and I want to run client application on the one machine and 
the JBoss AS on the another.
My client machine is called ubuntu with address 192.168.0.4
and laptop on which I want to run JBoss AS has an address 192.168.0.5
Also on the laptop I have installed Postgres server.
I know that I have to set up jndi.properties which must point on the IP address 
of the machine where exists JBoss AS.But how to force JBoss AS to not listen on 
the localhost address and to listen on the ethernet address in my case
is 192.168.0.5.How to set up /etc/hosts ?
If someone could help me I would be gratefull.


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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: New jBPM Getting Started Documentation

2006-06-06 Thread flawlor
In addition to the changes to the tree structure (src/process is just process) 
the process definitions no longer have a .par extention.  There is also no 
longer any "Deploy Process Archive" option. 

 How do you deploy a process defintion?

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: can anyone help me?

2006-06-06 Thread [EMAIL PROTECTED]
Please remember that with web services the client and the server are 
fundamentally disconnected. There are server side issues and client side issues 
- DO NOT MIX the two.

In other words, if you setup an ejb3 endpoint using jsr181 any client that 
adhers to the abstract contract in wsdl can talk to that endpoint.

If you want to implement a WS client using JBossWS (to what server impl it 
talks to does not matter) you use wstools to generate the WS4EE required 
artifacts from wsdl. The artifacts are

- Service Endpoint Interface (SEI)
- [User Types]
- [User Exceptions]
- jaxrpc-mapping.xml

The standard JAXRPC ServiceFactory does not have an API that takes 
jaxrpc-mapping.xml into account. That is a flaw in the spec that has been 
addressed with preconfigured stubs that can be obtained from JNDI. 
Alternatively you use the JBossWS propriatary API to point to the CLIENT SIDE 
REQUIRED jaxrpc-mapping.xml.

Please make sure, you understand J2EE application clilents i.e. the benefit of 
runing your client app on a tiny jboss instance. 

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

Most folks that have issues with WS clients do not understand the WS4EE client 
side programming model or don't realize that jaxrpc-mapping.xml is needed to 
bridge the gap between wsdl and java.

Other stacks do java reflection (i.e. guesswork that ignors the abstract 
contract) or have another propriatary way to bridge that gap.


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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Oracle DS

2006-06-06 Thread [EMAIL PROTECTED]
Oracle version? 
JBoss version?
Did you deploy the oracle driver? 


These are the things we need to know.


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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: please help me for the error of

2006-06-06 Thread [EMAIL PROTECTED]
Did you specify to pad the XID in the Transaction Service? This is clearly 
outlined in the Wiki. 

Please see your jboss-service.xml file and look for


  
   

The 'Pad' attribute should be uncommented for Oracle XA deployments.



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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - JBoss AS address binding

2006-06-06 Thread Niki600
I have made an .ear and I want to run client application on the one machine and 
the JBoss AS on the another.
My client machine is called ubuntu with address 192.168.0.4
and laptop on which I want to run JBoss AS has an address 192.168.0.5
Also on the laptop I have installed Postgres server.
I know that I have to set up jndi.properties which must point on the IP address 
of the machine where exists JBoss AS.But how to force JBoss AS to not listen on 
the localhost address and to listen on the ethernet address in my case
is 192.168.0.5.How to set up /etc/hosts ?
If someone could help me I would be gratefull.


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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: seam managed hibernate session

2006-06-06 Thread [EMAIL PROTECTED]
Show me the rest of the stack trace.

Also note that you must use:

@In(create=true) Session mySession;

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

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


___
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.4 not closing SessionFactory? Redeploy fails

2006-06-06 Thread Duffcase
Thanks for your reply.

I ended up rewriting the sessionfactory to a mbean instead, and configured the 
postgresql db connection as a datasource in jboss. 

Now jboss handles the sessionFactory instead of the application, and the 
redeployment works as expected. 

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - seam managed hibernate session

2006-06-06 Thread tanghh12345
I got the following exception when I tried to deploy hibernate example in 
jboss-seam-1.0.0CR3 to Jboss 4.0.4 GA, any idea?

I tried to figure out how to use Seam Managed hibernate session, I followed the 
reference manual (7.5.2) but @In Session mySession,  the session is always null 
(not injected),  when I look at the deployed seam components, there is 
ManagedHiberateSession called mySession, please help.  Thanks.




11:56:48,265 INFO  [TomcatDeployer] deploy, ctxPath=/seam-hibernate, warUrl=.../
tmp/deploy/tmp33714jboss-seam-hibernate-exp.war/
11:56:48,468 ERROR [Digester] End event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tomcat.util.IntrospectionUtils.callMethodN(IntrospectionUt
ils.java:929)
at org.apache.tomcat.util.digester.CallMethodRule.end(CallMethodRule.jav
a:578)
at org.apache.tomcat.util.digester.Rule.end(Rule.java:228)
at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:105
7)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour
ce)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
at org.apache.catalina.startup.ContextConfig.applicationWebConfig(Contex
tConfig.java:351)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:10
34)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
g.java:260)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
119)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
9)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: error when declaringWebMethod that throws an Exception

2006-06-06 Thread [EMAIL PROTECTED]
http://labs.jboss.com/portal/jbossws/user-guide/en/html/exceptions.html

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EJB3 & WebSphere - newbie question

2006-06-06 Thread [EMAIL PROTECTED]
Currently, this has not been tested largely due to IBM late release of 
WebSphere JDK 1.5 enabled. Once this happens, we will give this task coverage. 


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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Does JBoss Seam work with SQL Server 2000?

2006-06-06 Thread Rorschach
We had issues using the Microsoft drivers as well.  I recommend switching to 
the JTDS open source driver.

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: wstools-config.xml

2006-06-06 Thread [EMAIL PROTECTED]
webservices.xml supports multiple service endpoints. You have to merge the 
wstools generated webservices.xml files manully.

BTW, wscompile does not generate webservices.xml at all.

Why not use JSR181 endpoints and get rid of all those offline tools generation 
issue all together?

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: setup for jbpm logging

2006-06-06 Thread wrschneider99
I seem to have answered my own question.
If I call context.save(processInstance) explicitly, the logs get saved.
Otherwise, everything else seems to work but the logs don't get written.

Wonder why this is?


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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: The JBoss jBPM console web application

2006-06-06 Thread kbarfield
JBoss jBPM provides a sample web app that has console functions.  If you have 
deployed this app with jBPM, then you can access it like any other web 
deployment from the application server.  This also means that if the 
application server is not running, the web app will not run.  If you have 
embedded jBPM into another application and do not want to run the sample web 
app, then you will need to create your own web app for administration of jBPM.  
(This is also how you would have a console that could access the DB without 
jBPM running).

Kevin

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - rmi + ssl + tokens

2006-06-06 Thread pchojniak
Hello
I found problem with making rmi over ssl with smartcard on Jboss4.0.3sp1, when 
I try to set keyStoreUrl attribute as NONE I'am getting exception. Dose it 
exists any way to force Jboss to work with smartcard?

I have configured PKCS11 properly -> client getting smartcard certificate works 
fine on same machine.

jboss-service.xml

  | 
  | 
  | 
  | 
  | 
  | NONE
  | PKCS11
  | smartcardpin
  | 
  | 
  | 
  | 14445
  | 
  | org.jboss.security.ssl.RMISSLClientSocketFactory
  | 
  | 
  | org.jboss.security.ssl.RMISSLServerSocketFactory
  | 
  | java:/jaas/RMI+SSL
  | 
jboss.security:service=JaasSecurityDomain,domain=RMI+SSL
  | 
  | 
  | 

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: I get the following Exception when i run JBOSS with web

2006-06-06 Thread [EMAIL PROTECTED]
jbossws runs on jboss-4.0.4 and above

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

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Upgrading to 4.0.4 No Minimal or All?

2006-06-06 Thread AndrewBoyd
Hi All,
  I'm trying to upgrading from 3.2.6 to 4.0.4.  After I installed (via web 
start) it seems to only have installed the default server configuration as 
apposed to having the minimal and all configurations as well.  I did select 
"all" during the installation wizard.  

Although the default does have more in it now than in my 3.2.6 version.

Also are there any good documents on migrating from a 3.2.x to a 4.0.x

Thanks,

Andrew

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - EJB3 & WebSphere - newbie question

2006-06-06 Thread dupra
Hi I'm interested in using EJB3, but I'm restricted to working in the WebSphere 
application server.  The documentation for embeddable EJB3 says it can run in 
non-jboss app servers. Has anyone tried this in WebSphere? 

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: ProxyContext is not visible from class loader

2006-06-06 Thread [EMAIL PROTECTED]
This is probably not a WS issue. Rather it is related to classloading. 

What jboss version is this? How did you install it?

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Using Velocity or XSLT Templates in Seam

2006-06-06 Thread dhinojosa
and what shall I put in getResourceAsStream() ?

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: The JBoss jBPM console web application

2006-06-06 Thread jbpm_new_user
Thanks for the reply.

My jbpm server is running as part of another app (which itself is a standalone 
java app). How do I access it then? what port number should I use? Can this be 
specified somewhere in any configuration file?

Another qs : The console web application connects to the jbpm server, right? 
So, this means that it will be up only when the server is up? Is there any way 
it can directly connect to the database?

Thanks!


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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Servlet 2.5

2006-06-06 Thread sander_s
*kick*

There must be someone from JBoss reading these posts  ?

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - Re: The @Current annotation

2006-06-06 Thread [EMAIL PROTECTED]
>From base-aop.xml


  |
  |   
  |
  | 

So, basically if you annotate a field of type Transaction w/ @Current and you 
are running a load-/compiletime woven application in jboss you get the current 
Tx injected into your class. Unless you actually want to manage the Tx yourself 
though, I'd suggest you use the @Tx annotation instead for "CMT" in your POJOs

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: action and variables

2006-06-06 Thread pedrosacosta
I also have a third question:

3 - If i have a variable with access of read, how can i set a value to that 
variable? The variable isn't read-only? 

Thanks,
Pedro

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Any configuration for caching of jsp's?

2006-06-06 Thread Tyler Black
Hi, all.

Echoing the problem discussed in this topic: 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=64995 caching of 
generated .java and .class files for .jsp's is unreliable.  When changes to jsp 
pages are minimal, there can be no guarantee whether or not the changes will 
flush the old pages in the cache.

Manually deleting the corresponding generated files in the /work directory is 
undesirable, and should not be necessary.  Is there any configuration available 
for the "sensitivity" of the working directory?  What is the mechanism that is 
used to determine whether a source page has changed or not?

Thank you

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - LAN cluster with WAN for geographical failover

2006-06-06 Thread kpandey
Hi
 I'm looking into the JBoss clustering to achive both scalability in LAN 
setting and inclusion of a node in WAN in case of geographical failover.

Here's the setting I'm thinking about -

LAN clusters in location A doing IP Multicast which will be the primary 
servers. Add a node in location B to this cluster with TCP over WAN.

I had few questions ?
1. Are there real world deployment in this configurations? In other words has 
Jboss clustering been used to achieve geographical failovers?

If answer to 1 is yes then

2. Is it possible to run the node in location B in lower priority so that nodes 
in location A will always have higher priority. In this case location B node 
will only be activated in case of site failure of location A.


Thanks
Kumar Pandey

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - info jboss tutorial

2006-06-06 Thread fabdib
Hi to everyone,
i'm newbie of jbpm tecnology, so i want to find a simply example of a web 
application that using jbpm workflow (with source code explaned), because the 
example on the guide is refered to a junit project, then i want to use jsp, 
servlet and javabean.
Can you help me?

Another question is: which framework is good to integrate jbpm in a web 
application? (jsf, struts, etc.)

Please send me if is possible, link to site or book or everything on jbpm.

thanxs in advance,
Fabio. 

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - jboss and oracleAS SSO

2006-06-06 Thread gengishskan
i have to develop and deploy a servlet, jsp, javabean (ejb later) application 
in a jboss enviroment where there is an Oracle Internet Directory with Single 
Sign-On. 
My application must to be authenticated with this OID e after let the user 
navigates in her pages. how i can configure jboss enviroment in order to let 
development easy and trasparent about OID management and authentication?
thanks in advance
gengish

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - how do you control when sessions are swept away?

2006-06-06 Thread zzztimbo
using SessionMonitor.getSessions(), i can see that there has been a session 
alive since Saturday, which is about 3 days. 

how do i control how long sessions last before they are garbage collected? 




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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: info jboss tutorial

2006-06-06 Thread kbarfield
Please take a look at the getting started wiki:

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

This goes through creating a process and deploying it to the sample web 
application.  The sample web application source code is available as an 
example.  

You can use any technologies to create your web application, just use the API 
calls into jBPM to interact with your processes.

Kevin

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: org.jboss.web.tomcat.security.FormAuthenticator.matchReq

2006-06-06 Thread j2ee_junkie
I updated our version of this Authenticator.
http://viewcvs.forge.jboss.com/cgi-bin/viewcvs.cgi/*checkout*/jboss-tomcat/src/main/org/jboss/web/tomcat/security/ExtendedFormAuthenticator.java?rev=1.6

enjoy, cgriffith

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Upgrading to 4.0.4 No Minimal or All?

2006-06-06 Thread AndrewBoyd
Thanks Peter.

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Error running Duke's Bank Client Application

2006-06-06 Thread regdee
I am getting a NamedNotFoundException when I try to run standalone client of 
the Duke's Bank Application.  The web client application works as expected.  
JBoss version 4.0.2.

Thanks in advance.

anonymous wrote : Buildfile: C:\Dev\j2eetutorial14\examples\bank\jboss-build.xml
  | run-client:
  |  [echo] 
C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-antlr.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-apache-bcel.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-apache-bsf.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-apache-log4j.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-apache-oro.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-apache-regexp.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-apache-resolver.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-commons-logging.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-commons-net.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-icontract.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-jai.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-javamail.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-jdepend.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-jmf.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-
 
jsch.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-junit.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-launcher.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-netrexx.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-nodeps.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-starteam.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-stylebook.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-swing.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-trax.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-vaj.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-weblogic.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-xalan1.jar;C:\eclipse\plugins\org.apache.ant_1.6.5\lib\ant-xslp.jar;C:\eclipse\configuration\org.eclipse.osgi\bundles\6\1\.cp\lib\remoteAnt.jar;C:\Program
 
Files\Java\jdk1.5.0_06\lib\tools.jar;C:\eclipse\plugins\org.eclipse.swt.win32.win32.x86_3.1.2.jar
  |  [java] log4j:WARN No appenders could be found for logger 
(org.jnp.interfaces.NamingContext).
  |  [java] log4j:WARN Please initialize the log4j system properly.
  |  [java] javax.naming.NameNotFoundException: bank-client
  |  [java] at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:223)
  |  [java] at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:134)
  |  [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |  [java] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |  [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |  [java] at java.lang.reflect.Method.invoke(Method.java:324)
  |  [java] at 
org.jboss.ha.framework.server.HARMIServerImpl.invoke(HARMIServerImpl.java:194)
  |  [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |  [java] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |  [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |  [java] at java.lang.reflect.Method.invoke(Method.java:324)
  |  [java] at 
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
  |  [java] at sun.rmi.transport.Transport$1.run(Transport.java:148)
  |  [java] at java.security.AccessController.doPrivileged(Native Method)
  |  [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
  |  [java] at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
  |  [java] at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
  |  [java] at java.lang.Thread.run(Thread.java:534)
  |  [java] at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
  |  [java] at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown 
Source)
  |  [java] at sun.rmi.server.UnicastRef.invoke(Unknown Source)
  |  [java] at 
org.jboss.ha.framework.server.HARMIServerImpl_Stub.invoke(Unknown Source)
  |  [java] at 
org.jboss.ha.framework.interfaces.HARMIClient.invokeRemote(HARMIClient.java:127)
  |  [java] at 
org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:196)
  |  [java] at $Proxy1.lookup(Unknown Source)
  |  [java] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
  |  [java] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
  |  [java] at javax.naming.InitialContext.lookup(Unknown Source)
  |  [java] at 
org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:114)
  |  [java] at $Proxy0.lookup(Unknown Source)
  |  [java] at javax.naming.InitialContext.lookup

[JBoss-user] [JBoss jBPM] - setup for jbpm logging

2006-06-06 Thread wrschneider99
My jbpm_log table is empty for some reason.  

I have the  set up in jbpm.cfg.xml.

My process definition is super-simple copied from the hello-world example in 
the docs.

Any ideas what I'm doing wrong?


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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   3   >