[JBoss-user] [EJB 3.0] - ejb3 session bean and JNDI problem.

2005-11-29 Thread xubin
I write a EJB3 session bean, it run in a JBOSS4.0.3SP1 server.
and i write a client to test the EJB3 session bean, the client is run in another
 JVM.

here is my client

public class JNDITest {

public JNDITest() {
super();
// TODO Auto-generated constructor stub
}

/**
 * @param args
 */
public static void main(String[] args) {
Properties env = new Properties();
env.setProperty(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
env.setProperty(Context.URL_PKG_PREFIXES, 
"org.jboss.naming:org.jnp.interface");
env.setProperty(Context.PROVIDER_URL, "jnp://xbw:1099");
try {
Context ctx = new InitialContext(env);
com.xubin.jnditest.ejb3.JNDITest testbean = 
(com.xubin.jnditest.ejb3.JNDITest)ctx.lookup(com.xubin.jnditest.ejb3.JNDITest.class.getName());
System.out.println(testbean.getInfo());  

 } catch (NamingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}



}

}


and here is my ejb3

package com.xubin.jnditest.ejb3;

import javax.ejb.Stateless;
import com.xubin.jnditest.ejb3.JNDITest;

public @Stateless class JNDITestBean implements JNDITest {

public String getInfo() {
return "Just a test";
}

}



when I run my client, it's all right, "Just a test" is printed on console.
But, in server side, an error is raise:
15:32:09,515 ERROR [ServerThread] failed
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source)
at 
java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.refill(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.read(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.readByte(Unknown 
Source)
at java.io.ObjectInputStream.readByte(Unknown Source)
at 
org.jboss.remoting.transport.socket.ServerSocketWrapper.checkConnection(ServerSocketWrapper.java:54)
at 
org.jboss.remoting.transport.socket.ServerThread.acknowledge(ServerThread.java:217)
at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:298)
at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:169)


Can anyone tell me why? Please give me a hand!



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Confirm Proper Way to Deploy Dependent Jar Files in EAR

2005-11-29 Thread jtorres
Hello.  I'm using JBoss 4.0.3SP1 and would like to determine the correct way 
(preferrably J2EE compliant) to bundle dependent jar files within an EAR file.  
I've checked the forum, but did not find the answer.  

Specifically, I have an EJB jar file that has dependencies on 3-rd party jars.

Is modifying the application.xml file within the EAR and using 
my-3rd-party.jar 

correct?  Thanks in advance!

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: change of subclasse causes error

2005-11-29 Thread [EMAIL PROTECTED]
i agree, but the problem is not creating the right subclasse in java (done by 
copying every attribute and/or using a special constructor).

Suppose baseclasse X and subclasse A and B. 

I have a persistent object A, i create an object B with the SAME ID in A.

The problem is that i can not persist object B without deleting A first.

If i delete A and persist B in 1 transaction on what moment is the consistency 
checked by the application server (at the moment of delete of A or at the end 
of the transaction ?)



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Problem configuring mod_jk with Apache 1.3.33 & JBOSS 3.

2005-11-29 Thread [EMAIL PROTECTED]
If my memory serves me right, 3.2.5 is not using tomcat5.0. So it is in a 
slight different directory. But you still search for useJK flag in xml files.

-Ben

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Performance problem with mapping -

2005-11-29 Thread markbrazil
"epbernard" wrote : fetch=LAZY


Finally now in a position to test this LAZY option.

I have the following 

Neps - OneToOne mapping to bale

bale - ManyToOne mapping to module

LAZY fetch turned on for neps to bale and bale to neps

EAGER fetch turned on for bale to module and module to bale 

(also tried  
LAZY  fetch turned on for bale to module and module to bale )


I'm getting the follow error 


30/11/2005 18:00:22 org.hibernate.LazyInitializationException 
SEVERE: could not initialize proxy - no Session
org.hibernate.LazyInitializationException: could not initialize proxy - no 
Session
at 
org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:53)
at 
org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:98)
at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:133)
at apps.ejb3.par.Bale$$EnhancerByCGLIB$$9018b5df.getModule()
at apps.client.NepsClient$TableModel.getValueAt(Unknown Source)
at apps.TableSorter.getValueAt(Unknown Source)
at javax.swing.JTable.getValueAt(JTable.java:1852)
at javax.swing.JTable.prepareRenderer(JTable.java:3902)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:1985)
at 
javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1887)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1810)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
at javax.swing.JComponent.paintComponent(JComponent.java:742)
at javax.swing.JComponent.paint(JComponent.java:1005)
at javax.swing.JComponent.paintChildren(JComponent.java:842)
at javax.swing.JComponent.paint(JComponent.java:1014)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:842)
at javax.swing.JComponent.paint(JComponent.java:1014)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4963)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4916)
at javax.swing.JComponent._paintImmediately(JComponent.java:4859)
at javax.swing.JComponent.paintImmediately(JComponent.java:4666)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
at 
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Idempotency and other issues in JBoss 4.x

2005-11-29 Thread [EMAIL PROTECTED]
Are you referring to JBoss4.0.3 release? I don't think we have 4.1 yet. :-)

We don't have the idempotent feature that you describe. However, conceptually 
you can use another clusteringinterceptor to perform this. It is one thing that 
we like to do but have not found high enough priority.

If you think this is important, you can open up a Jira and vote for it.

-Ben

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - ERROR [javax.faces.webapp.UIComponentTag] Faces context not

2005-11-29 Thread ashishtandon
hi all, 
 I am using the jboss-4.0.3.SP1 & jsf. while runing the application its 
gives the following error.
 
2005-11-30 11:47:28,952 ERROR [javax.faces.webapp.UIComponentTag] Faces context 
not found. getResponseWriter will fail. Check if the FacesServlet has been 
initialized at all in your web.xml.
2005-11-30 11:47:28,983 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/SubscriberManagementNew].[jsp]]
 Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at 
javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:615)
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:217)
at org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:71)
at 
org.apache.jsp.AddSubscriber_jsp._jspx_meth_f_view_0(org.apache.jsp.AddSubscriber_jsp:97)
at 
org.apache.jsp.AddSubscriber_jsp._jspService(org.apache.jsp.AddSubscriber_jsp:72)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at 
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
at 
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at 
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:693)
at 
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:660)
at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:48)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
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:81)
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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at 
org.apache.catalina.core.StandardHostValve.invoke

[JBoss-user] [JBoss Seam] - texas holdem online game

2005-11-29 Thread [EMAIL PROTECTED]
Ed complementer attributes,eminence!barns,arrogant loitering forearms 
http://www.rarefind.net/poker-supplies.html eavesdrop 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Failed to deploy Duke's Bank application.

2005-11-29 Thread afdzal
the one from from JBoss (jbossj2ee-src.zip) should overwrite j2eetutorial14, 
not the other way round.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: JBoss Cache using Multicast.

2005-11-29 Thread [EMAIL PROTECTED]
["kbisla" wrote : 
  | Also is there a doc which explains the various parameters that one can 
tweak in jgroup.

http://wiki.jboss.org/wiki/Wiki.jsp?page=JGroups should give you a good start.

http://wiki.jboss.org/wiki/Wiki.jsp?page=JGroupsFC discusses the flow control 
protocol.

The JGroups task you mention is an enhancement to the FC protocol, but your 
earlier config posts don't show you using FC.  So I would suggest starting with 
using FC.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: best way of acheiving request response format

2005-11-29 Thread rohit_mca2000
ok crazytony , will take ur advice and find out a way to cache connections and 
sessions, however we are going forward with one queue for request and other 
queue for response with selectors . this is going to be a real-time application 
where thousands of requests can come at a go, hope this works 
thanks 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Cannot get List to replicate across a clustered TreeCach

2005-11-29 Thread [EMAIL PROTECTED]
Have you tried it first without running it under MBean service? E.g., as a 
standalone to make sure your enviornment is ok?

-Ben

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: EntityManagerFactory not bound error!

2005-11-29 Thread sunsy
Thank you for your reply first!
The scope type of the statefull session bean, which provide the save() method, 
is seesion, so i think it is not the timed out problem.
the scope type of the javabean, which  invoke the save() method, is 
conversation, but it doesnt have entitymanager itself, just invoke the method 
in statefull session bean, like i wrote above.
Can be other reasons?


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Performance problem with mapping -

2005-11-29 Thread markbrazil
Found the answer, missing another few library's for the remote client.

For anyone interested : 
I added cglib-2.1_2jboss.jar to the remote clients list of jar's (getting big 
now!) and the error went away.



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: how to send XML Message using JMS

