[JBoss-user] [EJB/JBoss] - Does JBoss Support transaction propagation to other VM's

2005-10-19 Thread FelderR
In 
http://docs.jboss.com/jbossas/javadoc/4.0.1-sp1/transaction/org/jboss/tm/package-summary.html
 you say that the default transaction Service cannot propagate transactions to 
other VM's!

For me, default means, that there are other transaction services within JBoss! 
I didn't find any information where I can find those other transaction services 
and how to configure them. Or does 'default' mean that JBoss does not support 
transaction propagation to other VM's and that there is no other transaction 
service embedded within JBoss? So we have to use third party products?

Thx Rene

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Mod_JK Errors

2005-10-19 Thread david.barber
Hello 

I am trying to configure a JBoss instance with Apache located on a separate 
server but keep receiving the following error from the mod_jk connector.

[Thu Oct 20 15:41:17 2005]  [jk_ajp_common.c (679)]: 
ajp_connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed
[Thu Oct 20 15:41:17 2005]  [jk_ajp_common.c (1041)]: Error reading reply
[Thu Oct 20 15:41:17 2005]  [jk_ajp_common.c (1178)]: In 
jk_endpoint_t::service, ajp_get_reply failed in send loop 0


My workers.properties file is below

ps=\\
worker.list=node1,node2,loadbalancer

worker.node1.port=8009
worker.node1.host=162.49.128.155
worker.node1.type=ajp13
worker.node1.lbfactor=50
worker.node1.socket_keepalive=1 
worker.node1.socket_timeout=300 
worker.node1.cachesize=1000 
worker.node1.cache_timeout=600 
worker.node1.retries=7

worker.node2.port=8009
worker.node2.host=162.49.128.130
worker.node2.type=ajp13
worker.node2.lbfactor=50
worker.node2.socket_keepalive=1 
worker.node2.socket_timeout=300 
worker.node2.cachesize=1000 
worker.node2.cache_timeout=600 
worker.node2.retries=7

worker.loadbalancer.type=lb

worker.loadbalancer.balanced_workers=node1,node2

Apache version is 2.0.43
mod_jk is 2.0.42
JBoss 3.1
Apache is on Win2003
JBoss is on Win2000

Any help is very much appreciated.

David


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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - SubjectSecurityManager's getActiveSubject returns null

2005-10-19 Thread chakravarthy
I've an EJB "A" that has a security role defined. EJB "A" accesses a method in 
EJB "B" (through local interface) that does not have a security role defined. 
Within EJB "B" when I try to retrieve the Subject via SubjectSecurityManager's 
getActiveSubject method, it returns a null.
JBOSS version 4.0.2
EJB 3.0

Accessing Subject within EJB "B" :
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.security.auth.Subject;
import org.jboss.security.SubjectSecurityManager;

Context ic = new InitialContext();
SubjectSecurityManager _subjectManager  =  (SubjectSecurityManager) 
ic.lookup("java:/jaas/" + "other"); // lookup the security domain
Subject subject = _subjectManager.getActiveSubject(); // returns null

EJB "A" has a security domain defined "java:/jaas/other".
Has anyone come across a situation when an EJB that does't have a security role 
associated tries to access Subject that was set by another EJB that has a 
security role defined?
Thanks for your help,
-Chakravarthy

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Incomplete Deployment Listing

2005-10-19 Thread Neelixx
kweiner,

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

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-19 Thread Neelixx
Yes, I'm using Eclipse3.1 with JBossIDE1.5.  In my build path, I have:

J2EE 1.4 libraries (JBoss-IDE) - included with JBoss-IDE1.5
JBoss-EJB3 libraries (JBoss-IDE) - included with JBoss-IDE1.5

Along-side those, I do alot of unit testing, so I also have JUnit and Cactus 
libraries.  But that's it.

I then package all my ear, war, ejb3, and par files using the "Packaging 
Configuration" in Eclipse.

On a side note, the ejb3x.jar defines the ejb annotations, whereas the ejb3.jar 
defines your EJB's (session, stateless, entity, persistence, etc)

I'm looking at my library list now, and this is what's included in the EJB3.0 
libraries:

http://www.thepaxson5.org/Members/Aaron/ejb3Libraries

Hope this helps!

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Adding a Tomcat Valve Via An MBean?

2005-10-19 Thread jiwils
I would like to add the Tomcat AccessLogValve programmatically to a running 
JBossAS instance.  I would like to be able to leave the default server.xml 
configuration alone so it can be packaged "as is", and it would be neat to be 
able to enable/disable a valve such as this on an "as needed" basis.

While it looks like I might could create a server configuration Element and 
pass that to the server through the JBossWeb/Tomcat MBeans, I would rather not 
completely reconfigure Tomcat in order to accomplish this (and I am guessing 
that this route would cause that behavior).  Even if there is no "upfront" 
MBean way to do this, could I add an MBean that could do so programatically by 
using Tomcat-specific classes, and if so, could anyone help point me to the 
classes that I need to look at in order to do so?

I would have no problem contributing such an MBean if others would find it 
useful to add any valve to Tomcat on the fly (not just the one I need).

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: servlet cannot work after upgrade from 4.02 to 4.03

2005-10-19 Thread [EMAIL PROTECTED]
The invoker servlet is not compatible with the RunAsListener because it 
bypasses the normal servlet creation process. You need to comment out the 
RunAsListener in the jbossweb-tomcat55.sar/context.xml descriptor:


  | 
  | 
  |
  |
  | 
  |
  | 
  | 
  | 


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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Single developer using JBoss

2005-10-19 Thread Neelixx
If you already have object-oriented programming experience, then picking up 
Java won't be extremely hard.

I, myself, am a single developer learning J2EE on JBoss.  After 2 months, I am 
at a point where my helpdesk system is kicking of nicely for my company at an 
enterprise level.

Can you do it?  With motivation and perserverence, absolutely!

Read the JBoss Get Started Guides and the Administrator's Guide, and you'll be 
on your way!  Just like me.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: servlet cannot work after upgrade from 4.02 to 4.03

2005-10-19 Thread tissues
all the servlet program cannot work and show above error message after upgrade 
from 4.02 to 4.03

Is any extra configure need to do for 4.0.3?
I cannot invoke any servlet program at 4.0.3 while it was work fine on 4.0.2 or 
older version...

Thanks...


The config file for servlet

WEB-INF/web.xml
=

http://java.sun.com/dtd/web-app_2_3.dtd";>



invoker

org.apache.catalina.servlets.InvokerServlet


debug
0

2



invoker
/servlet/*



30


=


The servlet program:

WEB-INF/classes/examples/Hello.java
=
ackage examples;

import java.io.*;
import java.text.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
/**
 * The simplest possible servlet.
 *
 * @author James Duncan Davidson
 */
public class Hello extends HttpServlet {
public void doGet(HttpServletRequest request,
  HttpServletResponse response)
throws IOException, ServletException
{
response.setContentType("text/html");
PrintWriter out = response.getWriter();

out.println("");
out.println("");

String title = "Hello World!";

out.println("" + title + "");
out.println("");
out.println("");

out.println("" + title + "");
out.println("");
out.println("");
}
}
=

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-19 Thread jbossChecker
Hi Aaron, 
thank you once more for spending your time in responding to me.
It lets me hope, when you call yourself a kind of beginner too! But you have a 
great advantage, speaking english as your mother language.
Its sometimes really hart to understand the stuff (docs etc.)

A very last question please:
Are you working with eclipse too?
If yes, how/what is the right way/which packages do you insert to the build 
path of your application?
I have problems with that! Suddently, I see in the log files the (parent )  
directories of my application directory in the log files on JBOSS.log 
file

I am getting crazy!!  It seems to me, as my build path had issues.
I know that you have to put the jboss-ejb3.jar and jboss.ejb3x.jar to the build 
path/ classpath (ownestly I dont know the difference) but which jars else?

It doesen't matter, when you do not have the time to answer. I can understand 
that. You helped me enough. 

Greeting to your german wife from Hamburg Germany, and thank you very much 
again.
bye



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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Incomplete Deployment Listing

2005-10-19 Thread kweiner
I forgot to mention that I don't have this problem if I deploy my application 
to the default (as opposed to minimal) configuration.  I'd like to use minimal 
if possible.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Incomplete Deployment Listing

2005-10-19 Thread kweiner
I am having the similar problem. The logs don't seem to provide anything 
helpful:

16:28:42,019 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  | 
  | --- Packages waiting for a deployer ---
  | [EMAIL PROTECTED] { 
url=file:/software/jboss-4.0.2/server/minimal/deploy/my.war/ }
  |   deployer: null
  |   status: null
  |   state: INIT_WAITING_DEPLOYER
  |   watch: file:/software/jboss-4.0.2/server/minimal/deploy/my.war/
  |   altDD: null
  |   lastDeployed: 1129764522015
  |   lastModified: 1129763811000
  |   mbeans:
  | 
  | --- Incompletely deployed packages ---
  | [EMAIL PROTECTED] { 
url=file:/software/jboss-4.0.2/server/minimal/deploy/my.war/ }
  |   deployer: null
  |   status: null
  |   state: INIT_WAITING_DEPLOYER
  |   watch: file:/software/jboss-4.0.2/server/minimal/deploy/my.war/
  |   altDD: null
  |   lastDeployed: 1129764522015
  |   lastModified: 1129763811000
  |   mbeans:



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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JNDI Lookup not returning 'javax.xml.rpc.Service'

2005-10-19 Thread [EMAIL PROTECTED]
The required client jars are listed in the FAQ wiki

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: SOAP namespaces

2005-10-19 Thread [EMAIL PROTECTED]
We recommend the use of wscompile from the JWSDP. The axis tools in our 
codebase are legacy and do not generate WS4EE compliant artifacts.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: creating webservice for interface Element[] function(Ele

2005-10-19 Thread [EMAIL PROTECTED]
org.w3c.dom.Element is not a supported type in the jaxrpc-1.1 spec

However we have support for Element and SOAPElement mapping to xsd:anyType

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Doc/lit ws from WSDL not working

2005-10-19 Thread [EMAIL PROTECTED]
This is a candidate for a test case. 

Could you please create a JIRA issue and attach a sample deployment that allows 
us to reproduce what you are seeing. Idealy, the sample deployment is a webapp 
packaged as a war that will show the issue when we click on a link. The war 
should also contain the sources.


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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: ClassLoaders not found for ArraySerializerFactory?

2005-10-19 Thread [EMAIL PROTECTED]
The testsuite contains marshalling tests for all kinds of arrays, including 
String[]

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JSR-181 - beehive/jbossWS on JbossAS4.0.X?

2005-10-19 Thread [EMAIL PROTECTED]
The jbossws-1.0 release depends on a full pass of the CTS and sufficient 
wstools support.

Checkout JIRA for the current status of that release.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JBossWS-1.0EA released

2005-10-19 Thread [EMAIL PROTECTED]
When jbossws-1.0 is released, it will be backported

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Acessing webservice with browser

2005-10-19 Thread [EMAIL PROTECTED]
No, this is not supported. How can a simple GET send a valid SOAP envelope to 
an endpoint?

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: ROOT URI Question

2005-10-19 Thread [EMAIL PROTECTED]
When you deploy both endpoints in an EAR, what does the server.log say about 
where your endpoints are started?

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: How to setup standalone cache w/ an expiration time

2005-10-19 Thread lordhong2
Thank you!
I found my problem was with "wakeUpIntervalSeconds" value being set too long.

Rock On!

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: WebRowSet parameter

2005-10-19 Thread [EMAIL PROTECTED]
The error says it. java.util.Map is not allowed by JAXRPC-1.1. See the spec for 
details of allowed types.

The reason is probably that not every language that implement web services has 
a notion of maps.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: WSCompile Clarifications

2005-10-19 Thread [EMAIL PROTECTED]
If you go from Java -> WSDL + mapping the generated classes are not needed.

If you go from WSDL -> Java + mapping the SEI, complex user types or user 
exceptions are needed.

Everything that is portable and does have dependencies on the Sun SOAP stack

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: howto specify application specific config properties in

2005-10-19 Thread [EMAIL PROTECTED]
In web.xml you can specify env-entry that will be bound to components env 
context in JNDI 


  | 
  | 
  | 
  | 

You could also load a normal properties file that you package with your war 
from the thread context class loader

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Error: could not find deserializer for type

2005-10-19 Thread [EMAIL PROTECTED]
Is the mapping of 

{http://www.qcommcorp.com/dncstypes}ArrayOfstring

defined?

It probably map to a bean wrapping your String[]

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Client Discovery of Service Endpoint in Production Envir

2005-10-19 Thread [EMAIL PROTECTED]
Not sure if I understand the question. When a WS client wants to connect to any 
remote web sevice it must know its address or doesn't it?

>From that address it can download the wsdl.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Question about webservices, jee 5.0 and annotations

2005-10-19 Thread [EMAIL PROTECTED]
The upcomming new stack jbossws-1.0 release will be backported to jboss-4.x 

Check JIRA for open issues for that release

http://jira.jboss.org/jira/browse/JBWS

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Secure Webservice client - axis-ws4ee.jar does not suppo

2005-10-19 Thread [EMAIL PROTECTED]
You can also use

https://REPLACE_WITH_ACTUAL_URL"/>

This is also related to

http://jira.jboss.org/jira/browse/JBWS-454



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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Classes in different War files clashing

2005-10-19 Thread [EMAIL PROTECTED]
This is a general class loading issue that is not specific to web services. You 
may want to look into scoped class loading.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Deserializer error on ArrayOfstring

2005-10-19 Thread [EMAIL PROTECTED]
The testsuite contains marshalling tests that also test String[]

Note, that the WSDL snipit you show contains soap encoded arrays, which is not 
allowed in WS4EE.

Use rpc/literal or document/literal instead.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: WebSphere web service in JBoss

2005-10-19 Thread [EMAIL PROTECTED]
Looking at

http://anoncvs.forge.jboss.com/viewrep/~tag=JBoss_4_0_2/JBoss/webservice/src/main/org/jboss/webservice/metadata/WebserviceDescriptionMetaData.java?r=1.19.4.4#l274

it looks like your webservices.xml is missing the required wsdl-port element

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - 2 server xa transaction propagation within payload

2005-10-19 Thread FelderR
We want to have a xa transaction (distributed 2 phase commit transaction) 
accross two JBoss Server Instances. Server A stores some data in database 1, 
Server B stores some data in database 2. If one of both fail, we want the 
transaction to be rolled back.

We are using JBoss 4.0.3 in the default configuration with Oracle 9.2.x. The 
datasource is configured as XA datasource using class 
oracle.jdbc.xa.client.OracleXADataSource within the oracle jdbc thin driver 10g.

Both Oracle instances are configured as XA Instances using the initjvm.sql and 
initxa.sql.

EJB1 on Server A calls EJB2 on Server B. Both EJB's are container managed using 
'Requires' as transaction demarcation. Although EJB1 and EJB2 should share one 
transaction EJB2 doesn't roll back the transaction after EJB1 throws a 
RuntimeException. 

After digging deeper into JBoss we found out, that the transaction in EJB1 is 
not put into the payload or as_is_payload, instead it is put into the 
transient_payload attribute of the invocation that is not propagated to JBoss 
Instance B. 

Does JBoss not support the propagation of transactions accross instances? Why 
is the transaction put into the transient_payload? Do we have to write a custom 
interceptor to support distributed transactions?

Thx Rene

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Data returned from WS is incorrect type and empty.

2005-10-19 Thread stevehnsn
I'm attempting to send a tiff file from servlet to client by wrapping it in a 
datahandler and returning the datahandler via RPC.  I'm developing in Eclipse 
with JBoss 4.0.2.  At the server, the datahandler is created correctly, but on 
the client side, the object that is returned is apparently an AttachmentPart 
rather than a datahandler, and it's also very much null.  In fact the 
datahandler contained within it is useless.  After multiple tries with multiple 
sources, I followed JBossWSAttachStepByStep to a T.

Here's the server code which works fine:

  | try{
  | File theFile = new File(testTiff);
  | DataSource ds = new ByteArrayDataSource(theFile, "image/tiff");
  | DataHandler dh = new DataHandler(ds);
  | return dh;
  | }
  | catch(Exception ex) { ... }
  | 

Here's the client code:

(To avoid confusion, if I just say 
DataHandler ret = call.invoke(...); 
or
DataHandler ret = (DataHandler) call.invoke(...);
which is what I was doing originally, it still doesn't work.  
I've only just pasted my most recent code.)


  | try {
  | DataHandler dh = null;
  | String endpoint = 
"http://dd-hanson:8080/serviceName/Controller?wsdl";;
  | URL myURL = new URL(endpoint);
  | QName myQ = new QName(NAMESPACE_URI, "ControllerService");
  | ServiceFactory factory = 
(ServiceFactory)ServiceFactory.newInstance();
  | Service  service = (Service)factory.createService(myURL, myQ);
  | Call call = (Call)service.createCall(new QName(NAMESPACE_URI, 
SERVICE_PORT) );
  | call.setTargetEndpointAddress(endpoint);
  | call.setOperationName(new QName("http://web.imaging/wsdl";, 
"getImage"));
  | 
  | Object ret = call.invoke(new Object[]{imageID});
  | 
  | System.out.println("ret is type: " + ret.getClass());  // This is 
how I know 'ret' is an AttachmentPart
  | dh = 
(DataHandler)((org.apache.axis.attachments.AttachmentPart)ret).getDataHandler();
  | return dh;  // By this point dh is just about as useless as null.
  | }
  | catch (Exception ex) { ... }
  | 

Here's my WSDL:

  | 
  | 
  | http://web.imaging/wsdl"; 
  | xmlns:tns="http://web.imaging/wsdl"; 
  | xmlns="http://schemas.xmlsoap.org/wsdl/"; 
  | xmlns:ns2="http://java.sun.com/jax-rpc-ri/internal"; 
  | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
  | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
  | xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";>
  |   
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  |  
  | 
  |   
  |
  | 
  |   
  | 
  |   
  | http://schemas.xmlsoap.org/soap/http"; 
style="rpc"/>
  |  
  | 
  |   
  |   
  | http://web.imaging/wsdl"/>
  |   
  | http://web.imaging/wsdl"/>
  |   
  | 
  |   http://web.imaging/wsdl"/>
  | 
  | 
  |   
  | 
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  | 

Here's my webservices.xml:

  | http://java.sun.com/xml/ns/j2ee";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
  | http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd";
  | version="1.1">
  | 
  | 
ControllerService
  | WEB-INF/wsdl/ControllerService.wsdl
  | WEB-INF/mapping.xml
  | 
  | PortComponent
  | FrontControllerInterfacePort
  | 
  | imaging.web.FrontControllerInterface
  | 
  | 
  | Controller
  | 
  | 
  | 
  | 
  | 

Here's my mapping file:

  | 
  | http://java.sun.com/xml/ns/j2ee"; 
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
  | version="1.1" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
  | http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd";>
  | 
  |  imaging.web
  |  http://web.imaging/wsdl
  | 
  | 
  |  imaging.web.ControllerService
  |  http://web.imaging/wsdl";>serviceNS:ControllerService
  |  
  |   FrontControllerInterfacePort
  |   FrontControllerInterfacePort
  |  
  | 
  | 
  |  
imaging.web.FrontControllerInterface
  |  http://web.imaging/wsdl";>portTypeNS:FrontControllerInterface
  |  http://web.imaging/wsdl";>bindingNS:FrontControllerInterfaceBinding
  |  
  |   getImage
  |   getImage
  |   
  |0
  |java.lang.String
  |
  | http://web.imaging/wsdl";>wsdlMsgNS:FrontControllerInterface_getImage
  | String_1
  | IN
  |
  |   
  |   
  |javax.activation.DataHandler
  |http://web.imaging/wsdl";>wsdlMsgNS:FrontControllerInterface_getImageResponse
  |result
  |   
  |  
  | 
  | 
  | 

Someone please help, I've wasted a week of company time trying to make this 
work!  Thanks so much.

Steve

View th

[JBoss-user] [JNDI/Naming/Network] - RE: naming look up issue with ejb3.0 in jboss

2005-10-19 Thread [EMAIL PROTECTED]
after deploying ejb3.0 and my ejb3.0 application into jboss4.0.3 , i got 
following logs in jboss startup console: 

..
16:09:56,982 INFO  [JaccHelper] com.comcom.test.ShoppingCartBean has no 
@SecurityDomain - skipping JACC configuration
16:09:56,982 INFO  [JaccHelper] JACC Policy Configuration for deployment has 
been put in service
16:09:56,982 INFO  [Ejb3Deployment] EJB3 deployment time took: 343
16:09:57,045 INFO  [ProxyDeployer] no declared remote bindings for : 
com.comcom.test.ShoppingCartBean
16:09:57,045 INFO  [ProxyDeployer] there is remote interfaces for 
com.comcom.test.ShoppingCartBean
16:09:57,045 INFO  [ProxyDeployer] default remote binding has jndiName of 
com.comcom.test.ShoppingCart
16:09:57,092 INFO  [EJB3Deployer] Deployed: 
file:/C:/jboss-4.0.3/server/default/deploy/pz3Server.ejb3

But i can not find the name of remote interface when runing a web client 
located a seperate tomcat server. the naming lookup codes and the error logs as 
following. Does someone have idea on it?


..code..
InitialContext ctx = new InitialContext();
ShoppingCart cart = (ShoppingCart) ctx.lookupShoppingCart.class.getName());

..error logs..
javax.naming.NameNotFoundException: Name com.comcom.test.ShoppingCart is not bou
nd in this Context
at org.apache.naming.NamingContext.lookup(NamingContext.java:769)
at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.comcom.login.LoginAction.execute(LoginAction.java:48)
at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
4)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
526)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Thread.java:595)


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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Can JBoss read properties from a file?

2005-10-19 Thread [EMAIL PROTECTED]
Try "-P my.properties".

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: maxNodes in region question

2005-10-19 Thread [EMAIL PROTECTED]
maxAgeSeconds has been deprecated since 1.2. If you read the doc, it is not 
mentioned anymore. Instead, we use timeToLiveSeconds now.

-Ben

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: bdbje(sleepycat) version with jboss-cache 1.2.3

2005-10-19 Thread [EMAIL PROTECTED]
Just patch the bdje new version should work as well. 1.2.4 is coming out this 
week, btw.

-Ben

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: How to setup standalone cache w/ an expiration time

2005-10-19 Thread [EMAIL PROTECTED]
maxAgeSeconds has been deprecated long time ago (since 1.2) for 
timeToLiveSeconds.

Try to run the junit test under the distro. Under evict, it has numerous 
examples illustrating the eviction policy expiration test.

-Ben

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: authetication at registering in cluster

2005-10-19 Thread [EMAIL PROTECTED]
No, there isn't. If you google for this, there was a discussion of it afair ca 
2 months ago, and I suggested a protocol just below GMS

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: portlet layout in portal

2005-10-19 Thread ray_lukas
GOT IT.. Yeah, my thinking has been confirmed..  Crystal man.. Crystal clear.. 
That is what I thought.. See your last post triggered that in my brain.. I did 
read Roy's chapter, actually I glossed over it (sorry Roy) and after reading 
your last post I saw the error of my ways and went back and really read it, it 
is a good chapter.. Thanks Roy, wherever you are..  But this confirms what I 
was thinking. hey man.. Thanks a lot for helping me out.. Confirmation, from 
someone that knows.. I think that I am starting to get the hang of this thing.. 
It is not to bad, just have to get a couple ideas straight first and play with 
it a while.. It is really pretty straight forward once you get the model in you 
brain drawn up correctly.. It all makes sense.. 
Right now I have two portlets Car Demo and Helloworld on the same page and I 
now have a pretty good idea of how to make that page look like our company page 
and not the JBoss Portal Server page, beautiful as it is. 
So that makes me feel pretty happy. I will still work most of the night but hey 
today is a good day and it is not over yet. I am feeling pretty good right 
now.. 

Look I work in Cambridge.. If you ever want to do a lunch or something it is on 
me.. Just offering.. 

Thanks man, 
ray


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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Persistent Connection Pooling

2005-10-19 Thread [EMAIL PROTECTED]
Pretty soon the FAQ is just going to be a copy of the documentation :-(
http://wiki.jboss.org/wiki/Wiki.jsp?page=StrangePoolingConnectionsDestroyed

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Persistent Connection Pooling

2005-10-19 Thread [EMAIL PROTECTED]
And for future reference (the badly named)

  |  
  | 

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Persistent Connection Pooling

2005-10-19 Thread [EMAIL PROTECTED]
Ignored, no use search or the FAQ
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Queries not sent to DB engine??

2005-10-19 Thread [EMAIL PROTECTED]
Use the CMP forum.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Bean NOTYETINSTALLED

2005-10-19 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=BadPostBump

anonymous wrote : 
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: jboss:database=highwaydb,service=Hypersonic
  |   State: NOTYETINSTALLED
  | 

And why is not installed? Because it is commented out!

  | 
  | 

And what does this have to do with JCA? Nothing!

Please take your future questions to the beginners forum.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Does jboss-portal 2.0 support LDAP?

2005-10-19 Thread cherngje
"[EMAIL PROTECTED]" wrote : I meant "fork" for the sake of avoiding duplication 
that makes then your code a problem to maintain when our code will evolve.

I am having the exact same issues with the LDAP integration (same error message 
after I modify the login-config.xml and jboss-web.xml). Now, my boss would like 
me to write our own login module instead of waiting for jboss's code to be 
evolved. At this point I would like to try the idea of "stacking", however, 
could anyone give me a little detail about "stacking"? Some type of concept or 
abstraction description will be good enough. I can google for the rest of 
information.

Thanks a lot.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - Re: Packaging Configuration on EJB3.0 Project

2005-10-19 Thread pomeloverde
I have installed JBoss AS 4.0.3 and JBoss Eclipse IDE Milestone 3, and there is 
no problem.

Although the next recommendations probably are not related to that problem, 
them are very convenient:

I have installed the JDK, JRE, JBoss AS and JBoss IDE into paths with no 
spaces. If you use Windows, don't accept the default "C:\Program Files\..." 
base path for the applications. For example, I setup all installations into 
"C:\Java\...".

Be sure you set the JAVA_HOME environment variable to point to your JDK 
installation path, and remember again that it should reside in a path without 
spaces on the name.

Enjoy EJB3!




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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: portlet layout in portal

2005-10-19 Thread bsmithjj
Yes - if you want to modify what the portal looks like, you must modify

portal-core.war/WEB-INF/default-portal.xml

The way I deal with custom portal pages is to create my own layout/theme(s).

Then, I set the default-portal to use my desired layout/theme and I develop 
arbitrary portal pages based on my layout/theme.

In default/deploy you might have several things deployed, like this:


  | ${JBOSS_HOME}/server/default/deploy/
  |   ...
  |   jboss-portal.sar
  |   ...
  |   three-column-theme.war
  |   two-column-theme.war
  |   fancy-theme.war
  |   blue-theme.war
  |   green-theme.war
  |   ...
  |   news-portal.war
  |   reports-portal.war
  |   ...
  |   portal-ds.xml
  |   ...
  | 

Each *-theme.war is a custom layout/theme
Each *-portal.war is a specific portal page (or set of portal pages)
portal-ds.xml contiains each of the datasources your portal(s) use.

NOTE - the reference guide explains how you create URL's for your portal pages.

Hope this helps.

Brad


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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - No ClassLoaders found for: org.jboss.management.j2ee.LocalJB

2005-10-19 Thread [EMAIL PROTECTED]
Unable to install JBOSS 4.2 on Solaris 5.8
run.sh results in following error

11:10:22,214 ERROR [MainDeployer] could not create deployment: 
file:/db01/jboss/jboss-4.0.2/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: No ClassLoaders found for: 
org.jboss.management.j2ee.LocalJBossServerDomain; - nested throwable: 
(java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.management.j2ee.LocalJBossServerDomain)


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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: getting LoginContext after form based authentication

2005-10-19 Thread [EMAIL PROTECTED]
HttpSession.invalidate() does kill the session on the server side.  However, 
the browser caches the BASIC authentication credentials and will continue to 
present them to the server for the life of the browser session.  When this 
happens, the user is reauthenticated on the server side, but it's all 
transparent to the user.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: How to setup standalone cache w/ an expiration time

2005-10-19 Thread lordhong2
argh... i cannot edit my post...

this line:
String s = (String)tree.get("/fandango/1","5sec");
should be:
String s = (String)tree.get("/test/1","5sec");



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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: How to setup standalone cache w/ an expiration time

2005-10-19 Thread lordhong2
here's the my-config again...

attribute name="EvictionPolicyClass" org.jboss.cache.eviction.LRUPolicy 
attribute 

attribute name="EvictionPolicyConfig"
  config
attribute name="wakeUpIntervalSeconds" 5 /attribute
region name="/_default_"
 attribute name="maxNodes" 5000 /attribute 
 attribute name="timeToLiveSeconds" 3 /attribute 
 attribute name="maxAgeSeconds" 5 /attribute
   /region

region name="/test/1"
 attribute name="maxNodes" 1000 /attribute 
 attribute name="timeToLiveSeconds" 2 /attribute 
attribute name="maxAgeSeconds" 3 /attribute
   /region

  /config
/attribute

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: getting LoginContext after form based authentication

2005-10-19 Thread silviu.marcu
the session invalidate does not work for BASIC type jass security...

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - How to setup standalone cache w/ an expiration time

2005-10-19 Thread lordhong2
Hi,

I am trying to test out the expiration/timeout of objects in memory using JBoss 
Cache.  But it seems not working for me.

My test codes are simply trying to get the value of the object I put in the 
tree every 5 sec.

try {
TreeCache tree = new TreeCache();
PropertyConfigurator config = new PropertyConfigurator();
config.configure(tree, "my-config.xml");
tree.startService();

tree.put("/test/1/", "5sec", "5 sec test");
int count = 0;
boolean run = true;
while (run) {
count++;
if (count==3) run = false;
String s = (String)tree.get("/fandango/1","5sec");
System.out.println("s: " + s);
Thread.sleep(5000); 
}
tree.stopService();
} catch (Exception e) {
e.printStackTrace();
}

And in my-config.xml file I have:

org.jboss.cache.eviction.LRUPolicy 


  
5 
 

 5000 
 3 
 
 5
   


 1000 
 2 
3
   

  


So in theory, the 2nd time when the tree.get() the object, it should return 
null because it's already expired.  But my tests show otherwise.

Please advise,

Many thanks,

Hong

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Clustering WebService and Testing using SOAP Clients

2005-10-19 Thread dreamzzalive
Hi
   I have written a webservice and succesfully deployed in JBoss-4.0.2. The 
service works fine, and i have tested it using wsdl..
  Is it possible to test the clustering concepts and failovers using soap 
clients ??? Can we have support for Clustering and failovers for MBeans like 
EJB's ???
   Please help me in this regard..
Thanks
Bala

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Classloading on JBoss 3.2.7

2005-10-19 Thread julienbaboud
Hi all,

 I am using jboss 3.2.7 version, having other constraints. I am deploying a Web 
Service of my own in a .war directory under server/default/deploy/ and as jboss 
starts i get a ClassNotFoundException, even so the specified class shows up in 
a jar file that I pointed to by mean of the JBOSS_CLASSPATH environment 
variable. How could this happen??? Here is the extract of the stack:

14:24:37,333 INFO  [TomcatDeployer] deploy, ctxPath=/msh, 
warUrl=file:/usr/local/install/dev/jboss/jboss-3.2.7/server/default/deploy/msh.war/
14:24:39,668 ERROR [Engine] StandardContext[/msh]Error configuring application 
listener of class hk.hku.cecid.phoenix.message.handler.MSHServletContextListener
java.lang.ClassNotFoundException: 
hk.hku.cecid.phoenix.message.handler.MSHServletContextListener


 Also to a larger extent, how do you force jboss to use you own classes (under 
WEB-INF/lib/ of the web service) rather than those coming with the package and 
result in conflicts  (which seems to be the case when not using the 
JBOSS_CLASSPATH environment variable). Here is the stack:

14:43:07,581 INFO  [TomcatDeployer] deploy, ctxPath=/msh, 
warUrl=file:/usr/local/install/dev/jboss/jboss-3.2.7/server/default/deploy/msh.war/
14:43:10,963 INFO  [STDOUT] Info: using property file in 
/usr/local/install/dev/jboss/jboss-3.2.7/msh.properties.xml
14:43:11,499 INFO  [STDOUT] [10001] Initialization error
Exception: hk.hku.cecid.phoenix.message.handler.InitializationException
Message: [10501] Default MessageFactory cannot be instantiated
Exception: javax.xml.soap.SOAPException
Message: Failed to create MessageFactory: 
org.apache.axis.soap.MessageFactoryImpl
14:43:11,507 INFO  [Engine] StandardContext[/msh]Marking servlet msh as 
unavailable
14:43:11,511 ERROR [Engine] StandardContext[/msh]Servlet /msh threw load() 
exception
javax.servlet.ServletException: Error instantiating servlet class 
hk.hku.cecid.phoenix.message.handler.MessageServiceHandler


I know there is information on 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration but this is 
rather confusing for me as I begin with jboss, and I am unsuccessful so far.

 Thanks for your help!
 Julien

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: JBoss 4.0.3 message: No transaction manager lookup class

2005-10-19 Thread roginsky
I have the same problem. Not sure why it happens and how I can fix it? I do 
need transactions!
I define the lookup class in the cache config file as shown below:
Thanks for your help!

Renata.


  | 
  | org.jboss.cache.JBossTransactionManagerLookup

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - how do you map multiple context paths to the same web app in

2005-10-19 Thread akhopkar
Hi guys,

Does anybody know how I would map multiple context paths to a single web 
application inside of an ear file?  For example, if my app's name is sample.war 
inside of the .ear file, what I would like to do is map multiple context 
path's, say:

/COMPANY1/SAMPLE
/COMPANY2/SAMPLE
/COMPANY3/SAMPLE
/COMPANY4/SAMPLE
...

to this same .war file inside of this ear.  The web module (inside of an 
app.xml) doesn't allow more than one root url.  In addition, since it's just 
one application, I would prefer that each of these not have their own memory 
space and class loaders, but instead really just refer to the same .war file.

Is there a way to configure the .ear, tomcat55.sar or jboss in order to achieve 
this?

Amarish

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Can a jboss service archive load COM object dlls?

2005-10-19 Thread Pualee
I am brand new to this, so I not be of much help.

Basically, as I understand it, COM objects resemble Java Beans.  However, Java 
Beans are not Java Enterprise Edition Beans (J2EE) and are not used with Java 
application servers.

Can you verify that your 'bridge' changes COM to Enterprise Edition Beans and 
not standard Java Beans?

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: How do I write my Own Portal..

2005-10-19 Thread ray_lukas
thanks let me give this a try.. 
ray

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: How do I write my Own Portal..

2005-10-19 Thread nebel
I approached this slightly differently.  I put my portal's WAR file in the 
server\default\deploy\ directory, and I also put my *-portal.xml file in this 
directory.  All other *.xml files mentioned in chapter 2 of the reference guide 
I put in the WEB-INF directory of my WAR file, except for the *-pages.xml file, 
which I don't have at all.  (If I want my portal to be a page of the default 
portal, then I have a *-pages.xml and no *-portal.xml.)  This approach allows 
you to access your portal directly using a URL like: 
http://localhost:8080/portal/yourportal/  (assuming "yourportal" is the text 
inside the  element in your *-portal.xml file).  The JBoss default 
portal is still accessible at http://localhost:8080/portal/ .

Any deviations from the above are undocumented, which I also find very 
disappointing.


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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-19 Thread Neelixx
I, myself, am learning the EJB3.0 and JBoss system (and Java for that matter), 
so bear with me.

"jbossChecker" wrote : 
  | 
  | 1) How do I handle the use case, that someone puts somthing into the cart, 
but doesn't proceed, How do I terminate the EJB3 sfsb? 
  | I know the @Remove annotation, but who/what should invoke such a method? Or 
schoul I better work with timer objects and timeouts?

The container manages the session.  If someone was to just close out the 
browser, or go to another site without "checking-out" or "logging-out", then 
the container is responsible for timing-out the session.  When the session gets 
removed, I believe that's when the @Remove annotation is called.

You can modify your session timeout values in your descriptors.

"jbossChecker" wrote : 2) Would you ammotate this Bean as @Remote? Is ist 
possible to make an interface both (remotely and locally) available? 
  | 

It depends on how you want to run your application.  Running your beans with a 
@Remote interface, means other JVM's can access your bean (such as two seperate 
JBoss Servers).  If you plan on running your application in the same JVM (such 
as a single server), then you will only need a local interface.

There are exceptions to the rule, such as clustering JBoss servers, and your 
application architecture.  However, if you are just learning the EJB and JBoss 
technologies, I'd stick with local interfaces for now.

Also, I'm used to the bad english grammer, as my wife is also german (though 
her accent is nearly gone), and I'm used to reading her typing.  :)

Good luck!  Hope this helps!

--Aaron

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Does JBoss Cluster HA_JNDI support this implementation

2005-10-19 Thread JerryGauth
I think you can't configure HA-JNDI to direct all lookups to a single node.  
I'm not familiar with 3.2.7 but in later code, HA-JNDI uses the smart proxy 
with a round-robin policy to service HA-JNDI lookups.  Perhaps I'm 
misinterpreting something but that's my understanding of the current 
implementation.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Error ORA-04065 in session with JBOSS 3.2.5

2005-10-19 Thread caiorst
Hi

I'm having problems accessing the database with JBOSS after I update the 
aplication .ear, its tables and stored procedures. The problem happens because 
when a stored procedure is updated, others objects in the database become 
invalid and even AFTER this objects were recompiled and validated, the JBOSS 
still sees then as invalid. I have to manually reboot JBOSS to make it see the 
objects as valid.
How can I solve this problem without rebooting JBOSS?

Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
JBOSS 3.2.5
Non-transactional Driver.
- Ocultar texto das mensagens anteriores -



2005-10-18 23:54:50,927 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
TransactionRolledbackLocalException in method: public abstract java.util.Vector 
dixtal.server.session.PrescricaoItemSEJBLocal.getValoresFiltro 
(java.util.Vector,java.lang.String,java.lang.String,int,java.lang.String,int), 
causedBy:
dixtal.server.dao.DAOException: ORA-04061: existing state of package body 
"OWNER.ST_CHECAGEM_II" has been invalidated
ORA-04065: not executed, altered or dropped package body "OWNER.ST_CHECAGEM_II"

at 
dixtal.server.dao.OraclePrescricaoItemDAO.processFiltro(OraclePrescricaoItemDAO.java:262)
at dixtal.server.session.PrescricaoItemSEJBBean.getValoresFiltro 
(PrescricaoItemSEJBBean.java:37)
at sun.reflect.GeneratedMethodAccessor34835.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke (Method.java:324)
at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java
 :185)
at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke 
(SecurityInterceptor.java:120)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
at org.jboss.ejb.Container.invoke(Container.java:723)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke 
(BaseLocalProxyFactory.java:359)
at 
org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)
at $Proxy466.getValoresFiltro(Unknown Source)
at dixtal.checagem.model.session.ChecagemSEJBBean.getResultFiltro 
(ChecagemSEJBBean.java:92)
at sun.reflect.GeneratedMethodAccessor34833.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke (Method.java:324)
at 
org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(StatefulSessionContainer.java:949)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
at 
org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java
 :273)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke (TxInterceptorCMT.java:148)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:416)
at org.jboss.ejb.Container.invoke(Container.java:723)
at sun.reflect.GeneratedMethodAccessor34826.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.invocation.jrmp.server.JRMPI

[JBoss-user] [Security & JAAS/JBoss] - Re: Form based auth is successful but gives HTTP 408 error

2005-10-19 Thread jeff_porter
did u find a reason for this?
jeff

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: log4j and custom console appender

2005-10-19 Thread [EMAIL PROTECTED]
There is only one System.err/System.out, so only one configuration can setup an 
appender for it.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Stateless Session Bean behind firewall/proxy -- RMI over

2005-10-19 Thread rockhopper
Hi all, 

Investigated more, here is the status.
By using the configuration above, ONLY JNDI over HTTP is enabled.

So my question is, how to enable RMI over HTTP? HTTPS? Especially on the client 
side.

Thanks for help.
Johann 

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: servlet cannot work after upgrade from 4.02 to 4.03

2005-10-19 Thread [EMAIL PROTECTED]
Need the details of what is being done when this occurs.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: SecureWS & 4.0.3 - client certificate needed?

2005-10-19 Thread [EMAIL PROTECTED]
4.0.3sp1 will include this fix. Should be released shortly.

-Jason

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Help please - Simple example of JASS/JBoss DatabaseServe

2005-10-19 Thread jeff_porter
full log stack...


  | 17:18:52,531 DEBUG [ManagerBase] Start expire sessions StandardManager at 
1129738732531 sessioncount 0
  | 17:18:52,531 DEBUG [ManagerBase] End expire sessions StandardManager 
processingTime 0 expired sessions: 0
  | 17:18:55,141 DEBUG [CoyoteAdapter]  Requested cookie session id is 
79AB6CF3BE361B73E42788DAD07094E8
  | 17:18:55,141 DEBUG [AuthenticatorBase] Security checking request POST 
/ebusiness/j_security_check
  | 17:18:55,156 DEBUG [FormAuthenticator] Authenticating username 'csr'
  | 17:18:55,156 DEBUG [WebappClassLoader] 
loadClass(org.jboss.security.plugins.JaasSecurityManagerService$SecurityDomainObjectFactory
  | , false)
  | 17:18:55,156 DEBUG [WebappClassLoader]   Searching local repositories
  | 17:18:55,156 DEBUG [WebappClassLoader] 
findClass(org.jboss.security.plugins.JaasSecurityManagerService$SecurityDomainObjectFac
  | tory)
  | 17:18:55,156 DEBUG [WebappClassLoader]   
findClassInternal(org.jboss.security.plugins.JaasSecurityManagerService$SecurityDomai
  | nObjectFactory)
  | 17:18:55,156 DEBUG [WebappClassLoader] --> Passing on 
ClassNotFoundException
  | 17:18:55,156 DEBUG [WebappClassLoader]   Delegating to parent classloader 
at end: [EMAIL PROTECTED]
  | 17:18:55,156 DEBUG [WebappClassLoader]   Loading class from parent
  | 17:18:55,156 DEBUG [WebappClassLoader] loadClass(javax.naming.Context, 
false)
  | 17:18:55,203 DEBUG [WebappClassLoader] loadClass(java.lang.reflect.Proxy, 
false)
  | 17:18:55,203 DEBUG [WebappClassLoader] 
loadClass(javax.naming.NamingException, false)
  | 17:18:55,203 DEBUG [WebappClassLoader] 
loadClass(java.lang.reflect.UndeclaredThrowableException, false)
  | 17:18:55,203 DEBUG [WebappClassLoader] 
loadClass(java.lang.NoSuchMethodError, false)
  | 17:18:55,203 DEBUG [WebappClassLoader] 
loadClass(java.lang.reflect.InvocationHandler, false)
  | 17:18:55,203 DEBUG [WebappClassLoader] loadClass(javax.naming.Name, false)
  | 17:18:55,203 DEBUG [JaasSecurityManagerService] Created [EMAIL PROTECTED]
  | 17:18:55,203 DEBUG [WebappClassLoader] 
loadClass(org.jboss.security.plugins.JaasSecurityManagerService$DefaultCacheObjectFactory,
  | false)
  | 17:18:55,203 DEBUG [WebappClassLoader]   Searching local repositories
  | 17:18:55,203 DEBUG [WebappClassLoader] 
findClass(org.jboss.security.plugins.JaasSecurityManagerService$DefaultCacheObjectFacto
  | ry)
  | 17:18:55,203 DEBUG [WebappClassLoader]   
findClassInternal(org.jboss.security.plugins.JaasSecurityManagerService$DefaultCacheO
  | bjectFactory)
  | 17:18:55,203 DEBUG [WebappClassLoader] --> Passing on 
ClassNotFoundException
  | 17:18:55,203 DEBUG [WebappClassLoader]   Delegating to parent classloader 
at end: [EMAIL PROTECTED]
  | 17:18:55,203 DEBUG [WebappClassLoader]   Loading class from parent
  | 17:18:55,203 DEBUG [dvd] CachePolicy set to: [EMAIL PROTECTED]
  | 17:18:55,203 DEBUG [JaasSecurityManagerService] setCachePolicy, [EMAIL 
PROTECTED]
  | 17:18:55,203 DEBUG [JaasSecurityManagerService] Added dvd, [EMAIL 
PROTECTED] to map
  | 17:18:55,203 DEBUG [WebappClassLoader] 
loadClass(org.jboss.security.auth.spi.DatabaseServerLoginModule, false)
  | 17:18:55,203 DEBUG [WebappClassLoader]   Searching local repositories
  | 17:18:55,203 DEBUG [WebappClassLoader] 
findClass(org.jboss.security.auth.spi.DatabaseServerLoginModule)
  | 17:18:55,203 DEBUG [WebappClassLoader]   
findClassInternal(org.jboss.security.auth.spi.DatabaseServerLoginModule)
  | 17:18:55,203 DEBUG [WebappClassLoader] --> Passing on 
ClassNotFoundException
  | 17:18:55,203 DEBUG [WebappClassLoader]   Delegating to parent classloader 
at end: [EMAIL PROTECTED]
  | 17:18:55,219 DEBUG [WebappClassLoader]   Loading class from parent
  | 17:18:55,219 DEBUG [ApplicationDispatcher] servletPath=/loginfailed.html, 
pathInfo=null, queryString=null, name=null
  | 17:18:55,219 DEBUG [ApplicationDispatcher]  Path Based Forward
  | 17:18:55,219 DEBUG [StandardWrapper]   Returning non-STM instance
  | 17:18:55,219 DEBUG [ApplicationDispatcher]  Disabling the response for 
futher output
  | 17:18:55,219 DEBUG [AuthenticatorBase]  Failed authenticate() test 
??/ebusiness/j_security_check
  | 17:18:55,281 DEBUG [CoyoteAdapter]  Requested cookie session id is 
79AB6CF3BE361B73E42788DAD07094E8
  | 17:18:55,281 DEBUG [StandardWrapper]   Returning non-STM instance
  | 17:19:02,531 DEBUG [ManagerBase] Start expire sessions StandardManager at 
1129738742531 sessioncount 0
  | 

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https:

[JBoss-user] [JBossCache] - Re: cacheloader cluster, data consistency after restart

2005-10-19 Thread gbarna
i don't know. 

what does a shared cacheloader do?

i don't have one shared store behind the application. every member in the 
cluster have a local copy of the data but it must be guaranteed that the latest 
 changes are read by every member. so evict all of the data if the member is 
not the one stopped last and collect the latest changes from the member who was 
last stopped.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Bean NOTYETINSTALLED

2005-10-19 Thread gavkearney
If anybody can help me on this subject i would be very greatful as its causing 
me serious hassle

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Help please - Simple example of JASS/JBoss DatabaseServe

2005-10-19 Thread jeff_porter
Hi Elkner,

I've increased the logging, and this is what I get...




  | 17:06:26,286 DEBUG [AuthenticatorBase]  Calling hasUserDataPermission()
  | 17:06:26,286 DEBUG [RealmBase]   User data constraint has no restrictions
  | 17:06:26,286 DEBUG [AuthenticatorBase]  Calling authenticate()
  | 17:06:26,286 DEBUG [FormAuthenticator] Save request in session 
'79AB6CF3BE361B73E42788DAD07094E8'
  | 17:06:26,302 DEBUG [ApplicationDispatcher] servletPath=/login.jsf, 
pathInfo=null, queryString=null, name=null
  | 17:06:26,302 DEBUG [ApplicationDispatcher]  Path Based Forward
  | 17:06:26,302 DEBUG [StandardWrapper]   Returning non-STM instance
  | 17:06:26,302 DEBUG [ApplicationDispatcher] servletPath=/login.jsp, 
pathInfo=null, queryString=null, name=null
  | 17:06:26,302 DEBUG [ApplicationDispatcher]  Path Based Forward
  | 17:06:26,302 DEBUG [StandardWrapper]   Returning non-STM instance
  | 17:06:26,317 DEBUG [ApplicationDispatcher]  Disabling the response for 
futher output
  | 17:06:26,317 DEBUG [ApplicationDispatcher]  Disabling the response for 
futher output
  | 17:06:26,317 DEBUG [AuthenticatorBase]  Failed authenticate() test
  | 17:06:31,692 DEBUG [CoyoteAdapter]  Requested cookie session id is 
79AB6CF3BE361B73E42788DAD07094E8
  | 17:06:31,692 DEBUG [AuthenticatorBase] Security checking request POST 
/ebusiness/j_security_check
  | 17:06:31,708 DEBUG [FormAuthenticator] Authenticating username 'csr'
  | 17:06:31,708 DEBUG [ApplicationDispatcher] servletPath=/loginfailed.html, 
pathInfo=null, queryString=null, name=null
  | 17:06:31,708 DEBUG [ApplicationDispatcher]  Path Based Forward
  | 17:06:31,723 DEBUG [StandardWrapper]   Returning non-STM instance
  | 17:06:31,723 DEBUG [ApplicationDispatcher]  Disabling the response for 
futher output
  | 17:06:31,723 DEBUG [AuthenticatorBase]  Failed authenticate() test 
??/ebusiness/j_security_check
  | 17:06:31,786 DEBUG [CoyoteAdapter]  Requested cookie session id is 
79AB6CF3BE361B73E42788DAD07094E8
  | 17:06:31,786 DEBUG [StandardWrapper]   Returning non-STM instance


Again, I see references to "test", I'm still not sure what it is.

I really am desperate, any help at all would be great.

Thanks
Jeff

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - servlet cannot work after upgrade from 4.02 to 4.03

2005-10-19 Thread tissues
java.lang.NullPointerException

org.jboss.web.tomcat.security.RunAsListener.instanceEvent(RunAsListener.java:53)

org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSupport.java:266)

org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:369)

org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


It show above error msg after upgrade from 4.02 to 4.03
what's wrong?... 

thx..

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Unable to deploy exploded EAR

2005-10-19 Thread gmoh
Got the following error while starting up jboss:

11:53:10,301 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- Packages waiting for a deployer ---
[EMAIL PROTECTED] { 
url=file:/home/gmoh/jboss-4.0.3/server/myapp/deploy/myapp.ear/myapp-jar/ }
  deployer: null
  status: Starting
  state: START_SUBDEPLOYMENTS
  watch: file:/home/gmoh/jboss-4.0.3/server/myapp/deploy/myapp.ear/myapp-jar/
  altDD: null
  lastDeployed: 1129737190249
  lastModified: 1129734063000
  mbeans:

[EMAIL PROTECTED] { 
url=file:/home/gmoh/jboss-4.0.3/server/myapp/deploy/myapp.ear/myapp-war/ }
  deployer: null
  status: Starting
  state: START_SUBDEPLOYMENTS
  watch: file:/home/gmoh/jboss-4.0.3/server/myapp/deploy/myapp.ear/myapp-war/
  altDD: null
  lastDeployed: 1129737190252
  lastModified: 1129734063000
  mbeans:


jdk version is "1.4.2_09" and jboss version is 4.0.3

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Help please - Simple example of JASS/JBoss DatabaseServe

2005-10-19 Thread elkner
perhaps log4j.xml:

   
  |  
  |  
  |

gives you a little bit more information ...

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Single developer using JBoss

2005-10-19 Thread Pualee
Hey all,

Im a developer with a few years using Microsoft Visual Studio and Active X / 
OLE technology.  I am currently working on a Masters degree and starting Java 
development.  I use the Ecplipse IDE and am familiar with the Sun White pages.

My question is, would it be possible for a single developer to learn JBoss and 
develop / deploy a small J2EE application based on the JBoss AS?  This is a 
proof of concept type thing.

I would have to learn most of the technology from an entry level standpoint, 
but the app design is simple and it would run in a controlled environment.  I 
know there are other less complicated ways to implement this, but the idea is 
to learn how to set up and run the JBoss AS, and then have a demo program on it.

I would probably put in about 20 hrs/wk for the next 6 months.  Anyone think 
this is possible?  Is the online documentation adequate?  What kinds of 
problems should I expect?

Thanks in advance,

Pualee

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Incomplete Deployment Listing

2005-10-19 Thread gmoh
forgot to mention that i'm running jboss 4.0.3

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Incomplete Deployment Listing

2005-10-19 Thread gmoh
i'm getting the same issue but the state says "START_SUBDEPLOYMENTS"

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Help please - Simple example of JASS/JBoss DatabaseServe

2005-10-19 Thread jeff_porter
Extra logging obtained...

15:51:41,577 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
  | 15:51:41,592 DEBUG [Log4jService] Installed System.out adapter
  | 15:51:41,592 DEBUG [Log4jService] Installed System.err adapter
  | 15:51:41,592 DEBUG [ManagerBase] Start expire sessions StandardManager at 
1129733501592 sessioncount 0
  | 15:51:41,592 DEBUG [ManagerBase] End expire sessions StandardManager 
processingTime 0 expired sessions: 0
  | 15:51:41,592 DEBUG [ManagerBase] Start expire sessions StandardManager at 
1129733501592 sessioncount 0
  | 15:51:41,592 DEBUG [ManagerBase] End expire sessions StandardManager 
processingTime 0 expired sessions: 0
  | 15:51:50,545 DEBUG [CoyoteAdapter]  Requested cookie session id is 
FE22B499705485ADE6644A1CE4982B86
  | 15:51:50,545 DEBUG [AuthenticatorBase] Security checking request POST 
/ebusiness/j_security_check
  | 15:51:50,561 DEBUG [FormAuthenticator] Authenticating username 'csr'
  | 15:51:50,577 DEBUG [ApplicationDispatcher] servletPath=/loginfailed.html, 
pathInfo=null, queryString=null, name=null
  | 15:51:50,577 DEBUG [ApplicationDispatcher]  Path Based Forward
  | 15:51:50,577 DEBUG [StandardWrapper]   Returning non-STM instance
  | 15:51:50,577 DEBUG [ApplicationDispatcher]  Disabling the response for 
futher output
  | 15:51:50,577 DEBUG [AuthenticatorBase]  Failed authenticate() test 
??/ebusiness/j_security_check
  | 15:51:50,655 DEBUG [CoyoteAdapter]  Requested cookie session id is 
FE22B499705485ADE6644A1CE4982B86
  | 15:51:50,655 DEBUG [StandardWrapper]   Returning non-STM instance

The interesting bit is...


  | Failed authenticate() test ??/ebusiness/j_security_check

I logged in with "csr" & "csr", so what is "test" ???


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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: bdbje(sleepycat) version with jboss-cache 1.2.3

2005-10-19 Thread mserdur
We are using jboss-cache in production environment so we do not prefer to use a 
beta version.

Is it safe to use the new version of bdbje with version 1.2.3.
What is done in release 1.2.4? Did you just use a newer version of bdbje or 
make changes in order to make it compatible with the newer version?

KR,

Serkan

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Help please - Simple example of JASS/JBoss DatabaseServe

2005-10-19 Thread jeff_porter
ok this is what I have - which results in login-failed.jsp being displayed.
I've insert the debug level xml into conf/log4j.xml No loggin information is 
displayed on the console though.

Does anyone have any ideas? please. I'm starting to get desprate.

Jboss 4.0.2
MySQL 4.1
Firefox 1.07
myFaces 1.01


Tables

  | principals
  | id  principalID password
  | 1   csr csr
  | 
  | roles
  | id  principalID roleGroup   role
  | 1   csr users   user
  | 


login-config.xml

  | 
  |   
  | 
  |guest
  |java:/MyDatabaseDS
  |  select Password from 
Principals where PrincipalID=?
  |select role, 'Roles' from Roles 
where principalID=?
  | 
  |   
  | 
  | 


jboss-web.xml

  | java:/jaas/dvd
  | 

web-security.xml

  | 
  |   
  | internal application  
  | /taskList.jsf  
  | 
  | 
  | user
  | 
  | 
  |   
  | 
  | The role required to access restricted 
content
  | user
  |   
  |   
  | 
  | FORM
  | DVD Store
  | 
  | /login.jsf
  | /loginfailed.html
  | 
  | 
  | 


login.jsp

  |  
  |   
  | " size="16" maxlength="24" /> 
  |  
  | " size="16" maxlength="24" />
  | "/> 
  |  

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: maxNodes in region question

2005-10-19 Thread jchico
Hello Manik.

Only one little detail. We have been making more testing and we have detected a 
possible bug. 

The parameter MaxAgeSeconds from LRUPolicy is not assigned to the Region in the 
method 

   public void configure(TreeCache cache).

The code from JBossCache_1_2_4 branch, LRUPolicy.java is the following:


  | public void configure(TreeCache cache) {
  |cache_ = cache;
  |// Step x. Get the config elem
  |Element elem = cache.getEvictionPolicyConfig();
  |parseConfig(elem);
  |// Step x. Create LRUAlgorithm and regions
  |// Step x. Create regions
  |regionManager_ = new RegionManager(this);
  |for(int i=0; i< regionValues_.length; i++) {
  |   EvictionAlgorithm algo = getEvictionAlgorithm();
  |   try {
  |  Region region = 
regionManager_.createRegion(regionValues_[i].name_, algo);
  |  region.setMaxNodes(regionValues_[i].maxNodes_ );
  |  
region.setTimeToLiveSeconds(regionValues_[i].timeToLiveSeconds_);   
  
  |   } catch (RegionNameConflictException e) {
  |  throw new RuntimeException(
  |"LRUPolicy.cacheStarted(): illegal region name specified for 
eviction policy "
  | + " exception: " +e);
  |   }
  |}
  | }
  | 

and we suppose it should be 


  | public void configure(TreeCache cache) {
  |cache_ = cache;
  |// Step x. Get the config elem
  |Element elem = cache.getEvictionPolicyConfig();
  |parseConfig(elem);
  |// Step x. Create LRUAlgorithm and regions
  |// Step x. Create regions
  |regionManager_ = new RegionManager(this);
  |for(int i=0; i< regionValues_.length; i++) {
  |   EvictionAlgorithm algo = getEvictionAlgorithm();
  |   try {
  |  Region region = 
regionManager_.createRegion(regionValues_[i].name_, algo);
  |  region.setMaxNodes(regionValues_[i].maxNodes_ );
  |  
region.setTimeToLiveSeconds(regionValues_[i].timeToLiveSeconds_);   
   region.setMaxAgeSeconds(regionValues_[i].maxAgeSeconds_);
  } catch (RegionNameConflictException e) {
  |  throw new RuntimeException(
  |"LRUPolicy.cacheStarted(): illegal region name specified for 
eviction policy "
  | + " exception: " +e);
  |   }
  |}
  | }
  | 

We have been making tests with this change in the code and it works correctly.

Best regards.

Jose Angel Chico

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Can JBoss read properties from a file?

2005-10-19 Thread java123
Rather than passing properties with -D option can JBoss read list of properties 
defined in a properties file? 

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - One SAR needing a JAR in another SAR

2005-10-19 Thread kc7bfi
I have a SAR that needs to load a JAR that is included in another SAR (someone 
elses SAR). What is the best way to do this???

David Robison

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: [ERROR] NAKACK.handleXmitReq()

2005-10-19 Thread [EMAIL PROTECTED]
JGroups 2.2.4 (JBoss 3.2.5). If it is due to the garbage collection bug, then 
it will be in JGroups 2.2.9 (although this doesn't seem to be the bug)

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - log4j and custom console appender

2005-10-19 Thread Denisius
After deployment my app reinitializes log4j with custom log4j.xml confiuration 
with several File- and ConsoleAppenderes in it. Loggin to files working fine, 
but console freezes. What is the reason?
I found some information 
(http://www.javacorporate.com/expresso/doc/appserv/jboss.html) about 
impossibility of using Console Appenders in custom log4j config. Is it true?

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Does JBoss 4.0.3 look at the manifest?

2005-10-19 Thread dunks
Thanks in the meantime i'm just loading the jars via the application.xml. One 
thing I should mention maybe is that the jars i'm loading are jars that are for 
working with myfaces. I removed the jsf-libs that come with jboss because i use 
the latest nightly build of myfaces and i didn't want an older jars being 
loaded. Not sure if that makes any difference.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Queries not sent to DB engine??

2005-10-19 Thread gvil
Hi all,
 I'm trying to create my very first CMP and I have a "strange" problem: it 
seems to me that the SQL queries are not sent to mysql server. Briefly:

1) I coded a CMP bean named "Folder" with a couple of attributes and a find 
method findAll using the simple query SELECT OBJECT(o) FROM folder o; I also 
coded a session bean which calls the findAll() method on Folder and prints the 
collection on stdout
2) I created a suitable db named catalogue and a table named folder, with 
fields exactly matching the CMP's ones; ejb-jar.xml maps the CMP to table/fields
3) I created and published the datasource; it works, because I was able to 
build a client application which perfomrs a lookup, get a new connection and 
execute a select *; when I run this test, mysql log correctly displays my query.
4) when run the session bean code and call findAll, the system returns me an 
empty collection; the jboss' logs say that the EJB QL statement ran with no 
errors; on the other hand mysql's logs reports that the connection was 
established but no query was submitted. I run the test also immediatly after a 
jboss restart. 

jboss version is 4.0.2
mysql version is 4.1.14
java is 1.5.0_03
os is linux 2.6

I enabled full logging for both jboss and mysql server. Here are the most (I 
hope) significant lines:

jboss' server.log
2005-10-19 15:20:35,492 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.Folder#findAll] Executing SQL: 
SELECT t0_o.id FROM Folder t0_o
2005-10-19 15:20:35,492 TRACE 
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] supplying 
ManagedConnection from pool: [EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 
lastUse=1129728025610 permit=false trackByTx=false [EMAIL PROTECTED] [EMAIL 
PROTECTED]
2005-10-19 15:20:35,492 TRACE 
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Getting 
connection from pool [EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 
lastUse=1129728025610 permit=true trackByTx=true [EMAIL PROTECTED] [EMAIL 
PROTECTED] [InUse/Available/Max]: [1/19/20]
2005-10-19 15:20:35,503 TRACE [org.jboss.ejb.plugins.EntityInstancePool] 0/100 
Free instance:[EMAIL PROTECTED] it.gv.FolderBean
2005-10-19 15:20:35,503 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] 
TxInterceptorCMT: In finally
2005-10-19 15:20:35,503 TRACE [org.jboss.ejb.plugins.LogInterceptor] End 
method=findAll
2005-10-19 15:20:35,503 INFO  [STDOUT] Collection []

mysql's log

051019 15:20:35  11 Connect [EMAIL PROTECTED] on catalogue
 11 Query   SET NAMES latin1
 11 Query   SET character_set_results = NULL
 11 Query   SHOW VARIABLES
 11 Query   SHOW COLLATION
 11 Query   SET autocommit=1
 11 Query   SHOW VARIABLES LIKE 'tx_isolation'
 11 Query   SET autocommit=0
 11 Query   commit

I'll appreciate any help; of course I will post additional info if required. 
Thanks,
gv


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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Connection timeout

2005-10-19 Thread jbuser05789
I am get the following error in my server.log file

2005-10-13 10:04:06,453 INFO  [org.apache.jk.common.ChannelSocket] connection 
timeout reached
2005-10-13 10:04:06,453 INFO  [org.apache.jk.common.ChannelSocket] connection 
timeout reached
2005-10-13 10:04:11,718 ERROR [org.apache.jk.server.JkCoyoteHandler] Error in 
action code 
java.net.SocketException: Connection reset by peer: socket write error

Can anybody tell me what could be the reason and how I can resolve it.

Many Thanks

Ramsha

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Problem generating the Java types from WSDL file containing

2005-10-19 Thread sfurt
I am trying to develop a Web service client from a WSDL available online. I 
used the WSCOMPILE tool that comes with JWSDP 1.6 to generate the stubs and ... 
but I noticed that some of the simple and complex types are not created.

the Primary WSDL file looks like that:
http://www.filenet.com/ns/fnce/2005/02/ws/DIME/wsdl";
xmlns="http://schemas.xmlsoap.org/wsdl/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:ddef="http://www.filenet.com/ns/fnce/2005/02/ws/DIME/wsdl";
xmlns:cdef="http://www.filenet.com/ns/fnce/2005/02/ws/wsdl";

xmlns:ctyp="http://www.filenet.com/ns/fnce/2005/02/ws/schema";
xmlns:dime="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/"; 
xmlns:ref="http://schemas.xmlsoap.org/ws/2002/04/reference/"; >






http://schemas.xmlsoap.org/ws/2002/04/reference/";>
 


http://www.filenet.com/ns/fnce/2005/02/ws/DIME/schema";

targetNamespace="http://www.filenet.com/ns/fnce/2005/02/ws/DIME/schema";
elementFormDefault="qualified">

http://www.filenet.com/ns/fnce/2005/02/ws/schema"/>

http://schemas.xmlsoap.org/ws/2002/04/reference/"/>
























the complex types are not been transformed into java classes and the majority 
of the types defined in the imported WSDL file are not been genertated as well.

I am using the following wscompile parameter and options:
wscompile -gen:client -f:rpcliteral -mapping jaxrpc-mapping.xml -keep config.xml

Is there an option for WSCOMPILE that I need to add or maybe in the config 
file???

Please help

thanks

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help me please!! Mapping Problems with JBoss 4.0.3

2005-10-19 Thread jbossChecker
>>"I was referring to a "production" server or "development" server. YOu 
>>answered the question correctly by specifying running it on your home 
>>machine."
I am sorry, I didn't understand correctly, what you ment. You should know, tht 
I'm german, am my english is not the best.

Anyway, I have to tell you that I have got it with your aid, thank you sooo 
much!

The application is now running again, but this time with jboss 4.0.3 production 
release, as I wanted!

You seem to be very familar with the topic.
May I ask another question(s)?! :o)

I have a sfsb, which is my shoppingCart Bean.

1) How do I handle the use case, that someone puts somthing into the cart, but 
doesn't proceed, How do I terminate the EJB3 sfsb? 
I know the @Remove annotation, but who/what should invoke such a method? Or 
schoul I better work with timer objects and timeouts?

2) Would you ammotate this Bean as @Remote? Is ist possible to make an 
interface both (remotely and locally) available? 

I woul be really thankfull to hear some expert opinions, and maybe some hints, 
maybe about what one can do wrongy or what one could do better.

Thank you very much for your hints.


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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Hibernate Support broken in JBoss 4.0.3? (UserTransactio

2005-10-19 Thread ninan
The issue is in JIRA as http://jira.jboss.com/jira/browse/JBAS-2364 and has 
been fixed for release 4.0.3SP1.

Release date is next monday, i hope it is held.[/url]

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Help please - Simple example of JASS/JBoss DatabaseServerLog

2005-10-19 Thread jeff_porter

I'm going around in circles at the moment and am in need on someone to point me 
in the right direction.

I've read the DVD TrailBlazer.
I've read the Forum "Read this first"
I've searched google, forums and other sites.

I'm trying to setup a DatabaseServerLoginModule with users/roles for the 
webpages of my app.

I'm using Hibernate & myFaces. (Not EJB3.0)

Can some give me an example of what I need todo or point me in the direction of 
a good tutorial. All I can get is a login page that doesnt accept my user/pass. 
(no debug statements)

Thank you
Jeff - in need of help - porter


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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - EJB local calls between different EARs

2005-10-19 Thread netcetera
J2EE spec is not very clear whether it is possible to make EJB local calls
between beans that are deployed in different EARs (but within the same 
app-server, of course).

Detailed scenario: I would like BeanA to call BeanB using an EJB local call. 
BeanA is deployed in beana.ear and BeanB in beanb.ear. 
Of course beana.ear contains a JAR with the EJB local interfaces of BeanB.

Is this possible at all or do I have to use remote calls?

tnx
Stefan


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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: CannotConnectException JBoss4.0.3

2005-10-19 Thread jaikiran
Have a look at these:

http://jboss.org/index.html?module=bb&op=viewtopic&t=63821

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=65933

Might be of some help

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: delphi7 can not call jbossws

2005-10-19 Thread linux123
by the way, I can call jbossws with java client.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - delphi7 can not call jbossws

2005-10-19 Thread linux123
hi,
when I use delphi7's webservice client call jbossws, it return error.

jboss version: 4.0.2 or 4.0.3

error message:

19:42:10,137 ERROR [ServerEngine] Server error: AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
 faultSubcode: 
 faultString: Body not found.
 faultActor: 
 faultNode: 
 faultDetail: 
{http://xml.apache.org/axis/}stackTrace: javax.xml.rpc.JAXRPCException: 
Body not found.
at 
org.jboss.axis.providers.java.RPCInvocation.prepareFromRequestEnvelope(RPCInvocation.java:207)
at 
org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:103)
at 
org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
at 
org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
at 
org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:200)
at org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:89)
at 
org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:905)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
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:153)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)

{http://xml.apache.org/axis/}isRuntimeException: true

19:42:10,137 INFO  [AxisServlet] javax.xml.rpc.JAXRPCException: Body not found.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: CannotConnectException JBoss4.0.3

2005-10-19 Thread robaks
I throw away any jndi.properies file. 
I have jndi properties hardcoded in client class. 
I changed InitialContext properties as follows:

  | private HelloWorld getDelegate() {
  | try {
  | InitialContext ctx1;
  | 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.interfaces");
  | env.setProperty(Context.PROVIDER_URL, "jnp://rsontowski:1099");
  | ctx1 = new InitialContext(env);
  | return (HelloWorld) 
ctx1.lookup(HelloWorldRemote.class.getName());
  | } catch (Throwable e) {
  | e.printStackTrace();
  | System.exit(1);   
  | }
  | return null;
  | }
  | 
but it dosn't work.

My client tries to connect to the server (Exception i thrown at server side) 
but is unsuccessful with it.

I've got this problem with EJB2.1 session beans and JBoss 4.0.3 too.
:-(



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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >