[jboss-user] [EJB 3.0] - Composite Key is made up by foreign keys

2007-02-23 Thread mrchit_2000
Hi all,

I have problem finding out how to specify the member of the composite key are 
foreign keys pointing to primary key of other tables. 
For example, If my composite key have 2 columns (A,B). I created wrapper like
public final class CompKey implements Serializable {
 private int A;
 private int B;

public boolean equals(Object obj) {
  ..
}
public int hashcode() {
   ...
}
}

Then in my class I will use 
 @IdClass(CompKey.class)
 @Entity
 public class MyClass implements Serializable{
private int A;
private int B;

 }



But now I want to specify A and B as foreign keys, how do I do that? I tried 
using @JoinColumn and add 2 more fields to class MyClass but that gives me 
error saying the column names A and B are repeated.


Can someone tell me how to specify A and B as foreign key but can still use 
them as composite key at the same time?


Thank you very much in advance,
Lngo

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Deployment Problems on Linux

2007-02-23 Thread Torgue
For example, i have two different versions of the CGLIB library in my Webapp. 
Thats not correct, i know. When the wrong version is loaded, a CGLIB 
enhancement failed exception is throws. On windows or debian no exception is 
throws, but when i deply the war file on Suse the exception is thrown. The 
installation is absolutely identical. Yes, i could could delete the wrong 
library version, but there seem to be more problems which don't throw an 
exception. 

So the question is, why doesn't the installation on Suse behave like the 
installation on Windows or Debian?

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

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


[jboss-user] [JBoss Seam] - Re: could not execute seam commands.

2007-02-23 Thread [EMAIL PROTECTED]
You have to build seam first.

Just type ant in the main dir.

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

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


[jboss-user] [JBoss Seam] - Re: Error while doing: seam generate-entities

2007-02-23 Thread [EMAIL PROTECTED]
Please report this in JIRA, I guess it should be isDeleted().

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

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


[jboss-user] [JBoss Seam] - Re: Easy way to secure all pages in an app?

2007-02-23 Thread lawrieg
Many thanks Gavin - jobs a good'un!

Cheers,

Lawrie

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

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


[jboss-user] [Clustering/JBoss] - Re: Pooling in Buddy Replication

2007-02-23 Thread @jb0ss
Thanks Manik for your response!
But I could not find this happening in my case.

Let me explain
Now my scenario is that - I have four nodes on my machine (four multiple 
instances on my machine)
node1 and node2 -- pool1
node3 and node4 -- pool2
C:\jboss-4.0.5.GA\server\node4\deploy\tc5-cluster.sar\META-INF\jboss-service.xml
 -- This is the file which I changed


I deployed the  application war on all the nodes.

I have Apache+mod_jk configured for my jboss. I am calling my application now 
in the browser.

http://localhost/OnlineShopping - I click on submit to log in

It gives me a URL like this

http://localhost/OnlineShopping/login.do;jsessionid=wdlhqzxNG1lDE56xWLSzaA**.node2

And I assume that my request was served by node2

Now I stop node2 after doing some shopping and there is data in the session
APP is working fine here.

Now I stop node1
APP is working fine  -- But Application has not failed because node1 and node2 
were from pool1. 

It seems here that application has data backed up on node3 and node4 (which are 
from pool2)

because when I stop now node3

My Application is still running fine. I can continue shopping and data is 
successfully retrievable from session and so on

It does not FAIL.

Now I don't understand why it does not fail? 
What is the meaning of pool-names here by naming pool1 for node1 and node2 
and pool2 for node3 and node4.

Can you please explain/suggest more?

Thanks
Vishal

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

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


[jboss-user] [JBoss Seam] - Re: DataModelSelection property not set after using the back

2007-02-23 Thread mjek2
You call updateListItems() from setCurrentObject() which in turn is called when 
the user selects something from the list using s:link. If updateListItems() 
manipulates mainListItems I can imagine that it could cause your problem. Did 
you try to remove updateListItems() from setCurrentObject()? And do you observe 
your problem only when using back button?

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

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


[jboss-user] [JBoss Seam] - Re: Wiki entry: SeamEntityHomeForLongRunningContexts

2007-02-23 Thread petemuir
Feel free to update the wiki page :)

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Messages get stuck in queue

2007-02-23 Thread mukoline
I have the same problem and I'm currenlty able to continue processing by only 
stopping and restarting delivery of the queue.

That's not an acceptable solution for us though.
Is there an entry in JIRA for that? Or may be upgrading to a higher jboss 
version or downgrading to former concurrent.jar fixes it?

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

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


[jboss-user] [JBoss Seam] - Wiki entry: SeamEntityHomeForLongRunningContexts

2007-02-23 Thread baz
Hello,
i want to give some thougts about this wiki entry 
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamEntityHomeForLongRunningContexts
I am using this approach since seam supports it. And i am not quite sure, but 
for me Peter is one of the initiator of this idea?

One question: currentUserId is never changed, so the @Out has only the effect 
to transfer currentUserId to session scope? So you can set currentUserId in any 
scope and after accessing currentUser you will find the currentUserId 
automatically bound to session scope.
But nothing hinders you to set the currentUserId directly in session scope.
If you do this, it is possible to achieve the same by configuration in 
components.xml.
factory name=currentUser value=#{currentUserHome.instance}/
  | framework:hibernate-entity-home name=currentUserHome 
entity-class=class.for.User
  |  framework:id#{currentUserId}/framework:id
  | /framework:hibernate-entity-home
This behaves exactly the same as Peters example in the wiki,iff you set 
currentUserId in the correct scope(here session). 
This works with seam1.1.6


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

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


[jboss-user] [JBossWS] - Re: JAXB error when using different derived types in the sam

2007-02-23 Thread javaslag
Bug raised against against JBoss XB 

http://jira.jboss.com/jira/browse/JBXB-96


From my initial delve in to the code, I'm assuming the content-handler is 
holding on the the unmarshaller for the first instance of a derived type 
(based on xsi:type) when processing an array of the super-type. This 
unmarshaller may not suitable for other derived types in the array - so fails 
with the exception reported.

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

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


[jboss-user] [JBossWS] - .Net interoperability INFO

2007-02-23 Thread ragsta
Hi all,
maybe this can help someone.

I'm involved in a project task that requires my jboss web application to 
connect to a remote Microsoft WebService.

The web service signature is:

public System.Xml.XmlElement HelloWorld(Request req)

The Microsoft way to describe this kind of return element in the WSDL is:

  s:element name=HelloWorldResponse
  |s:complexType
  | s:sequence
  |  s:element minOccurs=0 maxOccurs=1 name=HelloWorldResult
  |   s:complexType
  |s:sequence
  | s:any / 
  |/s:sequence
  |   /s:complexType
  |  /s:element
  | /s:sequence
  |/s:complexType
  |   /s:element

This is not well handled by Wstools (wsdl--java).
The result is that you can call the webservice but the jboss webservice stack 
cannot handle the response.

To solve the problem you have to manually modify this wsdl fragment in:

s:element name=HelloWorldResponse type=s:anyType/

Note: this is not a Microsoft fault..infact XmlSpy validate this WSDL and 
different java web services stacks like Xfire handle it correctly.

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

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


[jboss-user] [JBoss Seam] - Re: problem with the h:column rendered attribute

2007-02-23 Thread ask4saif
thanks norman for your help, It has solved the problem of the header.
But the new problem is i am rendering the output data conditionally. 
So when the condition is true that perticular row is displayed in the table, 
but when the condition is not true it leaves blank spaces in its position. This 
creates a lot of gap between certain rows. I cannot see how to solve it. can 
you suggest me how to do it. 

thanks in advance

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

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


[jboss-user] [Remoting] - SocketTimeout in client

2007-02-23 Thread maheshp
Hello All

i am connecting to server using java client, after setting socket time out  
attribute in invokers-service.xml to 30 milli sec. i am  getting the 
Socket timeout error after 60 seconds of waiting time(default time out value).
Server Version : Jboss-4.0.3sp1

For information i have pasted complete stack strace below.
if any configuration is missed out in server/ client, please let me know.

java.rmi.ConnectException: Failed to communicate.  Problem during marshalling/un
marshalling; nested exception is:
java.net.SocketTimeoutException: Read timed out
at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(Soc
ketClientInvoker.java:264)
at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.jav
a:112)
at org.jboss.remoting.Client.invoke(Client.java:226)
at org.jboss.remoting.Client.invoke(Client.java:189)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemot
eInterceptor.java:41)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:98)
at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPr
opagationInterceptor.java:46)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:98)
at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityC
lientInterceptor.java:40)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:98)
at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.
java:41)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.
java:98)
at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteP
roxy.java:88)
at $Proxy5.getTreeObject(Unknown Source)

Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source)
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Sourc
e)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read
(SerializableUnMarshaller.java:73)
at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(Soc
ketClientInvoker.java:242)
... 27 more


Thanks in advance

Thanks and Regards
Mahesh



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

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


[jboss-user] [JBoss Seam] - Re: could not execute seam commands.

2007-02-23 Thread grdzeli_kaci
[EMAIL PROTECTED] wrote : You have to build seam first.
  | 
  | Just type ant in the main dir.


hi gavin.

i did it but i got another error :

  | [EMAIL PROTECTED]:~/jboss-seam 
/home/paatal/InstalledPrograms/apache-ant-1.7.0/bin/ant
  | Buildfile: build.xml
  | 
  | init:
  |  [echo] Build JBoss Seam 1.1
  | [mkdir] Created dir: /home/paatal/jboss-seam/build/classes
  |  [copy] Copying 16 files to /home/paatal/jboss-seam/build/classes
  | 
  | select-compiler:
  | 
  | antlr:
  | [mkdir] Created dir: 
/home/paatal/jboss-seam/src/main/org/jboss/seam/text
  | [antlrtask] ANTLR Parser Generator   Version 2.7.6 (2005-12-22)   1989-2005
  | 
  | compilecore:
  | [javac] Compiling 425 source files to 
/home/paatal/jboss-seam/build/classes
  | [javac] Note: Some input files use or override a deprecated API.
  | [javac] Note: Recompile with -Xlint:deprecation for details.
  | [javac] Note: Some input files use unchecked or unsafe operations.
  | [javac] Note: Recompile with -Xlint:unchecked for details.
  | 
  | jarcore:
  | [mkdir] Created dir: /home/paatal/jboss-seam-1.1.6.GA
  |   [jar] Building jar: /home/paatal/jboss-seam/jboss-seam.jar
  |  [copy] Copying 1 file to /home/paatal/jboss-seam-1.1.6.GA
  | 
  | initui:
  |  [echo] Build JBoss Seam UI 1.1
  | [mkdir] Created dir: /home/paatal/jboss-seam/build/uiclasses
  |  [copy] Copying 5 files to /home/paatal/jboss-seam/build/uiclasses
  | 
  | compileui:
  | [javac] Compiling 59 source files to 
/home/paatal/jboss-seam/build/uiclasses
  | [javac] 
/home/paatal/jboss-seam/src/ui/org/jboss/seam/ui/SelectDate.java:12: package 
org.jboss.seam.ui.resource does not exist
  | [javac] import org.jboss.seam.ui.resource.WebResource;
  | [javac]   ^
  | [javac] 
/home/paatal/jboss-seam/src/ui/org/jboss/seam/ui/SelectDate.java:103: cannot 
find symbol
  | [javac] symbol  : variable WebResource
  | [javac] location: class org.jboss.seam.ui.SelectDate
  | [javac]  WebResource.WEB_RESOURCE_PATH + 
/date/calendar.js, null);
  | [javac]  ^
  | [javac] Note: Some input files use unchecked or unsafe operations.
  | [javac] Note: Recompile with -Xlint:unchecked for details.
  | [javac] 2 errors
  | 
  | BUILD FAILED
  | /home/paatal/jboss-seam/build.xml:623: Compile failed; see the compiler 
error output for details.
  | 
  | Total time: 12 seconds
  | 
  | 

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

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


[jboss-user] [JBoss jBPM] - Problem: BPEL Designer

2007-02-23 Thread agusgr
Hello,
I' working with Eclipse 3.2.1 and the Eclipse BPEL Designer Runtimes 0.2.0.
The server is jBoss 4.04 GA with jbpm-bpel-1.1.Beta2.
I'm developing a very simple bpel process with an invocation to a external web 
service (the account service of the atm example).
I have the following files:

account.wsdl and client.wsdl: with the operations and messages of the web 
services
processBankArtifacts.wsdl: a file with the partner links definitions.
processBank.bpel:a file whit my procces definition.
I also have a processBank.bpelex file.

processBankArtifacts.wsdl and processBank.bpelex are generated automatically.
I import all the files in the bpel-definition.xml, but when I execute the 
deploy-definition task I foud this error: 

anonymous wrote : 2007-02-23 10:37:11,968 ERROR 
[org.jbpm.bpel.xml.ProblemHandler]  processBank.bpel bpel process is invalid
  | org.jbpm.bpel.xml.BpelException: first role's port type not found 
[/bpws:process/bpws:partnerLinks/bpws:partnerLink[1]]
  | 
The files are:
client.wsdl

  | ?xml version=1.0?
  | definitions name=client
  | targetNamespace=urn:samples:cli 
  | xmlns:tns=urn:samples:cli 
  | xmlns=http://schemas.xmlsoap.org/wsdl/; 
  | xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  | !-- ~
  |  MESSAGE TYPE DEFINITION - Definition of the message types used as 
  |  part of the port type defintions
  |  ~ 
--
  | message name=clientRequestMessage
  | part name=name type=xsd:string/
  | /message
  | message name=clientResponseMessage
  | part name=balance type=xsd:double/
  | /message
  | !-- ~
  |  PORT TYPE DEFINITION - A port type groups a set of operations into
  |  a logical service unit.
  |  ~ 
--
  | !-- portType implemented by the procesoBalance BPEL process --
  | portType name=ClientPort
  | operation name=getBalance
  | input  message=tns:clientRequestMessage /
  | output message=tns:clientResponseMessage/
  | /operation
  | /portType
  | /definitions
  | 
account.wsdl

  | ?xml version=1.0 encoding=UTF-8?
  | definitions targetNamespace=urn:samples:account 
xmlns=http://schemas.xmlsoap.org/wsdl/;
  |   xmlns:tns=urn:samples:account xmlns:typ=urn:samples:account
  |   xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |   xsi:schemaLocation=http://schemas.xmlsoap.org/wsdl/
  |   http://schemas.xmlsoap.org/wsdl/;
  | 
  |   types
  | 
  | schema targetNamespace=urn:samples:account 
xmlns=http://www.w3.org/2001/XMLSchema;
  | 
  |   complexType name=AccountOperation
  | sequence
  |   element name=customerName type=xsd:string /
  |   element name=amount type=xsd:double /
  | /sequence
  |   /complexType
  | 
  | /schema
  | 
  |   /types
  | 
  |   message name=customerMessage
  | part name=customerName type=xsd:string /
  |   /message
  | 
  |   message name=accessMessage
  | part name=granted type=xsd:boolean /
  |   /message
  | 
  |   message name=balanceMessage
  | part name=balance type=xsd:double /
  |   /message
  | 
  |   message name=accountOperation
  | part name=body type=typ:AccountOperation /
  |   /message
  | 
  |   portType name=AccountSystem
  | 
  | operation name=checkAccess
  |   input message=tns:customerMessage /
  |   output message=tns:accessMessage /
  | /operation
  | 
  | operation name=queryBalance
  |   input message=tns:customerMessage /
  |   output message=tns:balanceMessage /
  | /operation
  | 
  | operation name=updateBalance
  |   input message=tns:accountOperation /
  |   output message=tns:balanceMessage /
  | /operation
  | 
  |   /portType
  | /definitions
  | 
processBankArtifacts.wsdl

  | ?xml version=1.0 encoding=UTF-8?
  | definitions xmlns=http://schemas.xmlsoap.org/wsdl/;
  |  xmlns:bpws=http://schemas.xmlsoap.org/ws/2004/03/business-process/;
  | xmlns:plnk=http://schemas.xmlsoap.org/ws/2004/03/partner-link/;
  | xmlns:tns=urn:samples:processArtifacts
  | xmlns:wsdl=urn:samples:account xmlns:wsdl1=urn:samples:cli
  | name=processBankArtifacts 
  | targetNamespace=urn:samples:processArtifacts
  | plnk:partnerLinkType name=Process-Account
  | plnk:role name=Account portType=wsdl:AccountSystem/
  | /plnk:partnerLinkType
  | plnk:partnerLinkType name=Client-Process
  | plnk:role name=Client portType=wsdl1:ClientPort/
  | /plnk:partnerLinkType
  | import location=account.wsdl namespace=urn:samples:account/
  | import location=client.wsdl namespace=urn:samples:cli/
  | /definitions
  | 
  | 
processBank.bpel

  | ?xml version=1.0 

[jboss-user] [JBoss jBPM] - Package-Scope of method Token.signal(Transition, ExecutionCon

2007-02-23 Thread pirx
Hi,

is there a particular reason, why
Token.signal(Transition,ExecutionContext) has only package scope and
is not public ?

I have a usage scenario, where I have to extend the ExecutionContext
for some extra information which must be accessible for Actions
called during the state transition. These extra informations should be
provided during Token.signal(), so the most natural solution seems to 
extend ExecutionContext and cast it to the concrete class in
Action.execute(ExecutionContext).

My question is, whether this method could be made public. Or is there
any better solution for my use case described above ?

thanx 
...roland

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

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


[jboss-user] [JBoss Messaging] - JBM-LDAP Security

2007-02-23 Thread mskonda
Guys, 

excuse me if answered earlier - but wondering the procedure to secure JBM based 
on LDAP? Any pointers are much appreciated!

Thanks
Madhu

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

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


[jboss-user] [JBoss Portal] - problem with deployin

2007-02-23 Thread prisonbreaker
hi everybody,
 I am new to this JBoss Portal. i trying do portlet  tutorial  by 
http://struts.apache.org/2.x/docs/portlet-tutorial-webwork-22.html#PortletTutorial%2528WebWork2.2%2529-intro

 but i am not getting the my page in portal view..
 in log page its showing error like
   
file:/D:/jboss-portal-2.4.1/server/default/tmp/deploy/tmp15843MyPortlet1-exp.war/WEB-INF/
org.jboss.deployment.DeploymentException: Cannot deploy portlet application; - 
nested throwable: (org.jboss.xb.binding.JBossXBException: Failed to parse 
source: No locale info found for EN)
at 
org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.create(PortletAppDeployment.java:162)
at 
org.jboss.portal.server.deployment.jboss.PortalDeploymentInfo$DeploymentContext.create(PortalDeploymentInfo.java:202)
at 
org.jboss.portal.server.deployment.jboss.ServerDeployer.create(ServerDeployer.java:228)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at 
.
...
  129 more

can anyone help me to complete this , 
or
tell me any other good working tutorial on jboss portlet.





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

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


[jboss-user] [Beginners Corner] - How to montir Database connections thru JBoss

2007-02-23 Thread vikas_mavoori
Hi,

I am new to JBoss, Can anyone tell me how to monitor database connections when 
we use JBoss.

Thanks in advance 
Vikas

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

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


[jboss-user] [Beginners Corner] - Re: How to montir Database connections thru JBoss

2007-02-23 Thread [EMAIL PROTECTED]
Easiest thing to do is check out the JMX console

By default, this runs at:

http://host:8080/jmx-console

The console provides an HTML view of all the MBeans running in JBoss. All 
ConnectionPools are MBeans and as a result, you can view the particular 
statistics for the pool. For example, JBoss ships with a default datasource 
configuration with a JNDI name of DefautDS to view the stats for this 
datasource navigate to the console and find the entry

jboss.jca:service=ManagedConnectionPool,name=DefaultDS

selecting this will give you a set of statistics about the pool 
(min/max/inuse). 

You can accomplish the same thing using the twiddle.sh application in your

jboss-root/bin directory but for now the JMX console should give you a start. 




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

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


[jboss-user] [JBoss jBPM] - Hibernate Query To SQL Query Mismatch

2007-02-23 Thread Anandnatraj
I am trying to convert the following SQL to equivalent Hibernate Query.

SELECT ti.id_, ti.name_, t.processinstance_, pi.processdefinition_
  FROM jbpm_taskinstance ti, jbpm_token t, jbpm_processinstance pi
 WHERE ti.token_ = t.id_
   AND t.processinstance_ = pi.id_
   AND pi.processdefinition_ = 1474
   AND ti.name_ = 'Initiate Swap'
   AND ti.isopen_ = 0
This query is given 1 record from the DB

But when I am trying the equivalent Hibernate query it is not giving any 
results. (No one has deleted the data in the meantime, though ;-)

SELECT ti
FROM org.jbpm.taskmgmt.exe.TaskInstance ti join ti.token  tok join 
tok.processInstance  pi
WHERE 
pi.processDefinition = (:processDefinitionId)
   AND ti.name = (:name)
   AND ti.isOpen = (:state)
I have set the same values for the parameters.


By any choice am I missing any basic elements?


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

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


[jboss-user] [JBoss Seam] - Re: Seam Maven2

2007-02-23 Thread fip
I tried your archetypes, but when I tried to run mvn jetty:run (without 
changing the newly created project), I ended up with the following exception.
Anyone else ever had this problem? I'm a bit lost at the moment on where to 
look for the error.

Cheers


  | org.apache.maven.lifecycle.LifecycleExecutionException: Failure
  | at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
  | at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
  | at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
  | at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
  | at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
  | at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
  | at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:393)
  | at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:182)
  | at 
org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:747)
  | at org.apache.maven.cli.MavenCli.main(MavenCli.java:380)
  | 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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
  | at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
  | at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
  | at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
  | Caused by: org.apache.maven.plugin.MojoExecutionException: Failure
  | at 
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:340)
  | at 
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:272)
  | at 
org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:177)
  | at 
org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183)
  | at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417)
  | at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
  | ... 17 more
  | Caused by: java.lang.RuntimeException: exception invoking: startup
  | at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:112)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:1835)
  | at org.jboss.seam.Component.callCreateMethod(Component.java:1783)
  | at org.jboss.seam.Component.newInstance(Component.java:1772)
  | at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:163)
  | at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:156)
  | at 
org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:135)
  | at org.jboss.seam.init.Initialization.init(Initialization.java:452)
  | at 
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
  | at 
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:450)
  | at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1129)
  | at 
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:420)
  | at 
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:457)
  | at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
  | at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
  | at 
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)
  | at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
  | at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
  | at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
  | at 
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:119)
  | at org.mortbay.jetty.Server.doStart(Server.java:210)
  | at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
  | at 
org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:134)
  | at 
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:327)
  | ... 22 more
  | Caused by: java.lang.reflect.InvocationTargetException
  | at 

[jboss-user] [JBoss Seam] - Re: Seam Maven2

2007-02-23 Thread fers
To fip: it should be resolved now. I was trying to upgrade JBoss Microcontainer 
but it was not working. 

You may need to remove part of your mave repository:
rm ~/.m2/repository/jboss/* -r



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

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


[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-23 Thread petemuir
Also, I'll see if I can replicate the problem by restructuring the mail example 
along the ear layout you've described above.  If you could post your 
application.xml that would help with this :)

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

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


[jboss-user] [JBoss Seam] - s:fileUpload whit portal

2007-02-23 Thread ppassantini
Anyone knows if the seam component s:fileUpload/ work whit JBoss Portal? I 
need to upload a file to Jackrabbit Repository using Seam Framework running on 
Portlet!
Anyone knows another way to solve this problem?

thanks for any help!

Peter

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

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


[jboss-user] [JCA/JBoss] - Re: idle time out question

2007-02-23 Thread [EMAIL PROTECTED]
arparikh wrote : 
  | Below is the code where we call getConnection to the connection object. We 
are getting NullPointer where we do conn.close(). The thing that I am wondering 
is if we are getting null conn, we should get null pointer at 
conn.setAutoCommit in getConnection or conn.createStatement. But instead we are 
getting on conn.close
  | 
  | public void doSelect(String p_sql, int[] p_dataTypes) throws DBException
  | {
  | Connection conn = null;
  | try
  | {
  | conn = DBConnMgr.getInstance().getConn(this.m_resourceId);
  | }
  | finally
  | {
  | try
  | {
  | }
  | finally
  | {
  | try
  | {
  |conn.close();
  | }
  | catch (SQLException se)
  | {
  | m_logger.info(Failed to close DB connection);
  | } 
  | }
  | }
  | }
  | 
  | Thanks for the assistance

This is a basic java question. What do you think happens
when getConn() throws an exception? Do you think it still invokes
the finally block(s)?

Here are the correct patterns:

1) Allocate before entering try/finally

  | Connection c = allocateConnection();
  | try
  | {
  | }
  | finally
  | {
  |// c cannot be null
  |c.close();
  | }
  | 

2) Allocate inside the try block (because you want only one catch block)
Therefore you must check in the finally whether you actually got a connection

  | Connection c = null;
  | try
  | {
  |c = allocateConnection();
  | }
  | catch (SQLException e)
  | {
  | }
  | finally
  | {
  |// c could be null if allocateConnection() threw an exception
  |if (c != null)
  |   c.close();
  | }
  | 


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

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


[jboss-user] [JCA/JBoss] - Re: idle time out question

2007-02-23 Thread [EMAIL PROTECTED]
Incidently, if the code were:

  | Connection c; // no initalizer
  | try
  | {
  |c = allocateConnection();
  | }
  | catch (SQLException e)
  | {
  | }
  | finally
  | {
  |c.close();
  | }
  | 

Most good compilers will fail to compile it, because it will tell you that 
c could be uninitalized in the finally block usage.

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

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


[jboss-user] [JBoss jBPM] - jBPM BPEL Eclipse Process Designer interworking

2007-02-23 Thread frostp
Has anybody managed to get a BPEL process designed using the eclipse process 
designer deploying on to jBoss+BPEL?

Alternatively, has anybody managed to read in the example processes (Hello, ATM 
et al) into the process designer to show anything other than a start point and 
an end point?

Currently, I think I will need to write the BPEL script by hand. Is this 
correct?
regards

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

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


[jboss-user] [JCA/JBoss] - Re: autocommit question

2007-02-23 Thread [EMAIL PROTECTED]
Actually, the real issue is that JBoss's jdbc resource adapter
keeps track of the auto-commit state itself so it can optimize its usage:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJCALazyAutoCommit

Part of that, is the assumption that all connections are in 
getAutoCommit()==true
state when they are created (as per spec).

Support for this anti-spec behaviour would require the JBoss JDBC
resource adapter to do a getAutoCommit() on every new connection
rather than assuming a value of true.

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

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


[jboss-user] [JCA/JBoss] - Re: autocommit question

2007-02-23 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | Support for this anti-spec behaviour would require the JBoss JDBC
  | resource adapter to do a getAutoCommit() on every new connection
  | rather than assuming a value of true.
  | 

Yes. The code appears to assume the autocommit setting to be false on 
connection creation, clearly a violation.

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

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


[jboss-user] [Installation, Configuration Deployment] - Error deploying jboss - Incomplete Deployment listing

2007-02-23 Thread liss_jboss
Hi everyone,

I'm having a problem and your help would be great!
I generated a ear file that contains the following estructure:

File.ear
/META-INF
/META-INF/application.xml
/META-INF/jboss-app.xml
/lib
/lib/c.jar
/lib/d.jar
my-to.jar
my-bo.jar
my-dao.jar

All this java modules are specified at application.xml.

However, when I start jboss, two things happens:

1. My application is not able to find classes on my-to.jar, my-bo.jar and 
my-dao.jar, even if they're declared at application.xml. So, I put this files 
at lib directory of my server default. And it worked!!!

2. An error occur while deploying it, see log:


  |  10:01:46,828 INFO  [EARDeployer] Started J2EE application: 
file:/C:/jboss-3.2.6/server/default/deploy/File.ear
  |  10:01:46,828 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  |  Packages waiting for a deployer:
  |  [EMAIL PROTECTED] { 
url=file:/C:/jboss-3.2.6/server/default/tmp/deploy/tmp31187File.ear-contents/my-bo.jar
 }
  |deployer: null
  |status: Starting
  |state: START_SUBDEPLOYMENTS
  |watch: 
file:/C:/jboss-3.2.6/server/default/tmp/deploy/tmp31187File.ear-contents/my-bo.jar
  |lastDeployed: 1172235657734
  |lastModified: 1172235653078
  |mbeans:
  |  
  |  [EMAIL PROTECTED] { 
url=file:/C:/jboss-3.2.6/server/default/tmp/deploy/tmp31187File.ear-contents/my-dao.jar
 }
  |deployer: null
  |status: Starting
  |state: START_SUBDEPLOYMENTS
  |watch: 
file:/C:/jboss-3.2.6/server/default/tmp/deploy/tmp31187File.ear-contents/my-dao.jar
  |lastDeployed: 1172235657734
  |lastModified: 1172235653093
  |mbeans:
  |  
  |  [EMAIL PROTECTED] { 
url=file:/C:/jboss-3.2.6/server/default/tmp/deploy/tmp31187File.ear-contents/my-to.jar
 }
  |deployer: null
  |status: Starting
  |state: START_SUBDEPLOYMENTS
  |watch: 
file:/C:/jboss-3.2.6/server/default/tmp/deploy/tmp31187File.ear-contents/my-to.jar
  |lastDeployed: 1172235657734
  |lastModified: 1172235653093
  |mbeans:
  |  
  |  [EMAIL PROTECTED] { 
url=file:/C:/jboss-3.2.6/server/default/tmp/deploy/tmp31187File.ear-contents/lib/ajaxtags-1.2-beta2.jar
 }
  |deployer: null
  |status: Starting
  |state: START_SUBDEPLOYMENTS
  |watch: 
file:/C:/jboss-3.2.6/server/default/tmp/deploy/tmp31187File.ear-contents/lib/ajaxtags-1.2-beta2.jar
  |lastDeployed: 1172235657750
  |lastModified: 1172235653109
  |mbeans:
  | 

I'm using jboss 3.2.6.

Thank you.
LISS

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

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


[jboss-user] [JBossCache] - can i replicate tree cache instance in all machines in a clu

2007-02-23 Thread mvrck1208


Hi,

I am using JBOSS 4.0.5.GA and jboss-cache-dist-1.4.1.GA

can i replicate tree cache instance in all machines in a cluster for every 5 
minutes(not every time when chenge takes place).if i need to use 
ReplicationQueue(by setting the interval of replication queue) please let me 
how can i use ReplicationQueue.

 Thanks.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Servlet destroy() method not called when using Jboss Service

2007-02-23 Thread hskiran
Hello All,

I have an StartUpServlet, with some cleanup code in the destroy() method. On 
normal shutdown of the application server (e.g using crtl+c) the destroy method 
is called, but while stopping the Jboss using Service (e.g net stop jboss), the 
destroy method is not called.

Any opinion as why this is happening?

Thanks and Regards,
Shashi Kiran

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

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


[jboss-user] [JBoss Seam] - Re: DataModelSelection property not set after using the back

2007-02-23 Thread pnorman4
That's it!! I'm reloading the list when entering detail view. Of cours I can't 
go back to thelist again. Completely logical now when I see it.

I removed the updateListItems() call and now it works!!

You're my hero! 

Per

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

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


[jboss-user] [JBoss jBPM] - Re: jbpmContext in Web Application

2007-02-23 Thread symmetrysolutions
Not really, I see the workflow as a container for managing a long running 
transaction which may may have different users or different operations acting 
upon it within its life cycle.

The issue is not one of cache but one where at any one wait state the Web 
application needs to maintain the task, use/set variables on that task and then 
signal it to move on. While it is in one wait state it is not a single page 
operation that is getting/setting the values. I really do not want to have to 
copy the values out of the task into another container and then copy them back 
in when I want to save the task. The task is the container that maintains state 
so why should I not be able to hold on to it across contexts.

When the default persistence is used, a task or process instance within jBPM 
seems to be closely coupled to a transaction which is not typical for a 
workflow engine. It is not a criticism just an observation and one that the 
developer needs to be aware of and design their application to handle. Of 
course I could write my own persistence but then I would lose all of the hard 
work the JBPM team has put in.

The behavior I was expecting was that if I used one of the ForUpdate methods 
then the instance was closely coupled to a transaction. If I simply loaded it 
then I was responsible for saving it but could do so across any context.

I am just trying to fully understand the operations that effect design 
decisions within my applications when I use jBPM. I still plan on using it as I 
am a big supporter of anything from JBoss.

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

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


[jboss-user] [JBoss Seam] - Re: Seam Maven2

2007-02-23 Thread fip
Thanks for your reply, fers, I deleted the jboss artifacts from my repository 
an created a new project using your archetype. Now I get a bit further but run 
into another exception, is there anything else that might not be up-to-date and 
should be deleted from the local repository?

org.apache.maven.lifecycle.LifecycleExecutionException: Failure
  | at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
  | at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
  | at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
  | at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
  | at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
  | at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
  | at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:393)
  | at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:182)
  | at 
org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:747)
  | at org.apache.maven.cli.MavenCli.main(MavenCli.java:380)
  | 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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
  | at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
  | at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
  | at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
  | Caused by: org.apache.maven.plugin.MojoExecutionException: Failure
  | at 
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:340)
  | at 
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:272)
  | at 
org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:177)
  | at 
org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183)
  | at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417)
  | at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
  | ... 17 more
  | Caused by: java.lang.IllegalStateException: Failed to create schema loader: 
org.apache.xerces.dom.DOMXSImplementationSourceImpl
  | at org.jboss.xb.binding.Util.getXSImplementation(Util.java:420)
  | at org.jboss.xb.binding.Util.loadSchema(Util.java:269)
  | at 
org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:103)
  | at 
org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:90)
  | at 
org.jboss.kernel.plugins.deployment.xml.BeanSchemaBinding.readXsd(BeanSchemaBinding.java:997)
  | at 
org.jboss.kernel.plugins.deployment.xml.BeanSchemaBinding.getSchemaBinding(BeanSchemaBinding.java:211)
  | at 
org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.init(BeanXMLDeployer.java:34)
  | at 
org.jboss.kernel.plugins.bootstrap.standalone.StandaloneBootstrap.bootstrap(StandaloneBootstrap.java:65)
  | at 
org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:87)
  | at 
org.jboss.kernel.plugins.bootstrap.standalone.StandaloneBootstrap.main(StandaloneBootstrap.java:46)
  | at 
org.jboss.seam.core.Microcontainer.startup(Microcontainer.java:31)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:1835)
  | at org.jboss.seam.Component.callCreateMethod(Component.java:1783)
  | at org.jboss.seam.Component.newInstance(Component.java:1772)
  | at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:163)
  | at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:156)
  | at 
org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:135)
  | at org.jboss.seam.init.Initialization.init(Initialization.java:452)
  |

[jboss-user] [Installation, Configuration Deployment] - JBoss send Email with external IP -- Firewall Problem

2007-02-23 Thread JunkzTheGoblin
Hi dear Community,

My name is Bastian and I have a strange problem with my application. I setup 
JBoss on a japanese server. One server for the JBoss itself (192.168.0.60) and 
another server with a database(192.168.0.61). These two servers where behind a 
firewall which opend port 80 for incoming HTTP requests. 
The JBoss is connected to the Apache with mod_jk. 
Everything works fine. I can call the portal from outside in my office in 
Europe 
and from inside the server as well. Normally I choose the database server to 
test if everything works fine. I connect via RemoteDesktop to the japanese 
server. 
My Application has a resend password funktion, that call the java:/mail 
(mail-service.xml) funktion in JBoss to connect to an external mailserver also 
located in japan. And here I get my problem, when I resend the email from the 
inside database server or the JBoss server itself via a browser, JBoss connects 
to the email server an I receive a email. 

There he send the email when started from inside the firewall. 

java.exe:4660   TCP pcom01:2466 g101.secure.ne.jp:imap  ESTABLISHED 
java.exe:4660   TCP pcom01:2467 g101.secure.ne.jp:587   ESTABLISHED 


If I do that from my browser in europe or usa, I get a refused connection error 
in the JBoss console.

Here he tries to connect to himself (with 
-Djava.rmi.server.hostname=192.168.0.60) but witout this string too..:/

java.exe:4660   TCP (src)pcom01:2542(rmt)pcom01:http
SYN_SENT


I have done some research about that behaviour here in the forum and the wiki 
for quite a week now. The most issues I found were about firewall problems with 
java clients, they can't connect because the ports for RMI or so where not 
open. 
Also the wiki article about JBoss behind a firewall does not seem to match to 
my problem. 
I used TCPview to see what is going on at that moment JBoss received my 
request. 
If JBoss receive the request to send the email from inside his subnet, he open 
the connection directly to the mailserver. When I try this from my office or 
some other machine via internet TCPview shows me that JBoss tries to connect to 
himself using the external ip from the firewall. But JBoss cannot know the 
external IP by himself because he cannot connect to the external IP from 
inside. So I think JBoss takes the client remote address and replaces its own 
with it.

I tried to change the bind port of JBoss and the Java:/Mail without success.
I tried a guide in an article from this forum where to change the settings in 
the hosts file, but didn't worked too :|

I know when I make the external IP from the firewall visible for JBoss, the 
problem would disapper, but this is an unprofessional way my administration 
team told me.
Is there any way that I can tell JBoss not to replace it's IP with the one from 
the client who is doing the request? 

I am using JBoss 4.0.3 and he runs on a W2k3 Standard Edition.
Please don't punish me if have forgot a important thing to tell, but I think 
thats all I can say for now.

Thanks for any help
Bastian

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

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


[jboss-user] [Clustering/JBoss] - Re: Pooling in Buddy Replication

2007-02-23 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | It seems here that application has data backed up on node3 and node4 (which 
are from pool2) 
  | 

What makes you think this is the case?  A good way to tell is to use the JMX 
console on each node and dump cache contents to see where the data is and where 
the backups are.

In your scenario, you have:

Pool1: node1, node2
Pool2: node3, node4

When you use the app (assume you start on node2 as your example suggests) your 
state is backed up on node1 since it is in the same pool.

When you kill node2, your app continues to work since the state is available on 
node1.

Now node1 NEEDS a new backup node.  Since there are no other nodes in pool1, it 
is forced to pick a node from elsewhere (such as in pool2).

Basically, these pools are only _hints_ on how to select a backup node.  The 
algorithm is:

1)  Try and select buddy from same pool, on different host.
2)  Else, try and select buddy from same pool, on same host.
3)  Else, try and select buddy from different pool, on different host.
4)  Else, try and select buddy from different pool, on same host.
5)  Finally fall back to no buddy.

See NextMemberBuddyLocator.locateBuddies() for details of how this is 
implemented.


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

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


[jboss-user] [JBoss jBPM] - Re: jBPM BPEL Eclipse Process Designer interworking

2007-02-23 Thread frostp
Maybe it would help if I specified the version numbers:

eclispe WTP 1.5.2 (bundle) with BPEL editor/model 0.2.0 plugin
jBoss 4.0.4.GA
jBPM-BPEL-1.1.beta3
jdk-1.5.0_11

cheers



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

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


[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-23 Thread bsmithjj
I'll try to find some time this weekend to create something similar - it isn't 
going to be easy.  In each method call, there is typically some persistence 
work, some jBPM work, followed by an attempt to send the email.  It will be 
tricky to provide a sample that does all that

Thanks,
Brad Smith

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

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


[jboss-user] [JBoss Seam] - Re: problem with the h:column rendered attribute

2007-02-23 Thread mjek2
If you want to hide the entire row (not just a cell) based on certain 
conditions I think you should do it in your java code (backing bean or so)

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

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


[jboss-user] [JBoss Seam] - Where should no-conversation-view-id be set?

2007-02-23 Thread lawrieg
Hi,

My seam-gen generated app has no-conversation-view-id set in two places:

1. components.xml
core:pages no-conversation-view-id=/home.xhtml/

2. pages.xml
pages no-conversation-view-id=/home.xhtml
  |  login-view-id=/login.xhtml

Is this necessary? If not, in which of these files should I be configuring this?

Thanks,

Lawrie

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

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


[jboss-user] [JBoss Portal] - Re: Installed JbossAS+Portal 2.4.1 Bundle what to convert to

2007-02-23 Thread nataleja
Just to try it out I went from the non-working Oracle back to Hypersonic.  
Portal Works without error.  I then made it go to MySQL which I also have 
installed local to JBoss and it also works fine.  Switch back to Oracle CMS 
error.

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

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


[jboss-user] [JBoss Portal] - Re: Installed JbossAS+Portal 2.4.1 Bundle what to convert to

2007-02-23 Thread [EMAIL PROTECTED]
Did you start again with a clean jbossportal database on your Oracle server ?

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

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


[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-23 Thread petemuir
Just to check, you're calling Renderer.instance().render(template) from a 
method that has been called directly from JSF not via a JBPM action (or some 
other indirect method e.g. Events) - i.e. the render is by the method called 
from JSF or by a method it calls etc.

I know there are issues calling Renderer.render() from JBPM (which I need to 
work through)

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

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


[jboss-user] [JBoss Seam] - Problem w/ 1.1.6 example Security Rules

2007-02-23 Thread JohnEChesher
I had a working Seam 1.1.6 application to which I added the jars and 
configuration to implement Seam Security, per the 1.1.6 reference doc.  Just to 
see if everything was configured properly, before I configured any application 
specific rules, I used the security.drl file from the example in the ref doc:

package MyApplicationPermissions;

import org.jboss.seam.security.PermissionCheck;
import org.jboss.seam.security.Role;

rule CanUserDeleteCustomers
when
  c: PermissionCheck(name == customer, action == delete)
  Role(name == admin)
then
  c.grant()
end;   

JBoss AS startup looks fine, but when my browser tries to load the first page 
of the app, I get the following error below about c.grant() not a type.  FYI, 
I have no permission checks in the page my browser is loading. (and in fact, it 
finally loads OK)  Can anyone provide insight into the error below and, even 
better, provide some example Seam-Drools code that is doing permission checks, 
so that maybe I have something better to work with.  I am new to drools/JBoss 
Rules and, other than the Seam Ref Doc, I cannot find any references to Seam 
Security Drools code doing PermissionChecks...
Thanks!

Here's the error:

08:21:05,500 INFO  [Lifecycle] starting up: org.jboss.seam.security.identity
08:21:07,625 ERROR [STDERR] Warning: An error occurred compiling a semantic 
invoker. Errors should have been reported elsewhere.
08:21:07,687 ERROR [[/]] Session event listener threw exception
org.drools.rule.InvalidRulePackage: Rule Compilation error File 
MyApplicationPermissions/Rule_CanUserDeleteCustomers_0.java, Line 9, Column 16: 
Expression c.grant() is not a type

at org.drools.rule.Package.checkValidity(Unknown Source)
at org.drools.common.AbstractRuleBase.addPackage(Unknown Source)
at org.jboss.seam.drools.RuleBase.compileRuleBase(RuleBase.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
at org.jboss.seam.Component.callComponentMethod(Component.java:1835)
at org.jboss.seam.Component.callCreateMethod(Component.java:1783)
at org.jboss.seam.Component.newInstance(Component.java:1772)
at org.jboss.seam.Component.getInstance(Component.java:1669)
at org.jboss.seam.Component.getInstance(Component.java:1636)
at 
org.jboss.seam.security.Identity.initSecurityContext(Identity.java:109)
at org.jboss.seam.security.Identity.create(Identity.java:84)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
at org.jboss.seam.Component.callComponentMethod(Component.java:1835)
at org.jboss.seam.Component.callCreateMethod(Component.java:1783)
at org.jboss.seam.Component.newInstance(Component.java:1772)
at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:163)
at org.jboss.seam.contexts.Lifecycle.beginSession(Lifecycle.java:223)
at 
org.jboss.seam.servlet.SeamListener.sessionCreated(SeamListener.java:41)
at 
org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:384)
at 
org.apache.catalina.session.StandardSession.setId(StandardSession.java:356)
at 
org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:824)
at 
org.apache.catalina.session.StandardManager.createSession(StandardManager.java:290)
at org.apache.catalina.connector.Request.doGetSession(Request.java:2223)
at org.apache.catalina.connector.Request.getSession(Request.java:2024)
at 
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:831)
at 
org.apache.myfaces.context.servlet.ServletExternalContextImpl.getSession(ServletExternalContextImpl.java:197)
at 
org.jboss.seam.contexts.ContextAdaptor.getSession(ContextAdaptor.java:42)
at org.jboss.seam.contexts.Lifecycle.beginRequest(Lifecycle.java:42)
at 
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:53)
at 
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70)
at 
org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:103)
at 

[jboss-user] [EJB 3.0] - @RemoteBinding doesn't work?

2007-02-23 Thread yararaca
Hi,
I am using JBoss 4.0.4.GA. I deploy my JAR containing EJBs in EAR archive. The 
JNDI name of my beans gets prefixed by the EAR name by default. I want to 
override this behaviour to have the JNDI name independent from the EAR name.
I thought that the @RemoteBinding(jndiBinding=someJNIDIName) is just what i 
need, but it doesn't seem to take any effect at all?

This is my code:

  | @Stateless
  | @RemoteBinding(jndiBinding=someJNIDIName)
  | public class DemoBean implements DemoRemote {
  | // some methods
  | }
  | 

result in JNDI view in jmx console:

  |   +- myear (class: org.jnp.interfaces.NamingContext)
  |   |   +- DemoBean (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- remote (proxy: $Proxy77 implements interface 
uk.co.rubicon.test.DemoRemote,interface org.jboss.ejb3.JBossProxy,interface 
javax.ejb.EJBObject)
  | 

The jndi name stays the same (default) no matter what I do. Anybody has a clue 
what am i doing wrong?

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

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


[jboss-user] [Remoting] - Re: JBoss Remoting JDK 6.0 situation deadlock

2007-02-23 Thread alexg79
I just tried to launch my app via Java Web Start, and while running it I got a 
familiar looking exception. Here's the stack trace:

  | java.lang.reflect.UndeclaredThrowableException
  | at $Proxy1.getList(Unknown Source)
  | at 
fi.karico.etikettu.client.view.editor.ProductEditor$ListTableRefreshTask.refreshModelData(ProductEditor.java:6350)
  | at 
fi.karico.etikettu.client.view.task.TableRefreshTask.runBackground(TableRefreshTask.java:39)
  | at fi.karico.etikettu.client.view.task.SwingTask.run(SwingTask.java:30)
  | at 
fi.karico.etikettu.client.view.task.TaskManager.run(TaskManager.java:150)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: java.lang.ClassNotFoundException: [Ljava.lang.Object;
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | at com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:255)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at 
org.jboss.remoting.loading.RemotingClassLoader.loadClass(RemotingClassLoader.java:50)
  | at 
org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:139)
  | at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
  | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
  | at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1624)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
  | at java.util.ArrayList.readObject(ArrayList.java:593)
  | 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:597)
  | at 
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
  | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
  | at 
org.jboss.aop.joinpoint.InvocationResponse.readExternal(InvocationResponse.java:122)
  | at 
java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
  | at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
  | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
  | at 
org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:128)
  | at 
org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66)
  | at 
org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
  | at 
org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
  | at org.jboss.remoting.Client.invoke(Client.java:525)
  | at org.jboss.remoting.Client.invoke(Client.java:488)
  | at 
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:61)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:55)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102)
  | at $Proxy1.getList(Unknown Source)
  | at 
fi.karico.etikettu.client.view.editor.ProductEditor$ListTableRefreshTask.refreshModelData(ProductEditor.java:6350)
  | at 

[jboss-user] [Remoting] - Re: JBoss Remoting JDK 6.0 situation deadlock

2007-02-23 Thread alexg79
I just tried to launch my app via Java Web Start, and while running it I got a 
familiar looking exception. Here's the stack trace:

  | java.lang.reflect.UndeclaredThrowableException
  | at $Proxy1.getList(Unknown Source)
  | at 
fi.karico.etikettu.client.view.editor.ProductEditor$ListTableRefreshTask.refreshModelData(ProductEditor.java:6350)
  | at 
fi.karico.etikettu.client.view.task.TableRefreshTask.runBackground(TableRefreshTask.java:39)
  | at fi.karico.etikettu.client.view.task.SwingTask.run(SwingTask.java:30)
  | at 
fi.karico.etikettu.client.view.task.TaskManager.run(TaskManager.java:150)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: java.lang.ClassNotFoundException: [Ljava.lang.Object;
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | at com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:255)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at 
org.jboss.remoting.loading.RemotingClassLoader.loadClass(RemotingClassLoader.java:50)
  | at 
org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:139)
  | at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
  | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
  | at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1624)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
  | at java.util.ArrayList.readObject(ArrayList.java:593)
  | 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:597)
  | at 
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
  | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
  | at 
org.jboss.aop.joinpoint.InvocationResponse.readExternal(InvocationResponse.java:122)
  | at 
java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1792)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1751)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
  | at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
  | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
  | at 
org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:128)
  | at 
org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66)
  | at 
org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
  | at 
org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
  | at org.jboss.remoting.Client.invoke(Client.java:525)
  | at org.jboss.remoting.Client.invoke(Client.java:488)
  | at 
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:61)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:55)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102)
  | at $Proxy1.getList(Unknown Source)
  | at 
fi.karico.etikettu.client.view.editor.ProductEditor$ListTableRefreshTask.refreshModelData(ProductEditor.java:6350)
  | at 

[jboss-user] [JBoss Seam] - DataModel selection not getting outjected

2007-02-23 Thread [EMAIL PROTECTED]
Hi, 

I am using Seam 1.0.0 

I have a seam managed session bean in which I have declared a datamodel and its 
factory method.

@Out(required = false)
  | @DataModel
  | private ListAnalysisSummaryReadingsUI analysisSummaryReadingsUIList;
  | 
  | @Out(required = false)
  | @DataModelSelection(value = analysisSummaryReadingsUIList)
  | private AnalysisSummaryReadingsUI analysisSummaryReadingsUI;
  | 
  | @Factory(analysisSummaryReadingsUIList)
  | public void populateAnalysisSummaryList()
  | {
  | // code here
  | }
  | 

When I click a row of this datamodel on UI, a method is called in the same bean 
only.



  | public String showCategoryGraph()
  | {
  | print(analysisSummaryReadingsUI);
  | Events.instance().raiseEvent(populateGraphPath);
  | }
  | 

The print function gives the expected values of analysisSummaryReadingsUI 
after which event is raised to execute another method from another bean. This 
bean injects the same variable and makes use of the clicked row 
(DataModelSelection).


  | @In
  | private AnalysisSummaryReadingsUI analysisSummaryReadingsUI;
  | 
  | @Factory(chartPath)
  | public void populateGraphPath()
  | {
  |logger.debug(helper.formatLogMessage(In factory method));
  |   calculateGraphValues();
  | }
  | 
  | private void calculateGraphValues()
  | {
  |print(analysisSummaryReadingsUI);
  | }
  | 


But this print function is giving me values of the first row of the datamodel 
instead of the clicked row. 

Both the beans are is Session scope and seam managed. 

What is going wrong here ? 

Regards, 

Suraj

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

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


[jboss-user] [JBoss Messaging] - Re: 1.2.0.CR1 transparent node failover does not always work

2007-02-23 Thread timfox
bander-

I am trying to understand why you're example uses an exception listener to 
catch exceptions, and recreate the connections etc?

Of course this should work, but one of the main reasons for transparent failure 
is so you can avoid doing things like that.

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6 Alpha 2 Release

2007-02-23 Thread swestbom
With cream and sugar on top?

Ok, will do

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

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


[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-23 Thread bsmithjj
sample Render calls...

This method is in a SFSB - user clicks a link in UI:  (this one works!)

  | public String dsaProvision() {
  |  
  | TaskInstance task = jbpmContext.getTaskInstance(taskId.longValue());
  | 
  | // Update the decision
  | Contexts.getEventContext().set(accessRequest, accessRequest);
  | String result = accessRequestProvisioner.applyAccessRequestToUser();
  | if (!success.equals(result)) {
  | log.warn(There was a problem provisioning the user from the 
access request.);
  | return null;
  | }
  | 
  | EvergreenUser accessRequestUser = 
QueryEPeopleUtil.findUserByUid(accessRequest.getUserId());
  | Contexts.getEventContext().set(
  | accessRequestUser,
  | accessRequestUser
  | );
  | 
  | // Send an email to the user and requester of the access request to 
let them know the request is done
  | 
  | if 
(TerminationRequestManager.TerminationId.equals(accessRequest.getRequesterUserId()))
 {
  | // termination request - only notify UserManager...
  | // TODO - implement this
  | } else {
  | if 
(!accessRequest.getRequesterUserId().equals(accessRequest.getUserId())) {
  | Contexts.getEventContext().set(
  | accessRequestRequestor,
  | 
QueryEPeopleUtil.findUserByUid(accessRequest.getRequesterUserId())
  | );
  | 
//mailSenderBean.sendEmailMessage(EmailTemplateType.AccessRequestCompleteRequestor.getTemplateFilePath());
  | }
  | // always notify user for whom request has been provisioned
  | 
mailSenderBean.sendEmailMessage(EmailTemplateType.AccessRequestCompleteUser.getTemplateFilePath());
  | }
  | 
  | // Signal the task to move to next process in the work flow
  | task.end(provision application);
  | 
  | // Force a reload of the work queue
  | EventType.AccessRequestSaved.name());
Events.instance().raiseEvent(EventType.AccessRequestSaved.name());
  | return success;
  | }
  | 
  | 

MailSenderBean is a SLSB 


  | @Stateless
  | @Name(mailSenderBean)
  | public class MailSenderBean implements MailSender {
  | 
  | private Log log = LogFactory.getLog(MailSenderBean.class);
  | 
  | @In(required=false)
  | private EmailMessage emailMessage;
  | 
  | //@Resource(mappedName = java:/Mail)
  | @In(create = true)
  | private Session mailSession;
  | 
  | @PersistenceContext(unitName = accessControlDatabase)
  | private EntityManager em;
  | 
  | @In(create = true)
  | private Renderer renderer;
  | 
  | 
  | 
  | public String sendEmailMessage(String templateFile) {
  | try {
  | log.info(sending email:  +templateFile);
  | renderer.render(templateFile);
  | log.info(...mailt sent(?));
  | return success;
  | 
  | } catch (Exception e) {
  | log.error(e,e);
  | }
  | return null;
  | }
  | 
  | }
  | 

The SFSB call above is succeeding;  what's really confusing is that another 
method in the same SFSB (shown below) is failing using an almost identical 
execution path and context (user clicks a link in a UI, etc...)

This method is in a SFSB - user clicks a link in UI:  (this one fails!)


  | public String userManagerApproveAccessRequest() {
  | TaskInstance task = jbpmContext.getTaskInstance(taskId.longValue());
  | //Long accessRequestId = (Long) 
task.getContextInstance().getVariable(accessRequestId);
  | 
  | // Update the status to user manager approved
accessRequest.setRequestStatus(AccessRequestStatus.UserManagerApproved);
  | 
  | // Update the decision
  | AccessRequestDecision decision = 
accessRequest.getUserManagerDecision();
  | decision.setDecision(AccessRequestStatus.UserManagerApproved);
  | em.merge(decision);
  | em.merge(accessRequest);
  | 
  | // contextual email data
  | Contexts.getEventContext().set(
  | accessRequest,
  | accessRequest
  | );
  | Contexts.getEventContext().set(
  | accessRequestUser,
  | QueryEPeopleUtil.findUserByUid(accessRequest.getUserId())
  | );
  | mailSender.sendEmailMessage(
  | 
EmailTemplateType.AccessRequestCompleteUser.getTemplateFilePath()
  | );
  | //  NOTE - I'm using the same mail template for troubleshooting...
  | // Signal the task to move to next process in the work flow
  | task.end(approve);
  | // This event forces a reload of the work queue (in what component?)
  | Events.instance().raiseEvent(EventType.AccessRequestSaved.name());
  | return approve_success;
  | 
  | }
  | 
  | 

if you 

[jboss-user] [EJB 3.0] - Re: eager vs. lazy fetching

2007-02-23 Thread eiben
I see ... even though I'm not 100% satisfied with this answer :). As you 
figured, I wouold like to have a better integration into the presentation-layer.

Then again: I'm currently working on a research-project, where I want to 
compare two different web-application-platforms (java vs. php), so I'm writing 
a little app on both platforms. Using Seam would seam to me too much work ... 
since I'm quite new to java, and I can't spend all of my to coding java (even 
though, that's the most fun part to me!)

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

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


[jboss-user] [JBoss jBPM] - Problems using MySQL db

2007-02-23 Thread mimi79
Hello all,

I just started to study jBPM and I have some problems running the example from 
the JbpmGettingStarted.

I'm using a mySQL database - I made the configurations as indicated in the 
userguide.
The problem is that, after starting the server, when accessing the URL 
 http://localhost:8080/jbpm/
I have an empty combo-box in the login page (no users).

Do you have any ideas what the problem might be?

I also tried to follow the steps described in 
jbpm-starters-kit-3.1.4\jbpm-db\readme.html - I found the follosing problem in 
the test results :

com/mchange/v2/c3p0/PoolConfig

java.lang.NoClassDefFoundError: com/mchange/v2/c3p0/PoolConfig
at 
org.hibernate.connection.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:84)
at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
at 
org.hibernate.tool.hbm2ddl.SchemaExport$ProviderConnectionHelper.getConnection(SchemaExport.java:466)
at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:183)
at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:135)
at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.createSchema(DbPersistenceServiceFactory.java:108)
at org.jbpm.JbpmConfiguration.createSchema(JbpmConfiguration.java:415)
at org.jbpm.JbpmConfiguration.createSchema(JbpmConfiguration.java:407)
at org.jbpm.db.AbstractDbTestCase.createSchema(AbstractDbTestCase.java:122)
at org.jbpm.db.AbstractDbTestCase.setUp(AbstractDbTestCase.java:55)


Any help would be appreciated!
Thank you!


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

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


[jboss-user] [JBoss Seam] - Rich Text Editor

2007-02-23 Thread fady.matar
I would like to hear somebody's suggestions about using a rich text editor with 
Seam. I don't like the Tomahawk library besides it has a lot of bugs when used 
with seam.
Any suggestions?

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

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


[jboss-user] [JBoss Seam] - Re: DataModel selection not getting outjected

2007-02-23 Thread petemuir
You would be better off using 1.1.6 (or 1.1.7 when its released next week) - 
1.0.0 is old now.

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

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


[jboss-user] [EJB 3.0] - Re: @RemoteBinding doesn't work?

2007-02-23 Thread ALRubinger
Is DemoRemote annotated w/ @Remote?

(Stab in the dark)

This has always worked for me...

S,
ALR

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

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


[jboss-user] [JBoss Seam] - Re: How convertEntity works with the noSelectionLabel

2007-02-23 Thread petemuir
There were some problems with s:selectItems in 1.1.6 (fixed in CVS) which meant 
that noSelectionLabel didn't work quite right.

So, in CVS, if the noSelectionLabel is selected a value of null will be passed 
to the entity converter, which passes this straight through to the backing 
bean.  I know this doesn't really answer the question, but hopefully you can 
work out what you want to know from here.

Btw this is an idea for a Any option, alternatively you could just write a 
custom converter from scratch...

h:selectOneMenu id=tipoNivel 
value=#{descricaoNivelList.descricaoNivel.descricaoTipoNivel} 
converter=foo.converter
  |f:selectItem itemLabel=Any itemValue=any /
  |s:selectItems value=#{descricaoTipoNivelList.resultList} 
  |   var=descricaoTipoNivel
  |   label=#{descricaoTipoNivel.descricao}/
  |ec:convertEntity / 
  | /h:selectOneMenu

Where you would need to write the foo.converter (make it extend 
EntityConverter, do something with any, then delegate to EntityConverter)

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

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


[jboss-user] [JBossWS] - Re: wstools problem generating WSDL from Java with inherited

2007-02-23 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBWS-1524

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

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


[jboss-user] [JBoss Portal] - Re: WSRP in JBoss 2.6 Alpha 2

2007-02-23 Thread ravindra reddy
continuation to the above post.

now i am using NetUnity as producer.



 my wsrp-services.wsdl is


  | wsdl:definitions targetNamespace=urn:oasis:names:tc:wsrp:v1:wsdl
  |   xmlns:bind=urn:oasis:names:tc:wsrp:v1:bind
  |   xmlns=http://schemas.xmlsoap.org/wsdl/;
  |   xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
  |   xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;
  |   xmlns:intf=urn:oasis:names:tc:wsrp:v1:intf
  |   xmlns:tns=urn:oasis:names:tc:wsrp:v1:wsdl
  | 
  |import namespace=urn:oasis:names:tc:wsrp:v1:bind 
location=wsrp_v1_bindings.wsdl/
  | 
  |wsdl:service name=WSRPService
  |   wsdl:port binding=bind:WSRP_v1_Markup_Binding_SOAP 
name=WSRPBaseService
  |  soap:address 
location=http://localhost:8080/portal-wsrp/ServiceDescriptionService/
  |   /wsdl:port
  | 
  |   wsdl:port binding=bind:WSRP_v1_ServiceDescription_Binding_SOAP 
name=WSRPServiceDescriptionService
  |  soap:address 
location=http://localhost:8080/portal-wsrp/MarkupService/
  |   /wsdl:port
  | 
  |   wsdl:port binding=bind:WSRP_v1_Registration_Binding_SOAP 
name=WSRPRegistrationService
  |  soap:address 
location=http://localhost:8080/portal-wsrp/RegistrationService/
  |   /wsdl:port
  | 
  |   wsdl:port binding=bind:WSRP_v1_PortletManagement_Binding_SOAP 
name=WSRPPortletManagementService
  |  soap:address 
location=http://localhost:8080/portal-wsrp/PortletManagementService/
  |   /wsdl:port
  |/wsdl:service
  | /wsdl:definitions
  | 


and default-wsrp.xml is



  | deployments
  |deployment
  |   wsrp-producer
  |  producer-idself/producer-id
  |  expiration-cache120/expiration-cache
  |  endpoint-config
  | 
service-description-urlhttp://localhost:8080/portal-wsrp/ServiceDescriptionService/service-description-url
  | 
markup-urlhttp://localhost:8080/portal-wsrp/MarkupService/markup-url
  | 
registration-urlhttp://localhost:8080/portal-wsrp/RegistrationService/registration-url
  | 
portlet-management-urlhttp://localhost:8080/portal-wsrp/PortletManagementService/portlet-management-url
  |  /endpoint-config
  |  registration-data/
  |   /wsrp-producer
  |/deployment
  | 
  | deployment
  |   wsrp-producer
  |  producer-idNetUnity/producer-id
  |  expiration-cache120/expiration-cache
  |  endpoint-config
  | 
service-description-urlhttp://wsrp.netunitysoftware.com:80/WSRPTestService/WSRPTestService.asmx/service-description-url
  | 
markup-urlhttp://wsrp.netunitysoftware.com:80/WSRPTestService/WSRPTestService.asmx/markup-url
  | 
registration-urlhttp://wsrp.netunitysoftware.com:80/WSRPTestService/WSRPTestService.asmx/registration-url
  | 
portlet-management-urlhttp://wsrp.netunitysoftware.com:80/WSRPTestService/WSRPTestService.asmx/portlet-management-url
  |  /endpoint-config
  |  registration-data/
  |   /wsrp-producer
  |/deployment
  | 
  | 


do i need to include anything related to 'netunity' in wsrp-services.wsdl 
file.



when ever i select some remote producer-id in management portlet 
system is generating following error. 



anonymous wrote : 
  |  ERROR [ServiceObjectFactory] Cannot create service
  | org.jboss.ws.metadata.wsdl.WSDLException: java.net.ConnectException: 
Connection timed out: connect
  | at 
org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.getDocument(WSDLDefinitionsFactory.java:198)
  | at 
org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:106)
  | at 
org.jboss.ws.metadata.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:273)
  | at 
org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:110)
  | at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:112)
  | at 
org.jboss.ws.jaxrpc.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:181)
  | at 
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
  | at 
org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125)
  | at 
org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | at 
org.jboss.portal.wsrp.services.AbstractJNDIServiceFactory.getService(AbstractJNDIServiceFactory.java:121)
  | at 
org.jboss.portal.wsrp.services.AbstractSOAPServiceFactory.getService(AbstractSOAPServiceFactory.java:82)
  | at 

[jboss-user] [JBoss Seam] - Re: Conversation @Begin

2007-02-23 Thread quilleashm
Fair point, I'm using Conversation.instance() now.

Cheers.

Mike.


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

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


[jboss-user] [JBoss Portal] - Re: Portlet being called when other portlet is maximized

2007-02-23 Thread radzish
according to jsr 168 spec:

anonymous wrote : PLT.9.2 MAXIMIZED Window State
  | 15 The MAXIMIZED window state is an indication that a portlet may be the 
only portlet being
  | rendered in the portal page, or that the portlet has more space compared to 
other portlets
  | in the portal page. A portlet may generate richer content when its window 
state is
  | MAXIMIZED.

that means that if on of the portlets is maximized, other portlets still can be 
visible, thus doView of them still needs to be called.

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

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


[jboss-user] [Clustering/JBoss] - Re: Pooling in Buddy Replication

2007-02-23 Thread [EMAIL PROTECTED]
A key thing to understand is that if you'd killed *both* node1 and node2 at the 
same time, the data would have been lost. This would be the case even if all 4 
nodes had the same buddy pool, but node2 had happened to pick node1.

Even if node1 and node2 were not killed at the same time, but node1 was killed 
before you'd accessed the session again somewhere, the data would have been 
lost.  See http://www.jboss.com/index.html?module=bbop=viewtopict=99251 for a 
discussion of why that is.

A third scenario:

1) Start on node2.  The buddy is node1 since they have the same pool name.
2) Kill node1.
3) Kill node2.
4) Make another request.  Should work.  This is because when you killed node1, 
node2 detected that and chose another buddy.  So your session would have been 
backed up on node3 or 4, and would still be available.


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

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


[jboss-user] [EJB 3.0] - EJB 3.0 Informix Sequences Jboss

2007-02-23 Thread bayerwald
Hello!

I try to EJB3.0 Jboss and informix sequences to work. If I try to deploy my 
Entity Bean I get an error telling me that my sequence does not exists.

The first step was to find out how Jboss/Hibernate finds my sequences so I 
turned on SQL logging on the serverside. The Query JBoss/Hibernate started was:


select tabname, tabtype, owner, tabid from informix.systables where tabtype in 
('T') and tabname like 'lagerbestaende_seq' and owner like '%'

This Query does not find my sequence because it is wrong!

I modified it (replaced tabtype T by tabtype Q) and got the expected result:
tabname  lagerbestaende_seq
tabtype  Q
ownerinformix
tabid415

The second step was to find out how this query is created. I downloaded 
Hibernate and searched the sources. In 
./src/org/hibernate/tool/hbm2ddl/DatabaseMetadata.java there is a method 
initSequences() that calls dialect.getQuerySequencesString() but in 
InformixDialect.java there is no getQuerySequencesString() method defined. I 
think this causes my problems. There should be a getQuery...() Method 
delivering a
SELECT statement like this:

select tabname, tabtype, owner, tabid 
from systables 
where tabtype in ('Q') 

Is my analysis right? Is it a bug?

Regards,
Bernhard Donaubauer


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

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


[jboss-user] [JBoss Seam] - How does bijetion with new object references works?

2007-02-23 Thread hubaer
Hi all,

I have a question how bijection an object references works.

I have the following situation:
1. From a DataModel in overview page I outject an entry to details page.
2. From this page I outject the entry to a edit page.
3. Here I call a session bean via remote access and get a changed entry back.

If I assign this changed object to the variable in my action bean and outject 
it I get it on the next page correct. In my DataModel it is already the entry 
with the unchanged value.

So I seems to me that the object reference is not updated correctly.

Here a code fragment that only outject the entry but no update the data table 
reference:


  | @Stateful
  | @Name(userAction)
  | @Scope(ScopeType.CONVERSATION)
  | public class UserActionBean implements UserAction, Serializable {
  |  
  | @In(required=true)
  | @Out(required=true)
  | private User user;
  |   
  | public String refreshUser() {
  | UserManager userManager = getUserManager(); // Get the remote 
session bean
  | user = userManager.refreshUser(user);
  | return userDetails;
  | }
  | }
  | 

If I take the old entry and set the values from the changed entry I don't loose 
any datas.


  | @Stateful
  | @Name(userAction)
  | @Scope(ScopeType.CONVERSATION)
  | public class UserActionBean implements UserAction, Serializable {
  |  
  | @In(required=true)
  | @Out(required=true)
  | private User user;
  |   
  | public String refreshUser() {
  | UserManager userManager = getUserManager(); // Get the remote 
session bean
  | User tmpUser = userManager.refreshUser(user);
  | user.setName(tmpUser.getName());
  | user.setFirstName(tmpUser.getFirstName());
  | // ... more set actions
  | return userDetails;
  | }
  | }
  | 


Maybe I missing something, but I thought that the reassignment of the variable 
should work.

Regards
Marco

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

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


[jboss-user] [Installation, Configuration Deployment] - Urgent:Error while accessing deployed application in JBoss4.

2007-02-23 Thread ushashi
Our application got successfully deployed in JBoss4.0.3SP1 in linux environment
ANT version 1.7.0
JDK version 1.5.0.06
Ant and JAVA path are mentioned in profile and
version of ant and java are echoed correctly when we give ant -version and java 
-version.

Error Description:

While accesing the application we get the following error, 

The server encountered an internal error () that prevented it from fulfilling 
this request.

exception

javax.servlet.ServletException: org/apache/tools/ant/Main
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

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

root cause

java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
org.apache.tools.ant.Project.initProperties(Project.java:308)
org.apache.tools.ant.Project.init(Project.java:295)
org.apache.jasper.compiler.AntCompiler.getProject(AntCompiler.java:74)

org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:129)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

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

note The full stack trace of the root cause is available in the Apache 
Tomcat/5.5 logs.


Kindly let us know the solution if anyone has encountered and solved this 
problem. very urgent.

Thanks 


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

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


[jboss-user] [JBoss Seam] - Re: How does bijetion with new object references works?

2007-02-23 Thread mjek2
You're outjecting the user object into a conversation scope. If your DataModel 
is in the session scope, it won't be updated, I guess...

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Deployment Problems on Linux

2007-02-23 Thread PeterJ
You could try setting the -verbose:class JVM option, that should show you which 
jar file each class is loaded from.  That might give you some clues.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Urgent:Error while accessing deployed application in JBo

2007-02-23 Thread jwenting
Your JSP page is calling ANT?
Sounds like a very strange configuration you have there, and hardly surprising 
it fails, especially if you didn't take care to have ANT available in the lib 
directory of the web application.

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

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


[jboss-user] [JBoss Seam] - Re: How does bijetion with new object references works?

2007-02-23 Thread hubaer
Thanks mjek2 for your answer.

My DataModel is in the conversion scope, too. But I don't think that this is 
real problem, because my 2nd example works.

Regards
Marco

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

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


[jboss-user] [JBoss Messaging] - Message redelivery

2007-02-23 Thread imaeses
Hello all,

I have just downloaded and installed JBoss Messaging SP4 and I am noticing a 
problem with message redelivery to 2.1 MDB's.

Firstly, no matter what value I have for /server/mbean/attribute 
name=MaxDeliveryAttempts in messaging-service.xml, the container attempts 
redelivery 5 times, no more and no less.

Secondly, it seems to reattempt delivery immediately. I see no way to configure 
the delay.

Am I missing something here?

Many thanks,
Adam

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

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


[jboss-user] [EJB 3.0] - ejb-all.jar and XMLInputFactory

2007-02-23 Thread pgrillo
We use jboss-ejb3-all.jar along with Seam and Tomcat.  I am now integrating 
some of our own technology into it.  We use Woodstox XML processor along with 
the stax api.

wstx-asl-2.9.3.jar  and stax-api-1.0.1.jar

Now jboss-ejb3-all.jar has an implementation of 
javax.xml.stream.XMLInputFactory.

However, when i issue a 

  XMLInputFactory f = XMLInputFactory.newInstance();

which uses the version inside of jboss-ejb3-all.jar it insists on trying to use 
com.bea.xml.stream.MXParserFactory as the implementation and does not pick up 
Woodstox.  I have no com.bea.xml.stream.MXParserFactory so i can't move on, 
wish to use Woodstox.

I generally understood that the rules for determining what to use is below, and 
works perfectly with stax-api.jar since the woodstox jar file provides the 
appropriate files in META-INF/services.

Could somebody please tell me how i can direct XMLInputFactory in 
jboss-ejb3-all.jar to pick up my XMLInputReader properly?  Other than using a 
system property?  I really don't wish to manage which version of this class 
gets picked up first to ensure that our app works, and i don't want to break 
apart jboss-ejb-all.jar.




anonymous wrote : Deriving from JAXP, the XMLInputFactory.newInstance() method 
determines the specific XMLInputFactory implementation class to load by using 
the following lookup procedure:
  | 
  |1. Use the javax.xml.stream.XMLInputFactory system property.
  |2. Use the lib/xml.stream.properties file in the JRE directory.
  |3. Use the Services API, if available, to determine the classname by 
looking in the META-INF/services/javax.xml.stream.XMLInputFactory files in jars 
available to the JRE.
  |4. Use the platform default XMLInputFactory instance.
  | 

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

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


[jboss-user] [JBoss Seam] - Re: How does bijetion with new object references works?

2007-02-23 Thread mjek2
Ah, ok, got your point know. Well, you say that you see the changed object in 
the next page after outjection, so it seems like correct behaviour to me. I 
think the DataModel holds the old reference. Maybe you could force DataModel 
update instead of working with temporary object as alternative.

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

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


[jboss-user] [Remoting] - Re: JBoss Remoting JDK 6.0 situation deadlock

2007-02-23 Thread alexg79
Sorry for the accidental double post. Anyway, I found the sources from the link 
in Tom's post. Let's see what causes this.

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

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


[jboss-user] [JBoss Portal] - Re: WSRP in JBoss 2.6 Alpha 2

2007-02-23 Thread [EMAIL PROTECTED]
ravindra reddy wrote : when i am trying to see the protlets available for 
vignette in management portlet, system is generating this error in server .
  | 

Last time I checked Vignette's producer, the provided registration information 
for the vignette producer did not correspond to a real registration and their 
producer requires valid registration to work. You need to obtain valid 
registration information from Vignette in order to work with their producer.

ravindra reddy wrote : do i need to include anything related to 'netunity' in 
wsrp-services.wsdl file.

No. wsrp-services.wsdl is only used to configure Portal's producer. It doesn't 
impact consumers at all.

ravindra reddy wrote : 
  | ERROR [ServiceObjectFactory] Cannot create service 
  |   | org.jboss.ws.metadata.wsdl.WSDLException: java.net.ConnectException: 
Connection timed out: connect

This seems to indicate a network issue. Either the producer is down (which 
happens regularly) or there is something wrong on your network connection (you 
indicated using the proxy options, maybe your proxy configuration is 
incorrect?).

Hope this helps.




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

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


[jboss-user] [JBoss Seam] - beginner can't figure out how to change URL from home.seam

2007-02-23 Thread icpooreman
I'm looking at jboss seam and can't figure out something that is probably 
simple.  I followed the steps to create a new project in eclipse we'll call 
helloworld for simplicity.  So I open domain/helloworld/ in a web browser and 
I'm redirected to domain/helloworld/home.seam.  My question is how do I change 
it from home.seam to a different URL.  

I see the redirect in 
viewindex.html it looks like
meta http-equiv=Refresh content=0; URL=home.seam
but where does the request go from there?  I can't seem to figure it out.  I 
searched the project and there's no other mention of home.seam in any of the 
files, can you change the extension from .seam to .html and how would you do 
that? 

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

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


[jboss-user] [JBoss Messaging] - Re: JBM-LDAP Security

2007-02-23 Thread PeterJ
First, read about the LDAP login module at 
http://docs.jboss.com/jbossas/guides/j2eeguide/r2/en/html_single/#ch8.ldaplogin.sect.

You could also search the forums, there are various LDAP-related discussions. 
There is a wiki entry for using LDAP with the Portla at 
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingAnLDAPSourceForPortalAuthentication
 which mentions the LdapLoginModuleExt.

Next, I would get an LDAP browser (http://sourceforge.net/projects/jxplorer/) 
so that I could easily find the users and groups. Then I would get the 
ldapsearch command line utility (available with almost every LDAP server) so 
that I could validate the settings that I would use in the LdapLoginModule[Ext].

Next, I would use a simple web application that uses the login module to verify 
that it is working correctly.

Only then would I consider configuring a security domian for the messaging 
server 
(http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/guide-1.0.1.SP4/html/configuration.html#conf.serverpeer[/url]),
 and defining acccess rights on the destinations 
([url]http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/guide-1.0.1.SP4/html/configuration.html#conf.destination.security).



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

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


[jboss-user] [JBoss Seam] - Re: beginner can't figure out how to change URL from home.se

2007-02-23 Thread [EMAIL PROTECTED]
The default extension is set in web.xml.  It's not a Seam thing, it's a JSF 
thing.

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

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


[jboss-user] [Clustering/JBoss] - Re: HAJNDI.list() broken on JBoss 4.0.X?

2007-02-23 Thread JerryGauth
To bind something into the HAJNDI tree, you would obtain an initial context 
specifying an HAJNDI port rather than a JNDI port.  Anything that you bound 
using that context would be placed in the HAJNDI tree and would only be 
accessible via HAJNDI.

HAJNDI bindings are replicated to all nodes in the cluster.  In JBoss 5, HAJNDI 
bindings are stored in JBossCache, which also handles the replication.  In 
prior server versions, HAJNDI maintains its own store.

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

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


[jboss-user] [JBoss Seam] - Re: beginner can't figure out how to change URL from home.se

2007-02-23 Thread fernando_jmt
This is not a Seam stuff, but I'll give you some hints to figure out (maybe you 
should read more about JSF ).



It depends what you have configured in your web.xml.

By instance, if you are using facelets, you should have this:

  |  context-param
  | param-namejavax.faces.DEFAULT_SUFFIX/param-name
  | param-value.xhtml/param-value
  | /context-param
  | 

Now, the Faces Servlet is configured to use *.seam  whether you have this:


  | servlet-mapping
  | servlet-nameFaces Servlet/servlet-name
  | url-pattern*.seam/url-pattern
  | /servlet-mapping
  | 


This means when you write a page like home.xhtml in your app. and in the 
browser you type: http://domain/helloworld/home.seam
This will open the JSF managed view for home.xhtml.


So, if you wanna change .seam to .html , you should change:


  | servlet-mapping
  | servlet-nameFaces Servlet/servlet-name
  | url-pattern*.html/url-pattern
  | /servlet-mapping
  | 

Then all *.html extensions will call the respective .xhtml JSF managed view.

HTH.

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

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


[jboss-user] [JBoss Seam] - concurrent access to SFSB using SEAM Remoting

2007-02-23 Thread zdaler
We encountered a problem accessing a simple SFSB from a javascript call using 
seam remoting.

Concurrent js calls to a single conversational SFSB produces multiple instances 
of SFSB each being added to a newly created conversation context which is not 
what one would expect.

We reproduced it with a minor modification to the chatroom example.
We simply changed the sendMessage function (in ChatRoomAction.java) like this 
(adding a 10s delay to simulate a long process) :
public void sendMessage(String message) {
  | publish( new ChatroomEvent(message, username, message) );
  | try {
  |Thread.sleep(1) ;
  | } catch (InterruptedException e) {
  |e.printStackTrace();
  | }
  | }
  | 
This breaks the chatroom example : repeated inputs lead to the creation of new 
chatroomAction SFSBs that don't hold the user object (and are located within 
new conversation contexts).

This is the ouput in the chatroom :
anonymous wrote : testuser connected.
  | testuser a
  | null a
  | testuser a
  | null a
  | 

Thanks for any help.

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

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


[jboss-user] [Remoting] - Re: JBoss Remoting JDK 6.0 situation deadlock

2007-02-23 Thread alexg79
Sorry again, folks -- false alarm! Turns out I was including 
jbossall-client.jar on the list of resources in my application's JNLP file, and 
apparently that jar contains the old remoting code, which caused the exception.

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

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


[jboss-user] [JBoss Seam] - Re: Reference a web bean in a seam stateless bean

2007-02-23 Thread ector7280
Hi Norman,

I tried that but I got a NoClassDefFoundError from that bean.
I'm confused because I don't have that problem in my tree bean
that imports that same class.  Of course it's not injected, is that the
difference?

JR


  | 2007-02-23 11:05:48,031 WARN  [org.jboss.system.ServiceController] Problem 
starting service jboss.j2ee:service=EJB3,module=cppms.jar
  | 
  | java.lang.NoClassDefFoundError: 
com/icesoft/faces/component/tree/IceUserObject
  | 
  | at java.lang.ClassLoader.defineClass1(Native Method)
  | 
  | at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  | 
  | at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
  | 
  | at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
  | 
  | at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
  | 
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
  | 
  | at java.security.AccessController.doPrivileged(Native Method)
  | 
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | 
  | at 
org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:672)
  | 
  | at 
org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:652)
  | 
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | 
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190)
  | 
  | at 
org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
  | 
  | at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
  | 
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:517)
  | 
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
  | 
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | 
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  | 
  | at java.lang.Class.getDeclaredFields0(Native Method)
  | 
  | at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
  | 
  | at java.lang.Class.getDeclaredFields(Class.java:1715)
  | 
  | at 
org.jboss.injection.InjectionUtil.processFieldAnnotations(InjectionUtil.java:131)
  | 
  | at 
org.jboss.injection.InjectionUtil.processAnnotations(InjectionUtil.java:173)
  | 
  | at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:270)
  | 
  | at 
org.jboss.ejb3.SessionContainer.processMetadata(SessionContainer.java:116)
  | 
  | at 
org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:273)
  | 
  | at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:322)
  | 
  | at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
  | 
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | 
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | 
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | 
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | 
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | 
  | at $Proxy0.start(Unknown Source)
  | 
  | at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | 
  | at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
  | 
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | 
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 
  | 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 $Proxy28.start(Unknown Source)
  | 
  | at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:449)
  | 
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 
  | at 

[jboss-user] [JBoss Seam] - Re: beginner can't figure out how to change URL from home.se

2007-02-23 Thread icpooreman
Thanks alot sorry about posting something off-topic I'm new to JSF as well.

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

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


[jboss-user] [JBoss Seam] - Re: Feature request - @InOut

2007-02-23 Thread andrew.rw.robinson
shouldn't normally need such verbose in/out declarations

-1

It is often very helpful with rendering specific member variables with 
conversation or session scoped beans. For example,  a SELECT box may use a 
selectItems that takes a List return value from a backing bean. If this were to 
be created in the get method, the list would be created multiple times 
per-request since the EL is evaluated more than once during the JSF phases. So, 
the technique can be used:

  | @In(scope=ScopeType.EVENT, value=some-unique-string, required=false)
  | @Out(scope=ScopeType.EVENT, value=some-unique-string, required=false)
  | private ListSelectItem myOptions;
  | 
  | public ListSelectItem getMyOptions()
  | {
  |   if (myOptions == null) { /* build the list */ }
  |   return myOptions;
  | }

In this example, myOptions is created only once per request and the developer 
doesn't have to code the: 1) get faces context 2) get the external context 3) 
get the request map 4) get the value from the map 5) if null create it and 6) 
store it in the map and finally 7) return it. 

This is also very useful for binding where you want the UIComponent to be 
created once per-request and not tied to the conversation. 

Perhaps in these instances the @Scope being applied to fields would be more 
useful. In that case the seam framework could null out any variable with a 
shorter lifespan than the bean. Examples could be:
@Scope(ScopeType.CONVERSATION) public class MyBean {
  | // Null this value after request
  | @Scope(ScopeType.EVENT) private String myVar;

@Scope(ScopeType.SESSION) public class MyBean {
  | // Null this value after a conversation is ended instead of waiting for the 
session to end
  | @Scope(ScopeType.CONVERSATION) private String myVar;


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

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


[jboss-user] [JBossWS] - any idea about define soap header with annotation?

2007-02-23 Thread alexsun
Could I use annotation to define soap header which could be automatically 
generated to wsdl? 

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: MDB failing to deploy with ClassCastException

2007-02-23 Thread creature
For the sake of those who may come across this in the search for their own 
solutions, I thought I should report back about the cause of this error. 

We had a couple of issues on the go, as it turns out: one thing that wasn't 
helping was our JBoss machine had run out of disk space. However, the main 
problem was that we had inadvertently included a jndi.properties file in our 
EAR deployment. I'm not familiar with the configuration in this file, but it 
was sufficient to completely hose our messaging in the manner described above. 
Removing it from our EAR solved the ClassCastException.

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

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


[jboss-user] [JBoss jBPM] - Re: De-Persistence problem with Node?

2007-02-23 Thread pramero
Can someone please help me?  I need to be able to cast my TaskNode to a 
TaskNode so that I can get the Tasks off of it and examine them.



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

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


[jboss-user] [Beginners Corner] - Unable to Run a JSF with JBuilder 2007 and JBoss

2007-02-23 Thread jhimmel
Help! I am still unable to run a JSF application on JBoss when using JBuilder!  
I am new to JSF.  I was able to run a JSF application from JBuilder by using 
the Apache Tomcat server, but not the JBoss server.  When I try to deploy and 
run the application on JBoss, I receive the error I listed below.  I also 
listed the console information below.  If anyone has insight on how to do use 
JBoss from JBuilder 2007 for a JSF application, please enlighten me!  Thanks!

- jhimmel  

HTTP Status 404 - /JSFTutorialAttempt2/login.faces

type Status report
message /JSFTutorialAttempt2/login.faces
description The requested resource (/JSFTutorialAttempt2/login.faces) is not 
available.

Apache Tomcat/5.5.20

Console information:

11:18:07,046 INFO  [Server] Starting JBoss (MX MicroKernel)...
11:18:07,046 INFO  [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: 
CVSTag=Branch_4_0 date=200610162339)
11:18:07,062 INFO  [Server] Home Dir: C:\jboss-4.0.5.GA
11:18:07,062 INFO  [Server] Home URL: file:/C:/jboss-4.0.5.GA/
11:18:07,062 INFO  [Server] Patch URL: null
11:18:07,062 INFO  [Server] Server Name: default
11:18:07,062 INFO  [Server] Server Home Dir: C:\jboss-4.0.5.GA\server\default
11:18:07,062 INFO  [Server] Server Home URL: 
file:/C:/jboss-4.0.5.GA/server/default/
11:18:07,062 INFO  [Server] Server Log Dir: C:\jboss-4.0.5.GA\server\default\log
11:18:07,062 INFO  [Server] Server Temp Dir: 
C:\jboss-4.0.5.GA\server\default\tmp
11:18:07,062 INFO  [Server] Root Deployment Filename: jboss-service.xml
11:18:07,296 INFO  [ServerInfo] Java version: 1.5.0_09,Sun Microsystems Inc.
11:18:07,296 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.5.0_09-b03,Sun Microsystems Inc.
11:18:07,296 INFO  [ServerInfo] OS-System: Windows 2003 5.2,x86
11:18:07,625 INFO  [Server] Core system initialized
11:18:09,031 INFO  [WebService] Using RMI server codebase: 
http://JHIMMEL03:8083/
11:18:09,046 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
11:18:12,046 INFO  [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 
(date=200609291417)
11:18:12,890 INFO  [Embedded] Catalina naming disabled
11:18:12,937 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in 
the classpath. Will load the default rule set.
11:18:12,937 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in 
the classpath. Will load the default rule set.
11:18:13,187 INFO  [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on 
http-0.0.0.0-8080
11:18:13,187 INFO  [Catalina] Initialization processed in 250 ms
11:18:13,187 INFO  [StandardService] Starting service jboss.web
11:18:13,187 INFO  [StandardEngine] Starting Servlet Engine: Apache 
Tomcat/5.5.20
11:18:13,218 INFO  [StandardHost] XML validation disabled
11:18:13,234 INFO  [Catalina] Server startup in 47 ms
11:18:13,390 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, 
warUrl=.../deploy/http-invoker.sar/invoker.war/
11:18:13,734 INFO  [WebappLoader] Dual registration of jndi stream handler: 
factory already defined
11:18:14,062 INFO  [TomcatDeployer] deploy, ctxPath=/, 
warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
11:18:14,187 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, 
warUrl=.../tmp/deploy/tmp51318jbossws-context-exp.war/
11:18:14,296 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, 
warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
11:18:15,046 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, 
warUrl=.../deploy/management/console-mgr.sar/web-console.war/
11:18:15,546 INFO  [MailService] Mail Service bound to java:/Mail
11:18:15,703 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
11:18:15,734 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
11:18:15,765 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
11:18:15,796 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
11:18:15,828 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/jms/jms-ra.rar
11:18:15,859 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/mail-ra.rar
11:18:16,656 INFO  [WrapperDataSourceService] Bound ConnectionManager 
'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 
'java:DefaultDS'
11:18:16,859 INFO  [A] Bound to JNDI name: queue/A
11:18:16,859 INFO  [B] Bound to JNDI name: queue/B
11:18:16,859 INFO  [C] Bound to JNDI name: queue/C
11:18:16,859 INFO  [D] Bound to JNDI name: queue/D
11:18:16,859 INFO  [ex] Bound to JNDI name: queue/ex
11:18:16,875 INFO  [testTopic] Bound to JNDI name: topic/testTopic
11:18:16,890 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
11:18:16,890 INFO  [testDurableTopic] Bound to JNDI name: 

[jboss-user] [JBoss Seam] - Re: Where should no-conversation-view-id be set?

2007-02-23 Thread [EMAIL PROTECTED]
No, you only need one.

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

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


[jboss-user] [JBoss jBPM] - Re: Problems using MySQL db

2007-02-23 Thread Johan.Parent
Stupid question, but is classpath ok? I mean this just a class not found...

Regards,

Johan

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

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


[jboss-user] [EJB 3.0] - Re: @RemoteBinding doesn't work?

2007-02-23 Thread yararaca
Yup, it was annotated with @Remote

I finally found the problem by everybody's favourite trial and error approach. 
I'll state the solution here to save troubles to people with similar problems. 

What I had was the following file structure:


  | ear file:
  | +-myear.ear
  | |  +-META-INF
  | |  +-Demo.jar
  | 
  | standalon war file:
  | +-DemoWeb.war
  | |  +-WEB-INF
  | |  +-lib
  | | +-Demo.jar
  | 
  | 

Note Demo.jar is deployed twice, once in the ear and again in the war. This was 
making the @RemoteBinding annotation being ignored. I don't know why, because i 
thought jars in WEB-INF/lib aren't being deployed even if they contain ejbs, 
but perhaps I am wrong.

when I repacked it all to one EAR (and removed the redundand Demo.jar from 
WEB-INF/lib) it started working


  | +-myear.ear
  | |  +-META-INF
  | |  +-Demo.jar
  | |  +-DemoWeb.war
  | 

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

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


[jboss-user] [JBoss Messaging] - Re: Message redelivery

2007-02-23 Thread timfox
The MDB container / JCA layer also has its own DLQ - this is configured 
(normally) in standard-jboss.xml.

This will take precedence over the jboss messaging DLQ - you would need to turn 
this off, or maybe you want to use it.


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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: EJB3 Cluster application JMS Error-JBoss 4.0.5GATrailBla

2007-02-23 Thread [EMAIL PROTECTED]
Configure an unauthenticated identity for the jbossmq security domain.
If you don't know how, read the JBossMQ WIKI on security.

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Message is redelivered more than once if MDB takes too l

2007-02-23 Thread [EMAIL PROTECTED]
A message will always be redelivered if you exceed the transaction timeout of 5 
minutes.
There's definitely a warning about that.

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.1.6 Security with ICEFaces

2007-02-23 Thread bnghi
Does anybody know how to fix the logout problem in ICEFaces 1.5.3 and Seam 
1.1.6GA. I get this error when I log out and try to log back in:
java.lang.UnsupportedOperationException
at 
com.icesoft.faces.context.BridgeExternalContext.getRequestCookieMap(BridgeExternalContext.java:503)
at org.jboss.seam.core.Selector.getCookieValue(Selector.java:59)
at 
org.jboss.seam.security.Identity.initCredentialsFromCookie(Identity.java:91)
at org.jboss.seam.security.Identity.create(Identity.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
at org.jboss.seam.Component.callComponentMethod(Component.java:1835)
at org.jboss.seam.Component.callCreateMethod(Component.java:1783)
at org.jboss.seam.Component.newInstance(Component.java:1772)
at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:163)
at org.jboss.seam.contexts.Lifecycle.beginSession(Lifecycle.java:223)
at 
org.jboss.seam.servlet.SeamListener.sessionCreated(SeamListener.java:41)
at 
org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:384)
at 
org.apache.catalina.session.StandardSession.setId(StandardSession.java:356)
at 
org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:824)
at 
org.apache.catalina.session.StandardManager.createSession(StandardManager.java:290)
at org.apache.catalina.connector.Request.doGetSession(Request.java:2223)
at org.apache.catalina.connector.Request.getSession(Request.java:2024)
at 
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:831)

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

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


[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-23 Thread bsmithjj
I have more data - I hacked Facelets 1.1.2 to spit out some ClassLoader info.  
What I found is that in one case, when calling Renderer.render(myTemplate), the 
Classloader is the EAR's classloader.

In the other case, the classloader is the war's classloader.

not working - ear's classloader

  | 11:42:20,157  INFO com.evergreen.accesscontrol.impl.MailSenderBean -
  | Classloader funtime:Me:  [EMAIL PROTECTED]
  | My Classloader:  [EMAIL PROTECTED] 
url=file:/C:/jboss-4.0.4.EJB.3RC8/server/default/tmp/deploy/tmp44859access-control-1.0.ear
 ,addedOrder=49}
  | My Classloader's parent:  [EMAIL PROTECTED]
  | My Classloader's parent's parent:  [EMAIL PROTECTED]
  | 
  | 11:42:20,157  INFO com.sun.facelets.compiler.Compiler - Initializing
  | 11:42:20,157  INFO com.sun.facelets.compiler.TagLibraryConfig - I am using 
a classloader obtained from 'Thread.currentThread().getContextClassLoader()'.
  | 11:42:20,157  INFO com.sun.facelets.compiler.TagLibraryConfig - Classloader 
- [EMAIL PROTECTED] 
url=file:/C:/jboss-4.0.4.EJB.3RC8/server/default/tmp/deploy/tmp44859acc
  | ess-control-1.0.ear ,addedOrder=49}
  | 11:42:20,157  INFO com.sun.facelets.compiler.TagLibraryConfig - 
Classloader.parent - [EMAIL PROTECTED]
  | 11:42:21,017  INFO com.sun.facelets.compiler.Compiler - UILibrary.Namespace 
-http://java.sun.com/jsf/facelets
  | 11:42:21,017  WARN com.sun.facelets.compiler.Compiler - Missing Built-in 
Tag Libraries! Make sure they are included within the META-INF directory of 
Facelets' Jar
  | 11:42:21,017  INFO com.sun.facelets.compiler.Compiler - Initialization 
Successful
  | 
  | 

working - war's classloader

  | 11:45:35,928  INFO com.evergreen.accesscontrol.impl.MailSenderBean - 
sending email:  mail/access-request-complete-user.xhtml
  | 11:45:35,928  INFO com.evergreen.accesscontrol.impl.MailSenderBean -
  | Classloader funtime:Me:  [EMAIL PROTECTED]
  | My Classloader:  [EMAIL PROTECTED] 
url=file:/C:/jboss-4.0.4.EJB.3RC8/server/default/tmp/deploy/tmp44859access-control-1.0.ear
 ,addedOrder=49}
  | My Classloader's parent:  [EMAIL PROTECTED]
  | My Classloader's parent's parent:  [EMAIL PROTECTED]
  | 
  | 11:45:35,928  INFO com.sun.facelets.compiler.Compiler - Initializing
  | 11:45:35,928  INFO com.sun.facelets.compiler.TagLibraryConfig - I am using 
a classloader obtained from 'Thread.currentThread().getContextClassLoader()'.
  | 11:45:35,928  INFO com.sun.facelets.compiler.TagLibraryConfig - Classloader 
- WebappClassLoader
  |   delegate: false
  |   repositories:
  | /WEB-INF/classes/
  | -- Parent Classloader:
  | [EMAIL PROTECTED]
  | 
  | 11:45:35,928  INFO com.sun.facelets.compiler.TagLibraryConfig - 
Classloader.parent - [EMAIL PROTECTED]
  | 11:45:36,819  INFO com.sun.facelets.compiler.TagLibraryConfig - Added 
Library from: 
jar:file:/C:/jboss-4.0.4.EJB.3RC8/server/default/tmp/deploy/tmp44859access-control-1.0.ear-contents/access-control-w
  | 
ebapp-1.0-exp.war/WEB-INF/lib/jsf-facelets-1.1.12E.jar!/META-INF/jsf-ui.taglib.xml
  | 11:45:36,819  INFO com.sun.facelets.compiler.TagLibraryConfig - Added 
Library from: 
jar:file:/C:/jboss-4.0.4.EJB.3RC8/server/default/tmp/deploy/tmp44859access-control-1.0.ear-contents/access-control-w
  | 
ebapp-1.0-exp.war/WEB-INF/lib/jsf-facelets-1.1.12E.jar!/META-INF/jstl-fn.taglib.xml
  | 11:45:36,834  INFO com.sun.facelets.compiler.TagLibraryConfig - Added 
Library from: 
jar:file:/C:/jboss-4.0.4.EJB.3RC8/server/default/tmp/deploy/tmp44859access-control-1.0.ear-contents/access-control-w
  | 
ebapp-1.0-exp.war/WEB-INF/lib/jsf-facelets-1.1.12E.jar!/META-INF/jstl-core.taglib.xml
  | 11:45:36,834  INFO com.sun.facelets.compiler.TagLibraryConfig - Added 
Library from: 
jar:file:/C:/jboss-4.0.4.EJB.3RC8/server/default/tmp/deploy/tmp44859access-control-1.0.ear-contents/access-control-w
  | 
ebapp-1.0-exp.war/WEB-INF/lib/jsf-facelets-1.1.12E.jar!/META-INF/jsf-html.taglib.xml
  | 11:45:36,850  INFO com.sun.facelets.compiler.TagLibraryConfig - Added 
Library from: 
jar:file:/C:/jboss-4.0.4.EJB.3RC8/server/default/tmp/deploy/tmp44859access-control-1.0.ear-contents/access-control-w
  | 
ebapp-1.0-exp.war/WEB-INF/lib/jboss-seam-ui-1.1.6.jar!/META-INF/seam-ui.taglib.xml
  | 11:45:36,850  INFO com.sun.facelets.compiler.TagLibraryConfig - Added 
Library from: 
jar:file:/C:/jboss-4.0.4.EJB.3RC8/server/default/tmp/deploy/tmp44859access-control-1.0.ear-contents/access-control-w
  | 
ebapp-1.0-exp.war/WEB-INF/lib/jboss-seam-mail-1.1.6.jar!/META-INF/seam-mail.taglib.xml
  | 11:45:36,866  INFO com.sun.facelets.compiler.TagLibraryConfig - Added 
Library from: 
jar:file:/C:/jboss-4.0.4.EJB.3RC8/server/default/tmp/deploy/tmp44859access-control-1.0.ear-contents/access-control-w
  | 
ebapp-1.0-exp.war/WEB-INF/lib/jsf-facelets-1.1.12E.jar!/META-INF/jsf-core.taglib.xml
  | 11:45:36,866  INFO com.sun.facelets.compiler.Compiler - Initialization 
Successful
  | 

So how is it that in one case, the ear classloader is used, in another, nearly 
iidentical case, the webapp's 

[jboss-user] [JBoss Portal] - Re: Installed JbossAS+Portal 2.4.1 Bundle what to convert to

2007-02-23 Thread nataleja
I basically started with a fresh machine and redownloaded everything, JBoss AS, 
JBoss Portal, JDK, Oracle JDBC and that is what ended up making it work.   The 
old server that I was trying to get working was a development machine and I 
think that probably someone made a modification for a project at one point and 
when I dropped in JBoss Portal in it didn't like whatever they did.

Thanks a lot guys, on a clean system it is that easy to get working! ;-)

John



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

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


  1   2   >