2005-11-29 Thread rohit_mca2000
i have done it this way. 

document.appendChild(rootElement);
  | TransformerFactory tFactory =
TransformerFactory.newInstance();
  | Transformer transformer = tFactory.newTransformer();
  | DOMSource source = new DOMSource(document);  
  | StringWriter buffer = new StringWriter();
  | StreamResult result = new StreamResult(buffer);
  | transformer.transform(source, result);
  | xmlString = buffer.toString();
where document is DOcument object of DOM , and passing this xmlString in the 
TestMessage body . 
Is this wrong way of doing it. 

and crazytony please also tell me what was that stack thing and outofmemory 
thing you were talkin about. since my Document object is going to be large.

and genman i will try ObjectMessage and let you know, but i had read in the 
specs that XML messages can be send using TextMessages , so did that 
thanks , 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: JBoss Cache using Multicast.

2005-11-29 Thread djmalan
Our caches ran for about a week without any problems, until this morning. We 
restarted one of the instances, and gor the following errors:

2005-11-30 08:05:19  WARN GMS: join(192.168.100.79:61443) failed 
(coord=192.168.100.79:53397), retrying

I guess what happened here was that the group still had the previous instance 
of cache running on 79 as the coordinator, even though it was not running 
anymore.

Is there some way to force a reelection of the coordinator?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Problem in Deployment...............

2005-11-29 Thread MSrinivasRao
-Servlet.service() for servlet action threw exception 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909663#3909663

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Failed to deploy Duke's Bank application.

2005-11-29 Thread afdzal
schodt...

I am also a newbee here.

Take the latest version and make sure you unzip the J2EE tutorial first before 
you combine it with the one from JBoss. Hope that works. 





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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Problem in Deployment...............

2005-11-29 Thread MSrinivasRao
-Servlet.service() for servlet action threw exception 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909661#3909661

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: EntityManagerFactory not bound error!

2005-11-29 Thread marius.oancea
Could be the case that session or conversation timed out?


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - URLComparator to control the deployment order

2005-11-29 Thread jingc3
Hi there

I created a custom jar file and put it in /lib along with jboss-system.jar.  
then I modify the conf/jboss-service.xml using the custom class as 
URLComparator:

  | com.matrix.deployment.DeployerOrder
  | 

But when I start JBOss, I got the error:

java.lang.ClassNotFoundException: No ClassLoaders found for: 
com.matrix.deployment.DeployerOrder

Any clue on this?

many thanks

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: group based authentication

2005-11-29 Thread [EMAIL PROTECTED]
No, this is not notion that the DatabaseServerLoginModule supports so you would 
have to write a custom version.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - SOLVED: javax.management.timer.Timer not firing

2005-11-29 Thread lpmon
timer.start()   is missing!

did it.

I did not realize that you had to call a start method. I thought adding a 
notification started it.




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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Install jboss/jetty on MacOS Tiger

2005-11-29 Thread brutfood
Actually, there are deploy directories under: server/all, server/default and 
server/minimal.  Do I choose one of these configurations?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - EntityManagerFactory not bound error!

2005-11-29 Thread sunsy
We use the jboss-seam in our new project, but now some really troubled 
problems prevent us. The most terrible problem is that:the EntityManagerFactory 
not bound, such problem makes us can not interact with database at all.
In our project, one statefull session bean is used to operation the actions 
to database. The EntityManager is defined like this:
 @PersistenceContext(type = PersistenceContextType.EXTENDED)
 EntityManager redemDatabase;
And, in this statefull session bean there is a method named save() 
providing for other java beans' invoking, like this:
public void save() {
   redemDabase.merge(object);
}

But if we do some operations then leave the system unused for a short 
while, when we come back to do another operation the problems occur, and the 
exceptions list following:

javax.ejb.EJBTransactionRolledbackE
xception: null; CausedByException is:
Could not activate; failed to restore state; CausedByException is:
javax.naming.NameNotFoundException: EntityManagerFactory not bound
at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.ja
va:73)
at org.apache.myfaces.application.ActionListenerImpl.processAction(Actio
nListenerImpl.java:63)
... 34 more
Caused by: javax.ejb.EJBTransactionRolledbackException: null; CausedByException
is:
Could not activate; failed to restore state; CausedByException is:
javax.naming.NameNotFoundException: EntityManagerFactory not bound
at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:65)

at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:117)
at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java
:138)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:98)
at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInt
erceptor.java:61)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:98)
at org.jboss.aspects.security.AuthenticationInterceptor.invoke(Authentic
ationInterceptor.java:63)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:98)
at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterce
ptor.java:32)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:98)
at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(Asynchrono
usInterceptor.java:91)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:98)
at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContain
er.java:150)
at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.
java:83)
at $Proxy107.loadAllProject(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.el.parser.AstValue.invoke(AstValue.java:130)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:274)

at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.ja
va:68)
at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.ja
va:69)
... 35 more

It is the most serious problem, i hope someone can help us!
Thank you!

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Install jboss/jetty on MacOS Tiger

2005-11-29 Thread brutfood
I'm a Newbie stuck on the first hurdle.  I wanted to install jboss, jetty and 
ant on MacOS 10.4 (The normal Mac OS, not the server version) .  I was 
following the instructions on Apple's website:

http://developer.apple.com/internet/java/enterprisejava.html

However, I had to deviate slightly from these instructions.

On the jboss website, I found jboss-4.0.3SP1.zip. (I assumed it had jetty 
bundled)

I decided to put it in /System/Library/jboss.  (No /usr/local/ folder existed 
on my system - perhaps Server versions of MacOS X have a different directory 
structure)

Well, I did my downloads, permissions, builds, and paths - then I ran into 
confusion.

There was a build.xml file, where I had to edit paths that seemed to bear no 
relation to the directories in the jboss package I had downloaded.

For example:-


  |
  |
  |
  | 

But there were no directories containing the string 'jetty', nor 'deploy'?  Had 
I downloaded the wrong thing?

Furthermore, the command 'ant' wasn't recognised.  (perhaps the export PATH was 
wrong?)


Does anyone have any simple instructions that would enable me to play with 
server-side J2EE on my Mac?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - A web service which returns data + SOAP attachment

2005-11-29 Thread GennadiP
Did somebody succeed to create a web service that returns SOAP message with 
some data and binary attachment from one of its methods using JWSDP?

I tried to use all the approaches I found in Internet, but none of them works 
properly. WSI AP 1.0 defines two separate schemes to specify attachments: one 
based on the WSDL MIME binding, and the other using the WS-I defined swaRef 
type.

When using multiple MIME bindings the JWSDP interprets the output parameters as 
input parameter holders that leads to the ?wrong number of arguments? runtime 
exception in JBoss.

swaRef works better (at least the web service implementation returns a well 
formatted multipart response) but I didn?t succeed to send a swaRef parameter 
as a part of complex type, thus I didn?t succeed to provide an additional 
information I need to return from the web service method. Also JWSDP client 
stubs don?t deserialize the response correctly and complained about the missing 
attachment. It looks like the problem is that JWSDP assumes that swaRef 
parameter value and ?content-id? of the attachment are equal to the part name 
as well as it?s defined in the WSDL file.

All the tests I performed using JWSDP 1.6 and JBoss 4.0.3SP1.

If somebody created a web service that returns SOAP message with some data and 
binary attachment from one of its methods using JWSDP please could you post 
your solution?



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: how can i use xpath in jboss?!

2005-11-29 Thread lovejesus
not until now.bruno,we could have a discussion.
i 'm starting wondering it is a bug of jboss,because i can't manipulate xpath 
using jdom 1.0 either!
would someone give us some hints?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - MOVED: Re: javax.management.timer.Timer not firing

2005-11-29 Thread lpmon
My mistake - moved to Beginners Corner.  

Too bad I cannot delete my own entry!

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: howto: par with jar dependency, in an ear

2005-11-29 Thread [EMAIL PROTECTED]
You can add it as a module in your jboss-app.xml file or you can just put your 
external JAR into your EJB3 JAR directly.  (not the EAR, the .ejb3 archive)

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: problem adding swimlane to a workflow

2005-11-29 Thread davidsan1001
Still can't get any sort of assignment to work. Can you please modify this 
processdefinition.xml to show me what works.

  | 
  | 
  | http://jbpm.org/3/jpdl";  
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |   xsi:schemaLocation="http://jbpm.org/3/jpdl 
http://jbpm.org/xsd/jpdl-3.0.xsd";
  |   name="Part_Workflow_2"> 
  |
  |   
  |  
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  |   
  |
  |
  |   
  |
  |
  | 
  | 
Thanks much!

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB 2.0 Support

2005-11-29 Thread [EMAIL PROTECTED]
EJB 2 is still supported and will continue to be supported in the future.  
However, I'd strongly encourage you to consider migrating to EJB3 at some point.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB 2.0 Support

2005-11-29 Thread [EMAIL PROTECTED]
EJB 2 is still supported and will continue to be supported in the future.  
However, I'd strongly encourage you to consider migrating to EJB3 at some point.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: problem adding swimlane to a workflow

2005-11-29 Thread davidsan1001
Not only is that awkward but its what the current gpd does.

I did try your suggestion, it made the red underline go away but it didn't 
deploy, got a -1 for process version.

..this is what I tried

  | 
  | 
  | http://jbpm.org/3/jpdl";  
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |   xsi:schemaLocation="http://jbpm.org/3/jpdl 
http://jbpm.org/xsd/jpdl-3.0.xsd";
  |   name="Part_Workflow_1">
  |
  |
  |   
  |  
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  |   
  |
  |
  | 
  |   
  |
  |
  |   
  |
  |
  |
  | 
  | 
  | 
Also, seems you can't do a simple assignment expression like in the websale 
exaample.  You get the red underline which complains that 'assignment' requires 
a "class" property.  Again the gpd guides you right into this error.

I still love jBPM, lets get this stuff ironed out.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: xdoclet and ejb 3.0

2005-11-29 Thread triathlon98
Last time I looked, xdoclet had major problems with java5 (specifically 
generics if I remember correctly). I would recommend going the whole way and 
dropping xdoclet altogether (will save you some build time too).

Joachim

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - jBPM 3.1alpha Feedback

2005-11-29 Thread bpoweski
I want to share my thoughts and concerns about my initial evaluation of 3.1 
alpha after developing against 3.0.x.  

I think jBPM is fantastic product, it is light years ahead of OSWorkFlow (I get 
the feeling not many people are using it) and documented much better.

This being said the ContextBuilder mechanism appears to complicate the ability 
to leverage 3rd party microcontainer (i'm using Spring and the alpha 
JbpmSessionFactory and Template classes).  I would have rather seen a design 
that would have faciliated a pure IOC configuration, be it Spring or any other 
micro container.

Over all I think jBPM rocks!  The async feature is the main desire to upgrade 
versions and I really like the idea of using a non JMS messaging stack.  I just 
desire jBPM to play well with my existing Spring service infastructure.

Thanks

-b

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: JBoss Cache using Multicast.

2005-11-29 Thread kbisla
I saw this in the todo list for jgroups
anonymous wrote : 
  | - FC: on a fast network, we can still run out of memory because 
received_msgs/delivered_msgs becomes very big.
  |   Instead of basing FC on the speed of the network, we should also take the 
number of messages processed
  |   (a.k.a delivered_msgs/received_msgs) into account, and only send credits 
when that number falls below a
  |   certain threshold. First: look at the number of received/delivered msgs 
in the perf test !
  |   --> Look into memory-based FC: criteria for sending credits are
  |   - available free memory
  |   - outstanding retransmission requests (sender sends with each message 
number of messages sent,
  | receiver keeps track of how many messages received, if diff is > 
threshold --> pause)
  |   - [optional] latency

any plans of implementing this ? cause this might be the problem.
or is there any other flow control protocol that i could try.
Also is there a doc which explains the various parameters that one can tweak in 
jgroup.
Thank You !


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Validating Method Permissions

2005-11-29 Thread DeathMeat
Nobody out there with a matching answer?

All i wanna do is to check the method permissions for methods before
executing them.


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - Re: remote deployment

2005-11-29 Thread jbustamovej
I'm also interested in remote deployment. Why hasn't anyone responded to this? 
I can't find any information on jboss the JSR 88 implementation.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - Problems with the eclipse Trailblazer tutorial

2005-11-29 Thread dreamminder
I can't see the the flash movie located at the step 2 named Create EJB 3.0 
Entity Beans http://trailblazer.demo.jboss.com/IDETrail/ejb3/entity/index.html

what's the problem???

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - javax.management.timer.Timer not firing

2005-11-29 Thread lpmon
I construct a timer, addNotificationListener, addNotification with no errors or 
nothing suspicious. I never see the call to my handleNotification method. What 
else do I need to do?

environment: JBoss 4.0.3,  Win 2003, HSQLDB


import javax.management.Notification;
import javax.management.NotificationListener;
import javax.management.timer.Timer;
...

timer=new Timer();
timer.addNotificationListener(this, null, myObject); // null, no filter
timer.addNotification("ExpectedUsage", "ExpectedUsage", myObject, nextExpire, 
periodMs);


public void handleNotification(Notification notif, Object myObject)
{
System.out.println("timer fired");
}

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: problem adding swimlane to a workflow

2005-11-29 Thread [EMAIL PROTECTED]
The trick with the websale example is that it has no schema location:
http://jbpm.org/3/jpdl";>
  | ...
  | 
The XML editor included with the GPD won't validate a definition missing the 
xsi:schemaLocation attribute.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: BookingTest.java n' TestNG

2005-11-29 Thread Frankrtg
So I didn´t set the correct configuration in Eclipse. 

How can I get this jsdk.jar? is it par of jsdk1.5?

I have to tell you I'm totally newbie.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: problem adding swimlane to a workflow

2005-11-29 Thread forJbpm
That also contradict with given example of websale.par/processdefinition. In 
websale.par Swimlane comes before start-state and which sounds logical also!
To create websale.par what version of jbpm has been used?

Thanks


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Questions regarding jBPM for an evaluation

2005-11-29 Thread WolfFischer
Once again thank you for this very informative answer!

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Hypersonic SQL perfomrance

2005-11-29 Thread dhohmeyer
See their website at: 
http://hsqldb.org/web/hsqlFAQ.html#FAQ

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: need help?

2005-11-29 Thread kukeltje
jsf is java server faces.

Were you need to specify users is completely dependend on your organizational 
model. What requirements do you have in this area.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: problem adding swimlane to a workflow

2005-11-29 Thread [EMAIL PROTECTED]
>From the jPDL 3.0 schema, available at http://jbpm.org/xsd/jpdl-3.0.xsd:

  |  
  |   
  |   
  |   ...
  |  
  | 
The start-state element is declared before swimlane in the sequence. Therefore 
you have to declare swimlanes after the start state. This is a bit 
counterintuitive. In fact, in the updated schema for version 3.1, swimlanes 
come before start states.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: workflow patterns supported by jBPM (jGPD, jBPL)

2005-11-29 Thread kukeltje
There is no paper yet on this. Examples of how we think the patterns are to be 
applied in jBPM are in the testcases. There are xml snippets in there as well 
that could be used to create visual representations in the GPD. No work done on 
our side on this subject yet. 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Deploying to Weblogic 8.1

2005-11-29 Thread kukeltje
oh, yes. getting hibernate to work is always needed. It is however independend 
of the jbpm-core jar. Hypersonic is not needed if you have another database.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - DerbyDatabase mbean in 4.0.3 missing?

2005-11-29 Thread grafpoo
i am running jboss-4.0.3 and trying to set up a derby datasource (taken from 
the example in the 4.0.3 install). trouble is i don't have the mbean class 
org.jboss.jdbc.DerbyDatabase in any jarfiles in the jboss install. i've found 
the source code online, referring to 4.0.2 - is this something that went away? 
i really don't think i removed it.


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - xdoclet and ejb 3.0

2005-11-29 Thread asu_undergrad
how is xdoclet supported in ejb 3.0

I have an app in ejb 2.x and I want to move it over to ejb 3.0 .
the 2.x app has xdoclet generating all the required java files like the home 
interface,local etc

so, am I looking at a major overhaul, can I leave the xdoclet crud in there and 
simple alter the EJB 2.x annotation to reflect EJB 3.0 ?

Thanks





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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Using user-type-mappings for Enums

2005-11-29 Thread ansancle
I figured this out and am posting this for anyone else who is having a problem 
with enums in entitybeans using jboss.

This won't work if you are not using java 5.0

To have an entitybean with an enum as a cmp field create an enum in the 
following manner :

public enum DHMessageType
  | {
  | INFO, ALARM, WARNING, ERROR, STATUS, DEBUG
  | }
  | 

At this point you can add this class into your EntityBean as a CMP field and it 
will work properly, however it will be stored as a blob. This means you will 
not be able to see the value in the database, or search/sort off the value. 

If you want to store the value as a String, do the following :
1. Create a mapping class, this class will be called when the enum is being 
stored to the db or read from the db.
Here is what the class should look like :

package com.foo.dbtest;
  | import org.jboss.ejb.plugins.cmp.jdbc.Mapper;
  | 
  | public class DHActionTypeMapper implements Mapper
  | {
  | public DHActionTypeMapper()
  | {
  | super();
  | }
  | 
  | public Object toColumnValue(Object fieldValue)
  | {
  | return ((DHActionType)fieldValue).toString();
  | }
  | 
  | public Object toFieldValue(Object columnValue)
  | {
  |  String strValue = ((String)columnValue).toString();
  |  return DHActionType.valueOf(strValue);
  | }
  | }
  | 

The next step is to add the following into the jbosscmp-jdbc.xml file after the 
 section


  | 
  |
  | com.digitalhome.msg.DHActionType   NOTE -> The 
type that needs to be mapped
  | java.lang.String-> The 
java type to map to for storing
  | com.digitalhome.msg.DHActionTypeMapper-> The 
class that will handle the mapping
  |
  | 

**  WARNING  - If you are using Eclipse and JbossIDE when you regenerate your 
xdoclet this section will get erased in jbosscmp-jdbc.xml. I still haven't 
figured out where the merge point for this is so I can take it out of this file 
and not have this happen, if anyone knows feel free to reply.

Hope this helps someone.



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Cookie Issue with latest JBoss/TC Bundle

2005-11-29 Thread [EMAIL PROTECTED]
Tested this against the codebase going to be jboss 4.0.4 and I see no problems. 
Try with jboss 4.0.3 and tell us if you still see the issues:


  | 15:06:26,890 INFO  [Server] JBoss (MX MicroKernel) [4.0.4beta (build: 
CVSTag=Bra
  | nch_4_0 date=200510261736)] Started in 1m:7s:78ms
  | 15:06:49,390 INFO  [[/identity-new]] Identity Test Servlet: Setting 
cookie:domai
  | n:locahost:path=/:name=jboocookie:value=8177090_1133298409390
  | 

My cookie code is as follows:

  | private Cookie createCookie(String domain)
  | {
  | String token = "" + this.hashCode() + "_" + 
System.currentTimeMillis();
  | Cookie cookie = new Cookie("jboocookie",token);  
  | cookie.setDomain(domain); 
  | cookie.setPath("/"); 
  | cookie.setMaxAge(-1);
  | return cookie;
  | }
  | 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBoss Portal 2.2 CVS-HEAD, Layouts

2005-11-29 Thread keidav
Thanks! I'll take a look this afternoon...

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Performance problem with mapping -

2005-11-29 Thread markbrazil
Anyone any ideas ? 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - javax.management.timer.Timer not firing

2005-11-29 Thread lpmon
I construct a timer, addNotificationListener, addNotification with no errors or 
nothing suspicious.  I never see the call to my handleNotification method.  
What else do I need to do?

environment: JBoss 4.0.3  Win 2003, HSQLDB


import javax.management.Notification;
import javax.management.NotificationListener;
import javax.management.timer.Timer;


timer=new Timer();
timer.addNotificationListener(this, null, myObject); // null, no filter
timer.addNotification("ExpectedUsage", "ExpectedUsage", myObject, nextExpire, 
periodMs);


public void handleNotification(Notification notif, Object myObject) 
{
   System.out.println("timer fired");
}

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Cookie Issue with latest JBoss/TC Bundle

2005-11-29 Thread saschwen
Has anyone found a fix for this?  I'm trying to port over a large app from 
another application server and I am running into the same problem.

Thank you,

Steve.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: problem adding swimlane to a workflow

2005-11-29 Thread davidsan1001
I'm having the exact same problem.  Here is my processdefinition.xml

  | 
  | 
  | http://jbpm.org/3/jpdl";  
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |   xsi:schemaLocation="http://jbpm.org/3/jpdl 
http://jbpm.org/xsd/jpdl-3.0.xsd";
  |   name="RoHSBud_3_Workflow">
  |
  |
  |   
  |
  |   
  |
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |  
  |  
  |
  |   
  |
  |
  |
  |   
  |  
  
  |   
  |   
  |
  |
  | 
  | 
"In gpd, "start-state" is underlined.  When putting the cursor over this there 
is a long list of elements it expects, one of which is "task"

Is there a workaround for this?  I'm actually having a lot of problems with 
assignments in general.  I also tried using my class "GenericAssignmentHandler" 
 in the task node "Determine RoHS Status" with no luck



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: BookingTest.java n' TestNG

2005-11-29 Thread [EMAIL PROTECTED]
servlet.jar _is the same_ as jsdk.jar


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - best practices of structuing my business domain objects for

2005-11-29 Thread jlukar
I have a business domain object called "Order".

It has:  order id, descritiption, sub-order objects, date, etc.

what is the best key to use for populating the cache for this business  object?

e.g. the Demo for TreeCacheAOP uses the "Japan", Node, with "
Tokyo" subnodes, etc.

The key from my underestanding is simply  "/monitor"  to access this POJO 
object.  There is only one object in the cache.

In my scenario, I have many orders with unique order ids.

would my key simply be something like:  "/orders/XX"  or even "/XX"

where XX is the unique order id ?


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: problem adding swimlane to a workflow

2005-11-29 Thread forJbpm
Hi!
ooops! I just noriced that my process definition is printed partially!! I dont 
know why there are so many blank spaces. All the content I typed is missing.

When in my  processdefinition I dont define/declare swimlane  and use it ( 
without declaring it) as *task name="task" swimlane ="FirstUser"* , I dont get 
any error though I should be getting error as swimlanes are not 
declared/defined before using them.

But when I declare/ define swimlane with  *swimlane name ="FirstUser"* 
I get error as 
*Invalid content was found starting with element 'start-state' one of 
(https://jbpm.org/3/jpdl":swimlane.etc...)

Any opinion regarding this???
Regards, 

anonymous wrote : [img][/img]

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: jBPM on JBoss + Oracle 10g

2005-11-29 Thread kls_kumar
Hi,

  Thanks a lot for your reply..

  I see that in the JNDI View..

  This is the JNDI View i have in my machine..

  I have changed the JBoss Port from 8080 to 80. Does it has any thing to do 
with this Problem ? ( i haven't changed any other ports..)

  
  | 
  | java: Namespace
  |   +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
  |   +- DefaultDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
  |   +- SecurityProxyFactory (class: 
org.jboss.security.SubjectSecurityProxyFactory)
  |   +- DefaultJMSProvider (class: org.jboss.jms.jndi.JNDIProviderAdapter)
  |   +- comp (class: javax.naming.Context)
  |   +- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl)
  |   +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
  |   +- jaas (class: javax.naming.Context)
  |   |   +- JmsXARealm (class: 
org.jboss.security.plugins.SecurityDomainContext)
  |   |   +- jbossmq (class: org.jboss.security.plugins.SecurityDomainContext)
  |   |   +- HsqlDbRealm (class: 
org.jboss.security.plugins.SecurityDomainContext)
  |   +- timedCacheFactory (class: javax.naming.Context)
  | Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy
  |   +- TransactionPropagationContextExporter (class: 
org.jboss.tm.TransactionPropagationContextFactory)
  |   +- StdJMSPool (class: org.jboss.jms.asf.StdServerSessionPoolFactory)
  |   +- Mail (class: javax.mail.Session)
  |   +- TransactionPropagationContextImporter (class: 
org.jboss.tm.TransactionPropagationContextImporter)
  |   +- TransactionManager (class: org.jboss.tm.TxManager)
  | 
  | Global JNDI Namespace
  |   +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair)
  |   +- jmx (class: org.jnp.interfaces.NamingContext)
  |   |   +- invoker (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- RMIAdaptor (proxy: $Proxy39 implements interface 
org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface 
org.jboss.jmx.adaptor.rmi.RMIAdaptorExt)
  |   |   +- rmi (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: 
javax.naming.LinkRef)
  |   +- HTTPXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
  |   +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
  |   +- UserTransactionSessionFactory (proxy: $Proxy12 implements interface 
org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)
  |   +- HTTPConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
  |   +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
  |   +- UserTransaction (class: 
org.jboss.tm.usertx.client.ClientUserTransaction)
  |   +- UILXAConnectionFactory[link -> XAConnectionFactory] (class: 
javax.naming.LinkRef)
  |   +- UIL2XAConnectionFactory[link -> XAConnectionFactory] (class: 
javax.naming.LinkRef)
  |   +- queue (class: org.jnp.interfaces.NamingContext)
  |   |   +- A (class: org.jboss.mq.SpyQueue)
  |   |   +- testQueue (class: org.jboss.mq.SpyQueue)
  |   |   +- ex (class: org.jboss.mq.SpyQueue)
  |   |   +- DLQ (class: org.jboss.mq.SpyQueue)
  |   |   +- D (class: org.jboss.mq.SpyQueue)
  |   |   +- C (class: org.jboss.mq.SpyQueue)
  |   |   +- B (class: org.jboss.mq.SpyQueue)
  |   +- topic (class: org.jnp.interfaces.NamingContext)
  |   |   +- testDurableTopic (class: org.jboss.mq.SpyTopic)
  |   |   +- testTopic (class: org.jboss.mq.SpyTopic)
  |   |   +- securedTopic (class: org.jboss.mq.SpyTopic)
  |   +- console (class: org.jnp.interfaces.NamingContext)
  |   |   +- PluginManager (proxy: $Proxy40 implements interface 
org.jboss.console.manager.PluginManagerMBean)
  |   +- UIL2ConnectionFactory[link -> ConnectionFactory] (class: 
javax.naming.LinkRef)
  |   +- jbpmDS (class: javax.sql.DataSource)
  |   +- HiLoKeyGeneratorFactory (class: 
org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory)
  |   +- UILConnectionFactory[link -> ConnectionFactory] (class: 
javax.naming.LinkRef)
  |   +- QueueConnectionFactory (class: org.jboss.naming.LinkRefPair)
  |   +- UUIDKeyGeneratorFactory (class: 
org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)
  | 
  |   

Thanks
Sateesh

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: EJB 4th Edition + JBoss Workbook now published

2005-11-29 Thread chaser
"goombah" wrote : Hi all, got workbook source code, just follow links for java 
books , and there is a link to the workbook download from the book page itself.
  | 
  | Problem :
  | When I build the examples with ant  JBOSS throws an exception :
  | 
  | ejb-jar.xml must define a valid DOCTYPE!
  | 
  | Any ideas ?
  | 
  | Thanks in advance .
  | 
  | *** Full ERror message quoted below: ***
  | 
  | 15:04:25,906 ERROR [MainDeployer] could not create deployment: 
file:/D:/Program Files/jboss/jboss-3.2.5/server/default/deploy/titan.jar
  | org.jboss.deployment.DeploymentException: ejb-jar.xml must define a valid 
DOCTYPE!
  | at 
org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:206)
  | at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:141)
  | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:462)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:790)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
  | at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy7.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:460)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)

Try to add this line just after the first line:

http://java.sun.com/dtd/ejb-jar_2_0.dtd";>

I had similar situation when working with the 'Interest' example and adding 
this line sovled it. Hope it works for you.

Good luck

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: JBoss Cache using Multicast.

2005-11-29 Thread kbisla
About the Out-Of-Memory Exception. one sender may be overwhelming the 
receivers.  
Is there some kind of flow control i could add to the stack ???
I noticed the receivers report out-of memory before the sender.
Also why would the receiver go out of memory if all the sender is doing is 
updating the same object over and over again though at a very high rate ...
any pointer would be helpful.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - workflow patterns supported by jBPM (jGPD, jBPL)

2005-11-29 Thread hpiccinatto
Could anyone help with a paper or some link where it is possible to check whose 
of workflow patterns (21 at all) are compatible with jBPM. Also demonstrating 
graphically with jGPD the process models that are equivalents to the especified 
model in the pattern, for each pattern workflow.

Cheers.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - help with ClassCastException

2005-11-29 Thread jim.owen
Hi,

  I'm getting a class cast exception when attempting to create an instance of 
my LocalHome object that I have not been able to figure out.  It's probably 
something pretty simple, but I just haven't been able to see it.  I'm using 
JBoss 4.0.3.

  Here's the code that is being executed in my servlet:

  Object obj = null;
  try
  {
obj = ctx.lookup("java:comp/env/FSCApplicantLocal");
FSCApplicantLocalHome fsc_applicant_home = 
(FSCApplicantLocalHome)PortableRemoteObject.narrow(obj, 
FSCApplicantLocalHome.class);
applicant = fsc_applicant_home.findByPrimaryKey(new Long(quoteNo));
  }
  catch(Exception _e)
  {
_e.printStackTrace();
throw _e;
  }


  Here's the jboss.xml:
  
 FSCApplicantBean
 ejb/local/FSCApplicantLocal
 
FSCApplicantLocal
ejb/FSCApplicantLocal
 
  


  Here's the ejb-jar.xml:
   
 
 FSCApplicantBean
 FSCApplicantBean
 
com.InsureSuite.FSCExport.FSCApplicantLocalHome
 com.InsureSuite.FSCExport.FSCApplicantLocal
 com.InsureSuite.FSCExport.impl.FSCApplicantBean
 Container
 java.lang.Long
 False
 2.x
 FSCApplicant

/**  CUT ALL THE CMP DEFS FROM HERE  */

 quote_no
 
FSCApplicantLocal
Entity

com.InsureSuite.FSCExport.FSCApplicantLocalHome
com.InsureSuite.FSCExport.FSCApplicantLocal
FSCApplicantBean
 
 


   findAll
   
   


 


Here's the web.xml:
   
  FSCApplicantLocal
  Entity
  com.InsureSuite.FSCExport.FSCApplicantLocalHome
  com.InsureSuite.FSCExport.FSCApplicantLocal
  FSCApplicantBean
   


Here's the jboss-web.xml:
   
  FSCApplicantLocal
  Entity
  com.InsureSuite.FSCExport.FSCApplicantLocalHome
  com.InsureSuite.FSCExport.FSCApplicantLocal
  FSCApplicantBean
   


  And finally, here's the stack trace:

10:47:39,776 INFO  [STDOUT] java.lang.ClassCastException
10:47:39,776 INFO  [STDOUT] at 
com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:229)
10:47:39,776 INFO  [STDOUT] at 
javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
10:47:39,776 INFO  [STDOUT] at 
com.InsureSuite.FSCExport.FSCQuote.init(FSCQuote.java:163)
10:47:39,776 INFO  [STDOUT] at 
com.InsureSuite.FSCExport.FSCQuote.(FSCQuote.java:68)
10:47:39,776 INFO  [STDOUT] at 
org.apache.jsp.test_jsp._jspService(org.apache.jsp.test_jsp:58)
10:47:39,776 INFO  [STDOUT] at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
10:47:39,776 INFO  [STDOUT] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
10:47:39,776 INFO  [STDOUT] at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
10:47:39,776 INFO  [STDOUT] at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
10:47:39,776 INFO  [STDOUT] at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
10:47:39,776 INFO  [STDOUT] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
10:47:39,776 INFO  [STDOUT] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
10:47:39,776 INFO  [STDOUT] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
10:47:39,776 INFO  [STDOUT] at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
10:47:39,776 INFO  [STDOUT] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
10:47:39,776 INFO  [STDOUT] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
10:47:39,776 INFO  [STDOUT] at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
10:47:39,776 INFO  [STDOUT] at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
10:47:39,776 INFO  [STDOUT] at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
10:47:39,776 INFO  [STDOUT] at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
10:47:39,776 INFO  [STDOUT] at 
org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:81)
10:47:39,776 INFO  [STDOUT] at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
10:47:39,776 INFO  [STDOUT] at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
10:47:39,776 INFO  [STDOUT] at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
10:47:39,776 INFO  [STDOUT] at 
org.ap

[JBoss-user] [JBoss jBPM] - Re: jBPM with mysql errors

2005-11-29 Thread maverick1611
finally got everything running on MySql ..  now even though the websales 
example works without a problem i get the following errors when i start the 
jboss server.. any idea whats causing these errors .. 

i'll make a list of steps i did to use MySQL instead of Hypersonic and post it 
in this thread shortly .. 

13:56:39,671 WARN  [ServiceController] Problem starting service 
jboss.mq:service=PersistenceManager
  | org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions.  
Message recovery may not be accurate; - nested throwable: 
(java.sql.SQLException: Every derived table must have its own alias)
  | at 
org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(PersistenceManager.java:416)
  | at 
org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1499)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
  | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:428)
  | at org.jboss.system.ServiceController.start(ServiceController.java:446)
  | at org.jboss.system.ServiceController.start(ServiceController.java:446)
  | at org.jboss.system.ServiceController.start(ServiceController.java:446)
  | at org.jboss.system.ServiceController.start(ServiceController.java:446)
  | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy4.start(Unknown Source)
  | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
  | at 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at 
org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
  | at $Proxy32.start(Unknown Source)
  | at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:185)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
  | at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  | at org.jboss.mx.server.Invocation.invoke(Invocatio

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: how to send XML Message using JMS

2005-11-29 Thread crazytony
Watch your stack size if you are serializing a DOM object. 

 If you use the JBoss recommended stack size of 128k 
(http://wiki.jboss.org/wiki/Wiki.jsp?page=OutOfMemoryExceptionWhenCannotCreateThread)
 you may run into problems serializing large DOM nodes. 
(StackOverflowException)

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - problem adding swimlane to a workflow

2005-11-29 Thread forJbpm
Hi!

Whats wrong with this simple workflow.
When I add swimlane, it gives me error saying that *Invalid content was found 
starting with element 'start-state' one of 
(https://jbpm.org/3/jpdl":swimlane.etc...)



http://jbpm.org/3/jpdl";  
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://jbpm.org/3/jpdl http://jbpm.org/xsd/jpdl-3.0.xsd";
  name="Demo_ver0.01">
  
  
  
  //Error at this place//
   
  
  
   
   
   
  
   
   


Thanks,


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Content Length for multiple Range requests in Tomcat doesn't

2005-11-29 Thread shandev
In tomcat Content Length set in response for range requests for more than one 
byte ranges is not equal to the sum of content length of all range requests.

Here are request and response headers:

GET MYReport_compilation.pdf HTTP/1.1
Accept: */*
Range: bytes=1804578-1805257, 1805258-1805277, 1812358-1813377, 1805278-1805597
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 
1.1.4322)
Host: www.abc.com
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: JSESSIONID=C278016007CA868723C3EA7AD9BB9B23;


HTTP/1.1 206 Partial Content
Accept-Ranges: bytes
ETag: W/"1891110-1067446699000"
Last-Modified: Wed, 29 Oct 2003 16:58:19 GMT
Content-Type: multipart/byteranges; boundary=CATALINA_MIME_BOUNDARY
Content-Length: 2496
Date: Tue, 29 Nov 2005 18:25:12 GMT
Server: Apache-Coyote/1.1

sum of content length of byte 
ranges=(1805257-1804578)+(1805277-1805258)(1813377-1812358)+(1805597-1805278)=679+19+1019+319
 =2036

but the conetent legth is set as 2496

The same thing happens with other multiple byte range requests.
For some multiple byte range response content legth is not set and for some 
multiple byte range requests contenet-length is not correct

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Problem with Session.get

2005-11-29 Thread muhviehstarr
the problem here in detail is solved:

the current mysql-server-4.1 package of ubuntu (4.1.12) has a bug. 

More Informations about the problem can be found here: 
http://ubuntuforums.org/showthread.php?p=502593
or
http://forums.mysql.com/read.php?39,49989,49989#msg-49989


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: jBPM on JBoss + Oracle 10g

2005-11-29 Thread [EMAIL PROTECTED]
Nope. It is the JBoss transaction component who registers this object. To see 
whether it is actually registered, point your browser to 
http://localhost:8080/jmx-console/. Under section jboss click service=JNDIView. 
Scroll down to the list() operation and invoke it. In the result page, look for 
the following entry under the java: Namespace section:
+- TransactionManager (class: org.jboss.tm.TxManager)
Do you see it?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Deploying to Weblogic 8.1

2005-11-29 Thread cyb_
It would seem that some work would need to be done to set up hypersonic and 
hibernate as well...

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Calling an EJB method each day

2005-11-29 Thread elgabo
Can you give me some example code, or better yet a tutorial, Ive been trying to 
change the 
deploy/scheduler-service.xml


  
  
  

  
  
false
com.navyec.jbalancedsc.model.util.JBSCUtil


NOW
1
-1
  


and gives the following error:
13:29:20,063 INFO  [Scheduler] Failed to find: 
com.navyec.jbalancedsc.model.util.JBSCUtil
java.lang.ClassNotFoundException: No ClassLoaders found for: 
com.navyec.jbalancedsc.model.util.JBSCUtil
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:475)
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at 
org.jboss.varia.scheduler.Scheduler.setSchedulableClass(Scheduler.java:505)
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.mx.interceptor.AttributeDispatcher.invoke(AttributeDispatcher.java:118)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:89)
at 
org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:61)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:446)
at 
org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:593)
at 
org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:569)
at 
org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:275)
at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:164)
at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)
at 
org.jboss.system.ServiceController.install(ServiceController.java:200)
at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:220)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system

[JBoss-user] [JBossWS] - Re: Example for using XMLBeans for DataBinding?!

2005-11-29 Thread omatzura
Hi!

We've done this successfully on several projects with doc/literal webservices.. 
you need to do the following:

- generate your servers/clients with the wscompile -nodatabinding option
- generate xmlbeans classes from your wsdls using the xmlbeans ant-task
- deserialize incoming SOAPElements using XmlObject.parse( Node n )
- create outgoing SOAPElements using XmlObject.newDomNode() which you then 
convert to a SOAPElement (you can also use getDomNode() but you will have to do 
namespace attribute stuff yourself)

With serialization/deserialization you have to use the XxxDocument classes 
generated by xmlbeans for your request/response global elements

it's a piece of cake ! (once you have everything working ;-)

If you're stuck on any of the above steps let me know and I'll try to help..

regards,

Ole



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: contradicting constraints and statements issue order

2005-11-29 Thread sethladd
Thanks.  We really want to avoid putting any calls to the EntityManager inside 
our domain objects.  For the time being, we've split up the deletes and adds 
into two different methods, and called them from the service bean.  
deleteThem(), flush(), addThem().  Ugly, but it works.

After thinking about it, we could enable immediate flushing for this service 
method only.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Questions regarding jBPM for an evaluation

2005-11-29 Thread [EMAIL PROTECTED]
Well, BPEL, as an orchestration language, defines service roles. There is a 
construct in BPEL called partner link, which models the conversational 
relationship between two (web) services. Further, it defines the role of each 
service in the conversation.

Imagine a scenario where a vendor exposes a service to receive orders online. 
Customers invoke this service to request items. After that, the vendor replies 
with a quote and a potential delivery date. Since it has to evaluate the order, 
possibly with human intervention, it doesn't reply immediately. It calls the 
customer service asynchronously instead.

The WSDL interfaces could be something like this:

  |   
  | 
  |   
  | 
  | 
  | 
  |   
  | 
  |   
  | 

A partner link type defines the connection between these two services. Note the 
two roles in the relationship and how a port type specifies the interface each 
service presents to the other.

  |   
  |   
  | 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Cannot get List to replicate across a clustered TreeCacheAop

2005-11-29 Thread Ben Temperton
I am currently using JBossCache version 1.2.4 deployed as an mbean in JBoss 
4.0.2, running under Java 1.5.

My mbean config file is as follows:

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | jboss:service=Naming
  | jboss:service=TransactionManager
  | 
  | 
  | org.jboss.cache.JBossTransactionManagerLookup
  | 
  | 
  | REPEATABLE_READ
  | 
  | 
  | REPL_SYNC
  | 
  | 
  | false
  | 
  | 
  | 0
  | 
  | 
  | 0
  | 
  | 
  | TreeCache-Cluster
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | true
  | 
  | 
  | 5000
  | 
  | 
  | 1
  | 
  | 
  | 15000
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  |
  |   
  | 
  | 
  | 

I have two servlets - one which creates a list on the cache with one 
value(InServlet):


  |  protected void doPost(HttpServletRequest request, HttpServletResponse 
response)
  | throws ServletException, IOException
  | {
  | try
  | {
  | MBeanServer server = MBeanServerLocator.locateJBoss();
  | TreeCacheMBean cache;
  | cache = (TreeCacheMBean) 
MBeanProxyExt.create(TreeCacheMBean.class, "jboss.cache:service=TreeCacheAop", 
server);
  | List list = new ArrayList(5);
  | list.add("Hello");
  |  
  | cache.put("test.cache.name", "TestKey", list);
  | ServletOutputStream out = response.getOutputStream();
  | out.println("");
  | out.println("");
  | out.println("Added value to cache");
  | out.println("");
  | out.println("");
  | 
  | 
  | }
  | catch (Exception e)
  | {
  | e.printStackTrace();
  | }
  | }
  | 

and one which gets the values out of the list on the cache, displays them, then 
adds one to the list (OutServlet):


  | protected void doPost(HttpServletRequest request, HttpServletResponse 
response)
  | throws ServletException, IOException
  | {
  | try
  | {
  | MBeanServer server = MBeanServerLocator.locateJBoss();
  | TreeCacheMBean cache;
  | cache = (TreeCacheMBean) 
MBeanProxyExt.create(TreeCacheMBean.class, "jboss.cache:service=TreeCacheAop", 
server);
  | 
  | ServletOutputStream out = response.getOutputStream();
  | out.println("");
  | out.println("");
  | Object values = cache.get("test.cache.name", "TestKey");
  | out.println("The class is: " + values.getClass());
  | List listValues = (List)values;
  | for (Object o : listValues)
  | {
  | out.println(" Value in cache is:  " + o + "");
  | }
  | out.println("");
  | out.println("");
  | 
  | ((List)cache.get("com.qxlva.test", "TestKey")).add("New Value 
-" + Calendar.getInstance().getTime());
  | 
  | 
  | }
  | catch (Exception e)
  | {
  | e.printStackTrace();
  | }
  | }
  | 

If I call MY_MACHINE/InServlet then MY_MACHINE/OutServlet, I can see the added 
values. Calling MY_MACHINE/OutServlet displays another value.

However, calling ANOTHER_MACHINE/OutServlet displays the initial value of the 
list added to the cache by MY_MACHINE/InServlet, but not the extra values added 
by MY_MACHINE/OutServlet.

Calling ANOTHER_MACHINE/OutServlet adds items to the cache on ANOTHER_MACHINE, 
but these are not propagated across to the cache on MY_MACHINE.

If I stop restart JBoss on ANOTHER_MACHINE, then hit 
ANOTHER_MACHINE/OutServlet, the full of values added from both MY_MACHINE and 
ANOTHER_MACHINE are shown. This would suggest to me that the list is being 
propagated across the cluster upon startup, and indeed when the list is added 
to the cache initially,  but not upon value change within the clustered cache.

I have tried wrapping the inserts in both servlets with 
cache.getTransactionManager().begin()
{ ...add stuff to cache...}
cache.getTransactionManager().commit()

but it has made no difference.

How can I get the values added to the cache to propagate across the cluster 
when a value is added to the list?

Many thanks,

Ben


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

Reply to the post : 
http://www.jboss.com/ind

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Oracle VPD in XA

2005-11-29 Thread rebarone
We are trying to use XA transactions with JBoss, Spring, Hibernate, and Oracle. 
With the basic  setup, it appears that autoCommit is set to true, so that 
failed transactions can't be rolled back. By changing the setup, the failed 
transactions are rolled back, but the transaction uses multiple connections. 
Because we are using Oracle's "Virtual Private Database" (VPD), or "Fine 
Grained Access Control" (FGAC), it is imperative that a single connection is 
used for the entire transaction. The reason is that Oracle uses information 
that we place on the Connection's database session to determine access for DML.

For basic setup:
Here is the xa-datasource connection info:

  | 
  |
  |   
  |   jdbc/XAOracleDS
  |   
  |   true
  |   true
  |   false
  |   
oracle.jdbc.xa.client.OracleXADataSource
  |   jdbc:oracle:thin:@server:port:SID
  |   username
  |   pwd
  |   
  |   
  |   

  |   
  |   
org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
  |   
  |   5 
  |   
  |   
  | 
  |   
  |   
  |  Oracle9i
  |   
  |   
  |   
  | 
  |   
  |  
  | jboss:service=TransactionManager
  | 
  |   
  |   
  | 
  | 
I'm using OpenSessionInViewFilter to set up transactions, with:
session.setFlushMode(FlushMode.NEVER);

This results in failed transactions NOT rolling back. If I implement a 
suggestion found on the web, changing hibernate.cfg.xml to add:

  | after_statement
  | 
It appears to set autocommit correctly, but since it ends up using different 
connections, the database session information I set after the Transaction was 
created with a callable statement, the Oracle VPD security isn't applied. I 
know it's using different connections because subsequent usage of the 
connection shows the database session information is set, but since it's coming 
from a pool, it's not neccessarily the security settings for the user who 
started the transaction. 

We're using Oracle 10g drivers...


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Starting EJBs

2005-11-29 Thread amitmalhotra
hi,
I am starting working on EJBs on myself at home only just to learn things. I 
have read Mastering Java,EdRoman and now want to do some hands on. 

Read a few thing on this forum and found many people using JBOSS. I also tried 
to start with JBOSS but found it a bit too complicated to begin with and was 
just wanted to know if its the right direction to learn or shuold i choose some 
other container.

Thanks for your advice.


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: how can i use xpath in jboss?!

2005-11-29 Thread led.bruno
i having the same problem, any solution was found?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: token.signal() throwing DelegationException

2005-11-29 Thread kls_kumar
Hi,

 Make sure that the Token hasn't reached the End State..

 Try to print the State of the Token..

Sateesh

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - jBPM on JBoss + Oracle 10g

2005-11-29 Thread kls_kumar
Hi All,

  I am trying to deploy a Simple App we have developed using jBPM in 
JBoss-4.0.3 and the DB Server i am using is Oracl10.1.0.4.0

  Here is My hibernate.properties file
  
  |  hibernate.connection.datasource =jbpmDS
  | hibernate.transaction.factory_class = 
org.hibernate.transaction.JTATransactionFactory
  | hibernate.transaction.manager_lookup_class = 
org.hibernate.transaction.JBossTransactionManagerLookup
  | hibernate.session_factory_name=java:comp/env/hibernate/SessionFactory
  | hibernate.jndi.url=jnp://localhost:1099
  | hibernate.query.substitutions=true 1, false 0
  |   

  And i am getting the following Error:

11:26:34,890 INFO  [SessionFactoryObjectFactory] Factory name: 
java:comp/env/hibernate/SessionFactory
11:26:34,890 INFO  [NamingHelper] JNDI InitialContext 
properties:{java.naming.provider.url=jnp://localhost:1099}
11:26:34,890 INFO  [NamingHelper] Creating subcontext: java:comp
11:26:34,906 INFO  [NamingHelper] Creating subcontext: env
11:26:34,906 INFO  [NamingHelper] Creating subcontext: hibernate
11:26:34,906 INFO  [SessionFactoryObjectFactory] Bound factory to JNDI name: 
java:comp/env/hibernate/SessionFactory
11:26:34,906 WARN  [SessionFactoryObjectFactory] InitialContext did not 
implement EventContext
11:26:34,906 INFO  [NamingHelper] JNDI InitialContext 
properties:{java.naming.provider.url=jnp://localhost:1099}
11:26:34,906 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.apache.myfaces.util.ClassUtils.newInstance(ClassUtils.java:274)
at org.apache.myfaces.util.ClassUtils.newInstance(ClassUtils.java:265)
at 
org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(ManagedBeanBuilder.java:49)
at 
org.apache.myfaces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:311)
at 
org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:569)
at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)
at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:140)
at 
org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:378)
at javax.faces.component.UIOutput.getValue(UIOutput.java:75)
at 
org.apache.myfaces.renderkit.RendererUtils.getStringValue(RendererUtils.java:225)
at 
org.apache.myfaces.renderkit.html.HtmlTextRendererBase.renderInput(HtmlTextRendererBase.java:131)
at 
org.apache.myfaces.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:49)
at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331)
at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:349)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:253)
at 
org.apache.jsp.erahome_jsp._jspx_meth_h_inputText_0(org.apache.jsp.erahome_jsp:163)
at 
org.apache.jsp.erahome_jsp._jspx_meth_h_form_0(org.apache.jsp.erahome_jsp:132)
at 
org.apache.jsp.erahome_jsp._jspx_meth_f_view_0(org.apache.jsp.erahome_jsp:102)
at org.apache.jsp.erahome_jsp._jspService(org.apache.jsp.erahome_jsp:66)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at 
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415)
at 
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
a

[JBoss-user] [EJB/JBoss] - Re: EJB not found

2005-11-29 Thread dazbaz
Did you ever resolve this ?

We are seeing the exact same issue occur.  Our EJB deploys and the client can 
access it for several days then all of a sudden we get an EJB Not Bound error 
occur and we have to restart the server before the application runs again.

Any ideas appreciated.

Thanks

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: JBPM 2.0 with SQL Server

2005-11-29 Thread nadim_sd
Finally I have managed to run jbpm with an sql server database, and I deployed 
a process.

However I still have the following problem:

In the generated sql schema, the tables: JBPM_TOKEN, JBPM_PROCESSINSTANCE each 
has 2 columns of type timestamp and SQL server won't allow to create a table 
with 2 timestamp:
ODBC error: [Microsoft][ODBC SQL Server Driver][SQL Server]A table can only 
have one timestamp column.

does anyone have a solution to this problem?
Thank you...

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: jBPM with mysql errors

2005-11-29 Thread maverick1611
I finally managed to modify and run the ant scripts to create the jbpm table 
and populate them with the business process definition configuration. However 
there is one problem now .. I observed that there are no JMS_USERS and 
JMS_Roles tables in mySQL db .. these tables used to be created for hypersonic 
.. what files should i modify so that the JMS tables too get created in MySQL. 


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: @Resource injection not working

2005-11-29 Thread Richy_Rich
Is it perhaps because your class is marked as being final? Does it need to be?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Min JBoss 4.0.3 config suitable to run JBoss Portal

2005-11-29 Thread al_kiev
I've added to wiki ( 
http://wiki.jboss.org/wiki/Wiki.jsp?page=MinJBossASForPortal) the first part of 
my story regarding minimal JBoss AS configuration suitable for JBoss Portal.
In my research I've started from minimal JBoss config and added services one by 
one to make JBoss Portal run properly.
So far, my configuration contains JMX-console and Tomcat5. 

Alex aka al_kiev

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Use of @PersistenceContext within an XMBean?

2005-11-29 Thread oglueck
Why not just use a session bean from inside your XMBean to access your 
persistence context?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Jbpm specific forum ?

2005-11-29 Thread babas1
It has been done : JBoss.com -> JBoss User -> JBoss jBPM

for now : http://www.jboss.com/index.html?module=bb&op=viewforum&f=217

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: best way of acheiving request response format

2005-11-29 Thread crazytony
genman,

Can you point to the lines of code which cause selectors with topics to not 
scale well?

Perhaps you are confused and are referring to selectors with queues, which are 
a really, really bad idea.



rohit_mca2000,

We got the idea to switch to Topics with Selectors after seeing that every 
other JMS implementation out there (ActiveMQ, WebSphere MQ, WLMQ) provide 
better slightly better performance with Topics and Selectors.

Google for  JMS Topics and Selectors and you'll find quite a few of them.

We run about 20,000 messages per server during our peak 8 hours.  We saw memory 
usage drop by 100M (out of 1024M) by switching from TemporaryQueues to Topics 
with selectors.

We've also seen our full GC invocations drop by 40% and the average length of 
our Full GC go from 15 seconds to 12 seconds.

My advice to you is this:  it's not impossible to switch mechanisms (we coded 
it so we can do it with a properties file switch). 

Follow the recommended practices:
Cache the connection
Create a Session per thread



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: JDPL - Two roles performing same task

2005-11-29 Thread babas1
As shown in http://www.jboss.com/index.html?module=bb&op=viewtopic&t=72818 

It is easy to use the delegation mechanism in Jbpm 3.0 to code our own 
AssignmentHandler :

public class MyAssignmentClass implements AssignmentHandler {
  | ...
  | String myFieldA;
  | String myFieldB;
  | ...
  | 
  | public void assign(Assignable assignable, ExecutionContext 
executionContext) {
  | ...
  | }

But does anyone have a sample of the code in assign(..) method ?
As for my problem, I would like to return a new group built from two real 
groups from the database. So that all the actor in the two groups can run the 
task calling the handler.
Thank you ...


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ReceiveNoWait returns null but many there are 5000 messa

2005-11-29 Thread clizarralde
I am sorry. I will give some environment information: 

We are using JBoss 4.0.1.sp1 in the default server configuration.
The OS y es Linux Redhat 9.
The JMS server is using UIL2 Invocation Layer and using Oracle 9i to persist 
jms messages.

Charly

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Swimlanes and TaskAssignment

2005-11-29 Thread babas1
So what is the solution ?
As for my case, i need the actorId mapped as the users and a role mapped as a 
dedicated team ..
does anyone have a role use case ?
I am leading myself astray with role/group !!

All of these, because I can't find a way to define a new group with two 
existing groups !!

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: NoSuchObjectException

2005-11-29 Thread sksiazek
We are currently using version 4.0.0, although I will be migrating to version 
4.03 once I fix an unrelated problem in another module. 

Here is the JNDI section of the conf/jboss-service.xml file :

   
   
   

   
  
  true
  
  1099
  
  
  
  1098
  
  
  
  jboss.system:service=ThreadPool
   

   
   


Here is the method (slightly modified) that performs the context lookup :

public static FubarRemote getServerFubar()  {

FubarRemote remoteFubar = null;

String serverName = "remoteserver";

Context serverContext;
String contextFactory = "org.jnp.interfaces.NamingContextFactory";
String contextURL = "jnp://" + serverName + ":1099";
Properties p = new Properties();
p.put("java.naming.factory.initial", contextFactory);
p.put("java.naming.provider.url", contextURL);
p.put("java.naming.factory.url.pkgs", 
"org.jboss.naming.org.jnp.interfaces");

try {
serverContext = new InitialContext(p);
Object ref = serverContext.lookup("Fubar");
FubarHome home =
(FubarrHome) PortableRemoteObject.narrow(ref, FubarHome.class);
remoteFubar = home.create();
} catch (NamingException e) {
e.printStackTrace();
} catch (RemoteException e) {
e.printStackTrace();
} catch (CreateException e) {
e.printStackTrace();
}

return remoteFubar;
}


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: BookingTest.java n' TestNG

2005-11-29 Thread Frankrtg
Firstable, I want to thank you marius.oancea and admin. 

I already solved my problem. The solution was so easy!
If you see this line from the console information:

  | Exception in thread "main" java.lang.NoClassDefFoundError: 
javax/servlet/ServletContext
  | 

it is showing "javax/servlet/ServletContext"
It means servlet.jar is missing in Eclipse's configuration. So I added it as 
external jars and it fixed the problem. The three tests are runing!

Thanks anyway!

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - spurious socket timed out exceptions in log

2005-11-29 Thread dpocock

I make calls to a stateless session bean in Jboss 4.0.3.

The calls are made from a client running on a separate host.  Iuse a remote 
interface.

If the client doesn't make any calls for more than 60 seconds, then the 
exception below appears in the JBoss console.  

Should I be releasing my reference to the SLSB if I am not going to use it 
again for another 60 seconds?  

14:53:37,638 ERROR [ServerThread] socket timed out
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
at 
java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2200)
at 
java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2380)
at 
java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2447)
at 
java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2519)
at 
java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2668)
at java.io.ObjectInputStream.readByte(ObjectInputStream.java:864)
at 
org.jboss.remoting.transport.socket.ServerSocketWrapper.checkConnection(ServerSocketWrapper.java:54)
at 
org.jboss.remoting.transport.socket.ServerThread.acknowledge(ServerThread.java:217)
at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:298)
at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:169)


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Unit testing with Embeddable EJB 3.0 container

2005-11-29 Thread melsom
Hi

I tried your "tutorial" but I get the same 
KernelRegistryEntryNotFoundException. 

I have the same setup as you, but I use HSQLDB.  Did you say you where going to 
packup your code for others to see?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Alpha 5.0 - Port not found in WSDL

2005-11-29 Thread [EMAIL PROTECTED]
Good luck John. Many successful projects rely on qualified answers within a 
known time frame. Posts on this forum will be dealt with at the comunities 
leisure. As you can might guess, I am also often quite busy.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >