[jboss-user] [Security JAAS/JBoss] - Re: LDAP and JBoss

2008-03-07 Thread rukh
Sorry for the post under a post, but editing is not permitted here..

I've created a simple application that uses a single class with main method and 
created there an LdapContext and unfortunately on failed login it also pops by 
2... guess I have some LDAP server configuration bug, but I cant see there any 
bump failed logins by 2 instead of 1 option...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134758#4134758

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134758
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - How to persist JMS message in the Oracle Database

2008-03-07 Thread ajayks
I want to know about the configuration in JBOSS which allow me to store JMS 
message sent to Queue in Oracle database.
I want to following information with regard to this:-

1. What configuration I need to do in JBOSS 4.2.2.GA for persisting message in 
Database
2. How can I view persisted message in the Database /what is the name of table 
in which message would be stored by JBOSS.
3. When I configure message to be persisted, is every JMS message would be 
stored n database.
4. My requirement is that all JMS message should be persisted in database 
before it is delivered to a Queue and after successfully delivering message to 
the Queue it should be removed from the database. Only those message which are 
not delivered due to any reason for example system crash etc, should be made 
stored in the database. Can is it possible in JBOSS 4.2.2.GA

Thanks to help me out to remove my doubt.

with best regards,
Ajay

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134760#4134760

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134760
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Table not found in statement. While deloying a Process D

2008-03-07 Thread chrisrjcox
Thanks for the short but sweet reply Ronald :)

I have the following config files.

jbpm.cfg.xml


  | jbpm-configuration
  | 
  |   jbpm-context
  | service name='persistence' 
factory='org.jbpm.persistence.db.DbPersistenceServiceFactory' /
  | service name='message' 
factory='org.jbpm.msg.db.DbMessageServiceFactory' /
  | service name='scheduler' 
factory='org.jbpm.scheduler.db.DbSchedulerServiceFactory' /
  | service name='logging' 
factory='org.jbpm.logging.db.DbLoggingServiceFactory' /
  | service name='authentication' 
factory='org.jbpm.security.authentication.DefaultAuthenticationServiceFactory' 
/
  |   /jbpm-context
  | 
  |   !-- configuration resource files pointing to default configuration files 
in jbpm-{version}.jar --
  |   string name='resource.hibernate.cfg.xml' value='hibernate.cfg.xml' /
  |   !-- string name='resource.hibernate.properties' 
value='hibernate.properties' / --
  |   string name='resource.business.calendar' 
value='org/jbpm/calendar/jbpm.business.calendar.properties' /
  |   string name='resource.default.modules' 
value='org/jbpm/graph/def/jbpm.default.modules.properties' /
  |   string name='resource.converter' 
value='org/jbpm/db/hibernate/jbpm.converter.properties' /
  |   string name='resource.action.types' 
value='org/jbpm/graph/action/action.types.xml' /
  |   string name='resource.node.types' 
value='org/jbpm/graph/node/node.types.xml' /
  |   string name='resource.parsers' 
value='org/jbpm/jpdl/par/jbpm.parsers.xml' /
  |   string name='resource.varmapping' 
value='org/jbpm/context/exe/jbpm.varmapping.xml' /
  | 
  |   int name='jbpm.byte.block.size' value=1024 singleton=true /
  |   bean name='jbpm.task.instance.factory' 
class='org.jbpm.taskmgmt.impl.DefaultTaskInstanceFactoryImpl' singleton='true' 
/
  |   bean name='jbpm.variable.resolver' 
class='org.jbpm.jpdl.el.impl.JbpmVariableResolver' singleton='true' /
  | 
  | /jbpm-configuration
  | 

Hybernate.cfg.xml file.


  | ?xml version='1.0' encoding='utf-8'?
  | 
  | 
  | 
  | !DOCTYPE hibernate-configuration PUBLIC
  | 
  |   -//Hibernate/Hibernate Configuration DTD 3.0//EN
  | 
  |   
http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd;
  | 
  | 
  | 
  | hibernate-configuration
  | 
  |   session-factory
  | 
  | 
  | 
  | !-- hibernate dialect --
  | 
  | property 
name=hibernate.dialectorg.hibernate.dialect.HSQLDialect/property
  | 
  | 
  | 
  | !-- JDBC connection properties (begin) --
  | 
  | property 
name=hibernate.connection.driver_classorg.hsqldb.jdbcDriver/property
  | 
  | property 
name=hibernate.connection.urljdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}jbpmDB/property
  | 
  | property name=hibernate.connection.usernamesa/property
  | 
  | property name=hibernate.connection.password/property
  | 
  | !-- JDBC connection properties (end) --
  | 
  | 
  | 
  | property 
name=hibernate.cache.provider_classorg.hibernate.cache.HashtableCacheProvider/property
  | 
  | 
  | 
  | !-- DataSource properties (begin) ===
  | 
  | property name=hibernate.connection.datasourcejava:/JbpmDS/property
  | 
  |  DataSource properties (end) --
  | 
  | etc.
  | 

and the jbpm-ds.xml file


  | ?xml version=1.0 encoding=UTF-8?
  | 
  | 
  | 
  | datasources
  | 
  | 
  | 
  |local-tx-datasource
  | 
  |   jndi-nameJbpmDS/jndi-name
  | 
  |   
connection-urljdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}jbpmDB/connection-url
  | 
  |   driver-classorg.hsqldb.jdbcDriver/driver-class
  | 
  |   user-namesa/user-name
  | 
  |   password/password
  | 
  |   min-pool-size1/min-pool-size
  | 
  |   max-pool-size5/max-pool-size
  | 
  |   idle-timeout-minutes0/idle-timeout-minutes
  | 
  |   track-statements/
  | 
  |   !-- 
  | 
  |   security-domainHsqlDbRealm/security-domain
  | 
  |   --
  | 
  |   prepared-statement-cache-size32/prepared-statement-cache-size
  | 
  |   metadatatype-mappingHypersonic SQL/type-mapping/metadata
  | 
  |   dependsjboss:service=Hypersonic,database=jbpmDB/depends
  | 
  |/local-tx-datasource
  | 
  | 
  | 
  |mbean code=org.jboss.jdbc.HypersonicDatabase 
  | 
  |  name=jboss:service=Hypersonic,database=jbpmDB
  | 
  |  attribute name=DatabasejbpmDB/attribute
  | 
  |  attribute name=InProcessModetrue/attribute
  | 
  |/mbean
  | 
  | 
  | 
  | /datasources
  | 

I can't see what could be wrong? The files are the standard ones from the jBPM 
package, and there is no assistance within the jBPM jPDL User Guide to reflect 
having to change the config file to get this to work.

Does anyone see anything incorrect within the above files?

Thanks

Chris

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134759#4134759

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134759

[jboss-user] [JBoss jBPM] - Re: Table not found in statement. While deloying a Process D

2008-03-07 Thread mputz
If you want to use hsqldb as defined in jbpm-ds.xml, you have to make sure that 
the JbpmDS datasource is referenced from hibernate.cfg.xml. Change it to:

!-- JDBC connection properties (begin) ===
  | NOT USED, THE CONNECTION PROPERTIES ARE DEFINED IN jbpm-ds.xml!
  | property 
name=hibernate.connection.driver_classorg.hsqldb.jdbcDriver/property
  | property 
name=hibernate.connection.urljdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}jbpmDB/property
  | property name=hibernate.connection.usernamesa/property
  | property name=hibernate.connection.password/property
  | ===JDBC connection properties (end) --
  | 
  | 
  | 
  | !-- DataSource properties (begin) --
  | property 
name=hibernate.connection.datasourcejava:/JbpmDS/property
  | !-- DataSource properties (end) --



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134765#4134765

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134765
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS JBossMQ] - How to persist JMS message in the Oracle Database

2008-03-07 Thread ajayks
I want to know about the configuration in JBOSS which allow me to store JMS 
message sent to a Queue in the Oracle database.
I want to following information with regard to this:-

1. What configuration I need to do  in JBOSS 4.2.2.GA for persisting JMS 
message in the oaracke Database
2. How can I view persisted message in the Database /what is the name of table 
in which message would be stored by the JBOSS AS.
3. When I configure message to be persisted, is every JMS message would be 
stored in the database.
4. My requirement is that all JMS message should be persisted in database 
before it is delivered to Queue and after successfully delivering message to 
the Queue it should be removed from the database. Only those message which are 
not delivered to Queue due to any reason for example system crash etc, should 
be made stored in the database. Can is it possible in JBOSS 4.2.2.GA

Thanks to help me out in clarifying my all above doubt .

with best regards.
Ajay



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134766#4134766

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134766
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Multiple Simultaneous Task Instances of the Same Task

2008-03-07 Thread dleerob
Thank you. It tried it out, and it works perfectly.

In my action class:

  |   TaskMgmtDefinition tmd = 
  | (TaskMgmtDefinition)  
executionContext.getDefinition(TaskMgmtDefinition.class);
  |   Task task = tmd.getTask(Principal Approval);
  |   TaskMgmtInstance tmi = executionContext.getTaskMgmtInstance();
  |   String[] approvers = new String[actor1,actor2]; //get desired actors 
here
  |   for (int x = 0; x  approvers.length; x++) {
  | TaskInstance taskInstance = tmi.createTaskInstance(task, 
executionContext.getToken());
  | taskInstance.setActorId(approvers[x]);
  |   }
  | 

Just remember, in your processdefinition.xml, the task-node must have the 
following attribute if you don't want to create a task instance automatically.
create-tasks=false

Hope this helps someone else.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134767#4134767

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134767
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Storing user info on server

2008-03-07 Thread roeladriaensens
What about simply using a custom principal on server side, one that contains 
your user information? This works perfectly, even with stateless session beans, 
since the principal information is stored in the authentication cache between 
the server calls.
You can easily access the custom principal via the 
SessionContext.getCallerPrincipal() method.

more info on using a custom principal can be found on the wiki:
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingCustomPrincpalsWith




View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134768#4134768

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134768
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Received version 254

2008-03-07 Thread aih1013
Hello!

I am constantly getting the following message on my production system:

anonymous wrote : 
  | 2008-03-07 07:56:02,952 INFO  
[org.jboss.remoting.transport.socket.MicroSocketClientInvoker] Received version 
254: treating as end of file
  | 2008-03-07 07:59:16,188 INFO  
[org.jboss.remoting.transport.socket.MicroSocketClientInvoker] Received version 
254: treating as end of file
  | 

Why this is happening? It seems each time the message appears Remoting clients 
enforced to retry invocation requests. How can I avoid this?



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134761#4134761

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134761
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Just a Question Regarding Change in Process Definition

2008-03-07 Thread dleerob
I will tread carefully, thanks! But any ideas how I would actually go about 
updating the files in the db?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134769#4134769

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134769
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: Login problem with JAAS and sticky_session=false

2008-03-07 Thread toso.dario
Thank you very much for your answer.
I am using jboss 4.0.2.

I also think that it is a Tomcat problem: I have had a look to 
org.apache.catalina.authenticator.FormAuthenticator class and I have seen that 
the requested URI is saved into an HashMap of an object that implements 
org.apache.catalina.Session.

Data are saved using setNote method. This HashMap is not replicated between 
cluster nodes (because it is not saved into an HttpSession attribute)

Actually I use following workaround: I have configured Apache to use sticky 
session for the login process.

I will try your solution as soon as possible.

Thank you very much.
Dario.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134770#4134770

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134770
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Fork Join and Async Nodes

2008-03-07 Thread ffernandez
Has anybody implements this scene or similar? 

Here the process:

  | ...
  | fork name=fork1
  | transition to=ibk-df-classifier name=1/transition
  | transition to=bayes-wf-classfier name=2/transition
  | transition to=svm-df-classifier name=3/transition
  | /fork
  | 
  | node name=node1  async=true
  | action class=DoHeavyJob1/   
  | transition to=join1/transition
  | /node
  | 
  | node name=node2  async=true
  | action class=DoHeavyJob2/   
  | transition to=join1/transition
  | /node
  | 
  | node name=node3  async=true
  | action class=DoHeavyJob3/   
  | transition to=join1/transition
  | /node
  | 
  | join name=join1
  | transition to=finish/transition
  | /join
  | 
  | node name=finish
  | action class=Result/
  | /node
  | ...
  | 

Description: Intermediate nodes takes long time executing, so I need the 
async=true for their CONCURRENT execution, and I cannot execute the finish 
node until ALL intermediate nodes had finished.

In the DoHeavyJob1, DoHeavyJob2 and DoHeavyJob3 ActionHandlers, I have coded 
the executionContext.leaveNode(); at the end of the execute method.


  | class DoHeavyJob1{  
  | public void execute( ExecutionContext  executionContext ) {
  | //Time task Simulation
  | Thread.sleep ( 10 );
  | 
  | executionContext.leaveNode();
  | }//execute
  | }
  | 

These actions are executed fine with JobExecutor, and I see that are executed 
in a concurrent way. But, the known org.hibernate.StaleObjectStateException 
occurs when the last ActionHandler makes the leaveNode because of transaction 
database locks.

Please, is there any way to implement this issue? Any suggestions?

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134773#4134773

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134773
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Just a Question Regarding Change in Process Definition

2008-03-07 Thread kukeltje
All tokens, nodes etc are hibernate objects, so just like you normally would 
with hibernate

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134777#4134777

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134777
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Just a Question Regarding Change in Process Definition

2008-03-07 Thread dleerob
- When clicking deploy on the Eclipse GPD, it sends the Process Definition 
through to ProcessUploadServlet.
- ProcessUploadServlet then parses the ProcessDefinition, and calls 
jbpmContext.deployProcessDefinition(processDefinition);
- Following that call, it ends up at 
GraphSession.deployProcessDefinition(processDefinition);
- This is where the version is incrimented by one, and the ProcessDefinition is 
saved as a new version.

So if I simply update one JSP page (a spelling error perhaps) in a process 
definition, and I instead keep the process definition version the same as the 
latest/current one, and save it myself instead of calling the 
GraphSession.deployProcessDefinition, would this simply update that 
latest/existing process definition and related files correctly? Do you see any 
problems doing it this way?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134784#4134784

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134784
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Connector modules are not deployed

2008-03-07 Thread [EMAIL PROTECTED]
Yes, I know but you said it worked with the standard WTP server providers then 
it *must* also work with our adaptersand if it doesn't I would really like 
to know what logic bug that prevented it from working ,)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134787#4134787

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134787
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool

2008-03-07 Thread baz
Hi max,
thats the names of the downloadbundles which ia am grabbing directly from the 
eclipse downloadsite.
http://www.eclipse.org/downloads/
When you download a current, specific bundle, say Eclipse IDE for Java EE 
Developers , it has the name eclipse-jee-europa-winter which was released a 
couple of days ago.
I have never used the Eclipse Classic bundles. These are the only bundles with 
version names:-)
 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134791#4134791

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134791
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool

2008-03-07 Thread [EMAIL PROTECTED]
i'm curious...i never heard about winter, fall, summer editions...where do you 
get those names from ? i'm used to specific version numbers ,)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134789#4134789

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134789
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Deploy process definition

2008-03-07 Thread TMK
Hello,

what is the usual way in an production environment to deploy a new process 
definition?
I played a little bit with the jBPM web console which is included in the 
starters kit, but there I did not found any possibility to deploy a new process 
definition to my jBOM database. Is it not possible yet or did I overlook a 
feature?

Regards,
TMK

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134800#4134800

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134800
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool

2008-03-07 Thread [EMAIL PROTECTED]
never noticed that. It's sweet, but rather annoying since they have might have 
more than 1 patch release per quarter...thanks for the education.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134803#4134803

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134803
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Fork Join and Async Nodes

2008-03-07 Thread kukeltje
some small things have changed in CVS regarding SOE... can you try running that 
version? 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134805#4134805

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134805
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem JBPM

2008-03-07 Thread kukeltje
You mean we have to add 'request.setCharacterEncoding(UTF-8); in the method 
doFilter in the LogFilter.java for this to make it work?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134806#4134806

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134806
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Deploy process definition

2008-03-07 Thread kukeltje
you overlooked a lot processes can be either deployed from the GPD, via an 
ant task or via the console. For the latter you have to have the role 'admin'

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134807#4134807

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134807
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem JBPM

2008-03-07 Thread lgg82
Yes

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134810#4134810

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134810
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: webmethod within a jsp-file

2008-03-07 Thread Fugee47
now i got a standalone java-client working:
package simpleclient;

import javax.xml.ws.WebServiceRef;
import helloservice.endpoint.HelloService;
import helloservice.endpoint.Hello;

public class HelloClient {
  @WebServiceRef(wsdlLocation=http://localhost:8080/helloservice/Hello?wsdl;)
  static HelloService service = new HelloService();

  public static void main(String[] args) {
  System.out.println(Retrieving the port from the following service:  + 
service);
  Hello port = service.getHelloPort();
  System.out.println(Invoking the sayHello operation on the port.);  
  String name;
  if (args.length  0) {
name = args[0];
  } else {
name = No Name;
  }
  String response = port.sayHello(name);
  System.out.println(response);
   }
} 


but when i copy the code into a new function and access it from within a 
jsp-file, i get errors.

package simpleclient;

import javax.xml.ws.WebServiceRef;
import helloservice.endpoint.HelloService;
import helloservice.endpoint.Hello;

public class HelloClient {
  @WebServiceRef(wsdlLocation=http://localhost:8080/helloservice/Hello?wsdl;)
  static HelloService service = new HelloService();

  public static String say(String args) {
  Hello port = service.getHelloPort();
  String name;
  if (args != null) {
name = args;
  } else {
name = No Name;
  }
  String response = port.sayHello(name);
  return response;
   }
} 



ERROR [ServiceDelegateImpl] Cannot create proxy for SEI 
helloservice.endpoint.Hello from: 
vfsfile:/opt/jboss-5.0.0.Beta4/server/default/deploy/
11:51:14,647 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.IllegalArgumentException: helloservice.endpoint.Hello is not an 
interface

i dont understand this error, since the standalone client does not complain 
about helloservice.endpoint.Hello being not an interface (and it is one !!)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134809#4134809

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134809
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Deploy process definition

2008-03-07 Thread TMK
OK that sounds pretty good!

Perhaps you can help me an explain, how I can  get the role 'admin'? If I point 
my browser to the web console, the login page shows me a combo box where I can 
select a suer, but there is no user called admin... What must I do to log in as 
admin?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134811#4134811

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134811
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - JSF1.2 can not work in jboss4.0 or jboss4.2 service

2008-03-07 Thread jackyluck
I don't know why it have exception when I deploy jsf1.2 web application to 
jboss4.0 or jboss4.2 

1.when i deploy jsf web application to jboss4.2 service the exception is:
2008-03-07 13:17:03,937 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/kk]] 
Exception sending context initialized event to listener instance of class 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate 
cannot be cast to com.sun.faces.application.ApplicationAssociate

2.when i deploy jsf web application to jboss4.0 service the exception is:
2008-03-07 13:14:10,531 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/testjsf].[jsp]]
 Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at 
javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:615)
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:217)
at org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:71)

3.below is my /lib/ jar file:
commons-beanutils.jar
commons-collections.jar
commons-digester.jar
commons-logging.jar
jsf-api.jar
jsf-impl.jar
jstl-1.2.jar
servlet-api.jar

4.below is my web.xml:

servlet-nameFaces Servlet/servlet-name
servlet-classjavax.faces.webapp.FacesServlet/servlet-class
load-on-startup1/load-on-startup


servlet-mapping
servlet-nameFaces Servlet/servlet-name
url-pattern/faces/*/url-pattern
/servlet-mapping

welcome-file-list
welcome-fileindex.html/welcome-file
welcome-fileindex.htm/welcome-file
welcome-file/faces/index.jsp/welcome-file
welcome-filedefault.html/welcome-file
welcome-filedefault.htm/welcome-file
welcome-file/faces/default.jsp/welcome-file
/welcome-file-list

who help me solve the question ,Thank you very mach

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134813#4134813

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134813
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: DefaultDS with 3rd party JMS provider

2008-03-07 Thread jaikiran
svadu wrote :  
  | 
  | Am I correct in assumption that since I don't use DefaultDS in applications 
and I don't use JBossMQ (which seems to use DefaultDS) than it really doesn't 
matter what my DefaultDS is?
  | 
  | 

Yes, you are right. If you are not using JBossMQ then you dont have to worry 
about the DefaultDS.
 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134815#4134815

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134815
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Is v1.4.1 completely compatible with v1.4.0

2008-03-07 Thread [EMAIL PROTECTED]
Have you read http://wiki.jboss.org/wiki/Wiki.jsp?page=FDVersusFD_SOCK ?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134816#4134816

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134816
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Trying to build AOP from source but isn't getting 3rd pa

2008-03-07 Thread [EMAIL PROTECTED]
I had a look, and the 1.3 branch seems broken following the move to subversion 
:-( You might have more luck trying to find it in cvs - I think it is still 
there, but am not sure.

Otherwise, you really ought to be using AOP 1.5.x. You can try checking out
http://anonsvn.jboss.org/repos/jbossas/tags/JBOSS_ASPECTS_1_5_6_GA/
This uses aop as a thirdparty library. 

AOP can be checked out from 
http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_AOP_1_5_6_GA/ if you need 
that.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134817#4134817

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134817
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: [Help] Resources In Jars in Deployment EAR

2008-03-07 Thread jaikiran
If the common-config.xml is accessible in the classpath, then i guess even the 
property files which are at the same location should be accessible. Did you try 
adding the java module to the application.xml? Did it make any difference?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134820#4134820

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134820
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Visual database shcema

2008-03-07 Thread jagr
Somebody has visual jbpm database schema?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134821#4134821

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134821
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: messages stuck in queues

2008-03-07 Thread martin.wickus
Two developers tried independently to reproduce this problem in our development 
environment, but no success. We've thusfar only seen it in our production and 
(thereafter) testing environments. The setups (firewall restrictions, machine 
architecture, etc) in those environment are very different from our run 
everything on a windows box development environment. I cannot rule out 
environmental/configuration issues our side, thus I'm not confident to claim 
this is a bug in JBM. 

I am going to upgrade to JBoss EAP 4.3 standard and deploy for testing. 

Tim, I think you could close the associated Jira as unable to reproduce. I'll 
let you know how it goes with JBoss EAP 4.3.

Regards,
Wickus

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134824#4134824

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134824
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Start automatically process instance

2008-03-07 Thread jagr
I want to define process on jbpm-jpdl-3.2 taht starts automatically in exeample 
when recibes signal from webservice.
The process will start automatically, will do some automatic actions and maybe 
user will do some task.
How can i do it to define at start-state that runs automatically?

Thanks!!!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134826#4134826

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134826
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Deploy process definition

2008-03-07 Thread kukeltje
 what version do you use? 3.1?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134827#4134827

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134827
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem JBPM

2008-03-07 Thread kukeltje
then please file a jira issue for this.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134829#4134829

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134829
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Visual database shcema

2008-03-07 Thread kukeltje
what about the second sticky topic in this forum? I think, but that is just 
a wild guess, that it is at least in the direction

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134828#4134828

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134828
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Fork Join and Async Nodes

2008-03-07 Thread ffernandez
Hi Ronald van Kuijk

I have executed the example with the CVS HEAD and the error is the same. The 
action handler in the each node, throws the same Exception when 
executionContext.leaveNode() is executed.


  | org.hibernate.exception.LockAcquisitionException: could not update: 
[org.jbpm.graph.exe.Token#235]
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:82)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2425)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2307)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2607)
  | at 
org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:92)
  | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
  | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
  | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  | at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  | at org.jbpm.graph.node.Join.execute(Join.java:116)
  | at org.jbpm.graph.def.Node.enter(Node.java:319)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
  | at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$663a82f3.enter(generated)
  | at org.jbpm.graph.def.Transition.take(Transition.java:151)
  | at org.jbpm.graph.def.Node.leave(Node.java:394)
  | 
  | 
  | 
  | 189579 [:172.26.0.243:4] INFODbPersistenceService:258 - 
optimistic locking failed
  | 189579 [:172.26.0.243:4] INFODbPersistenceService:258 - 
optimistic locking failed
  | 189672 [:172.26.0.243:4] INFOServices:228 - 
problem closing service 'persistence': optimistic locking failed
  | 189672 [:172.26.0.243:4] INFOServices:228 - 
problem closing service 'persistence': optimistic locking failed
  | 189672 [:172.26.0.243:4] INFO   JobExecutorThread:197 - 
problem committing job execution transaction: optimistic locking failed
  | 189672 [:172.26.0.243:4] INFO   JobExecutorThread:197 - 
problem committing job execution transaction: optimistic locking failed
  | 189688 [:172.26.0.243:3] ERROR  AbstractFlushingEventListener:301 - 
Could not synchronize database state with session
  | org.hibernate.StaleObjectStateException: Row was updated or deleted by 
another transaction (or unsaved-value mapping was incorrect): 
[org.jbpm.graph.exe.Token#235]
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1765)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2407)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2307)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2607)
  | at 
org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:92)
  | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
  | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
  | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  | at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
  | at 
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
  | at 
org.jbpm.persistence.db.DbPersistenceService.commit(DbPersistenceService.java:256)
  | at 
org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:214)
  | at org.jbpm.svc.Services.close(Services.java:224)
  | at org.jbpm.JbpmContext.close(JbpmContext.java:139)
  | at 
org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:193)
  | at 

[jboss-user] [JBoss jBPM] - Re: Deploy process definition

2008-03-07 Thread TMK
kukeltje wrote :  what version do you use? 3.1?
Yes, exactly 3.1.4

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134837#4134837

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134837
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - The session bean must implement either a remote home and rem

2008-03-07 Thread rodosa
Hello!

I've a problem with an simple session bean. When I deploy this session bean 
it's thrown the following message: 


  | 14:14:21,641 WARN  [verifier] EJB spec violation:
  | Bean   : JbpmFacade
  | Section: 7.11.1
  | Warning: The session bean must implement either a remote home and remote, 
or a l
  | ocal home and a local interface or a service endpoint interface.
  | 
  | 14:14:21,657 ERROR [MainDeployer] Could not create deployment: 
file:/C:/jbpm-jpd
  | l-3.2.2/server/server/jbpm/deploy/ejb2.jar
  | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
faile
  | d, see above for error messages.
  | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
  | or.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
  | BeanOperationInterceptor.java:142)
  | at 
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
  | .java:97)
  | at 
org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto
  | rServiceMBeanSupport.java:238)
  | at 
org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java
  | :99)
  | at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
  | create(SubDeployerInterceptorSupport.java:180)
  | at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
  | ptor.java:91)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy26.create(Unknown Source)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
  | at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
  | or.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
  | BeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy8.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
  | tScanner.java:421)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
  | canner.java:610)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
  | doScan(AbstractDeploymentScanner.java:263)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
  | loop(AbstractDeploymentScanner.java:274)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
  | run(AbstractDeploymentScanner.java:225)
  | 

My ejb-jar.xml is

  | ?xml version=1.0 encoding=UTF-8?
  | ejb-jar id=ejb-jar_ID version=2.1 
xmlns=http://java.sun.com/xml/ns/j2ee; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd;
  | display-name
  | earPEJB/display-name
  | 
  | enterprise-beans
  | session
  |   display-nameJbpmFacade/display-name
  |   ejb-nameJbpmFacade/ejb-name
  |   homesession.JbpmFacadeLocal/home
  |   

[jboss-user] [JBoss jBPM] - Re: jBPM Console - login failed

2008-03-07 Thread rsdickerson
I had to tweak the sql above a little bit for MS SQLServer. This worked for me.


SET IDENTITY_INSERT JBPM_ID_GROUP ON;
  | INSERT INTO JBPM_ID_GROUP (ID_, CLASS_, NAME_, TYPE_, PARENT_ ) VALUES 
(1,'G','sales','organisation',NULL);
  | INSERT INTO JBPM_ID_GROUP (ID_, CLASS_, NAME_, TYPE_, PARENT_ ) VALUES 
(2,'G','admin','security-role',NULL);
  | INSERT INTO JBPM_ID_GROUP (ID_, CLASS_, NAME_, TYPE_, PARENT_ ) VALUES 
(3,'G','user','security-role',NULL);
  | INSERT INTO JBPM_ID_GROUP (ID_, CLASS_, NAME_, TYPE_, PARENT_ ) VALUES 
(4,'G','hr','organisation',NULL);
  | INSERT INTO JBPM_ID_GROUP (ID_, CLASS_, NAME_, TYPE_, PARENT_ ) VALUES 
(5,'G','manager','security-role',NULL);
  | SET IDENTITY_INSERT JBPM_ID_GROUP OFF;
  | 
  | SET IDENTITY_INSERT JBPM_ID_USER ON;
  | INSERT INTO JBPM_ID_USER (ID_, CLASS_, NAME_, EMAIL_, PASSWORD_ ) VALUES 
(1,'U','user','[EMAIL PROTECTED]','user');
  | INSERT INTO JBPM_ID_USER (ID_, CLASS_, NAME_, EMAIL_, PASSWORD_ ) VALUES 
(2,'U','manager','[EMAIL PROTECTED]','manager');
  | INSERT INTO JBPM_ID_USER (ID_, CLASS_, NAME_, EMAIL_, PASSWORD_ ) VALUES 
(3,'U','admin','[EMAIL PROTECTED]','admin');
  | INSERT INTO JBPM_ID_USER (ID_, CLASS_, NAME_, EMAIL_, PASSWORD_ ) VALUES 
(4,'U','shipper','[EMAIL PROTECTED]','shipper');
  | SET IDENTITY_INSERT JBPM_ID_USER OFF;
  | 
  | SET IDENTITY_INSERT JBPM_ID_MEMBERSHIP ON;
  | INSERT INTO JBPM_ID_MEMBERSHIP (ID_, CLASS_, NAME_, ROLE_, USER_, GROUP_ ) 
VALUES (1,'M',NULL,NULL,2,4);
  | INSERT INTO JBPM_ID_MEMBERSHIP (ID_, CLASS_, NAME_, ROLE_, USER_, GROUP_ ) 
VALUES (2,'M',NULL,NULL,3,4);
  | INSERT INTO JBPM_ID_MEMBERSHIP (ID_, CLASS_, NAME_, ROLE_, USER_, GROUP_ ) 
VALUES (3,'M',NULL,NULL,4,4);
  | INSERT INTO JBPM_ID_MEMBERSHIP (ID_, CLASS_, NAME_, ROLE_, USER_, GROUP_ ) 
VALUES (4,'M',NULL,NULL,4,3);
  | INSERT INTO JBPM_ID_MEMBERSHIP (ID_, CLASS_, NAME_, ROLE_, USER_, GROUP_ ) 
VALUES (5,'M',NULL,NULL,1,3);
  | INSERT INTO JBPM_ID_MEMBERSHIP (ID_, CLASS_, NAME_, ROLE_, USER_, GROUP_ ) 
VALUES (6,'M',NULL,NULL,2,3);
  | INSERT INTO JBPM_ID_MEMBERSHIP (ID_, CLASS_, NAME_, ROLE_, USER_, GROUP_ ) 
VALUES (7,'M',NULL,NULL,3,3);
  | INSERT INTO JBPM_ID_MEMBERSHIP (ID_, CLASS_, NAME_, ROLE_, USER_, GROUP_ ) 
VALUES (8,'M',NULL,NULL,3,2);
  | INSERT INTO JBPM_ID_MEMBERSHIP (ID_, CLASS_, NAME_, ROLE_, USER_, GROUP_ ) 
VALUES (9,'M',NULL,NULL,2,2);
  | INSERT INTO JBPM_ID_MEMBERSHIP (ID_, CLASS_, NAME_, ROLE_, USER_, GROUP_ ) 
VALUES (10,'M',NULL,NULL,2,5);
  | INSERT INTO JBPM_ID_MEMBERSHIP (ID_, CLASS_, NAME_, ROLE_, USER_, GROUP_ ) 
VALUES (11,'M',NULL,'boss',2,1);
  | INSERT INTO JBPM_ID_MEMBERSHIP (ID_, CLASS_, NAME_, ROLE_, USER_, GROUP_ ) 
VALUES (12,'M',NULL,NULL,1,1);
  | SET IDENTITY_INSERT JBPM_ID_MEMBERSHIP OFF;
  | 

Scott

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134849#4134849

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134849
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Concurrency issue in OrderedSynchronizationHandler (2.0.

2008-03-07 Thread FredrikJ
I just experienced what might be the same problem.

I started up 6 nodes and one node was using up all CPU without any real load on 
it. Dumping all stacks shows that all threads are parked except one which is 
stuck on map.get in OrderedSynchronizationHandler.

ReceivingGameEventDaemon-1 prio=1 tid=0x092d5eb0 nid=0x5660 runnable 
[0x85421000..0x85421f30]
  | at java.util.HashMap.get(HashMap.java:346)
  | at 
org.jboss.cache.interceptors.OrderedSynchronizationHandler.getInstance(OrderedSynchronizationHandler.java:50)
  | at 
org.jboss.cache.interceptors.TxInterceptor.registerHandler(TxInterceptor.java:901)
  | at 
org.jboss.cache.interceptors.TxInterceptor.registerTransaction(TxInterceptor.java:877)
  | at 
org.jboss.cache.interceptors.TxInterceptor.attachGlobalTransaction(TxInterceptor.java:342)
  | at 
org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:292)
  | at 
org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:131)
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
  | at 
org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:81)
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
  | at 
org.jboss.cache.interceptors.InvocationContextInterceptor.invoke(InvocationContextInterceptor.java:62)
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76)
  | 



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134856#4134856

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134856
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Trying to build AOP from source but isn't getting 3rd pa

2008-03-07 Thread dsmiley
I'm not using 1.5.6 only because it doesn't work with JBoss 3.2, even though 
its documentation alleges it does (I've made forum posts about this lately).  I 
followed the instructions.  1.3.6 was really close, however.  It just seemed to 
be the rename of UnifiedClassLoader.clearBlackList().  Earlier 1.3 series 
suffered from the same problem.  So I got the 1.3 branch (which represents 
development after 1.3.6 was released AFAIK), couldn't build it as-is, but I was 
able to pluck the relevant source out of it to build it myself (with my IDE, 
not the JBoss ant scripts).  It was a bitch to build because the codebase was 
targeted at two different JBoss's.  It seemed to work okay.  So... if AOP 1.5.6 
doesn't actually run on AS 3.2, don't claim it does in the documentation 
because you're leading people down a dead-end street.  Remove it or make it 
actually work in AS 3.2.


Any way, this is somewhat water under the bridge at this point because I 
convinced the production administrators I work with to go with JBoss 4... 
though that brings up other hurdles for me (out of scope of AOP).

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134857#4134857

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134857
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: HTTP Auth callerPrincipal

2008-03-07 Thread joshd
Ok, my User class implements Principal already. But this part I dont get:

anonymous wrote : [..] Principal interface and instantiate it in your 
LoginModule. So now your UserObj becomes the type Principal  you are set.
  | 

My LoginModule extends UserPasswordLoginModul, and I just override initialize 
(just saying super.initialize and inject my SecurityManagerBean) and 
getUsersPossword and getRoleSets (both using the manager for retrieving the 
needed infos). So where to set explicitly the User i.e. the Principal?!

Do I have to implement my own LoginModule completely (initialize, login, commit 
etc)?

regards, josh




  | public class LoomLoginModule extends UsernamePasswordLoginModule
  | {
  | private mySecurityManager securityManager;
  | private User user;
  | 
  | /**
  |  *  initializes superclass context
  |  */
  | public void initialize(Subject subject, CallbackHandler 
callbackHandler, Map sharedState, Map options)
  | {
  | this.user = new User();
  | super.initialize(subject, callbackHandler, sharedState, 
options);
  | 
  | try
  | {
  | //..inject my securityManager
  | }
  | }
  | 
  | /**
  |  *
  |  */
  | protected Group[] getRoleSets() throws LoginException
  | {
  | if (user == null)
  | throw new LoginException(user  + super.getUsername() 
+  does not exist);
  | return this.securityManager.getRoleSets(user.getId());
  | }
  | 
  | /**
  |  *
  |  */
  | protected String getUsersPassword() throws LoginException
  | {
  | String[] userInput = {, };
  | userInput = super.getUsernameAndPassword();
  | this.user  = this.securityManager.login(userInput[0], 
userInput[1]);
  | if (user == null)
  | throw new LoginException(user  + super.getUsername() 
+  does not exist);
  | 
  | return userInput[1];
  | }
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134859#4134859

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134859
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Help with strange JSF h:messages behavior

2008-03-07 Thread NM-156

Local JBoss server 4.2 

Hi. I am displaying error messages via the h:messages tag, but this strange 
prefix shows up on the message when it's displayed:

j_id_jsp_1488097600_1:formField3: Validation Error: Value is less than 
allowable minimum of '5'

How can I suppress the j_id_jsp_1488097600_1:formField3: prefix, and what 
causes the extra verbage to be displayed? Do I have something specified 
incorrectly? The tag in my JSP looks like this:

h:inputText id=formField3 value=#{maintForm.formField3}
f:validateLength minimum=5/
/h:inputText

My faces.config has the following entry where I have application.properties in 
that package with my messages:


resource-bundle
base-namemypackagename.application/base-name
msgs
/resource-bundle


Thanks. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134860#4134860

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134860
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Help with strange JSF h:messages behavior

2008-03-07 Thread NM-156
PS - resource-bundle tag is wrapped in an application tag. Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134862#4134862

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134862
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Trying to build AOP from source but isn't getting 3rd pa

2008-03-07 Thread [EMAIL PROTECTED]
Point taken. This has been removed from the documentation for the next release. 
A bit too late to change the released versions though...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134861#4134861

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134861
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Configuration issue

2008-03-07 Thread rvdwalt
Good day

I have 2 machines, QA and Prod where our application reacts differently (the 
development machines react as the prod machine).
On the 2 machines run the same downloaded version of Sun's JVM 1.6_03, both 
have the same JBoss 4.2.2 installed.  Besides the application specific config 
files (which the only difference is for the datasource) the only edited file is 
the run.conf where I've increased the allocated memory. The only difference 
that I'm aware of between the 2 servers is that the one runs OpenSuse 10.2 and 
the other Open Suse 10.3
I'm interested where I can have a look at configurations that might be 
tweakable to try and sort this out. 
Our application Runs on Seam so I'm not sure if it's a Seam or a JBoss config 
that ccan cause it. The basic symptoms is that  sometimes the seam 
conversations appear to time out immediately, Further the QA machine gets an 
Out of Memory exception.

Any suggestions would be appreciated.
b.t.w. the memory settings are as follows: -Xms512m -Xmx1024m

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134868#4134868

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134868
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Problems getting client to work

2008-03-07 Thread Fugee47
i got a standalone java-client working:
 
package simpleclient;
 
import javax.xml.ws.WebServiceRef;
import helloservice.endpoint.HelloService;
import helloservice.endpoint.Hello;
 
public class HelloClient {
@WebServiceRef(wsdlLocation=http://localhost:8080/helloservice/Hello?wsdl;)
static HelloService service = new HelloService();
 
public static void main(String[] args) {
System.out.println(Retrieving the port from the following service:  + 
service);
Hello port = service.getHelloPort();
System.out.println(Invoking the sayHello operation on the port.);
String name;
if (args.length  0) {
name = args[0];
} else {
name = No Name;
}
String response = port.sayHello(name);
System.out.println(response);
}
}
 
 
but when i copy the code into a new function and access it from within a 
jsp-file, i get errors.
 
package simpleclient;
 
import javax.xml.ws.WebServiceRef;
import helloservice.endpoint.HelloService;
import helloservice.endpoint.Hello;
 
public class HelloClient {
@WebServiceRef(wsdlLocation=http://localhost:8080/helloservice/Hello?wsdl;)
static HelloService service = new HelloService();
 
public static String say(String args) {
Hello port = service.getHelloPort();
String name;
if (args != null) {
name = args;
} else {
name = No Name;
}
String response = port.sayHello(name);
return response;
}
}
 
 
 
ERROR [ServiceDelegateImpl] Cannot create proxy for SEI 
helloservice.endpoint.Hello from: 
vfsfile:/opt/jboss-5.0.0.Beta4/server/default/deploy/
11:51:14,647 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.IllegalArgumentException: helloservice.endpoint.Hello is not an 
interface
 
i dont understand this error, since the standalone client does not complain 
about helloservice.endpoint.Hello being not an interface 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134869#4134869

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134869
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Jboss 4.2.1 clustering bug ?

2008-03-07 Thread [EMAIL PROTECTED]
islpe wrote : 
  | My conclusion is that while class isolation works when the application is 
deployed in deplo directory, it does not work when deployed in 
deploy-hasingleton directory.  To me that sounds like a bug.
  | 

Agreed. http://jira.jboss.org/jira/browse/JBAS-5284

Please be sure and post back on how your testing of the barrier controller 
approach works.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134874#4134874

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134874
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss 4.2.0, hibernate annotations being picked up

2008-03-07 Thread pixel
Hi,

I am trying to set up a new project using hibernate annotations instead of 
mapping files.  I am running JBoss 4.2.0-GA.

My hibernate-service.xml looks like

  | server
  | mbean code=org.jboss.hibernate.jmx.Hibernate
  | name=jboss.har:service=HibernateHCE
  | attribute name=DatasourceNamejava:/DefaultDS/attribute
  | attribute name=Dialect
  | org.hibernate.dialect.OracleDialect
  | /attribute
  | attribute name=SessionFactoryName
  | java:/hibernate/SessionFactory
  | /attribute
  | attribute name=CacheProviderClass
  | org.hibernate.cache.HashtableCacheProvider
  | /attribute
  | attribute name=ShowSqlEnabledtrue/attribute
  | /mbean
  | /server
  | 

and an example entity looks like

  | @Entity
  | @Table( name=NETWORKS )
  | @NamedQuery( name=getNetworks, query=from Network )
  | public class Network {
  | 
  | private Long id;
  | private String name;
  | private Country country;
  | 
  | @Id
  | @GeneratedValue(strategy=GenerationType.SEQUENCE, 
generator=NETWORKS_PK_SEQ)
  | @Column(name=PK_NETWORK_ID)
  | public Long getId() {
  | return id;
  | }
  | public void setId( Long _id ) {
  | id = _id;
  | }
  | 
  | 
  | @ManyToOne( fetch=FetchType.LAZY )
  | @Column(name=FK_COUNTRY_ID)
  | public Country getCountry() {
  | return country;
  | }
  | void setCountry( Country _country ) {
  | country = _country;
  | }
  | 
  | 
  | @Column(name=NETWORK_NAME, unique=true)
  | public String getName() {
  | return name;
  | }
  | void setName( String _name ) {
  | name = _name;
  | }
  | 
  | }
  | 

I am getting the session factory by 
(SessionFactory) new InitialContext().lookup( java:/hibernate/SessionFactory 
);

But it doesn't appear to be seeing the annotated files.  Running 
session.createQuery( from Network ).list() gives Network is not mapped [from 
Network] ???

Am I missing something?  I found a reference to using 
new AnnotationConfiguration().buildSessionFactory() - but isn't it better to 
get the factory from the lookup?




Thanks in advance,

pixel



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134876#4134876

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134876
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Deploy process definition

2008-03-07 Thread kukeltje
in 3.1 there is no web (ui) based deployment. There is a deployment servlet 
though. I do not know the url by heart. look in the web.xml and point the gpd 
to that

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134879#4134879

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134879
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - jbpm on jboss AS configuration without hibernate.cfg.xml (us

2008-03-07 Thread spidek
Hello, can I use application server managed persistance unit with jbpm?

Every example I've found mention file hibernate.cfg.xml, and I'd like to just
specify in jbpm.cfg.xml that jbpm should use peristence unit MyUnitPU and don't 
know anything about underlying datasource nor database.

Is it possible ?

Greetings

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134880#4134880

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134880
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Accessing Nested Pages More Than One Level Down

2008-03-07 Thread PeterJ
Remember, white space (blanks or tabs) is ignored by the browser and reduced to 
a single space.  That is why the formatting does not show up (though the email 
version of your posts have the formating as you envisioned it). If you want the 
browser to show all whitespace characters, enclose the text in code brackets 
(select the text and click the Code button).

I have not done multiple levels of subpages. If the menus do not cascade, you 
will need to provide URLs for accessing the sub-subpages:

http://localhost:8080/portal/conf/portal/myportal/TopLevelPage/Page1/Page1a

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134889#4134889

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134889
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Accessing Nested Pages More Than One Level Down

2008-03-07 Thread PeterJ
Oops, ignore the /conf in the URL.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134891#4134891

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134891
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Error executing home.create

2008-03-07 Thread sagar_chopade
When caller of your ejb(web component) and ejbs are in different JVM then you 
just have to include classes of Home and remote of you ejb in your web module.
When caller and ejb are in same JVM and you placed home and remote of your ejb 
in web module, you get this exception i.e Invalid invocation, check your 
deployment packaging, because in this case home and remote are loaded by two 
class loaders (Web and EJB class loader). Thats why caller finds mismatch.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134893#4134893

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134893
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: HTTP Auth callerPrincipal

2008-03-07 Thread ragavgomatam
Check the forum...I have posted the working code of a CustomLogin Module that 
users a Custom Principal. You could populate whatever you want in your 
CustomPrincipal...Here is the URL 

http://www.jboss.com/index.html?module=bbop=viewtopict=125169



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134894#4134894

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134894
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Concurrency issue in OrderedSynchronizationHandler (2.0.

2008-03-07 Thread [EMAIL PROTECTED]
As with all problems of this nature, this is pretty hard to reproduce and I 
haven't been successful at it, but I can see how it is a problem, both in being 
not thread safe as well as a static context variable potentially shared across 
cache instances in the same VM.

In general, the whole use of statics here is pretty ugly - I have changed this 
in HEAD so if you guys have the time, I'd appreciate your giving it a try in 
HEAD.

The change is simple and should be very low risk - OSH has no static variables 
anymore; instead it is instantiated when a TransactionEntry is created and the 
ref is stored in and obtained from the TransactionEntry, rather than the 
factory method on OSH.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134898#4134898

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134898
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Visual database shcema

2008-03-07 Thread jagr
Thanks kukeltje
I didn't enter at this topic. 
It's schema that i was looking for.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134900#4134900

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134900
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Concurrency issue in OrderedSynchronizationHandler (2.0.

2008-03-07 Thread [EMAIL PROTECTED]
http://jira.jboss.org/jira/browse/JBCACHE-1304

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134903#4134903

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134903
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - JBPM, Tomcat6 and Postgres8.2 issue

2008-03-07 Thread gosub33
Heya, have a specific issue I cant seem to solve and looking for some help.

I am deploying JBPM to Tomcat6 with a Postgres database. 
(My configuration follows)
When I launch I am getting a specific error:

SEVERE: Error listenerStart
Mar 7, 2008 10:10:17 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/web-console] startup failed due to previous errors

HERE IS THE WHOLE OUTPUT WHEN I START TOMCAT6
==
Mar 7, 2008 10:10:11 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in 
production environments was not found on the java.library.path: 
C:\Java\jdks\jdk1.5.0
_02\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Common Files\Sonic 
Shared;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program 
Files\ATI
 Technologies\ATI Control Panel;C:\PROGRA~1\SecureFX;C:\Program 
Files\DTN\IQFeed;C:\Program Files\VSS\win32;C:\Java\jdks\jdk1.5.0_02;C:\Program 
Files\DTN\IQFeed

Mar 7, 2008 10:10:12 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 7, 2008 10:10:12 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2215 ms
Mar 7, 2008 10:10:12 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 7, 2008 10:10:12 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
Mar 7, 2008 10:10:12 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive web-console.war
Mar 7, 2008 10:10:16 AM org.apache.catalina.startup.ContextConfig 
validateSecurityRoles
INFO: WARNING: Security role name user used in an auth-constraint without 
being defined in a security-role
Mar 7, 2008 10:10:17 AM com.sun.faces.config.ConfigureListener 
contextInitialized
INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b09-FCS) for 
context '/web-console'
Mar 7, 2008 10:10:17 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Mar 7, 2008 10:10:17 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/web-console] startup failed due to previous errors
Mar 7, 2008 10:10:17 AM org.jbpm.JbpmConfiguration getInstance
INFO: using jbpm configuration resource 'jbpm.cfg.xml'
Mar 7, 2008 10:10:17 AM org.jbpm.persistence.db.StaleObjectLogConfigurer 
hideStaleObjectExceptions
INFO: stale object exceptions will be hidden from logging
Mar 7, 2008 10:10:20 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 7, 2008 10:10:20 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 7, 2008 10:10:21 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/70  config=null
Mar 7, 2008 10:10:21 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 8659 ms
==

My war file contains:

Standard console dirs:
/images
/META-INF
/sa
/ua
/WEB-INF
/index.jsp

Here are the jar files I have in the WAR:

\Tomcat6\webapps\web-console\WEB-INF\lib:
antlr-2.7.6.jar
asm-attrs.jar
asm.jar
cglib.jar
commons-collections.jar
commons-fileupload.jar
commons-io.jar
commons-logging-1.0.4.jar
dom4j-1.6.1.jar
ehcache-1.1.jar
el-api.jar
el-ri.jar
gravel-14.jar
hibernate3.jar
javassist.jar
jboss-retro-1.1.0-rt.jar
jbpm-identity.jar
jbpm-jpdl.jar
jbpm4jsf-14.jar
jsf-api-14.jar
jsf-facelets.jar
jsf-impl-14.jar
jta.jar
log4j-1.2.11.jar

Here is my Hibernate config (note we are NOT using DATASOURCE);
hibernate.cfg.xml

!-- hibernate dialect --
org.hibernate.dialect.PostgreSQLDialect

!-- JDBC connection properties (begin) --
org.postgresql.Driver
jdbc:postgresql://localhost:5432/JbpmDB
postgres

!-- JDBC connection properties (end) --

org.hibernate.cache.HashtableCacheProvider

!-- DataSource properties (begin) 
java:/JbpmDS
DataSource properties (end) --

Any help would be appreciated.
Thanks in advance - 

- Jeb

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134907#4134907

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134907
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Help with strange JSF h:messages behavior

2008-03-07 Thread NM-156
A couple of things were causing the problem. I realized that the weird prefix 
seems to be caused by having my variable markers enclosed by single quotes 
'{0}' instead of double quotes {0}. The second thing is that I needed to have 
the message-bundle entry in the faces config. Finally, I had to override the 
default validator message keys/values in my message file. So my faces.config 
now looks like:



  | 
  |  application
  |   message-bundlemypackagename.application/message-bundle
  |  /application
  | 
  |   application
  |   resource-bundle
  |base-namemypackagename.application/base-name
  |varmsgs/var
  |   /resource-bundle
  |  /application
  | 
  | 

And the message file looks like:


  | 
  | javax.faces.component.UIInput.CONVERSION=Invalid entry, not the correct 
data type
  | javax.faces.component.UIInput.REQUIRED=Value is required 
  | javax.faces.component.UISelectOne.INVALID=Value is not a valid option 
  | javax.faces.component.UISelectMany.INVALID=Value(s) are not a valid 
selection 
  | javax.faces.validator.NOT_IN_RANGE=Specified attribute is not between the 
expected values of {0} and {1} 
  | javax.faces.validator.DoubleRangeValidator.MAXIMUM=Value is greater than 
allowable maximum of {0}
  | javax.faces.validator.DoubleRangeValidator.MINIMUM=Value is less than 
allowable minimum of {0} 
  | javax.faces.validator.DoubleRangeValidator.TYPE=Value is not of the correct 
type 
  | javax.faces.validator.LengthValidator.MAXIMUM=Value is greater than 
allowable maximum of {0} 
  | javax.faces.validator.LengthValidator.MINIMUM=Value is less than allowable 
minimum of {0}
  | javax.faces.validator.LongRangeValidator.MAXIMUM=Value is greater than 
allowable maximum of {0} 
  | javax.faces.validator.LongRangeValidator.MINIMUM=Value is less than 
allowable minimum of {0} 
  | javax.faces.validator.LongRangeValidator.TYPE=Value is not of the correct 
type
  | formField1Label=Form Field 1:
  | formField2Label=Form Field 2:
  | formField3Label=Form Field 3:
  | formField4Label=Form Field 4:
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134910#4134910

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134910
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - XML Binding - XMLGregorianDate to xs:dateTime rather than xs

2008-03-07 Thread asouza_2000
I pretty much hope you guys can help me out here.

I, via xjc, compiled a .XSD into several classes. Automatically xs:dateTime 
schema types are translated to XMLGregorianCalendar java type. No problem about 
that.
I then use some of the generated classes as WS parameters for a service I'm 
designing. No problem about that either.
The thing is that when JBoss WS generates the WSDL file from my service, it 
translates the XMLGregorianDate type to xs:anySimpleType. I checked it out and 
it seems that it should be the default behavior of JAXB.
I'd like to know how can I force the translation of XMLGregorianCalendar to 
xs:dateTime rather than put an annotation @XMLSchemaType in all the properties 
that are XMLGregorianCalendar types.

Thanks in advance,

Antonio Souza.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134915#4134915

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134915
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
Hi again.
Stuck on what I think is an ideosyncrasy in the way JBoss implements JNDI 
lookups. I was wondering if someone could shed some light?
Following along with Beginning Java EE 5 book again...
I have an application with following directory structure:

  | BMP
  |+beans
  |  1   StockList.java
  |  2   StockListBean.java
  |+beans_2x
  |  3   Stock.java
  |  4   StockBean.java
  |  5   StockHome.java
  |+client
  |  6   StockClient.java
  |+META-INF
  |  7   Application.xml
  |  8   Ejb-jar.xml
  |  9   Jboss.xml
  | 10 StockList2xBmp.jar  (contains 8,9, classes  for 3,4,5)
  | 11 StockListBmpApp.ear (contains 7  10)
  | 12 StockListApp.ejb3   (contains 1  2)
  | 
  | 11 Gets deployed first, followed by 12.
  | 6 is run with following command:
  | java -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory 
-Djava.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces 
-Djava.naming.provider.url=localhost client.StockClient
  | 
  | 
  | 

Application.xml:

  | ?xml version=1.0 encoding=UTF-8?
  | application xmlns=http://java.sun.com/xml/ns/javaee; 
  |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
  |  xsi:schemaLocation=http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/application5.xsd;
  |  version=5
  |   display-nameStockListBmpApp/display-name
  |   descriptionApplication description/description
  |   module
  |ejbStockList2xBmp.jar/ejb
  |   /module
  | /application
  | 

ejb-jar.xml:


  | ?xml version=1.0 encoding=UTF-8?
  | ejb-jar xmlns=http://java.sun.com/xml/ns/javaee; 
  |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
  |  xsi:schemaLocation=http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd;
  |  version=3.0
  |   display-nameStockListBmpJar/display-name
  |   enterprise-beans
  | entity
  |   ejb-nameStockEjb/ejb-name
  |   homebeans_2x.StockHome/home
  |   remotebeans_2x.Stock/remote
  |   ejb-classbeans_2x.StockBean/ejb-class
  |   persistence-typeBean/persistence-type
  |   prim-key-classjava.lang.String/prim-key-class
  |   reentrantfalse/reentrant
  |   resource-ref
  | res-ref-namejdbc/StockDB/res-ref-name
  | res-typejavax.sql.DataSource/res-type
  | res-authContainer/res-auth
  | res-sharing-scopeShareable/res-sharing-scope
  |   /resource-ref
  |   security-identity
  | use-caller-identity/
  |   /security-identity
  | /entity
  |   /enterprise-beans
  |   assembly-descriptor
  | container-transaction
  |   method
  | ejb-nameStockEjb/ejb-name
  | method-intfRemote/method-intf
  | method-namesetName/method-name
  | method-params
  |   method-paramjava.lang.String/method-param
  | /method-params
  |   /method
  |   trans-attributeRequired/trans-attribute
  | /container-transaction
  | container-transaction
  |   method
  | ejb-nameStockEjb/ejb-name
  | method-intfRemote/method-intf
  | method-namegetName/method-name
  |   /method
  |   trans-attributeRequired/trans-attribute
  | /container-transaction
  | container-transaction
  |   method
  | ejb-nameStockEjb/ejb-name
  | method-intfRemote/method-intf
  | method-nameremove/method-name
  |   /method
  |   trans-attributeRequired/trans-attribute
  | /container-transaction
  | container-transaction
  |   method
  | ejb-nameStockEjb/ejb-name
  | method-intfRemote/method-intf
  | method-namegetTickerSymbol/method-name
  |   /method
  |   trans-attributeRequired/trans-attribute
  | /container-transaction
  |   /assembly-descriptor
  | /ejb-jar
  | 

Jboss.xml:

  | !DOCTYPE jboss PUBLIC
  |   -//JBoss//DTD JBOSS 4.0//EN
  |   http://www.jboss.org/javaee/dtd/jboss_4_0.dtd;
  | jboss
  |   enterprise-beans
  | entity
  |   ejb-nameStockEjb/ejb-name
  |   jndi-namebeans_2x.Stock/jndi-name
  |   resource-ref
  | res-ref-namejdbc/StockDB/res-ref-name
  | jndi-namejava:/DefaultDS/jndi-name
  |   /resource-ref
  | /entity
  |   /enterprise-beans
  | /jboss
  | 

StockList.java interface:


  | package beans;
  | 
  | import javax.ejb.CreateException;
  | import javax.ejb.FinderException;
  | import javax.ejb.Remote;
  | 
  | @Remote
  | public interface StockList {
  |   // The public business methods on the StockList bean
  |   public String getStock(String ticker)
  | throws FinderException;
  |   public void addStock(String ticker, String name)
  | throws CreateException;
  |   public void updateStock(String ticker, String name)
  | throws FinderException;
  |   public void deleteStock(String ticker)
  | throws FinderException;
  | }
  | 

StockListBean:


  | package beans;
  | 
  | import beans_2x.Stock;
  | import beans_2x.StockHome;
  | import 

[jboss-user] [JBoss Portal] - Re: How to - Portal Themes and Skins

2008-03-07 Thread [EMAIL PROTECTED]
Thank you. I'm looking into your said solution steps. Thanks for your help.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134920#4134920

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134920
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM, Tomcat6 and Postgres8.2 issue

2008-03-07 Thread gosub33
Someone pointed out that I didnt have the Postgres driver in the war. I have 
added it, but get the same issue...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134918#4134918

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134918
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
I have already had to modify the source of StockClient to conform
to the JBoss way in the getStockList method.

1) I am really surprised JBoss doesn't use the method that is commented out 
because the current method could lead to class name conflicts if you don't use 
package prefix...

  |  private StockList getStockList() {
  | StockList stockList = null;
  | try {
  | // Get a naming context
  | InitialContext ctx = new InitialContext();
  | 
  | // Get a StockList object
  | stockList 
  |  = (StockList) ctx.lookup(StockListBean/remote);
  | //  = (StockList) ctx.lookup(StockList.class.getName());
  | } catch(Exception e) {
  |  e.printStackTrace();
  | }
  | return stockList;
  | 

I think the error is in here somewhere:

  | private StockHome getStockHome() 
  | throws NamingException {
  | // Get the initial context
  | InitialContext initial = new InitialContext();
  | 
  | // Get the object reference
  | Object objref = initial.lookup(beans_2x.Stock);
  | StockHome home = (StockHome)
  |   PortableRemoteObject.narrow(objref, StockHome.class);
  | return home;
  |   }
  | 

But I am not sure what to do because I am not sure out JBoss is interpretting
ejb-jar.xml in the  node

  | entity
  |   ejb-nameStockEjb/ejb-name
  |   homebeans_2x.StockHome/home
  |   remotebeans_2x.Stock/remote
  |   ejb-classbeans_2x.StockBean/ejb-class
  |   persistence-typeBean/persistence-type
  |   prim-key-classjava.lang.String/prim-key-class
  |   reentrantfalse/reentrant
  |   resource-ref
  | res-ref-namejdbc/StockDB/res-ref-name
  | res-typejavax.sql.DataSource/res-type
  | res-authContainer/res-auth
  | res-sharing-scopeShareable/res-sharing-scope
  |   /resource-ref
  |   security-identity
  | use-caller-identity/
  |   /security-identity
  | /entity
  | 

Following on from the pattern I used on StockClient...
2) Do I just use Stock/remote?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134922#4134922

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134922
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
JGF1 wrote : But I am not sure what to do because I am not sure out JBoss is 
interpretting ejb-jar.xml in the  node
  | 
Should read 
But I am not sure what to do because I am not sure of how JBoss is 
interpretting ejb-jar.xml in the  node.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134923#4134923

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134923
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
JGF1 wrote : Do I just use Stock/remote?
  | 
Alas this didn't work either.
Just saying Stock not bound now instead!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134928#4134928

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134928
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Connect a MDB to another system that not use JMS

2008-03-07 Thread vickyk
nico82 wrote : I have to connect a Message Driven Bean to another system. 
This system doesn't use standard message system (JMS) but another one that has 
more QoS properties. I must realize a connector, with JCA 1.5, to interface my 
EIS with a message driven bean. I found only the example written before so I'm 
looking for another one that helps me to develop the connector. 
  | I saw  
http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/jca_inflow.html
 but where is the complete example?
  | I hope to explain all better than before.
  | Thanks
  | 
Here is the example which you should look 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJCAMessageInflowExample
Come up with the specific question if you have ?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134931#4134931

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134931
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: MDBs not getting messages after long run

2008-03-07 Thread ydzsidemiik
http://jira.jboss.org/jira/browse/JBMESSAGING-1159

Could be this one, it cost me some hairline too ;)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134932#4134932

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134932
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
In case anyone wants to build/run this here are commands to run from BMP folder:
javac -d . beans_2x\*.java
javac -d . beans\*.java
javac -d . client\*.java

jar vcf StockListApp.ejb3 beans/*.class

jar vcf StockList2Bmp.jar META-INF/ejb-jar.xml META-INF/jboss.xml 
beans_2x/*.class
jar vcf StockListBmpApp.ear META-INF/application.xml StockList2xBmp.jar

Set up database: 
http://localhost:8080/jmx-console/

Follow Hypersonic URL

DROP TABLE stock if exists;
cretae table stock
(
  tickerSymbol VARCHAR(10),
  name VARCHAR(50),
CONSTRAINT pk_stock PRIMARY KEY (tickerSymbol)
);

From Menu:
OptionsCommit

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134933#4134933

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134933
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
JGF1 wrote : Following on from the pattern I used on StockClient...
  | 2) Do I just use Stock/remote?
  | 

Have also tried
Object objref = initial.lookup(beans_2x.Stock/remote);


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134936#4134936

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134936
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
Is there is a way to view the JBoss JNDI registry, so I can ascertain the 
syntax I need?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134938#4134938

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134938
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Table not found in statement. While deloying a Process D

2008-03-07 Thread chrisrjcox
Please consider this thred Closed.

mputz, Thank you so much for your assistance with this, it has solved the issue.

I just had an issue with Eclipse running the incorrect server (the non updated 
one)

Chris

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134940#4134940

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134940
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread ALRubinger
http://wiki.jboss.org/wiki/Wiki.jsp?page=DisplayTheJDNITreeWithTheJMXConsole

S,
ALR

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134941#4134941

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134941
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - in my jndi doesn't appears the remote interface of my ejb

2008-03-07 Thread rodosa
Hello!

Why is the reason that in my jndi doesn't appears the remote interface of 
my session bean? I only can see the local interface:


  | JbpmFacade (proxy: $Proxy53 implements interface 
session2.JbpmFacadeLocal,interface javax.ejb.Handle)
  | 

I'm using the jboss that includes jbpm3.2.2 and ejb2.1 because ... this 
version of jboss doesn't support ejb3.0 doesn't it? How can I get the 
posibility to execute ejb3.0 in this version of jboss?

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134947#4134947

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134947
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - seam test not working

2008-03-07 Thread Scheintod
Hi folks,

seam 2 seems to work pretty good. I especially like the seam setup tool since 
setting up a new project is really easy. Except for one function: seam test

What I'm doing:

seam setup
seam new-action
seam explode   (works find. get the application with one action)
seam test

My Versions:
Seam 2.0.1.GA, JBoss 4.2.2.GA

But seam test doesn't work and quits with tons of exceptions:

test:
   [testng] [Parser] Running:
   [testng]   C:\Java\workspace_europa\SeamTT\test-build\TestCTest.xml
   [testng]
   [testng] ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController]
 Error installing to Described: name=BeanDeployer state=PreInstall
   [testng] java.lang.RuntimeException: java.lang.reflect.UndeclaredThrowableExc
eption
   [testng] at org.jboss.aop.util.ClassInfoMethodHashing.methodHash(ClassInf
oMethodHashing.java:70)
   [testng] at org.jboss.aop.util.ClassInfoMethodHashing.addDeclaredMethods(
ClassInfoMethodHashing.java:169)
   [testng] at org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTable
s(ClassInfoMethodHashing.java:182)
   [testng] at org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTable
s(ClassInfoMethodHashing.java:181)
   [testng] at org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTable
s(ClassInfoMethodHashing.java:181)
   [testng] at org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTable
s(ClassInfoMethodHashing.java:181)
   [testng] at org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTable
s(ClassInfoMethodHashing.java:181)
   [testng] at org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTable
s(ClassInfoMethodHashing.java:181)
   [testng] at org.jboss.aop.util.ClassInfoMethodHashing.getMethodMap(ClassI
nfoMethodHashing.java:188)

... and many more which I can't copy very well since it's in a dos box.


If I try to run it from eclipse with build.xml and 'test' target and follow the 
instructions in the README.TXT (included: hibernate-all.jar, 
jboss-embedded-all.jar, thirdparty-all.jar, jboss-deployers-client-spi.jar, 
jboss-deployers-core-spi.jar, jboss-embedded-api.jar, bootstrap) it doesn't 
work either and gives me this:

   [testng] [Parser] Running:
   [testng]   
C:\Java\workspace_europa\SeamTestTest\test-build\TestActionTest.xml
   [testng] ERROR 
[org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing 
to Described: name=BeanDeployer state=PreInstall
   [testng] java.lang.RuntimeException: 
java.lang.reflect.UndeclaredThrowableException
   [testng] at 
org.jboss.aop.util.ClassInfoMethodHashing.methodHash(ClassInfoMethodHashing.java:70)
   [testng] at 
org.jboss.aop.util.ClassInfoMethodHashing.addDeclaredMethods(ClassInfoMethodHashing.java:169)
   [testng] at 
org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTables(ClassInfoMethodHashing.java:182)
   [testng] at 
org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTables(ClassInfoMethodHashing.java:181)
   [testng] at 
org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTables(ClassInfoMethodHashing.java:181)
   [testng] at 
org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTables(ClassInfoMethodHashing.java:181)
   [testng] at 
org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTables(ClassInfoMethodHashing.java:181)
   [testng] at 
org.jboss.aop.util.ClassInfoMethodHashing.populateMethodTables(ClassInfoMethodHashing.java:181)
   [testng] at 
org.jboss.aop.util.ClassInfoMethodHashing.getMethodMap(ClassInfoMethodHashing.java:188)
   [testng] at 
org.jboss.aop.microcontainer.integration.AOPDependencyBuilder.getMethodAnnotationDependencies(AOPDependencyBuilder.java:197)
   [testng] at 
org.jboss.aop.microcontainer.integration.AOPDependencyBuilder.getAnnotationDependencies(AOPDependencyBuilder.java:152)
   [testng] at 
org.jboss.aop.microcontainer.integration.AOPDependencyBuilder.getDependencies(AOPDependencyBuilder.java:130)
   [testng] at 
org.jboss.classadapter.plugins.BasicClassAdapter.getDependencies(BasicClassAdapter.java:80)
   [testng] at 
org.jboss.beans.info.plugins.AbstractBeanInfo.getDependencies(AbstractBeanInfo.java:211)
   [testng] at 
org.jboss.kernel.plugins.dependency.DescribeAction.installActionInternal(DescribeAction.java:53)
   [testng] at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:135)
   [testng] at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:46)
   [testng] at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
   [testng] at 
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
   [testng] at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
   

[jboss-user] [Beginners Corner] - Re: seam test not working

2008-03-07 Thread Scheintod
btw:

readme.txt tells to include :
embedded-api.jar
jboss-deployers.jar

All I can find is:
jboss-embedded-api.jar
jboss-deployers-client-spi.jar
jboxx-deployers-core-spi.jar

regards,

Scheintod

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134951#4134951

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134951
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: Login problem with JAAS and sticky_session=false

2008-03-07 Thread ragavgomatam
Doesn't sticky sessions defeat load balancing ?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134953#4134953

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134953
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: application clients in JBOSS 4.2.2

2008-03-07 Thread sajhak
Im refering the e-version of begining EJB 3 application development - from 

novice to professional  - Apress publishers' and also , SUN's j2EE5 official 

tutorial.If u know abt any other recommended learning materials pls let me 

know..

so in those materials i have found that @Local can be used when both the client 

application and the EJB are in the same JVM.. since i deplyoed my EJB and the 

client application  as well to the JBOSS server , then does not those 2(EJB and 

client app) are in the same JVM.? ( the JVM of the JBOSS server instance ) if 
so 

, then both these components are running in the same JVM so that it must be 

possible to use the @Local interface..

to another thread that i posted in this forum under EJB 3.0 category , i got 

replies saying that JBOSS 4.2.x is not fully compliant with EJB 3.0 and j2EE 5 

specs.SO i feel that i cant achive the tasks with out using JNDI lookups( if 
app 

server is JBOSS )...
i.e , use the following code segment,



 @EJB 
 private static ObjectType obj;  

 InitialContext ic = new InitialContext ();
 obj = (ObjectType) ic.lookup(ObjectType.class.getName());




i can t  depend only on @EJB annotations.. 

is that right ?? , because the example in the book havent use any JNDI lookup s 

and it works fine with GlassFish - not with JBOSS.

Thanks n Rgds
Sajith

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134954#4134954

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134954
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
Thanks for feedback.
Looking at that list the only registered references with Stock in them were 
in the
Global JNDI Namespace:

  | StockListBean (class: org.jnp.interfaces.NamingContext)
  |   |   +- remote (proxy: $Proxy94 implements interface 
beans.StockList,interface org.jboss.ejb3.JBossProxy)
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134955#4134955

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134955
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Singleton TimedObjects?

2008-03-07 Thread snarff
A singleton MDB is triggered periodically by a timer. However, the timer thread 
which calls the ejbTimeout method seems to run concurrently with the thread 
which invokes the onMessage method, which destroys the singleton character of 
the MDB. Is there any means to guarantee that an MDB which runs on a timer 
behaves as a true singleton?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134956#4134956

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134956
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: deploying problem ( customized directory structure )

2008-03-07 Thread sajhak
i got the answer for this prob through IntelliJ IDEA's forum..

view it at http://intellij.net/forums/thread.jspa?threadID=273478tstart=0

Regds
Sajith

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134957#4134957

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134957
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - How to tell which Web Service stack(s) are in which Redhat J

2008-03-07 Thread anguilla
Please forgive this total newbie question, but I have been searching for 3 days 
to an answer to this question. I'm sure the info is out there, and I just 
haven't been smart enough to stumble upon it. Anyway, I am trying to understand 
which web service stacks are integrated in the various JBoss product offerings 
from Redhat, what standards each implement, and what the RH web services 
roadmap looks like. I am totally confused by all this, probably because I come 
from a background where I only had the choice of using ASP.NET for web 
services, and now there are too many options 8=).

If I buy JBoss Application Server from Redhat, am I getting JBossWS as the web 
service solution? Or is JBossWS something that I have to acquire separately? Or 
are there multiple WS implementations (of which JBossWS is only one), any of 
which can be utilized with the JBoss AS? 

I purchased the JBoss Developer Studio from Redhat, which came with an 
entitlement to RHEL 5 (which I installed), and came bundled with the JBoss 
Enterprise Application Platform (which appears to include JBoss Application 
Server 4.2). How can I tell what the web service stack is for the AS? On the 
IDE side of things, it looks like the JBDS wants me to create Apache Axis or 
Axis2 web services. I don't see any mention of JBossWS in the IDE. Am I missing 
some crucial plug-in? 

I fear the answer to my questions is that I am just totally clueless, but if 
some kind soul could point me to some specific information (just telling me to 
go to the forum or wiki won't help, as I've already been there and am still 
confused), I would really appreciate it. Thanks in advance.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134960#4134960

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134960
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
I'm in the dark here.

  | 19:14:34,265 INFO  [EARDeployer] Init J2EE application: 
file:/C:/apps/jboss-4.2.2.GA/server/all/deploy/StockListBmpApp.e
  | ar
  | 19:14:34,828 INFO  [EJB3Deployer] Deployed: 
file:/C:/apps/jboss-4.2.2.GA/server/all/tmp/deploy/tmp42858StockListBmpApp.e
  | ar-contents/StockList2xBmp.jar
  | 19:14:34,843 INFO  [EARDeployer] Started J2EE application: 
file:/C:/apps/jboss-4.2.2.GA/server/all/deploy/StockListBmpAp
  | p.ear
  | 19:15:24,968 INFO  [JmxKernelAbstraction] creating wrapper delegate for: 
org.jboss.ejb3.stateless.StatelessContainer
  | 19:15:24,968 INFO  [JmxKernelAbstraction] installing MBean: 
jboss.j2ee:jar=StockListApp.ejb3,name=StockListBean,service=
  | EJB3 with dependencies:
  | 19:15:25,093 INFO  [EJBContainer] STARTED EJB: beans.StockListBean ejbName: 
StockListBean
  | 19:15:25,125 INFO  [EJB3Deployer] Deployed: 
file:/C:/apps/jboss-4.2.2.GA/server/all/deploy/StockListApp.ejb3
  | 
  | 
  |   | Looking at log messages when archives are deployed everything looks 
fine.
  |   | So why don't I have other JNDI references.
  |   | Is there a trailblazer for BMP you can point me to?
  |   | Cheers. Jeremy

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134961#4134961

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134961
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Upgrading to 4.2.2 changed published WSDL

2008-03-07 Thread GTWebDev
We recently upgraded our JBossAS from 4.0.5 to 4.2.2.  We have EJBs exposed as 
Web Services.  Since the upgrade, applications that consume the Services no 
longer work due to changes in the WSDL produced by 4.2.2.  Though our EJBs are 
annotated, the WSLDs are very different.  We have tried to annotate at the 
package level to get the WSDL to match the old services in 4.0.5 but have had 
no luck.  

Errors we experience are similar to the following:
12:46:10,048 ERROR [SOAPFaultHelperJAXWS] SOAP request exception 
javax.ejb.EJBException: java.lang.NullPointerException

All is good if we Re-consume the service but the is not a viable solutions for 
all of our clients.

Has anyone experienced XmlSchema changes when upgrading?  Does anyone have a 
solution for such a problem?  Any guidance is appreciated.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134962#4134962

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134962
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: application clients in JBOSS 4.2.2

2008-03-07 Thread PeterJ
I already answered these questions in my previous posts. In those posts I 
explained why @Local and @EJB are not working the way you want them to. But I 
will try to answer the questions again, though a little differently.

I would not expect @EJB to work until JBossAS 5.0. That version is fully Java 
EE 5 compliant.

Regrading @Local, you did *not* deploy your client to JBossAS. Copying a jar 
file that contains standalone client code to the serer/default/deploy directory 
(or pushing a button in an IDE which does this) does not  mean that the 
application is deployed to the app server. By standalone client, I mean a 
Java program that has a class with a main() method, which can only be run by 
starting up another JVM and running that Java program. And that is what your 
client is - it has a main() method, the only way to run the client is to start 
a JVM and tell the JVM to execute Main.main(). This means that your cannot use 
@Local because the client is not running in the same JVM as the app server. And 
all of this is being hidden from you by the IDE. (See my earlier discussion on 
why I don't let new developers use IDEs. )  

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134963#4134963

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134963
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: How to tell which Web Service stack(s) are in which Redh

2008-03-07 Thread PeterJ
Yes, if you get JBossAS (community version) or JBossEAP (enterprise/supported 
version), it comes with JBossWS as the web service stack. Usually the easiest 
way to figure out which version of JBossWS is included is to look at the 
Manifest.mf file in one of the JBossWS jar file, like 
client/jbossws-client.jar, which in JBossEAP 4.2 says:

Implementation-Version: jbossws-1.2.1.GA (build=200704151756)

I don't use JBoss Developer Studio, so I cannot comment on its insistence of 
doing Axis-based web services.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134965#4134965

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134965
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - JBOSS Cache vs Gigaspaces

2008-03-07 Thread MThoresen
I would like to know if jboss cache would be suitable for the following.  We 
have a view that returns a very large recordset.  It can take up to 2-3 minutes 
for the data to actually be pulled from our DB to our client app.  Can jboss 
cache be used to store this data in a central location that N number of clients 
can access?  The cache would need to always be available.  Also, is it possible 
to keep the cache current when new records, and or edits are made, and then 
broadcast these changes to our users?  I am new at using cache managers and 
just want to know if this scenario would work with jboss cache?  Much thanks.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134968#4134968

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134968
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - basic JBM cluster configuration

2008-03-07 Thread navjeetc
I need to install two or more clusters of JBoss AS and JBM on a 
machine(actually the two nodes in each cluster will be on different machines). 
To make cluster work I am using a different port binding for each node and also 
a different server peer Id. We have also deployed JBM bridges on each node. Is 
that all that is needed to separate one cluster from the other especially from 
JBM point of view?

Using JBM 1.4.0 SP3 and JBoss AS 4.2.1



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134970#4134970

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134970
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Stateless EJB calling WorkManager directly - legal?

2008-03-07 Thread gsniderJBoss
If a stateless EJB gets a JBossWorkManager (see code below) without going 
through an RA, should everything still work?

The problem I'm seeing is:
1) A CMT transaction TX1 is created in the EJB via hibernate call.
2) the ejb schedules work in the WorkManager [workManager.scheduleWork(myWork, 
WorkManager.INDEFINITE, new ExecutionContext(), myListener); ]
3) A new transaction is created TX2 by the WorkManager
4) TX2 cannot 'see' any of the changes from TX1  either from inserts, updates 
and even after calling flush on the Hibernate session

How can I coordinate these transactions?  Do I need an RA?

--
Config:  4.2.2.GA on MySQL 5.x
XA-DataSource using MySQL xa driver

EJB getting a JBossWorkManager:
MBeanServerConnection mconn = (MBeanServerConnection) 
ctx.lookup(jmx/invoker/RMIAdaptor);
  | ObjectName objectName = new ObjectName(jboss.jca:service=WorkManager);
  | JBossWorkManagerMBean jwm = (JBossWorkManagerMBean) 
MBeanServerInvocationHandler.newProxyInstance(blah,  objectName,
JBossWorkManagerMBean.class,false);

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134971#4134971

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134971
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread ALRubinger
Jeremy:

BMP (Bean-Managed Persistence) is an EJB2 construct (noted by the beans_2x 
package in your sample).

So for this you'd have to construct a valid EJB2.0 deployable unit complete 
with ejb-jar.xml and other descriptors.  Been a long while since I went this 
route.

What exactly are you trying to accomplish, just work through the book?  As a 
practical measure, using an EJB3/JPA EntityManager with 
transaction-type=RESOURCE_LOCAL might be more a line with giving you the 
finer-grained control of BMT within an EJB3 realm.

http://www.hibernate.org/hib_docs/entitymanager/reference/en/html/configuration.html

S,
ALR

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134973#4134973

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134973
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Problems getting client to work

2008-03-07 Thread PeterJ
We are already discussing this at 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134809#4134809

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134974#4134974

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134974
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Portal and EJB

2008-03-07 Thread vicbrown
An obvious Newbie question...

We are going to develop an appliance-like product, using JBoss Portal. Do we 
need to deploy JBoss EJB container in order to support the Portal? At this 
point, we don't appear to need EJBs to support our business apps.

Thanks.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134977#4134977

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134977
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Delay in process runtime

2008-03-07 Thread lordbinky
Hello,

I am having a problem when we run a process on a Dell box using Jboss version 
4.2 it takes 4 minutes.  On my machine it takes 18 minutes.  When we updated to 
Jboss 4.2.2 the problem seems to go away and runs fine on both machines.  I 
don't think that there was anything wrong with either machine.  

Can you help me determine what it is about my system that makes it run slower 
with the particular version of JBoss?  Do you think there might be other 
differences that have not been discovered yet?


The Dell specs are:
Dell Poweredge 2950 2U
2x Xeon 5130 (or Opteron equiv.)
8gb RAM
2x Gbe NIC (onboard)
2x 160gb w/ 1x 160gb backup (hotspare)
Dell PERC RAID controller
CD/DVD
Red Hat Enterprise Linux 5

My Specs are:
Supermicro MBD-X7DVL-i
2 Xeon 5130 DC 2.0
4 DDR2 2GB PC2-5300 FB-DIMM
3 Seagate 160GB SATA 3.0 8MB (raid 1 w/ hotspare)
3ware ESC 9550SXU-4LP
Red Hat Enterprise Linux 5


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134980#4134980

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134980
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - How to build custom User/Role/UserProfile/Membership Modules

2008-03-07 Thread arnieOag
I have read through chapters 16 and 18 in the 2.6.4 portal and was finally able 
to get authentication to our Novell eDirectory (LDAP) server working, but I 
could see the portal was throwing a lot of errors in the background, mainly 
because the schema wasn't what it was expecting. No biggie there.

However, based on our crazy State-regulated setup here, I need to completely 
replace the classes that relate to these modules:


  | login-module code=org.jboss.portal.identity.auth.IdentityLoginModule 
flag=required
  | module-option name=unauthenticatedIdentityguest/module-option
  | 
  | module-option 
name=userModuleJNDINamejava:/portal/UserModule/module-option
  | module-option 
name=roleModuleJNDINamejava:/portal/RoleModule/module-option
  | module-option 
name=userProfileModuleJNDINamejava:/portal/UserProfileModule/module-option
  | module-option 
name=membershipModuleJNDINamejava:/portal/MembershipModule/module-option
  | 
  | module-option name=additionalRoleAuthenticated/module-option
  | module-option name=password-stackinguseFirstPass/module-option
  | /login-module
  | 

Why?

We already have an JNDI-based library that does Authentication against our 
Novell eDirectory/LDAP server and it also checks to see if the account is 
disabled, which I don't think the ones that come with JBoss do. Then there is 
the rather complex Application Security database we've created to control 
Authorization. Our roles are in there and are effective dated. This setup 
will be for internal employees and external public users.

I have looked high and low on line and cannot find a document that really deals 
with doing this. Some people have submitted code snippets but I really need to 
replace everything.

We will never track as much user profile data as is configured and we can't use 
the Captcha functionality because its not Accessible.

Could someone tell me:

1) Which classes I have to replace;

2) where right source is? I went to jboss.org and downloaded the source to the 
portal only to find a large number of missing libraries (\thirdpary\*) and no 
reference as to where that is.

Thanks!


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134982#4134982

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134982
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: webmethod within a jsp-file

2008-03-07 Thread PeterJ
You never said you were using beta software! Looks like a classloader issue to 
me, and the classloader in 5.0 beta4 is very broke.

Using 5.0 beta 4, if I create the web service, then generate the WSDL, and then 
use wsconsume to generate the client stubs, there is always a stub whose name 
matches the name of the class that implements the web service. Then, when my 
servlet attempts to create the web service connection, I get the same xxx is 
not an interface exception. Apparently, web services is using the wrong 
classloader repository to look up the class - it is looking in the more global 
classloader repository which contains the web service implementation class, 
which of course, is not an interface. It should, instead, be using the 
classloader repository for the war file, in which case it will find the 
interface for which it is looking.

Interestingly enough, if I develop my web service using a top-down approach 
(wsdl first, then generate stubs, and implement based on those stubs) it works. 
That is because both the global classloader repository and the war classloader 
repository agree that the class in question is really an interface.

Let me try the top-down approach in 4.2.2, back in a second. It works. Hmm, let 
me try the bottom-up approach in 4.2.2. That works also.  Moral of the story - 
when things don't work, if you are using a beta of the next version, fall back 
to a qualified, released version and try it there - it just might work.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134988#4134988

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134988
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Delay in process runtime

2008-03-07 Thread PeterJ
I have not seen any significant startup time differences between 4.2 and 4.2.2 
on any of the machines that I use (usually I get around 30 second startup, on 
Windows and Linux, though on my new quad-core box at home I am getting 15 
seconds, Windows and Linux).

Look at the console log and see if there are any noticeable pauses between log 
events, that might help pinpoint where the issue might be. Usually on something 
like this I suspect network request timeouts. I don't know if 4.2 is making 
network requests that 4.2.2 no longer makes.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134989#4134989

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134989
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: java.net.BindException: Address already in use: JVM_Bind

2008-03-07 Thread PeterJ
Ports are defined in many places other than in jboss-service.xml. The best way 
to assign ports is to use the binding service: 
http://labs.jboss.com/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/beta422/html/index.html.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134990#4134990

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134990
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
JGF1 wrote : 
  | Application.xml:
  | 
  |   | ?xml version=1.0 encoding=UTF-8?
  |   | application xmlns=http://java.sun.com/xml/ns/javaee; 
  |   |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
  |   |  xsi:schemaLocation=http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/application5.xsd;
  |   |  version=5
  |   |   display-nameStockListBmpApp/display-name
  |   |   descriptionApplication description/description
  |   |   module
  |   |ejbStockList2xBmp.jar/ejb
  |   |   /module
  |   | /application
  |   | 
  | 

I've been scouring throughmy code again and noticed application5.xsd should be 
application_5.xsd according to book.
I've missed an underscore...
But then in the code download they use _1_4.xsd.
What version should I use with JBoss 4.2.2.GA?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134991#4134991

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134991
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread ALRubinger
I'm not familiar with this book, but I'm not sure about it's aims for you. :)

Application 1.4 is for JEE1.4 == EJB2, Application 5 is for JEE5==EJB3.

S,
ALR

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4134993#4134993

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134993
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >