[jboss-user] [EJB/JBoss] - Re: ParseException : expecting one of

2006-08-07 Thread lippke
Did you find a solution?
I have a similar problem. It seams to occur only with dates?!


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

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


[jboss-user] [JBoss Portal] - how to avoid cacheing last visted user hit in Portlet ?

2006-08-07 Thread itok
I have created application using jboss portal 2.2.1. In the application,  when 
user hits the portlet back.. its remembering the last vistied page & showing 
that page only.. I dont want my portlet to remeber its state.

I understand its a feature of portlet,  But thats critical for me. any next 
hits should go to homepage of portlet.

Please advice on any configuration elements for portlet or portal level

Thanks in advance

your kind help is appreciated


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

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


[jboss-user] [JBossCache] - Re: Using OPTIMISTIC locking does not notify the TreeCacheLi

2006-08-07 Thread prese
Hi Manik,

I have tried it only using 1.4GA and not 1.3.
I have txn started, and the txn is commited afterwards, but I have seen during 
the debug that the listeners are never notified. 


Thanks
Sebi

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

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


[jboss-user] [JBoss jBPM] - Re: jbpm and portlet

2006-08-07 Thread yxyang
"kukeltje" wrote : 1: Yes, primarily for the owner, both role/group tasklist 
and individual tasklist. Each individual and combined (so 3 portlets?)
  | 2: Less important, but just show a list of all processes to be started, 
either by retrieving a list from jbpm or configure it statically based on role, 
role outside jbpm?)
  | 3: Nope
  | 
  | 

Yes. i am using jbossportal identity module instead of using jbpm itself. So, 
the role outside jbpm.

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

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


[jboss-user] [Security & JAAS/JBoss] - JACC on the fly method permission changes not reflecting at

2006-08-07 Thread tpnaidu79
Hi all,
  I am using JbossAS for my JEE application which involves ejb3. I have 
given role based permission to an ejb session bean method using annotations. 
This works fine along expected lines for allowing / denying users belonging to 
certain roles to access the method. However, when I try to change the role 
based ejb3 method permission on the fly, the policy configuration shows the 
role and permisiion have changed in the active policy map after commit() is 
called, but the container (JbossAS) shows the same behavior as before based on 
the old permissions given in the annotations during system startup. How can I 
change the ejb3 method permission on the fly and make the container aware of 
it? Please help me regarding this problem.

Thank you,
-P.

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

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


[jboss-user] [EJB 3.0] - Re: Programmatically query @RolesAllowed or if caller can ac

2006-08-07 Thread Juergen.Zimmermann
You also can do it this way


  | // Get the authentified subject
  | Subject subject = null;
  | try {
  |subject = (Subject) 
PolicyContext.getContext("javax.security.auth.Subject.container");
  | }
  | catch (PolicyContextException e) {
  |LOG.error(...);
  | }
  | if (DEBUG) LOG.debug("Subject: " + subject);
  | 
  | // Get all roles of the authentified subject
  | // JBoss proprietary: via SimpleGroup
  | final Set principals = subject.getPrincipals(Principal.class);
  | for (Principal p: principals) {
  |if (p instanceof SimpleGroup) {
  |   final SimpleGroup sg = (SimpleGroup) p;
  |   if ("Roles".equals(sg.getName())) {
  |  final Enumeration roles = sg.members();
  |  while (roles.hasMoreElements()) {
  | final String r = roles.nextElement().toString();
  | if (DEBUG) LOG.debug("..." + r);
  |  }
  |   }
  |}
  | }

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

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


[jboss-user] [Installation, Configuration & Deployment] - jboss-head build failure

2006-08-07 Thread hindog
Hi, I checked out jboss-head twice today (once around 2pm, once around 5pm), 
both build attempts failed with the following output... anyone else having this 
same failure?

Aaron


compile-rmi:
 [rmic] RMI Compiling 1 class to 
/tmp/jboss/jboss-head/management/output/classes

compile-etc:
[mkdir] Created dir: /tmp/jboss/jboss-head/management/output/etc
 [copy] Copying 2 files to /tmp/jboss/jboss-head/management/output/etc

compile:
[mkdir] Created dir: /tmp/jboss/jboss-head/management/output/lib
  [jar] Building jar: 
/tmp/jboss/jboss-head/management/output/lib/jboss-jsr77.jar
  [jar] Building jar: 
/tmp/jboss/jboss-head/management/output/lib/jboss-jsr77-client.jar
  [jar] Building jar: 
/tmp/jboss/jboss-head/management/output/lib/jboss-management.jar
  [jar] Building jar: 
/tmp/jboss/jboss-head/management/output/lib/ejb-management.jar
[touch] Creating /tmp/jboss/jboss-head/management/output/build-marker

most:

==
==  Finished with 'most' in module 'management'.
==


_module-management-most:

_module-management-most:
 [copy] Copying 2 files to 
/tmp/jboss/jboss-head/build/output/jboss-5.0.0.Beta/server/all/lib
 [copy] Copying 1 file to 
/tmp/jboss/jboss-head/build/output/jboss-5.0.0.Beta/docs/examples/jmx
 [copy] Copying 1 file to 
/tmp/jboss/jboss-head/build/output/jboss-5.0.0.Beta/client

==
==  Executing 'most' in module 'aspects'...
==

_buildmagic:init:
Trying to override old definition of task libraryset
Trying to override old definition of task execmodules
Trying to override old definition of task resolveproperties
Trying to override old definition of task resolver
Trying to override old definition of task require
Trying to override old definition of task _dump
Trying to override old definition of task _puke
Trying to override old definition of task moduleinit
Trying to override old definition of task moduleconfig
Trying to override old definition of task modulelibrary
Trying to override old definition of task projectinfo
Trying to override old definition of task library
Trying to override old definition of task Ant
Trying to override old definition of task moduleinfo
Trying to override old definition of task projecthelp
Trying to override old definition of task propertyfilter
Trying to override old definition of task call
Trying to override old definition of task property

configure:
Overriding previous definition of reference to xdoclet.task.classpath

init:

_buildmagic:build-bypass-checker:

_buildmagic:build-bypass-notice:

_buildmagic:build-bypass-check:

output:

_buildmagic:init:

init:

_default:compile-etc:
[mkdir] Created dir: /tmp/jboss/jboss-head/aspects/output/etc
 [copy] Copying 3 files to /tmp/jboss/jboss-head/aspects/output/etc

_default:compile-resources:
[mkdir] Created dir: /tmp/jboss/jboss-head/aspects/output/resources
 [copy] Copying 30 files to /tmp/jboss/jboss-head/aspects/output/resources
 [copy] Copied 25 empty directories to 8 empty directories under 
/tmp/jboss/jboss-head/aspects/output/resources

compile-classes:
[mkdir] Created dir: /tmp/jboss/jboss-head/aspects/output/classes
[javac] Compiling 187 source files to 
/tmp/jboss/jboss-head/aspects/output/classes
/tmp/jboss/jboss-head/aspects/src/main/org/jboss/aop/deployment/JBossClassPool.java:70:
 toClass(javassist.CtClass,java.lang.ClassLoader) in 
org.jboss.aop.deployment.JBossClassPool cannot override 
toClass(javassist.CtClass,java.lang.ClassLoader) in javassist.ClassPool; 
overridden method is final
   public Class toClass(CtClass cc, ClassLoader loader)
^
/tmp/jboss/jboss-head/aspects/src/main/org/jboss/aop/deployment/JBossClassPool32.java:71:
 toClass(javassist.CtClass,java.lang.ClassLoader) in 
org.jboss.aop.deployment.JBossClassPool32 cannot override 
toClass(javassist.CtClass,java.lang.ClassLoader) in javassist.ClassPool; 
overridden method is final
   public Class toClass(CtClass cc, ClassLoader loader)
^
/tmp/jboss/jboss-head/aspects/src/main/org/jboss/aspects/logging/CallLoggingInterceptor.java:47:
 warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been 
deprecated
  boolean callLogging = log.isDebugEnabled();
   ^
/tmp/jboss/jboss-head/aspects/src/main/org/jboss/aspects/tx/TxInterceptor.java:177:
 warning: [deprecation] org.jboss.tm.TxManager in org.jboss.tm has been 
deprecated
 org.jboss.tm.TxManager txManager = (org.jboss.tm.TxManager)tm;
 ^
/tmp/jboss/jboss-head/aspects/src/main/org/jboss/aspects/tx/TxInterceptor.java:177:
 warning: [deprecation] org.jboss.tm.TxManager in org.jboss.tm has been 
deprecated
 org.jboss.tm.TxManager txManager = (org.jboss.tm.TxManager)tm;
 ^
/tmp/jboss/jboss-head/as

[jboss-user] [JBoss Seam] - LoginAction - Understanding Second Part?

2006-08-07 Thread connerjohn
I'm trying to understand the booking LoginAction

  | //$Id: LoggedInInterceptor.java,v 1.12 2006/07/26 23:19:55 gavin Exp $
  | package org.jboss.seam.example.booking;
  | 
  | import java.lang.reflect.Method;
  | 
  | import javax.interceptor.AroundInvoke;
  | import javax.interceptor.InvocationContext;
  | import javax.faces.event.PhaseId;
  | 
  | import org.jboss.seam.annotations.Interceptor;
  | import org.jboss.seam.contexts.Contexts;
  | import org.jboss.seam.contexts.Lifecycle;
  | import org.jboss.seam.interceptors.BijectionInterceptor;
  | import org.jboss.seam.interceptors.BusinessProcessInterceptor;
  | import org.jboss.seam.interceptors.ConversationInterceptor;
  | import org.jboss.seam.interceptors.RemoveInterceptor;
  | import org.jboss.seam.interceptors.ValidationInterceptor;
  | 
  | @Interceptor(around={BijectionInterceptor.class, 
ValidationInterceptor.class, 
  |  ConversationInterceptor.class, 
BusinessProcessInterceptor.class},
  |  within=RemoveInterceptor.class)
  | public class LoggedInInterceptor
  | {
  | 
  |@AroundInvoke
  |public Object checkLoggedIn(InvocationContext invocation) throws 
Exception
  |{
  |   boolean isLoggedIn = 
Contexts.getSessionContext().get("loggedIn")!=null;
  |   if ( Lifecycle.getPhaseId()==PhaseId.INVOKE_APPLICATION )
  |   {
  |  if (isLoggedIn) 
  |  {
  | return invocation.proceed();
  |  }
  |  else 
  |  {
  | return "login";
  |  }
  |   }
  |   else
  |   {
  |  if ( isLoggedIn )
  |  {
  | return invocation.proceed();
  |  }
  |  else
  |  {
  | Method method = invocation.getMethod();
  | if ( method.getReturnType().equals(void.class) )
  | {
  |return null;
  | }
  | else
  | {
  |return method.invoke( invocation.getTarget(), 
invocation.getParameters() );
  | }
  |  }
  |   }
  |}
  | 
  | }
  | 

Wondering two things from this code:
1. what do we get for checking the Lifecycle.PhaseId
2. what is the purpose of calling method.invoke() instead of returing a 
string outcome (aka, "login") like is done if we are in the INVOKE_APPLICATION 
phase.

Thanks,
 --jc

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

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


[jboss-user] [EJB 3.0] - Re: Using Differents jars

2006-08-07 Thread jmarcos_se
Hi,

Thanks for the reply

Let me try to explain what I want to say

First, I created a interface.war for the web Interface and a ejb.jar with the 
entities and session beans within. Then, I packed those two in a .ear file, ok 
? 
This worked smoothly.

But now I want to separate the sessions and the entities in two different .jar 
files. For instance, a entity.jar and a session.jar. So my .ear file would look 
like this


ProjetoJM  

Entity.jar


Session.jar



InterfaceJSF.war
Teste


 


Doing this, I'm getting exceptions just like tho one I told before.

Sorry about my english, but I'm a Brazillian guy and I'm still learning the 
language

Thanks  



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

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


[jboss-user] [JBoss Portal] - Re: JSF / IPC / Portal 2.4

2006-08-07 Thread jewhit
How much of a variance is there between Michelle's work vs Proposed Standard vs 
JBoss's implementation?

It makes sense for obvious reasons to go down the path as Jboss as they are the 
platform of choice... but Michelle's implementation may suit at least 
temporarily if there is not a large amount of rework when JB's implementation 
is released.

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM BPEL change DB - HowTo?

2006-08-07 Thread fwshk
Hi Claus,

Thanks for trying my previous post. May be my previous post is not well 
organized. However, I make a updated version for MySQL. In facts, I haven't 
been used MSSQL.

My Configure:
 - jbpm-bpel-1.1-beta1
 - jboss-4.0.4.GA
 - mysql-5.0.21
 - mysql-connector-java-5.0.0-beta

1. Edit JBPM_HOME\build.properties
jboss.home=D:/Try/jboss-4.0.4.GA
  | jbpm.bpel.version=1.1-beta1
  | jbpm.version=3.1.1

2. Edit JBPM_HOME\src\resources\jbpm-bpel.sar\hibernate.properties
hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
  | hibernate.connection.datasource=java:/jbpmBpelDS
  | hibernate.show_sql=true
  | hibernate.query.substitutions=true 1, false 0 
  | hibernate.hbm2ddl.auto=update
Notice:
 - Datasource name is case sentience
 - doankhoavy talk about use "create" rather than "update"

3. Edit JBPM_HOME\src\resources\jbpm-bpel.sar\jbpm-bpel-ds.xml

  | 
  |   
  | jbpmBpelDS
  | jdbc:mysql://localhost/jbpmBpel
  | com.mysql.jdbc.Driver
  | root
  | 
  | 5
  | 20
  | 0
  | 
  | 
  |   MySQL
  | 
  |   
  | 

4. Execute command
CD JBPM_HOME
  | ANT build.service.404

5. Copy JBPM_HOME\build\jbpm-bpel.sar to JBOSS\service\default\deploy
Notice:
 - Place into your server instead of default server

6. Copy MySQL Driver into JBOSS\service\default\lib
Notice:
 - Place into your server instead of default server

7. Before start JBoss:
 - Please confirm that your MySQL is running
 - The database is existing in your MySQL
 - The user is able to access the database

8. Start your JBoss

Wish it is helpful for you and I am welcome for point out my mistake.

Roy

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

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


[jboss-user] [JBossCache] - Re: cachelistener configuration

2006-08-07 Thread confuz
For 2

I found the result affect by passivation configuration. once it configured as 
false, program runs well.
you can view my other thread for the test resule.
maybe i misunderstand the meaning of the configuration element

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


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

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


[jboss-user] [JBossCache] - Re: TreeCache performance with 1, 000, 000 nodes

2006-08-07 Thread confuz
Has anybody test this issue or it just my PC's problem?

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

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


[jboss-user] [EJB 3.0] - Re: Using Differents jars

2006-08-07 Thread ngtdave
Does the application part (without the entity beans) even deploy?  If it 
deploys, it should work, but I'm not exactly sure what you're doing.  In 
general, you should make sure your application jar/war deploys after your 
persistence jar.  

Hope this helps.

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

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


[jboss-user] [JBossWS] - MTOM JBossWS1.0.2 and JAX-WS2.0

2006-08-07 Thread amon123
Hello. 
I am developing WebService by using Jboss. 

In the following environments, I want to achieve MTOM. 

*Environment*
OS:WindowsXP
IDE:Eclipse3.1.1

JDK:JDK1.5.0_6
Server-Side:JBossWS1.0.2
Client-Side:JAX-WS2.0


I am adding the description of MTOM to WSDL. 
http://www.w3.org/2005/05/xmlmime"/>


The client side does WSDL2Java by using wsimport. 

The server side does WSDL2Java by using wstools.
And, I am adding the description of true to 
webservices.xml. 


And, I am doing Compile and Deploy. 


The error occurs if the application is executed, and the image is sent. 

Please can the error able to be prevented, and advise if you do very. 


*Client-side Exception Message*
XML reader error: javax.xml.stream.XMLStreamException: ParseError at 
[row,col]:[1,1]
Message: Premature end of file.
at 
com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamReaderUtil.java:251)
at 
com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:78)
at 
com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReaderUtil.java:93)
at 
com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStreamReaderUtil.java:83)
at 
com.sun.xml.ws.encoding.soap.SOAPDecoder.doMustUnderstandProcessing(SOAPDecoder.java:481)
at 
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:523)
at 
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessageDispatcher.java:288)
at 
com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDispatcher.java:153)
at 
com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:85)
at 
com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(EndpointIFInvocationHandler.java:176)
at 
com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocationHandler.java:105)
at $Proxy18.sendImage(Unknown Source)
at jp.co.canon.SessionManage$SendImageThread.run(SessionManage.java:655)
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Premature end of file.
at com.sun.xml.stream.XMLReaderImpl.next(XMLReaderImpl.java:548)
at 
com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:59)
... 11 more


*Server-side Exception Message*
09:34:12,749 ERROR [SOAPFaultExceptionHelper] SOAP request exception
javax.xml.soap.SOAPException: Unsupported content type: Multipart/Related; 
start-info="text/xml"; 
type="application/xop+xml"; 
boundary="=_Part_0_9990551.1154997252593"
at 
org.jboss.ws.soap.MessageFactoryImpl.createMessageInternal(MessageFactoryImpl.java:204)
at 
org.jboss.ws.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:144)
at 
org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:200)
at 
org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355)
at 
org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76)
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 jp.co.canon.AccessFilter.doFilter(Unknown Source)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.

[jboss-user] [JNDI/Naming/Network] - JMS connection problem between different networks

2006-08-07 Thread vabrol
Hello,

I am trying to send JMS message from a server 'InsideFirewall' behind a 
firewall to another server 'Outsidefirewall' in a different network and a 
public IP. I need  to have 2 way communication setup between these servers. My 
problem is that I can send messages from server 'outsidefirewall' to 
'Insidefirewall'  but not the other way around. When I try to get a JMS 
connection from 'InsideFirewall'  to  'outsidefirewall' , I get 
"java.rmi.ConnectException: Connection refused to host 'OutsideFirwall' --- 
connection timed out'. However, I can send messages to server 'Outsidefirewall' 
 from few other servers all in different networks and behind firewalls.

There is no problem sending messages from  'OutSideFirewall' to 'InsideFirewall'

I have started the sever 'InsideFirewall' with -Djava.rmi.server.hostname={ip} 
option and opened the following ports: 1099,8093,1098,.Also 
Uil2-service.xml is configured with ConnectAddress and ConnectPort of extrnal 
IP.
I would really appreciate any suggestion to point me to right direction. 



Thanks





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

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


[jboss-user] [Installation, Configuration & Deployment] - language error in jboss-installer4.0GA

2006-08-07 Thread kindy_wu
langage pack for simple chinese is disordered!

 
-  
- 
-  
   
   
   
   


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

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


[jboss-user] [Installation, Configuration & Deployment] - install error on jboss-installer4.0GA

2006-08-07 Thread kindy_wu
OS :windowXP simple chinese edition

log in install.log
No custom langpack available.
com.izforge.izpack.installer.ResourceNotFoundException: Can not find Resource 
packsLang.xml for language 
engcom.izforge.izpack.installer.ResourceNotFoundException: Can not find 
Resource packsLang.xml for language eng
at 
com.izforge.izpack.installer.ResourceManager.getLanguageResourceString(ResourceManager.java:137)
at 
com.izforge.izpack.installer.ResourceManager.getInputStream(ResourceManager.java:154)
at com.izforge.izpack.panels.PacksPanelBase.(PacksPanelBase.java:149)
at com.izforge.izpack.panels.PacksPanel.(PacksPanel.java:59)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at 
com.izforge.izpack.installer.InstallerFrame.loadPanels(InstallerFrame.java:201)
at com.izforge.izpack.installer.InstallerFrame.(InstallerFrame.java:158)
at 
com.izforge.izpack.installer.GUIInstaller.loadGUI(GUIInstaller.java:387)
at com.izforge.izpack.installer.GUIInstaller.(GUIInstaller.java:123)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.izforge.izpack.installer.Installer.main(Installer.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Replacing variables in set=default
Variable set.substring(1)=null
Replacing variables in set=default

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

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


[jboss-user] [Security & JAAS/JBoss] - retry fails with form based authentication woth custom login

2006-08-07 Thread ppradhan
I am using a custom login module which uses a web service to validate a 
username/password pair, along with form based authentication. Everything works 
ok for a valid user.
In the case of a wrong username or password, my error page displays a message 
with a link back to the login page. 
Even if I enter the correct username/password, and the logs show my webservice 
returning correct roles, the login does not succeed, i.e. the empty login form 
is displayed again.
This does not happen if I reenter the link in the browser address page or open 
a new browser window. 
The html form has 
 and I have tried invalidating the 
session as well. 

The logs end with :
16:32:04,656 DEBUG [RealmBase] Username rps1 has role LOCSRV
16:32:04,656 DEBUG [AuthenticatorBase]  Successfully passed all security 
constraints
16:32:04,656 DEBUG [StandardWrapper]   Returning non-STM instance


The login module extends the UsernamePasswordLoginModule class, and overrides 
the initialize(), getUsersPassword(), validatePassword and getRoleSets() 
methods. jboss bersion 4.0.2

Any pointers?

Thanks in advance


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

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


[jboss-user] [JBoss Portal] - Re: default portlet preferences

2006-08-07 Thread Antoine_h
look at the Management Portlet and how it does this ?
you will find thing that you can reuse for what you want to do in the Edit mode 
of your portlet...

look also at the concept of Dynamicity, in the wiki and forum (and the web, as 
I quit remember Roy Russo has written things on this).
it is what allow the administrator to modify the portal configuration 
dinamically...

The configuration of a portlet is stored in the database of jbp, so the default 
preference are there to. 
It is were you must change them for what you want to do.



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

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


[jboss-user] [JBoss Portal] - Re: Page-level parameters for requests: how to create bookma

2006-08-07 Thread Antoine_h
Hello,

I am thinking of another way, that does not deal do much with servlet and deep 
mechanism.

if I understand well your will, you want to get some parameters before the 
rendering process has started, and share them with all the portlets.

For "intercepting" these parameters, you can build your own CommandFactories, 
derived from the one provided with jbp.
They filters the parameters that you want to share and send them, through a 
message store, to all the portlets that will need it.

as a message store and sharing parameter implementation, you can use the M. 
Osmond implementation.
see this post : http://jboss.org/index.html?module=bb&op=viewtopic&t=87442
(this feature of sharing parameters seems also to be in preparation for JSR-168 
2.0 and in jbp 2.4 with the access to the portal objects nodes).

The thing is to use the messaging implementation from inside a command factory, 
to send messages from there instead of from the portlets.
The message must be stored with a reference to a "Session ID".

In a Portlet, it uses the PortletSessionID to send the message.
In the CommandFactory, the message may be sent in the same way, but with 
providing the session id (coming from the httpSessionId). 
There's some work to do to adapt the messaging class, so it can do a send, with 
other parameters than the PortletRequest.
In the commandFactory, it seem you can retrieve the SessionID from the 
Invocation => Request => HttpRequest (to check really, I have just had a quick 
look at it).

To check : the portlet session Id must be the same as the http session id 
(which should be, but I am not sure the JSR ask for this... and quite sure 
not...)

To put your command factories in place of the one provided by jbp, you can use 
the service methods to unregister the ones and register yours in place off, or, 
more simple, replace the jboss-service.xml with yours, that say to use your 
classes instead of the one defined.

a lot of work, but it seems ok to work. 
I would set first the Messaging Portlet implementation, and check that the 
session identification for messages can be the same from the one that you get 
from the command factory, so you can send the message from there.
then see the command factory side. 
after, it should be easy. lot of setting, testing and tuning.

the advantage is not to deal with servlet stuff that much, but more "after", 
when the portal processes the request".
and by using the Messaging implementation, you can use it for other needs. It 
provide by itself a good way to manage this sharing of parameters issue, and 
good ideas on how to do it (multiple same portlet on one page, etc...).

hope it may help.


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

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


[jboss-user] [JBoss Seam] - s:link does not apply the form values to my bean

2006-08-07 Thread armita
I have just created a simple  application using the reveng tool, and I wanted 
to try s:link on a page. But when the form submits, the values of the request 
does not come in my bean. Could anybody know what is the problem? I tried using 
commandLink also but the famous bug makes it not call the action method.

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

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


[jboss-user] [EJB 3.0] - Using Differents jars

2006-08-07 Thread jmarcos_se
Hello,

I'd like to deploy my application using a .jar file for the Entity Beans and 
another one to the Session Beans, but I'm having some problems

When, for instance, I call "em.persist(user)",  a exception "Unkown Entity: 
User" is thrown

If I put them all in a single .jar file, It works nicely

Could you help me 

Thanks

Joseph

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

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


[jboss-user] [JBoss Messaging] - Finding redelivery count with 1.0.1 CR3

2006-08-07 Thread svasan123
I am trying to figure out a way by which to determine the redelivery count of a 
message. With JBoss MQ I could do this by using the property 
JMS_JBOSS_REDELIVERY_COUNT on the Message. 

With the messaging release, this property is not set. Is there a workaround for 
this.


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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: a newbie question: how do I add my own queue/topic conne

2006-08-07 Thread genman

Usually you bind them to JNDI and look them up.  Preferably you use JCA. Take a 
look at the jms-ds.xml file.

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

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


[jboss-user] [JBoss jBPM] - Re: Eclipse designer source code.

2006-08-07 Thread krsenthil
Nevermind I figured out the how to get. 

Thanks

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

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


[jboss-user] [JBossWS] - Re: @WebMethod @WebParam: no effect on generated wsdl.

2006-08-07 Thread msell
I'm having good luck with the following style in JBoss-5:

@Stateless
  | 
  | @WebService (name = "TestInterface", 
  | serviceName = "TestService",
  | targetNamespace = "urn:TestService/wsdl")
  | 
  | @PortComponent (contextRoot = 
Constants.WEBSERVICE_DOCLITERAL_URLROOTCONTEXT,
  | urlPattern = "/TestService")
  | 
  | @SOAPBinding (style = SOAPBinding.Style.DOCUMENT,
  | use = SOAPBinding.Use.LITERAL,
  | parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
  | 
  | public class TestBean implements TestInterface {
  | 
  | 
  | /**
  |  * Returns the provided String
  |  * @param sessionID A valid session ID
  |  * @param input String value to return
  |  * @return The input value
  |  */
  | @WebMethod(operationName = "echoString", action = "urn:EchoString")
  | @WebResult(name = "echoStringResult")
  | @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
  | public String echoString(
  | @WebParam(name = "sessionID") String sessionID,
  | @WebParam(name = "input") String input)
  | {
  | 
  | return input;
  | 
  | }
  | 
  | }
  | 


The variable "Constants.WEBSERVICE_DOCLITERAL_URLROOTCONTEXT" in my case can be 
set to something like:

"/test"

... which means the WSDL URL would be:

"http://serveraddress:8080/test/TestService?wsdl";


Hope this helps!

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

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


[jboss-user] [JBoss jBPM] - Eclipse designer source code.

2006-08-07 Thread krsenthil
Hi,

How can I get the eclipse graphical designer tool source code? Please help me. 

Thank you,


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

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


[jboss-user] [JBoss Portal] - have any one get chartcreator to work with jboss portal?

2006-08-07 Thread [EMAIL PROTECTED]
 Hi,

I was trying to draw a chart within a portlet in jboss
portal with chartcreator 
(http://jsf-comp.sourceforge.net/components/chartcreator/index.html) but 
failed. the image is not
rendering. by view source, I've got
img id="impressions" width="400" height="300"
src="chartcreatorrequest.jsf?ts=1154984708281&id=impressions"
 but the picture is just not drawn.


my jsf file:



my bean

@Out(scope=ScopeType.SESSION, required=false)
private TimeSeriesCollection folderDailyImps;

@Factory("folderDailyImps")
public void populateTimeSeries() {

Connection conn = _session.connection();
PreparedStatement ps = null;
ResultSet rs = null;
TimeSeries series = null;
folderDailyImps = new TimeSeriesCollection();

try {
ps = conn.prepareStatement(SQL_GET_GOOGLE_TIME_SERIES);
ps.setInt(1, 1);
rs = ps.executeQuery();

while (rs.next()) {
if (series != null) {
folderDailyImps.addSeries(series); // Add the last
series
}
series = new TimeSeries(rs.getString("name"),
Day.class);
series.add(new Day(new
Date(rs.getDate("xdate").getTime())), rs
.getInt("imps"));
logger.info(rs.getString("name") + " " +
rs.getDate("xdate") + " " + rs.getInt("imps"));
}
logger.info("folderDailyImps factory method invoked");
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}


portlet.xml

http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
version="1.0">


Reporting

org.apache.myfaces.portlet.MyFacesGenericPortlet

default-view
/home.seam


text/html
VIEW


Reporting





porlet-instance.xml




ReportingInstance
Reporting




portal-object.xml


overwrite
siab

Reporting


ReportingWindow
ReportingInstance
center
1



Authenticated
viewrecursive





any idea?

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

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


[jboss-user] [JBoss Portal] - Re: JSF / IPC / Portal 2.4

2006-08-07 Thread Antoine_h
There is a small bug, du to a bug in preferences default management:
http://jira.jboss.com/jira/browse/JBPORTAL-911

JBPORTAL-911 is resolved in 2.4 RC3. (not RC2).

If you are using a previous version, Michelle Osmond is making a work around in 
the implementation, that will be on the next version.
another work around is not to let an empty preference for the NameSpace of the 
source of a message (and therefore in the corresponding message name in the 
receiver). Set a real NameSpace and it works fine.

There is also something going wrong on Jboss Portal, in the edit mode of the 
example portlet1/2.
Osmond is looking at it and will try to set a workaround also.

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

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


[jboss-user] [JBoss Seam] - Re: Facelets / tomahawk redeploy on JBOSS problem

2006-08-07 Thread hookomjj
so hibernate, you'd be open to the same class modification errors with hot 
deploy under jboss AS-- given the practical risk of doing so.

but I'm wondering if there's any condition I can check to determine if the 
class has actually been modified such that I can re-grab and cache meta 
information.

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

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


[jboss-user] [JBoss Seam] - Re: can't quite get push-style mvc working

2006-08-07 Thread rbz285
the view-id should be the file name of your page, so .jsp instead of .seam


  | 
  | 
  | 
  | 



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

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


[jboss-user] [EJB 3.0] - Starting embeddable EJB3 server

2006-08-07 Thread jaboj
HI,

I need a little help to start the standalone embeddable EJB3 service. I've 
downloaded a ALPHA and a ALPHA 8 version. Only the ALPHA_8 version matches the 
description in http://docs.jboss.org/ejb3/embedded/embedded.html. 

Some other guys mentioned a RC8 version 
(http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952489#3952489). ) - 
but I'm not able to locate this download. 

Where can I locate the newest download?

I need to use the standalone embeddable EJB3 server in som JUnit tests.

When I'm trying out the tutorial described in the above URL, I'm getting this 
exception:


anonymous wrote : 
  | WARN  07-08 23:30:34,909 (BeanSchemaBinding.java:init:227)  -You should use 
the 2.0 version of the Microcontainer xml. xmlns='urn:jboss:bean-deployer:2.0'
  | ERROR 07-08 23:30:35,149 (AbstractController.java:incrementState:350)  
-Error installing to Start: name=TransactionManagerInitializer state=Create
  | java.lang.NoSuchFieldError: xidFactory
  | at 
org.jboss.tm.TransactionManagerInitializer.start(TransactionManagerInitializer.java:110)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | 
  | 

I start the server with this method:


  | public static void startupEmbeddedJboss()
  |{
  |  EJB3StandaloneBootstrap.boot(null);
  |  EJB3StandaloneBootstrap.scanClasspath();
  |  
  |}
  | 


I've think I've tried anything. I'm using Eclipse 3.2 and JBoss 4.0.4GA ad 
app.server. In eclipse the conf-dir is in the build-path. If I removed it the 
build-path then I'm getting another exception - so I'm sure that it is in the 
build path.

Can anybody help me with this? Has anyone succeded using this embeddable EJB3 
server in a unit test? I really much need to know how?

Regard
jaboj

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

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


[jboss-user] [EJB/JBoss] - NullPointerException looking up EJB

2006-08-07 Thread PastaFan
My Stateless SessionBean successfully deployed with IIOP invoker,
can be looked up from a Servlet or standalone Java-Client,
and the Object returned is a "org.omg.stub.javax.ejb._EJBHome_Stub",
toString() returns its IOR (correct).

But trying to PortableRemoteObject.narrow() it to its Home-Interface returns 
null, even following the steps mentioned at 
http://www.jbossgroup.com/index.html?module=bb&op=viewtopic&p=3932015

The Properties I pass to my 
Client:java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  | java.naming.provider.url=jnp://localhost:1099
  | java.naming.factory.url.pkgs=org.jboss.naming.client
  | j2ee.clientName=my_client
  | java.rmi.server.codebase=http://localhost:8083
  | java.security.policy=.\client.policy

Included JARs:
- My_EJB_Interfaces.jar
- jbossall-client.jar
- jboss-iiop.jar


My deploy\dynclassloader-service.xml (Have enabled 
DownloadServerClasses)
  |
  |   java.rmi.server.RMIClassLoaderSpi
  |   org.jboss.system.JBossRMIClassLoader
  |
  |
  |
  |   8083  
  |   true
  |   ${jboss.bind.address}
  |   ${jboss.bind.address}
  |   jboss.system:service=ThreadPool
  |
  | 

JBoss starts without any errors/warnings

Environment:
- JBoss 4.0.4GA (Installer - checked "all")
- Java 1.5
- Windows XP SP2


As a (poor) workarround I can put the rmic-generated Stubs to Classpath,
so lookup(jndi) returns me a "mypackage._MyBeanHome_Stub" and works fine.
So I assume there must be an error obtaining the Stubs dynamically via 
RMIClassLoaderService!?


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

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


[jboss-user] [JBoss jBPM] - Re: error with GPD 3.0.8 Eclipse plugin

2006-08-07 Thread bentruitt
"jglan" wrote : I tried to find out more about the classpath container thing. 
The eclipse help was not very helpful for me. 
  | Is there some file that 'is' the classpath containter to see which jars are 
referenced ?
  | If yes, where can find the file ? (to see an example)
  | Are there other ways to see content of the classpath container ?
  | 
  | Thanks for any comments!

Lets say you have your workspace in the directory ~/workspace.  Lets say 
furthermore that you have a project called test-jbpm (like i did) living at 
~/workspace/test-jbpm.

You can see the classpath container (and this is what was causing my problem) 
by looking at
~/workspace/test-jbpm/.classpath

I was referencing a non-existant jbpm instance there.  Killing that project got 
me past eclipse complaining on startup.

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

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


[jboss-user] [JBossWS] - JSR181 Web Service Client

2006-08-07 Thread chamillard
Hi Folks,

I'm deploying a simple EJB 3.0 web service using the following code (based on 
the hello-jaxws sample that comes with the Java EE 5 distribution):

package endpoint;
  | 
  | import javax.ejb.Stateless;
  | import javax.jws.WebService;
  | import javax.jws.WebMethod;
  | 
  | @WebService
  | @Stateless
  | public class Hello
  | {
  | @WebMethod
  | public String getHello(String name)
  | {
  | return "Hello " + name + "!";
  | }
  | }

I'm packaging it into a JAR and deploying to JBoss 4.0.4.GA, and the WSDL shows 
up fine from http://localhost:8080/jbossws. The WSDL name is as expected 
(http://localhost:8080/hello/Hello?wsdl).

I'm using wsimport to generate the client stub code using the following ant 
task:

  
  |   
  |   http://localhost:8080/hello/Hello?wsdl"/>
  |   
  |   

This also seems to work as expected, and my test client (shown below) will 
compile.


  |  /* 
  |   * Client.java
  |   */
  | 
  | package client;
  | 
  | import javax.xml.ws.WebServiceRef;
  | import endpoint.jaws.HelloService;
  | import endpoint.jaws.Hello;
  | 
  | public class Client
  | {
  | @WebServiceRef(wsdlLocation="http://localhost:8080/hello/Hello?wsdl";)
  | static HelloService service;
  | 
  | public static void main(String[] args)
  | {
  | Client client = new Client();
  | client.doHello();
  | }
  | 
  | public void doHello()
  | {
  | try
  | {
  | Hello port = service.getHelloPort();
  | String ret = port.getHello(System.getProperty("user.name"));
  | System.out.println("Hello result = " + ret);
  | }
  | catch(Exception e)
  | {
  | e.printStackTrace();
  | }
  | }
  | }

Unfortunately, when I try to actually run the client, I get the following:

[java] java.lang.NullPointerException
[java]  at client.Client.doHello(Client.java:28)
[java]  at client.Client.main(Client.java:21)

I added debugging statements and determined that the method generated by 
wsimport to get the port doesn't seem to be working properly, but that's as far 
as I can get!

Can anyone help me resolve this problem?

Thanks in advance,
Tim

PS I'm certainly willing to use wstools instead of wsimport, but I couldn't 
find an example for generating a client using a JAX-WS client (rather than a 
JAX-RPC client)

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

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


[jboss-user] [JBoss Seam] - Re: can't quite get push-style mvc working

2006-08-07 Thread sjmenden
Thank you for the response,

are you sure there is nothing else I need to do to get this working.  I changed 
my pages.xml to:


  | 
  | 
  | 
  | 


And when I hit /showGroups.seam, this is all I get in my console:


  | 16:33:30,791 INFO  [Pages] reading pages.xml
  | 16:33:31,458 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.PRETTY_HTML' found, using default value true
  | 16:33:31,459 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
  | 16:33:31,460 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false
  | 16:33:31,460 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.AUTO_SCROLL' found, using default value false
  | 


Whereas I should be seeing somewhere:


  | [INFO ]Find First Page
  | 


Does my EJB necessarily have to be a part of a conversation, I don't think that 
is a requirement though.

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

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


[jboss-user] [JBoss jBPM] - Re: displaying process states

2006-08-07 Thread krsenthil
What we really miss is the ability to design and deploy the processes on 
online. An process designer applet could have solved this problem. Also ability 
to customize/add features to the designer tool so that applicable our 
customers. For example we would like have a predefined set of tasks (upload 
task, approval task review task etc.,) on the tool bar which captures the 
certain business rules, so the user can pick and use in their process.  I hope 
this gives some idea of what we are trying to do. 



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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Check access to bean methods from bean

2006-08-07 Thread matt10
j2ee_junkie,

Thanks for your input.

I trivialised my use case as enabling/disabling menu items for the sake of 
forum post.

My client is not so much a fat client as an automatic user interface which 
exposes business methods directly to the user. It generates forms and offers 
functionality with little or no client-side coding required. It creates wizards 
to gather parameters required to invoke business processes and interacts JBPM 
business processes with the user.

The user interface metadata, hints, such as "Group these fields visually" and 
"Show a full-size calendar here rather than a date control" are attached to the 
business methods on the bean and to parameters and passed to the client along 
with datasets. This allows rapid development of CRUD functionality and easy 
exposing of new useful-to-business code to the user.

I agree with what you are saying in general use but the client is agnostic to 
the session beans and entities it is working with. Many methods are exposed to 
the User rather than the client, hence checking if the User can access the 
Method, where the method is accessible to the user.

If you still think I am using the wrong strategy I am happy to debate :)

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

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


[jboss-user] [JBossCache] - Re: TransactionManager Name not bound?

2006-08-07 Thread ayampols
"chongmaolou" wrote : I could not find the ejb3-entity-cache-service.xml under  
  | jboss-4.0.4.GA\server\default\deploy.
Hi chongmaolou,

We are installing jboss 4.0.4 with the ejb3-clustered configuration --

java -jar jboss-4.0.4.GA-Patch1-installer.jar  -installGroup ejb3-clustered

(or use the GUI). I don't think you get that file if you don't use the ejb3 or 
ejb3-clustered config. If you do, the file will get installed.

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

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


[jboss-user] [EJB/JBoss] - Re: JBOSS is crashing..

2006-08-07 Thread augustinm
Thank you for your reply. I am able to get the threadDump. I just do not know 
how to use it. How do i use it?. How do I find out what the current thread is? 
Or how do i find out what thread is using the CPU at that time?.

Any help is really appreciated.
Michael Smart

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

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


[jboss-user] [JBoss jBPM] - Re: displaying process states

2006-08-07 Thread kukeltje
yep, you do have to unclutter the image (one other reason we abandoned it).  I 
was not mentioning you have to use the gpd to design it, but to generate the 
image.

Could you tell what you miss in GPD to reflect the business context? 

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

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


[jboss-user] [JBossCache] - Re: TransactionManager Name not bound?

2006-08-07 Thread chongmaolou
Hi Ayampols,

  I could not find the ejb3-entity-cache-service.xml under  
jboss-4.0.4.GA\server\default\deploy.  Did you create the xml file yourslef or 
was it already there?




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

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


[jboss-user] [JBoss Seam] - Re: Facelets / tomahawk redeploy on JBOSS problem

2006-08-07 Thread [EMAIL PROTECTED]
with hibernate you rebuild the sessionfactory; there is no "dynamic reloading" 
going on.

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

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


[jboss-user] [Clustering/JBoss] - Re: Single Sign On failure on Jboss 4.0.4 using LDAP Realm a

2006-08-07 Thread [EMAIL PROTECTED]
I don't know who put the StandardSessionFacade in the session.  The stack trace 
you show is from the part of the request cycle after the application has done 
whatever it does; the fact that there is no application code in the stack trace 
means nothing.

Suggest you either 1) look at it in a debugger, or 2) code up an implementation 
of javax.servlet.http.HttpSessionAttributeListener and monitor what's getting 
bound to the session.

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

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


[jboss-user] [JBoss Seam] - Seam and Hibernate

2006-08-07 Thread jjsoft
Hi, again.

I am trying to clone the register example and make it work with one of my beans 
that uses hibernate for persistance (mySql). So far without success. I was 
wondering if anyone has a roadmap on how to do that? I have an up and runing 
JBoss/EBJ3/Hibernate web application I am trying to see how dificult and what 
advantages I get by porting to Seam. My appliactions contains hundred of beans 
and many dozens of actions. I am just trying to get one simple little bean and 
once fetch action going.

Here is what the table looks like

+---+--+--+-+-+---+
| Field | Type   | Null | Key | Default | Extra |
+---+--+--+-+-+---+
| node_id| varchar(180) |  | PRI  |   |   |
| node_name   | varchar(80)  |  ||   |   |
| description | varchar(240)|  |   |   |   |
| vault_id | int(11)  |  |   | 0 |   |
| security_model_id | int(11)   ||   | 0 |   |
+---+--+--+-+-+---+

Here is my persistance.xml 

( = < and ) = > since I can't turn html off.



(persistence)
  (persistence-unit name="joms")
(provider>org.hibernate.ejb.HibernatePersistencejava:/DefaultDS
  (property name ="hibernate.show_sql" value="true"/)
  (property name ="hibernate.dialect" 
value="org.hibernate.dialect.MySQLDialect"/)
  (property name ="hibernate.dialect" 
value="org.hibernate.dialect.MySQLInnoDBDialect"/)
  (property name ="hibernate.dialect" 
value="org.hibernate.dialect.MySQLMyISAMDialect"/)
  (property name ="hibernate.connection.driver_class" 
value="com.mysql.jdbc.Driver"/)
  (property name ="hibernate.connection.username" value="xx"/)
  (property name ="hibernate.connection.password" value="xx"/)
  (property name ="hibernate.connection.url" value="jdbc:mysql:///joms"/);
(/properties)
  (/persistence-unit)
(/persistence)




Here is what the bean looks like, (clone of user.java in register example.




//$Id: User.java,v 1.9 2005/09/10 19:08:01 gavin Exp $
package org.jboss.seam.example.nodes;

import static org.jboss.seam.ScopeType.SESSION;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.validator.Length;
import org.hibernate.validator.NotNull;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;

@Entity
@Name("node")
@Scope(SESSION)
@Table(name="nodes")
public class Node implements Serializable
{
private static final long serialVersionUID = 1881413500711441951L;
   
private String nodeId;
private String nodeName;
   
public Node(String id, String name)
{
this.nodeId = id;
this.nodeName = name;
}
   
public Node() 
{
//do nothing
}
   
@NotNull
public String getNodeName()
{
return nodeName;
}

public void setNodeName(String s)
{
this.nodeName = s;
}
   
@Id @NotNull @Length(min=2, max=16)
public String getNodeId()
{
return nodeId;
}

public void setNodeId(String s)
{
this.nodeId = s;
}
public String toString() 
{
return "Node(" + nodeId + ")";
}
}


Evedrything else is a clone of registration except I replace register with 
nodes every where it occured. 



At service startup I get this warning



13:38:54,018 WARN  [ServiceController] Problem starting service persistence.unit
s:ear=jboss-seam-nodes.ear,jar=jboss-seam-nodes.jar,unitName=joms
java.lang.RuntimeException: java.lang.NoSuchMethodError: org.hibernate.cfg.Annot
ationConfiguration.setEntityNotFoundDelegate(Lorg/hibernate/proxy/EntityNotFound
Delegate;)V







At runtime I can get to my data entry page via



http://localhost:8080/seam-nodes/nodes.seam




But on submit I get 


13:43:24,002 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet
 threw exception
javax.faces.FacesException: Error calling action method of component with id _id
0:_id5
at org.apache.myfaces.application.ActionListenerImpl.processAction(Actio
nListenerImpl.java:74)
at javax.faces.component.UICommand.broadcast(UICommand.java:106)
at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:9
0)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1
64)
at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(Lifecycl
eImpl.java:316)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java
:86)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
at org.apache.catalina.core

[jboss-user] [Beginners Corner] - how to create a virtual directory in JBoss

2006-08-07 Thread paulovilhena
Hi,


I need to create a virtual directory in Jboss like in Apache.

Ex.:  create a directory in my server
   . %JBOSS_HOME%\mydir

and to access it from Jboss URL
   http://localhost:8080/mydir


Anybody knows how I do this?


Thank´s

Paulo Vilhena


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

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

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


[jboss-user] [EJB 3.0] - Re: Setting timeout for EJB3 session beans

2006-08-07 Thread ngtdave
You can change the timeout in
$JBOSS_HOME\server\default\conf\standardjboss.xml

Look for 
anonymous wrote : 
  |   Standard Stateful SessionBean
  | ...
  |   
org.jboss.ejb.plugins.LRUStatefulContextCachePolicy
  | 
  |   50
  |   100
  |   1800
  |   1800
  |   300
  |   600
  |   400
  |   60
  |   1
  |   0.75
  | 
  |   

Set the max-bean-age.

Hope this helps.

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

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


[jboss-user] [Clustering/JBoss] - Re: Single Sign On failure on Jboss 4.0.4 using LDAP Realm a

2006-08-07 Thread argaldo
Maybe, but as you can see there's no application specific class in the 
stacktrace, other than Tomcat's, Jboss's or Java' classes. 

So, Who's responsible of trying to serialize a StandardSessionFacade over the 
wire to replicate Session info in the nodes of a cluster?

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

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


[jboss-user] [Remoting] - SSL handshake fails

2006-08-07 Thread [EMAIL PROTECTED]

The Messaging SSL example fails because of

 [java] Caused by: javax.net.ssl.SSLProtocolException: Illegal client 
handshake msg, 1
  |  [java] at com.sun.net.ssl.internal.ssl.SunJSSE_az.a(DashoA12275)
  |  [java] at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA12275)
  |  [java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
  |  [java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA12275)
  |  [java] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
  |  [java] at 
com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA12275)
  |  [java] at 
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66)
  |  [java] at 
java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)
  |  [java] at java.io.DataOutputStream.flush(DataOutputStream.java:101)
  |  [java] at 
org.jboss.serial.io.JBossObjectOutputStream.flush(JBossObjectOutputStream.java:248)
  |  [java] at 
org.jboss.remoting.transport.socket.ServerSocketWrapper.createOutputStream(ServerSocketWrapper.java:65)
  |  [java] at 
org.jboss.remoting.transport.socket.ClientSocketWrapper.createStreams(ClientSocketWrapper.java:75)
  |  [java] at 
org.jboss.remoting.transport.socket.ClientSocketWrapper.(ClientSocketWrapper.java:54)
  |  [java] at 
org.jboss.remoting.transport.socket.ServerSocketWrapper.(ServerSocketWrapper.java:50)
  |  [java] ... 9 more
  | 

Any idea of what may have caused this?

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

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


[jboss-user] [JBoss Seam] - can't quite get push-style mvc working

2006-08-07 Thread sjmenden
I am trying to emulate the "push"-style section 1.10.3 in Chapter 1. Seam 
Tutorial.

When I load the page I want data to get pushed to initially, nothing happens in 
console and the data is not loaded, despite the page loading as normal.  So I 
am assuming the EJB is never actually getting called.  Even if I am not 
actually Outjecting anything to the view, when the findFirstPage method gets 
called in the EJB, it should be outputing debug text to the console, which it 
never does.

So what I want to do is for a user to go to /showGroups.seam, which is mapped 
to the file showGroups.jsp, and for an arbitrary list of default groups to be 
pushed to the view, and the page will also allow the user to search for groups. 
 But a big part of the functionality is showing those initial groups.

Here is my code:

pages.xml

  | 
  | #{groupFinder.findFirstPage}
  | 
  | 


GroupFinderBean.java   with non relevant code removed

  | @Name("groupFinder")
  | @Stateful
  | @Scope(ScopeType.SESSION)
  | public class GroupFinderBean implements GroupFinder {
  | 
  | @Logger
  | private Log log;
  | 
  | @DataModel
  | private List groupList;
  | 
  | 
  | @PersistenceContext
  | private EntityManager entityManager;
  | 
  | private void executeQuery() {
  | Map parameters = new HashMap();
  | StringBuffer queryString = new StringBuffer();
  | 
  | log.info("searchColumns: " + Arrays.asList(searchColumns));
  | 
  | 
  | //***//
  | // Handle case when a user clicks on a letter
  | //***//
  | if(start != null && !start.equals("")) {
  | queryString.append(" or group.name" + " like :value or 
group.name like :valuetwo ");
  | parameters.put("value", start + "%");
  | parameters.put("valuetwo", start.toLowerCase() + "%");
  | }
  | 
  | 
  | ////
  | // Handle case when a user is searching via the search field
  | ////
  | if(searchField != null ) {
  | int x = 0;
  | for(String searchColumn : searchColumns) {
  | if(searchField.contains("%")) {
  | queryString.append(" or group." + 
searchColumn + " like :" + searchColumn);
  | } else {
  | queryString.append(" or group." + 
searchColumn + " = :" + searchColumn);
  | }
  | parameters.put( searchColumn, searchField );
  | x++;
  | }
  | }
  | 
  | ////
  | // Handle case when a user enters no input, but clicks search
  | ////
  | if(queryString.length() == 0) {
  | queryString.append("select group from Group group");
  | } else {
  | queryString.delete(0, 3).insert(0, "select group from 
Group group where ");
  | }
  | 
  | if(order!=null) {
  | queryString.append(" order by group.").append(order);
  | if (descending) queryString.append(" desc");
  | }
  | 
  | 
  | log.info("searchField: " + searchField + " queryString: \n\n" + 
queryString + "\n\n");
  | 
  | Query query = entityManager.createQuery(queryString.toString());
  | for (Entry  param : parameters.entrySet()) {
  | query.setParameter( param.getKey(), 
param.getValue() );
  | }
  | groupList = (List) query.setMaxResults(pageSize)
  | 
.setFirstResult(pageSize*pageNumber)
  | .getResultList();
  | }
  | 
  | public String findFirstPage() {
  | log.info("Find First Page");
  | pageNumber=0;
  | executeQuery();
  | return null;
  | }
  | }
  | 


web.xml

  | 
  |  Faces Servlet
  |  *.seam
  | 
  | 


I'm thinking it may have something to do with the scope of the EJB, as the EJB 
in the Blog example is Stateless, mine is Stateful.

Thanks for the help.



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

Reply to the post : 
http://www.jboss.com/index.html?mod

[jboss-user] [Installation, Configuration & Deployment] - "no valid JNDI binding" !!!

2006-08-07 Thread campbella
I'm trying to configure JBoss for Oracle10g.  Every time I try to launch my 
application I get the error: javax.naming.NamingException: resource-ref: 
jdbc/MyOracleDS has no valid JNDI binding.  
You should know that I am new to Oracle, JBoss and IT in general.   However, I 
have followed the Start Guide and set up accordingly.  I noticed that in one of 
the demo applications they talk about an ?application-client.xml file and a 
jboss-client.xml file.  As these are not present when I search the jboss 
directory I?m guessing they might be files I need to include?  If so, are there 
any templates out there?  Much thanks in advance for any help/direction you can 
offer! -- Alex

My ?oracle-ds.xml file is as follows: 




  
MyOracleDS
jdbc:oracle:thin:@xxx.xxx.xxx.xx:1521:xxx
oracle.jdbc.driver.OracleDriver
MyUserName
MyPassword

org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter

  
 Oracle9i
  
  




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

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


[jboss-user] [JBoss Seam] - Re: A couple of observations

2006-08-07 Thread iradix
You still there Gavin?  If you've got a moment I'm curious to know what you 
think about my issue with @Roles.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - a newbie question: how do I add my own queue/topic connectio

2006-08-07 Thread nasrinaz
Hi,
 I need to define topic and queue connection factories to JBossMQ. Can't find 
much info on wiki or the docs.

any help would be greatly appreciated,

Nasrin

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

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


[jboss-user] [JBoss jBPM] - Re: displaying process states

2006-08-07 Thread krsenthil
Thanks for the reply. In our application we do not want to use GPD to design 
the process as it doesn't reflect the business context also it is too generic 
for our users. That is the reason we constructed the process definition 
programmatically. Otherwise xml bean appraoch could have solved our problem.  


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

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


[jboss-user] [JBoss Seam] - Conversation on both action and actionListener

2006-08-07 Thread gus888
Hi everyone,

I have a question on conversation. If an command invoke an action and 
actionListener at the same time, how to annotate @Begin on them, e.g. 
@Begin 
  | public void listen(ActionEvent e) {
  | ...
  | }
  | 
  | @Begin(join=true)
  | public String act() {
  | return outcome;
  | }
  |  I used the codes above, but it did not work. I don't know whether the 
anotation is correct or not. Thank you very much in advance.

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

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


[jboss-user] [JBoss jBPM] - Re: displaying process states

2006-08-07 Thread cpob
But with that, Ronald, don't you have to still manipulate the graph in the GPD? 
 Because if you bring in a prodef xml, all the nodes are going to be glommed 
together in the top corner I thought.

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

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


[jboss-user] [JBossCache] - Re: JDBCCacheLoader Problems

2006-08-07 Thread [EMAIL PROTECTED]
sorry, coudl you post that snippet again, within [ code ] and [ / code ] tags?



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

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


[jboss-user] [JBoss jBPM] - Re: displaying process states

2006-08-07 Thread kukeltje
I assume you created it using the API right? What I did once is to have 
xmlbeans create a model of the xsd, use that API to create a process and do a 
writeTo(out) to have an xml file. Use that in the gpd and you have an image. I 
did not continue this since there was no reason to. What was needed was a 
businessrule engine (if we needed one now, we'd go for drools e JBoss 
Rules)

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

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


[jboss-user] [JBossCache] - Re: cachelistener configuration

2006-08-07 Thread [EMAIL PROTECTED]
1.  You cannot add a listener in the XML file - this needs to be done 
programatically.

2.  Do you have anything in the log that suggests that your passivation may not 
be happening properly?

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

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


[jboss-user] [JBossCache] - Re: Eviction problems with JBossCache 1.4.0

2006-08-07 Thread [EMAIL PROTECTED]
Hi, 

When the cache starts up, it dumps a list of the interceptors configured into 
the log.  Could you paste this list?  Since 1.4.0, all eviction code has been 
moved to a dedicated EvictionInterceptor.

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Check access to bean methods from bean

2006-08-07 Thread j2ee_junkie
matt10,

Wouldn't it be better if your fat client enabled/disabled menu items based on 
the roles the user has rather than the methods they can call.  I mean really 
this is the same thing, only you do not have to go get method permissions.

cgriffith

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

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


[jboss-user] [JBossCache] - Re: Why nobody use the jbosscache mailistlist

2006-08-07 Thread [EMAIL PROTECTED]
The mailing list is very new (a few weeks old) and has just been set up since 
we moved off the sourceforge mailing list.

For now I would recommend using the forum, the list will pick up in activity 
over time though.

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

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


[jboss-user] [JBossCache] - Re: Migrating from PojoCache 1.3 to 1.4

2006-08-07 Thread [EMAIL PROTECTED]
Yes, I would not recommend binding your code to callRemoteMethods().  The API 
is deprecated and will certainly disappear in 2.0.0.

Like Brian said, it may be made available as a part of a SPI interface for 
plugin authors, but even then using it as a generic RPC solution to call your 
own arbitrary methods will not be supported as it will only allow the remote 
invocation of a fixed set of methods.

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

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


[jboss-user] [JBossCache] - Re: Using OPTIMISTIC locking does not notify the TreeCacheLi

2006-08-07 Thread [EMAIL PROTECTED]
Do you see this problem with the latest 1.3.0 as well?

Also, do you have any ongoing transactions around your cache calls?  
Notifications in optimistic locking will not fire until your txs commit.



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

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


[jboss-user] [JBossCache] - Re: Remote cache

2006-08-07 Thread [EMAIL PROTECTED]
Why don't you just create another local instance of a cache and have it join 
your cluster?

Otherwise, if this is on an ad-hoc basis, you can connect to the remote cluster 
via the JMX console and perform operations on it.

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

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


[jboss-user] [JBoss jBPM] - Re: displaying process states

2006-08-07 Thread cpob
No, the GPD (Graphical Process Designer) is what is responsible for creating 
the image.

If you programmatically create your Process Definition, you will have no image, 
unless you make your own :(

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Check access to bean methods from bean

2006-08-07 Thread matt10
It is possible to do this by inspecting the bean's own annotations with code, 
i.e. method @PermitAll, @RolesAllowed, and class defaults. This works.

IMHO It would be nice if there was a JBoss method that would allow such method 
access checks though.

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

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


[jboss-user] [EJB 3.0] - Re: How to set default mapping to TEXT instead of VARCHAR(25

2006-08-07 Thread matt10
Rather than TEXT I meant I want to set the default to VARCHAR(unlimited length).

Is this possible?

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

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


[jboss-user] [EJB 3.0] - Re: Programmatically query @RolesAllowed or if caller can ac

2006-08-07 Thread matt10
Your code does work as expected. Thanks for your help.

I was doing annotation.getClass() instead of annotation.annotationType() on the 
server-side coupled with a bug on client-side which was not handling the 
results properly. I had mislead myself that I could not access annotations 
after seeing Proxy$69 and similar as the class name instead of the annotations 
I wanted.

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

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


[jboss-user] [JBoss Messaging] - Re: SQLServer configuration file?

2006-08-07 Thread [EMAIL PROTECTED]

As far as I know, we don't have a MSSQL instance to test the configuration 
with, but I might be wrong, I am asking around.

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

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


[jboss-user] [JBoss jBPM] - displaying process states

2006-08-07 Thread krsenthil
Hi,

I have created a process instance programmatically(I didn't use eclipse plug-in 
to define the process) and now I want to display the process diagram in my web 
app. Thought I could use ProcessImageTag but that doesn't work since I defined 
my process programmatically. Is there any API out there to create a visual 
image of the process? Please help me

Thank you,



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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: This project cannot be deployed to a server.

2006-08-07 Thread [EMAIL PROTECTED]
huh ? What are you talking about ?

We have one full eclipse download with all our plugins.

All these plugins are downloadable in individual form.

/max

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: This project cannot be deployed to a server.

2006-08-07 Thread mvilot
"[EMAIL PROTECTED]" wrote : Dude ;)
  | 
  | "why don't you separate the components into focused plugins, and coordinate 
their distribution via Callisto?"
  | 
  | Is that not what we are actually doing ?!
  | 
  | We got about 6-7 different plugins for each major functionallity and 
targetting Callisto have been the goal ever since it became stable/available.
  | 
  | 

Well, you sure fooled me -- downloading a separate .zip file that contains 
_all_ of Eclipse doesn't seem like a plugin.  No wonder I was confused.  Dude.

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

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


[jboss-user] [JBoss Seam] - Resume Pageflow after Conversation Timeout

2006-08-07 Thread connerjohn
Is there a way to resume a pageflow after a converstation has timed out?

When this occurs, right now we can redirect to a no-conversation-view-id.  
However, this performs a redirect and resets the PageContext and we then lose 
the pageflow name/node.

I would like to call an sfsb.action so that I can "reinitialize" the 
conversation and proceed.  Thoughts on how to do this?

If this is something that requires a code change, pointers on where to change 
would be appreciated.  I'm going to start looking at it now.  After placing a 
couple of debug points, it looks like I need to modify the Manager

2006-08-07 12:24:41,812 DEBUG [org.jboss.seam.core.Manager] 
===
  | 2006-08-07 12:24:41,812 DEBUG [org.jboss.seam.core.Manager] found in 
PAGEFLOW noConversationViewId[null]
  | java.lang.Exception
  | at 
org.jboss.seam.core.Manager.redirectToNoConversationView(Manager.java:1064)
  | at 
org.jboss.seam.jsf.AbstractSeamPhaseListener.restoreAnyConversationContext(AbstractSeamPhaseListener.java:49)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:66)
  | at 
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:181)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at com.itsolut.servlet.LoggingFilter.doFilter(LoggingFilter.java:30)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)

--jc

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

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


[jboss-user] [EJB 3.0] - Entity Bean custom functions - asText(), createfromwkt()

2006-08-07 Thread nbarker
Hi,

I have written entity beans that map on to the columns of a spatial database 
(postgis) so I have a property

@Column(name="extents")
public String getExtents()
{
return extents; 
}

where extents is actually of type Geometry but I want JBoss to call the 
database astext() function wrapper when retrieving this column, and when it 
updates the entity to call the database createfromwkt() function.

Is this possible with EJB3?  Ideally I would also likes these functions to be 
available when using EJB-QL?

Many thanks,

Norman

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

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


[jboss-user] [JBoss jBPM] - Re: Task priority problem

2006-08-07 Thread michaelholtzman
Yes.

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

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


[jboss-user] [JBoss Portal] - Correct JBOSS_CLASSPATH for shutdown.sh

2006-08-07 Thread ssemanek
I have downloaded and installed jboss-portal-2.4.0-CR3-bundled.zip.  I can 
start JBoss using $JBOSS_HOME/bin/run.sh but I am unable to stop JBoss using 
$JBOSS_HOME/bin/shutdown.sh.  If I execute:

$JBOSS_HOME/bin/shutdown.sh -S 

I get the following error message:

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/jboss/system/server/ServerImplMBean
  | at org.jboss.Shutdown.main(Shutdown.java:116)

The problem seems to be with the $JBOSS_CLASSPATH variable that is being build 
by shutdown.sh.  By default $JBOSS_CLASSPATH is set to: 
$JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/client/jbossall-client.jar  
The directory structure created by extracting the 
jboss-portal-2.4.0-CR3-bundled.zip does not contain a client directory.  The 
JBoss Portal QuickStart User Guide list the client directory as one of the 
directories that should exist after unzipping the 
jboss-portal-2.4.0-CR3-bundled.zip file.  Should the client directory exist?  
If not, what is the correct JBOSS_CLASSPATH for shutdown.sh

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

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


[jboss-user] [JBoss jBPM] - Re: Task priority problem

2006-08-07 Thread kukeltje
setting it runtime also persists it, right? 

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

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


[jboss-user] [JBoss jBPM] - Re: Deployment Problems

2006-08-07 Thread kukeltje
I myself have had some problems with the logging in the starterkit jbossAS. Can 
you copy one from a normal JBoss AS installation and try that one?

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

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


[jboss-user] [JBoss Messaging] - Re: CR4 Release Date?

2006-08-07 Thread cameronjones
I can't argue with that! :-)

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

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


[jboss-user] [JBoss Messaging] - Re: CR4 Release Date?

2006-08-07 Thread [EMAIL PROTECTED]
The only thing standing between us an release is that some of the stress tests 
fail, and we're investigating that. It could be 5 minutes, it could be one or 
two days. 

I won't release until all tests are green.

Stay tuned. 

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: jms ha + remote client

2006-08-07 Thread gcoleman
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=88064

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

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


[jboss-user] [JBoss jBPM] - Re: Task priority problem

2006-08-07 Thread michaelholtzman
Yes, setting it at run time does work.

I am working around the problem by setting the priority that I need in the task 
assignment handler. 

However, having the priority correctly assigned when the task instance is 
created would be "nicer".

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

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


[jboss-user] [JCA/JBoss] - why BaseConnectionManager2 throws Invalid authentication att

2006-08-07 Thread Yilativs
Hello

My application runs on
On 3.2.8.SP1 (build: CVSTag=JBoss_3_2_8_SP1 date=200603031235)
all works fine but if application stays without activity about 30mins

I recieve 
Invalid authentication attempt, principal=null
  |  java.lang.SecurityException: Invalid authentication attempt, principal=null
  | at 
  | 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubject(BaseConnectionManager2.java:697)
  | at 
  | 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:526)
  | at 
  | 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:926)
  | at 
  | 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
  | 

Does anybody know why it happens and how to fix it?

Regards,
Vitaliy S

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

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


[jboss-user] [JBoss Messaging] - SQLServer configuration file?

2006-08-07 Thread david1234
Does anyone know when a MS SQLServer configuration file will be available?  Has 
anyone successfuly configured JBoss Messaging for MSSQL?

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

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


[jboss-user] [JBoss jBPM] - Re: Deployment Problems

2006-08-07 Thread mailinator
Thanks.  Found a file named log4j.xml (that the right one?), but it was at 
/server/jbpm/conf
I tried to change the value of the "Target" parameter in the appender 
definition, first to "jbpmLog.txt" then with a full path, but in both cases I 
wasn't able to find the file. And console still displays messages (getting an 
exception quite at the beginning, sth. about main deployer having a problem...)

Some more tips?

- Florian

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

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


[jboss-user] [JBoss jBPM] - Re: Deployment Problems

2006-08-07 Thread kukeltje
log4j for your SERVER, not eclipse or anything. in jboss it is in the 
/server//conf dir

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

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


[jboss-user] [JBossCache] - Remote cache

2006-08-07 Thread shimi
I want to set up a cache cluster and to be able to get/update/remove... items 
from the cache remotly.
Is there a way to set the local jboss-cache to use the TcpDelegatingCacheLoader 
without local caching? 

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

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


[jboss-user] [JBoss jBPM] - other guy, same problem

2006-08-07 Thread mailinator
Hello,

I came as far as stevenm.  Found the log4j.properties file, too (in your 
eclipse project in /bin/com) and since it says in line 1+2
# Set root logger level to DEBUG and its only appender to CONSOLE
  | log4j.rootLogger=DEBUG, CONSOLE
I guess no log file is created. So, how do I change line 2 so a log file is 
created?

Greetings

Florian



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

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


[jboss-user] [JBoss Getting Started Documentation] - Section 2.2.3 and Giving Up

2006-08-07 Thread snyderpa
Section 2.2.3 describes enabling security service for the jmx console.  

Following the steps exactly on my installation results in perpetual HTTP 401 
responses from the web server, correct username-password-be-damned.

None of the log files were modified during this authentication attempt.  As far 
as I can tell, no files anywhere in the server's hierarchy were modified -- now 
clue about why this problem occurs or how to debug it -- IT JUST DOESN'T WORK 
-- and I have to give up and try a different product now, but if someone can 
give me a good way to get some info, maybe I'll spend some more time looking 
into this.

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

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


[jboss-user] [JBoss Seam] - Graceful Session expiration

2006-08-07 Thread mjrpain
Is there a graceful way to detect a session expiration.  Currently I get a 
nasty error message about a required @In when the session expires.

The best I can figure is to set all of my @In(required=true) to false and check 
manually for null.  Obviously this would beg the question why we would use true 
at all.

Or am I to much of a nube and have missed something in the documentation.

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

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


[jboss-user] [Clustering/JBoss] - Re: Single Sign On failure on Jboss 4.0.4 using LDAP Realm a

2006-08-07 Thread [EMAIL PROTECTED]
ClusteredSingleSignOn does not store anything to the session.

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

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


[jboss-user] [JBoss jBPM] - Re: Deployment Problems

2006-08-07 Thread kukeltje
assuming you are using jboss, then it is probably turned of in the log4j config 
and only logs to the console (if you use one for starting jboss).

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

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


[jboss-user] [JBoss jBPM] - Re: jbpm and portlet

2006-08-07 Thread kukeltje
1: Yes, primarily for the owner, both role/group tasklist and individual 
tasklist. Each individual and combined (so 3 portlets?)
2: Less important, but just show a list of all processes to be started, either 
by retrieving a list from jbpm or configure it statically based on role, role 
outside jbpm?)
3: Nope



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

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


[jboss-user] [JBoss jBPM] - Undeploying.....

2006-08-07 Thread stevenm
I have deployed a process that didnt turn out quite the wa I want and I need to 
remove it.

Is there an efficient way of doing this?

I have found the "void startDatabaseManager()" in the console but was wondering 
if there is another way of editing the database instead of typing in the SQL 
commands there?

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

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


[jboss-user] [JBoss Seam] - Partial load of data for DataTable

2006-08-07 Thread gvl
I am using JBoss 4.0.4, ejb38, myfaces 1.1.3 and tomahawk 1.1.3 and ofcourse 
Seam  1.0.1

I have a data table that loads from a large table. What I would like to do is 
only load the rows that are currently visible by the data scroller page. I can 
see two ways of doing this:

1) Use a custom made data model (as in 
http://wiki.apache.org/myfaces/WorkingWithLargeTables) where I would only load 
the data as per page and bind that to the data table tag instead of the list of 
entities that are set now in the value attribute. However I'm not sure how this 
will interact with Seam, especially the DataModel tag, which as I understand it 
requires a List of entities to work with and the DataModelSelection tag.

2) The other way is to provide a custom made data scroller. In this case only 
one page of data will be read from the database per time and set as the list of 
entities that Seam expects for the DataModel, then I'll use an action listener 
to receive events when the user selects a page to view or scrolls by using the 
arrows and so I'll know which part of data I need to read from the database. 
The role of the custom data scroller will be then to return the total number of 
rows of the table in the database (instead of the number of rows shown) and the 
resulting number of pages.

Has anyone looked at this? I would appreciate any ideas or even some example 
code :-)

--
George


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

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


[jboss-user] [JBoss jBPM] - Re: How new user assign old tasks.

2006-08-07 Thread kukeltje
doable with the api, retrieve all tasks and do an assign on them. Or use a 
group in the identity component and add that user to that group. Then it 
happens dynamically

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

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


[jboss-user] [JBoss AOP] - Re: AOP packaging for LoadTime weaving with EAR isolation

2006-08-07 Thread ortimus
Hi Kabir,

Thanks for your response. This morning, as a last try so I went on a hunch and 
reinstalled JBoss and configured/deployed aop again.

Now the same components are working as expected - even the cross EAR call is 
getting intercepted properly. Could have been something corrupt in my install.

Sorry for the false alarm. I will keep you posted with code  if I can duplicate 
the issue again.

Thanks,

~ ortimus

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Explicit document source root using context/docbase

2006-08-07 Thread gburcher
I had previously seen the wiki entry named "ExternalDirectories". This wiki 
entry specifically talks about serving static content like HTML pages and 
images. I can make this work using the instructions in the wiki.

What I want to do is to redirect the root directory for my entire application 
deployment file structure. We use many servlets and .jsp files. I want to keep 
my jsp/html/image/etc. source files plus WEB-INF in a directory outside of the 
JBoss install directory. We have used a number of other app servers and are 
just moving to JBoss. This has been possible in all other app servers.

We deploy in exploded format, not in a .war file. Initially, I deployed my file 
structure under the \jbossweb-tomcat55.sar\ROOT.war directory. I got that 
working fine. Now I want to move the entire .war directory out from under the 
JBoss install directory.

When I try this using the instructions in the "ExternalDirectories" wiki entry, 
I get a number of errors. This appears to be the root error:

org.apache.commons.logging.LogConfigurationException: Invalid class loader 
hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' 
visible, which is not allowed.

Not sure if this would work even if I can make this error go away. Is there an 
intended way to redirect an entire web app deploy directory outside of the 
JBoss install directory?

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

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


  1   2   >