[jboss-user] [JBoss Seam] - Re: seam-gen : reverse DB : many-to-many convention ?

2007-12-18 Thread damienhuriet
 
  Hello,

Thanks for the reply, but it "seams" to do.
Indeed, I've managed to generate a many-to-many relationship with seam-gen 
between two tables NAME1 and NAME2:
 
The many-to-many relationship table should:
- its name should be "NAME1_NAME2"
- it has the right to have only 2 columns : a double primary key relying on the 
two foreignKey columns : FK1 and FK2 named as you want but with reference 
integrity constraints towards the primary key of the two tables : NAME1 and 
NAME2.

It has generated me the getters and setters of the list in each entity NAME1 
and NAME2 : 

Expl : 

- The class NAME1 contains the function "public Set getName2s()" and its 
setter 

and 

- The class NAME2 contains the function "public Set getName1s()" and its 
setter

and no entity has been generated for the table "NAME1_NAME2", that is right 
because it is a "utility table" and not a table reflecting a "business objet" 
to be persisted.

The hibernate relationship has been created also : 


  | @ManyToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
  | @JoinTable(name = "NAME1_NAME2", catalog = "mycatalogname", joinColumns 
= { @JoinColumn(name = "NAME1_ID", nullable = false, updatable = false) }, 
inverseJoinColumns = { @JoinColumn(name = "NAME2_ID", nullable = false, 
updatable = false) })
  | public Set getName2s() {
  | return this.name2s;
  | }
  | 
  | public void setName2s(Set name2s) {
  | this.name2s = name2s;
  | }
  | 

I still have a problem in the following step : 

As the returned list is of type java.util.Set and not java.util.List, I do not 
(for the moment) manage to display this list in a rich:datatable : 


  | 
  | 
  | id
  | #{name2s.id}
  | 
  | 

Caused by javax.servlet.ServletException with message: "/Name1Edit.xhtml: 
Property 'id' not found on type org.hibernate.collection.PersistentSet" 
javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)


Caused by javax.el.ELException with message: "/Name1Edit.xhtml: Property 'id' 
not found on type org.hibernate.collection.PersistentSet" 
com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:48)
com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:280)


If anyone can help me on this point.

   Thanks,

  Damien


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

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


[jboss-user] [JBoss Seam] - redirect based on roles

2007-12-18 Thread lsabin
Hi.

In my application after the user logs in I want to redirect to a different page 
based on the user role. This is the relevant portion of my pages.xml:


  | 
  | 
  | 
  |  
  | 
  | 
  | 
  |  
  | 
  | 



The first time the user with role 'user' logs in this navigation rule does not 
work and the  user gets redirected to the home.xhtml page. But if I logout and 
log in again it works fine and redirects to details.xhtml.

Could someone explain this behaviour?

Thanks.

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

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


[jboss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: queue not bound

2007-12-18 Thread bidhudas
See the code I am using for getting queue

private static InitialContext getInitialContext() throws NamingException {
if(iniCtx == null) {
try {
InputStream stream = 
MessageQueue.class.getClassLoader().getResourceAsStream("jndi.properties");
Properties prop = new Properties();
prop.load(stream);
iniCtx = new InitialContext(prop);
System.out.println("JNDI " + 
iniCtx.getEnvironment().toString());
} catch (IOException e) {
iniCtx = new InitialContext();
}
}

return iniCtx;
}

private void createQueue(String queueName) throws NamingException, 
JMSException
{
queue = (Queue) getInitialContext().lookup(queueName);

}



and JNDI properties as below

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://127.0.0.1:1099
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces


See the stack trace below 


javax.naming.NameNotFoundException: queue not bound 
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) 
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) 
at org.jnp.server.NamingServer.getObject(NamingServer.java:543) 
at org.jnp.server.NamingServer.lookup(NamingServer.java:267) 
at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) 
at sun.rmi.transport.Transport$1.run(Unknown Source) 
at java.security.AccessController.doPrivileged(Native Method) 
at sun.rmi.transport.Transport.serviceCall(Unknown Source) 
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) 
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source) 
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) 
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
ERROR 2007-12-19 08:30:05,156 STDERR:   at java.lang.Thread.run(Unknown Source) 
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown 
Source) 
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) 
at sun.rmi.server.UnicastRef.invoke(Unknown Source) 
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) 
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) 
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589) 
at javax.naming.InitialContext.lookup(Unknown Source) 
at 
org.wipo.das.messaging.MessageQueue.createQueue(MessageQueue.java:123) 
at org.wipo.das.messaging.MessageQueue.(MessageQueue.java:43) 
at org.wipo.das.messaging.MessageQueue.get(MessageQueue.java:59) 
at 
org.wipo.das.message.user.BusinessResponse.init(BusinessResponse.java:126) 
at javax.servlet.GenericServlet.init(GenericServlet.java:212) 
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161) 
at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806) 
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
 
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
 
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) 
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) 
at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
 
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) 
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) 
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
 
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) 
at java.lang.Thread.run(Unknown Source)

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

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

[jboss-user] [JCA/JBoss] - Re: org.jboss.resource.JBossResourceException: Could not cre

2007-12-18 Thread vickyk
Also make sure that SID is correct , this is already been pointed by jaikiran
http://www.cryer.co.uk/brian/oracle/ORA12505.htm

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

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


[jboss-user] [JCA/JBoss] - Re: org.jboss.resource.JBossResourceException: Could not cre

2007-12-18 Thread vickyk
"eduacsp2" wrote : 
  | org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (java.sql.SQLException: Exceção de E/S: 
Connection 
refused(DESCRIPTION=(TMP=)(VSNNUM=153094144)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4)
  | 
Looks like something has gone wrong on the Oracle side .
Can you write a simple java standalone application which would use Oracle thin 
driver to connect to Oracle when you are experiencing the above problem ?
Does this error appear every time Or it keeps on coming at random ?


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

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

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


[jboss-user] [JBoss Portal] - How to change the default page??

2007-12-18 Thread littlefish
I am using JBoss Portal 2.4. I would like to change the default page from 
portal admin page to another page. would any brother know that how to custom 
the default page of portal??

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

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


[jboss-user] [JCA/JBoss] - Re: org.jboss.resource.JBossResourceException: Could not cre

2007-12-18 Thread jaikiran
anonymous wrote : Could not create connection; - nested throwable: 
(java.sql.SQLException: Exceção de E/S: Connection 
refused(DESCRIPTION=(TMP=)(VSNNUM=153094144)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4)
 

Are you sure the connection-url you have mentioned in the ds.xml file is 
correct? Especially the database name?

jdbc:oracle:thin:@xx.x.x.xx:1521:Gd13 

Googling for this error code leads to some posts which mention that this error 
might be because of an incorrect DB name in the connection url 

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

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

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


[jboss-user] [Beginners Corner] - Re: Call an ejb from Servlet in different application

2007-12-18 Thread jaikiran
bpet36,

You seem to have made progress and appear to be running into a different 
exception now. Let's continue this discussion in your other thread which you 
started at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=126192

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

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


[jboss-user] [JBoss Seam] - A customer JSF tag to display Graphics2D in Seam PDF output

2007-12-18 Thread EricJava
I posted a long blog entry, along with source code, about how to create a 
custom JSF tag to do more in Seam PDF: 
http://chiralsoftware.com/blog/JBoss-Seam-iText-PDF-custom-JSF-4642a90cb4d7412d.html

The motivation: I wanted to be able to include arbitrary java.awt.Component s 
in the output, so I could do whatever I wanted with Graphics2D.  I ended up 
writing a custom JSF tag to do that.  All the source is there, along with a 
tour of how I did it.[/url]

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: migration from jboss-4.0.5.GA to jboss-4.2.1.GA

2007-12-18 Thread chris.katsuo
hi everybody,

I forgot one line in the error caused by the digester :
anonymous wrote : 
  | 2007-12-19 10:57:36,171 INFO  [org.apache.myfaces.config.FacesConfigurator] 
Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
  | 2007-12-19 10:57:36,234 INFO  [org.apache.myfaces.config.FacesConfigurator] 
Reading config 
jar:file:/C:/Seam/jboss-4.2.1.GA/server/default/deploy/aewa-ear.ear/jboss-seam.jar!/META-INF/faces-config.xml
  | 2007-12-19 10:57:36,312 ERROR [org.apache.commons.digester.Digester] Parse 
Error at line 2 column 14: Document is invalid: no grammar found.
  | org.xml.sax.SAXParseException: Document is invalid: no grammar found.
  | 

So it looks like it is due to faces-config.xml in jboss-seam.jar :( 
jboss-seam.jar!/META-INF/faces-config.xml

Any help would be welcome.
Please let me know if I need to post in Seam forum rather that this forum.

A standard sample of EAR file using MyFaces (even without) is always welcome 
and relevant to this forum I think.

Thanks in advance,
Best regards,
Christophe Laumond

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

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


[jboss-user] [Beginners Corner] - Re: java.lang.ClassCastException: org.jboss.util.id.GUID can

2007-12-18 Thread jaikiran
"bpet36" wrote : 
  | 
  | obj = PortableRemoteObject.narrow(ctx.lookup("ejb/UserAdmin/UserBean" , 
Class.forName(className));
  |  

Change this code to:

obj = ctx.lookup("ejb/UserAdmin/UserBean");
  | UserBeanHome home = (UserBeanHome) 
PortableRemoteObject.narrow(obj,UserBeanHome.class);
  | 

Also, do you package JBoss related jar files in your application? If yes, then 
remove those from your application.

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

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


[jboss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: queue not bound

2007-12-18 Thread jaikiran
As for the lookup problem, can you post the entire exception stacktrace? Where 
is the queue being looked up from? If you are looking up the queue from your 
code then post the code here (and the contents of the jndi.properties, if at 
all you have one)

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

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


[jboss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: queue not bound

2007-12-18 Thread jaikiran
While posting the xml content use the Code button in message editor window to 
wrap the contents in a code block. Then use the Preview button to make sure the 
contents of your post will show up correctly.

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

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


[jboss-user] [EJB/JBoss] - Re: Incompatibility between Jboss server versions?

2007-12-18 Thread jaikiran
wandi,

Let's continue this discussion in your other thread at 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=126187. 


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

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


[jboss-user] [EJB 3.0] - Re: Incompatibility between Jboss server versions?

2007-12-18 Thread jaikiran
wandi,

Let's continue this discussion in your other thread at 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=126187. 

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

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


[jboss-user] [JNDI/Naming/Network] - Re: Incompatibility between Jboss server versions?

2007-12-18 Thread jaikiran
This looks similar to whats been reported at 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=116994


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

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


[jboss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: queue not bound

2007-12-18 Thread bidhudas
Again the same problem in pasting the mbean details.  I just want to mentio 
that I have added RequestQ in jbossmq-destinations-service.xml


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

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


[jboss-user] [JBoss Seam] - SeamFramework.org Alpha Test

2007-12-18 Thread [EMAIL PROTECTED]
For the past few months we've been developing a Wiki-based collaboration 
platform using Seam. This will be the foundation of seamframework.org, and will 
also be released as Seam Wiki when we're happy that it is really solid. Our 
first test case for the Wiki was http://in.relation.to.

Now that we've got the forum functionality working, we've put up an alpha test 
site at:

http://alpha.seamframework.org:/

Please try it out and help us find bugs and instability in the platform!

Any data will be preserved in the final system, so if you find the time to help 
us migrate pages from the jboss.org wiki to the new wiki, your time won't be 
wasted!

I want to say thanks so much to Christian for all his hard work on this, and 
James Cobb for the graphic design.

Hopefully, you guys will find the new forum a whole lot more satisfactory than 
this one :-)[/url]

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

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


[jboss-user] [JBoss Seam] - Re: SeamFramework.org Alpha Test

2007-12-18 Thread [EMAIL PROTECTED]
Note that you'll need to register at the new site before you can post or create 
wiki pages. 

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

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


[jboss-user] [JBoss Seam] - Re: Test database with Seam2, Maven and TestNG?

2007-12-18 Thread thejavafreak
Try to add it in:
src/test/resources/META-INF

I haven't done this though.

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

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


[jboss-user] [JBoss Seam] - Re: Does Seam support remote ejb?

2007-12-18 Thread thejavafreak
Has anyone succeed on this?

Cheers,

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM Designer jbpm-jpdl-suite-3.2.2

2007-12-18 Thread dleerob
Unfortunately I don't think anyone will respond to your "question". I would 
suggest you start where everyone else does. Read the documentation, wiki, 
Getting Started guide, search the forums etc. Once you have some solid 
questions on something specific, ask away.
Good luck!

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

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


[jboss-user] [JBoss Seam] - Re: Seam PDF and Chart component

2007-12-18 Thread thejavafreak
Thanks Norman,

Somehow I just get the impression that it is to be displayed to a PDF because 
it uses the p namespace. I'm going to have a look at the examples.

Cheers,

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

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


[jboss-user] [JBoss Portal] - Portal 2.6.2 with CAS on different Server

2007-12-18 Thread Soon5
Hy There,

I am running a JBoss 4.2.1 environment with Portal 2.6.2 deployed. I am using 
CAS Authentication, which works fine.

Now I tried to move the CAS Webserver to another JBoss Server on a differnet 
machine. I changed the settings in the context.xml file in the 
portal-server.war folder. When I try to log in, I am redirected to the CAS 
Login Page. Login works, but the redirect to the portal not. I get the known 
"unable to validate certificate" Exception.

I think I just have to Install some certificate on my machine or whatever. The 
point is, i am not very firm with all this ssl stuff, and everithing I read 
about it was written very confusing.

Thanks for any help provided.

Greetings Soon5

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

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


[jboss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: queue not bound

2007-12-18 Thread bidhudas
One correction in the previous mail

The  jbossmq-destinations-service.xml entry is the following


jboss.mq:service=DestinationManager
  

Please help me to resolve this issue at the earliest.

Thanks in advance
Bidhudas

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

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


[jboss-user] [Beginners Corner] - javax.naming.NameNotFoundException: queue not bound

2007-12-18 Thread bidhudas
Hi,

 I am trying to configure JMS queue in JBOSS. I have added the following entry 
in jbossmq-destinations-service.xml 


jboss.mq:service=DestinationManager
  


But the same was not  listed in JNDIVIEW.

Whenever I tried to lookup this queue(ctx.lookup(queue/RequestQ) getting the 
following error. It will be of great help if any body can help in resolving 
this issue

javax.naming.NameNotFoundException: queue not bound 
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) 
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) 
at org.jnp.server.NamingServer.getObject(NamingServer.java:543) 
at org.jnp.server.NamingServer.lookup(NamingServer.java:267) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) 
at sun.rmi.transport.Transport$1.run(Unknown Source) 
at java.security.AccessController.doPrivileged(Native Method) 



Regards
Bidhduas

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

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


[jboss-user] [JBoss Seam] - Re: jboss seam project deploy error

2007-12-18 Thread myfuture1
sure,i have restarted jboss

but the jboss AS still cann't find the 
com.microsoft.sqlserver.jdbc.SQLServerDriver class

what's wrong?

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

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


[jboss-user] [JBoss Seam] - Re: jboss seam project deploy error

2007-12-18 Thread [EMAIL PROTECTED]
Did you restart JBoss after copying the driver over?  JBoss does not hotdeploy 
from the lib directory.

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

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


[jboss-user] [EJB/JBoss] - Re: logging transactions

2007-12-18 Thread riwright
I would like to know how to do this as well, I am having some problems that I 
need to debug. 

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

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


[jboss-user] [JBoss Seam] - Re: Search entity doesn't need to be validated

2007-12-18 Thread menashe
date range point well-taken

"jazir1979" wrote : 
  | Another thing I'd point out is that using an entity for search values only 
works in the simplest of cases - you can't easily do date ranges, for example.
  | 
  | "menashe" wrote : it is not s:validate it is hibernate validator that is 
the problem

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

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


[jboss-user] [JBoss Seam] - Re: Anybody got Seam 2.0.0 working with WebSphere 6.1 and EJ

2007-12-18 Thread hirowla
See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=122361 for the 
exact error being found at the moment. 

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

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


[jboss-user] [JBoss Seam] - Re: Search entity doesn't need to be validated

2007-12-18 Thread jazir1979

>From my understanding, you need s:validate to trigger hibernate validator at 
>the JSF level.  Otherwise, the validations only trigger when you try to 
>persist an entity?  I could be wrong, however.

Another thing I'd point out is that using an entity for search values only 
works in the simplest of cases - you can't easily do date ranges, for example.

"menashe" wrote : it is not s:validate it is hibernate validator that is the 
problem

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

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


[jboss-user] [JBoss Seam] - Re: Search entity doesn't need to be validated

2007-12-18 Thread menashe
it is not s:validate it is hibernate validator that is the problem

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

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


[jboss-user] [JBoss jBPM] - Re: Why my jbpm-console does not recognize jbpm4jsf

2007-12-18 Thread pedroluppi
I have this jbpm.taglib.xml:


  | 
  | http://java.sun.com/dtd/facelet-taglib_1_0.dtd";>
  | 
  | 
  | 
  |   http://jbpm.org/jsf
  | 
  |   
  | processImage
  | 
  |   org.jbpm.webapp.ui.ProcessImage
  | 
  |   
  | 
  |   
  | box
  | 
  |   org.jbpm.webapp.ui.Box
  | 
  |   
  | 
  |   
  | interval
  | 
  |   org.jbpm.webapp.ui.Interval
  | 
  |   
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Search entity doesn't need to be validated

2007-12-18 Thread jazir1979
I don't use seam-gen, and my project doesn't use entity fields to carry across 
search values... but I wonder, why would you even have your search fields 
inside s:validate in your UI?

"menashe" wrote : After looking at the seam examples and seamgen code on how 
the search is done. It seams to me that there is a shortcoming in seam, since, 
seam search uses a new entyty of the search class but if it works only if there 
are no validation on the class. When this is used with any class that uses 
validation then validation errors occur.
  | Say, a  simple person class with just firstname and lastname both are 
notnull and are 3 to 20 chars long.
  | Now, when user searches for any person by lastname 'smith', seam complains 
that firstname is null or if user tries to search for person with a firstname 
(that starts with) 'ja' (as in jane or jack) it also complains that the 
firstname is too short.
  | 
  | Is there a way do disable the validation?
  | 
  | Other then creating a duplicate class without validation (since, AFAIK, it 
is not possible to extend original class and then overwrite the validation 
annotations there, it can be said that can be done backwards to first create 
class that will be used for search and then extend it to create an entity class 
but it doesn't sound like the right approch to me for some reason.) I will like 
to know what is the best practice in this situation, since this is a very basic 
issue I am sure many users have delt with it or will be working on it at some 
later time?
  | 
  | Thanks for your time.

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

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


[jboss-user] [JBoss Messaging] - how to send message to remote server with http

2007-12-18 Thread libinggang
hi,all
i want to send messages to a remote server with http,but i don't know how .
how can i get ConnectionFactory from jndi that resides on the remote server 
(with http)? or can i create a ConnectionFactory that connects to the remote 
server without jndi?

Thanks a lot !

binggangli

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

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


[jboss-user] [JBoss jBPM] - Why my jbpm-console does not recognize jbpm4jsf

2007-12-18 Thread pedroluppi
I generated by the button "Generate New Form ..."  a form for a task.
In taskname.xhtml  file have  xmlns:tf="http://jbpm.org/jsf/tf"; and   
xmlns:jbpm="http://jbpm.org/jsf";. And also have some tag using both, like 
. 

But when jbpm-console try to open the task page, I got the error 
 Tag Library supports namespace: http://jbpm.org/jsf, but no tag 
was defined for name: dataform 

I try to import to the project jbpm-console (using variable JBPM_REPO) the 
jbpm4jsf.jar, but not works.

So, what I can do to jbpm-console recognize tag from jbpm4jsf 
(xmlns:tf="http://jbpm.org/jsf/tf"; and   xmlns:jbpm="http://jbpm.org/jsf";) ?

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

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


[jboss-user] [JBoss Seam] - jboss seam project deploy error

2007-12-18 Thread myfuture1
testing a example,the env is:
db: sql server 2000
os:windows 2003
jboss as:jboss-4.2.2.GA

deploy the project and startjboss as,
show the error info:
2007-12-18 17:51:17,843 WARN  
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable 
while attempting to get a new connection: null
  | org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (org.jboss.resource.JBossResourceException: Failed to 
register driver for: com.microsoft.sqlserver.jdbc.SQLServerDriver; - nested 
throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: 
com.microsoft.sqlserver.jdbc.SQLServerDriver))

i have copy the sql server jdbc driver to $JBOSS_HOME/server/default/deploy/lib 
directory

how to solve it

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

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


[jboss-user] [JBoss Seam] - Re: Same element ID in many forms on the page

2007-12-18 Thread vanyatka
That in the action method it's value is null.

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

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


[jboss-user] [JBoss Seam] - Search entity doesn't need to be validated

2007-12-18 Thread menashe
After looking at the seam examples and seamgen code on how the search is done. 
It seams to me that there is a shortcoming in seam, since, seam search uses a 
new entyty of the search class but if it works only if there are no validation 
on the class. When this is used with any class that uses validation then 
validation errors occur.
Say, a  simple person class with just firstname and lastname both are notnull 
and are 3 to 20 chars long.
Now, when user searches for any person by lastname 'smith', seam complains that 
firstname is null or if user tries to search for person with a firstname (that 
starts with) 'ja' (as in jane or jack) it also complains that the firstname is 
too short.

Is there a way do disable the validation?

Other then creating a duplicate class without validation (since, AFAIK, it is 
not possible to extend original class and then overwrite the validation 
annotations there, it can be said that can be done backwards to first create 
class that will be used for search and then extend it to create an entity class 
but it doesn't sound like the right approch to me for some reason.) I will like 
to know what is the best practice in this situation, since this is a very basic 
issue I am sure many users have delt with it or will be working on it at some 
later time?

Thanks for your time.

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

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


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

2007-12-18 Thread damnh
Pete, what is this problem? Please help mee, thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Why PAGE context variable = NULL

2007-12-18 Thread damnh
what is this problem? Please help me

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

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


[jboss-user] [JBoss Seam] - Re: Scope of EntityManager

2007-12-18 Thread youngm
Put a breakpoint in SeamPhaseListener.handleTransactionsBeforePhase and see if 
you can determine why beginTran is being set to true in the case where you get 
this error.  If the phase id is RenderResponse or ApplyRequestValues and a 
conversation does not exist then we can dig further from there.

Mike

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

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


[jboss-user] [JBoss Seam] - Re: Scope of EntityManager

2007-12-18 Thread youngm
So can you consistently get the error hitting that richfaces url?  The strange 
thing is that if it's hitting the SeamPhaseListener then it should be creating 
a conversation.

What it sounds like is the transaction is getting started before the 
conversation is started.  However, the Seam transaction abstraction is supposed 
to take that into account.  If you'll notice there is an attribute on 
spring:transaction that says if this transaction requires a conversation 
context or not.  By default this is set to true so you should be fine.  Could 
you try debugging through the SeamPhaseListener to see if it really is trying 
to start a transaction before the conversation is created?

Mike

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

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


[jboss-user] [JBoss Seam] - Re: Cant build Seam from the CR1 download.

2007-12-18 Thread lowecg2004
Done:

http://jira.jboss.org/jira/browse/JBSEAM-2403

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

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


[jboss-user] [JBoss Portal] - Re: TagLib

2007-12-18 Thread [EMAIL PROTECTED]
You need portlet.tld.

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

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


[jboss-user] [Beginners Corner] - Re: jboss AS, jboss Web and php

2007-12-18 Thread nitm
hi,

i'm still having a problem with php in JBoss AS 4.2
i did try to follow everything that was said in the thread i was directed to, 
and other pages i could find but it does not help.

i get this exception:
The PHP Native library which allows executing PHP scripts was not found on the 
java.library.path
and the cause is:
java.lang.UnsatisfiedLinkError: Can't find SAPI class, no libphp5servlet in 
java.library.path

here's what i did so far (i hope i remember it all):
 - installed JBoss AS 4.2.2
 - added the JBoss Native 2.0.1 to the JBoss AS directory (bin\native)
 - downloaded the php5servlet-windows-SP1-i586 file and moved the PHP folder to 
another location
 - moved the php.ini to the windows directory
 - edited the server\default\deploy\jboss-web.deployer/server.xml and 
server\default\deploy\jboss-web.deployer\conf/web.xml to work with the php 
servlet 
 - downloaded the jbossweb-extras.jar and placed it in all kind of places 
(server\default\deploy\jbossws.sar, JBOSS_HOME/lib, server\default\lib, 
JBOSS_HOME\bin\native)

no matter what i do i get this exception..   what i really dont understand is 
this so called "SAPI class"..  i cant find any file called "libphp5servlet", i 
understand that the linux version of the php have a file called 
"libphp5servlet.so" but i dont have a windows equivalent..  so i guess that 
it's not a big suprise that it cant find it...
am i missing something?

thanks a lot, nitzan.

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

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


[jboss-user] [JBoss Portal] - TagLib

2007-12-18 Thread thepriz
I am trying to figure out what library I need to include in my Netbeans project 
so that it does not complain about the portal taglib.


  | <%@ taglib uri="http://java.sun.com/portlet"; prefix="portlet"%>
  | 

The error I get is:

The absolute URI: http://java.sun.com/portlet cannot be resolved in either the 
web.xml or the jar files deployed with this application.

Any help would be greatly appreciated.

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

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


[jboss-user] [JBoss Seam] - using two @Factory methods with two EntityManager objects

2007-12-18 Thread asookazian
I needed another JPA query to populate a drop down listbox in my JSF.  The 
table exists in a different DB than the original @Factory method query that 
populates the main form dataTable.

soo

Is it "legal" to inject the EntityManager more than once in the case of 
multiple persistence units for multiple DB's?  If not, can I create another 
SFSB and use the new EntityManager object for the new DB and inject it into the 
origianl SFSB?  Assuming the context should stay the same for both 
(conversation scope).

How can I do this using SMPC if it doesn't have the persistence unit element in 
the @In attribute for it?  How does SMPC know what DB it's connected/configured 
to?  I want to use FlushModeType.MANUAL to ensure there are no premature 
updates issued to the DB table(s).

SFSB code:

@PersistenceContext(unitName="boIcomsSecurityAudit", 
type=PersistenceContextType.EXTENDED)
  | private EntityManager emICOMS;
  | 
  | @PersistenceContext(unitName="coxIMDatasource", 
type=PersistenceContextType.EXTENDED)
  | private EntityManager emCoxIM;
  | 
  | @Begin(join=true, flushMode=FlushModeType.MANUAL)   // <-- use this 
with SMPC
  | //@Begin(join=true)
  | @Factory("myAuditList")
  | public void findAuditList()
  | {   
  | 
  | Boolean hardCodeEmployeeId = 
Boolean.parseBoolean(SecurityAuditProperties.getProperty(SecurityAuditConstants.HARD_CODE_EMPLOYEE_ID));
  | int employeeId;
  | 
  | if (hardCodeEmployeeId) {  //if true in props file then we're 
testing only...
  | employeeId = 900050881; //using btkach id for now;
  | }
  | else {
  | log.info("in getAuditList(): user.getUserId() = " + 
user.getUserId() + " user.getBillingId() = " + user.getBillingId());
  | 
  | employeeId = getEmployeeId();
  | 
  | }   
  | myAuditList = emICOMS.createQuery("SELECT gem, tsaw "+
  | 
"FROM TblSecurityAuditWorking tsaw, "+  
  | 
"GlobalEmployeeMaster gem "+
  | 
"WHERE tsaw.id.siteId   = gem.id.siteId "+
  | 
"AND tsaw.id.employeeNumber = gem.id.employeeNumber "+  
  | 
"AND tsaw.reportToId= :employeeId " +
  | 
"ORDER BY tsaw.id.employeeNumber ASC")
  | 
.setParameter("employeeId", employeeId)
  | 
.getResultList();   
  | 
  | //instantiate null valued noteList
  | noteAction.initialize(myAuditList);
  | 
  | log.info("in findAuditList(): myAuditList.size() = " + 
myAuditList.size());
  | 
  | noteLoadList = emICOMS.createQuery("SELECT saw.id.siteId, 
saw.id.employeeNumber, "+
  | "("+
  | "SELECT 
count(san) as AcctApprovedNoteCount "+
  | "FROM 
TblSecurityAuditNote san "+
  | "WHERE 
san.siteId = saw.id.siteId "+
  | "AND 
san.employeeNumber = saw.id.employeeNumber "+
  | "AND 
san.noteType = 'accountApproved' "+
  | ") as 
AcctApprovedCount, "+
  | "("+
  | "SELECT 
count(san) as secLevelApprovedNoteCount "+
  | "FROM 
TblSecurityAuditNote san "+
  | "WHERE 
san.siteId = saw.id.siteId "+
  | "AND 
san.employeeNumber = saw.id.employeeNumber "+
  | "AND 
san.noteType = 'secLevelApproved' "+
  | 

[jboss-user] [JBoss jBPM] - Re: Jboss jBPM/jBoss ESB link

2007-12-18 Thread [EMAIL PROTECTED]
As long as you don't have been drinking dutch beer with him... :-P

Cheers,
Koen

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

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


[jboss-user] [JBoss jBPM] - Re: error in build cvs source code

2007-12-18 Thread [EMAIL PROTECTED]
Are you building this from HEAD? The version number seems strange in that case. 
I will take a look at it tomorrow... In any case, I wouldn't be surprised if 
the downloaded Eclipse dependencies are corrupt. Look in your local repository 
and see if the Eclipse downloads can be opened.

Regards,
Koen

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

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


[jboss-user] [JBoss Seam] - safe way to test if entity is persisted

2007-12-18 Thread gsegura
Hello,
in this topic http://www.jboss.com/index.html?module=bb&op=viewtopic&t=98478 
the question of what is the proper (specification compliant) way to check if an 
entity has been persisted was raised.

And here http://opensource.atlassian.com/projects/hibernate/browse/HHH-2439 is 
stated that anonymous wrote : checking non-null identifier value being 
available on an entity instance if its in persistent state
is at least anonymous wrote : relying on questionable behavior

but I didn't see any alternative approach suggested, so I'm asking for the safe 
 way to verify persistent state of an entity.

regards

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

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


[jboss-user] [JBoss Seam] - Re: Cant build Seam from the CR1 download.

2007-12-18 Thread [EMAIL PROTECTED]
luckily I found all the libraries I needed in the "lib" folder.. fancy that.
Do you still want it Jirad?

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

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


[jboss-user] [JBoss Seam] - Re: Thank you for in.relation.to / RichFacesPleaseWaitBox co

2007-12-18 Thread supernovasoftware.com
For the moment I am giving myself a RTFM.

I realized that I hadn't even read the concurrent Ajax section of the Seam 
manual.

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

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


[jboss-user] [JBoss Seam] - Re: Redirect and GET parameters

2007-12-18 Thread alllle
I have the same question. 

The page param works fine with current window but it's not bookmarkable. In 
other words, user won't be able to locate this page 2 days later using
http://localhost:8080/app/article.xhtml?conversationId=2

The conversationId will be long gone by that time. The parameter needs to show 
up explicitly in the URL, something like:
http://localhost:8080/app/article.xhtml?conversationId=2&articleId=3

And is there a way to remove the "conversationId=2" part? (mine is "cid=xxx"). 
I suspect it's going to cause problem when user try to access the page with an 
expired conversation.

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

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


[jboss-user] [JBoss Seam] - Re: identifier 'authenticator' resolved to null

2007-12-18 Thread tonylmai
Never mind folks. My bad in the build.xml. It did not copy over the classes in 
the "model" and "action" directories.

Sorry about that.

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

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


[jboss-user] [Security & JAAS/JBoss] - Programmatic login feature backport to JBoss 4.0.5 - help ne

2007-12-18 Thread Plukh
Our company is migrating a large project from Orion to JBoss 4.0.5. This 
application relies on programmatic login in the Web tier. It is not practical 
to change that at this point, and we can't move to JBoss 4.2.x as well :-(. So 
I'm left with the only choice - to backport programmatic login feature from 
JBoss 4.2.0 to JBoss 4.0.5.

Well, it seemed simple enough - add a ThreadLocal to store active request to 
SecurityAssociationValve, and add WebAuthentication class to handle actual 
login/logout. I did this, rebuilt JBoss, changed the application - and it had 
even worked. Sort of.

Programmatic login works for exactly one request. When 
WebAuthentication.login() is called, the session becomes authenticated (all 
proper objects/roles are set appropriately). After the request ends, the 
session looses its authenticated status, and all requests after the one which 
did login become unauthenticated ones :-(((.

Does anyone have an idea why this could happen, and/or what to do to fix this? 
As a temporary solution, I've implemented a filter which just repeats the login 
on each request - but, of course, this is not suitable for production 
environment.

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

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


[jboss-user] [JBoss Seam] - Re: @Autowired in a Seam bean

2007-12-18 Thread Kragoth
Ok, basically I want to do spring injection in a SEAM bean.

But instead of doing it with the variable resolver, I want to have a listener 
on the creation of the SEAM bean that goes through and injects the spring 
components that have the @Autowired annotation.

The reason is that the variable resolver method binds me to the name of the 
implementation of the interface. Whereas the @Autowired annotation resolves by 
type.

All I need to know is how I can create a "listener" (not sure of the right 
teminology) that listens for the creation of a SEAM bean so that I can get 
spring to inject it's components. I know how to do the injection, I just don't 
know how to create a component that "listens" for the creation of a SEAM bean.

I'm sorry if this doesn't make sense :(

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

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


[jboss-user] [JBoss Seam] - Re: @Autowired in a Seam bean

2007-12-18 Thread [EMAIL PROTECTED]
Use an interceptor - take a look at the BijectionInterceptor for how Seam does 
injection/outjection.

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

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


[jboss-user] [JBoss Seam] - Re: Exception redirection broken. 404 thrown

2007-12-18 Thread joeyxxx
Thanks Pete. will do.

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

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


[jboss-user] [JBoss Seam] - Re: debug.seam not able to load conversation context page

2007-12-18 Thread alllle
Thanks,

It seems that this occurs when there is exception thrown in my code during the 
invoke application phase, such as a DB constraint violation when persisting an 
object. Otherwise, the debug.seam will come up okay. - hope this helps.

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

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


[jboss-user] [JBoss Seam] - Re: ERROR: #{messages} is not Serializable

2007-12-18 Thread [EMAIL PROTECTED]
"dhinojosa" wrote : I am creating a custom validator that uses component 
injection for the first time, this one just check that there are no links in the

This isn't supported. @Converter and @Validator must be declared 
@BypassInterceptors.

http://jira.jboss.com/jira/browse/JBSEAM-2402

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

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


[jboss-user] [Beginners Corner] - Adding a new Cert to JBoss after the old cert expired

2007-12-18 Thread wlekns
I'm trying to import a new Cert onto an existing JBoss system but I'm running 
into a wall.  

I've gone through the keytool commands and it appeared successful but I'm not 
sure how to associate the new cert with the appropriate URL/IP.  I have found 
the web-console and jmx-console but I'm not sure that is the appropriate place 
to make those changes.

Any help will be appreciated.

Thank you,

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

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


[jboss-user] [JBoss Seam] - Re: debug.seam not able to load conversation context page

2007-12-18 Thread [EMAIL PROTECTED]
You'll have to use your debugger. I think this is a weird bug in facelets that 
causes the debug page to crash. I'll chase up getting it fixed in facelets.

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

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


[jboss-user] [JBoss Seam] - Re: Using Seam with Facelets and EL Parameters

2007-12-18 Thread [EMAIL PROTECTED]
Why are you using managed beans with Seam? I suggest you start from the JPA 
example for WAS.

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

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


[jboss-user] [JBoss Seam] - Re: seam-gen : reverse DB : many-to-many convention ?

2007-12-18 Thread [EMAIL PROTECTED]
seam-gen doesn't support many-to-many relationships.

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

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


[jboss-user] [JBoss Seam] - Re: Redirect based on identity-roles

2007-12-18 Thread [EMAIL PROTECTED]
Start a new topic, nothing to do with this one.

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

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


[jboss-user] [JBoss Seam] - Re: Anybody got Seam 2.0.0 working with WebSphere 6.1 and EJ

2007-12-18 Thread [EMAIL PROTECTED]
As Pete said I'm working on App server compatibility.

Currently have OC4J and working on WebLogic.  WAS is next :)

-Jay

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

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


[jboss-user] [JBoss Seam] - Re: Forms - JBPM with Seam

2007-12-18 Thread [EMAIL PROTECTED]
No special integration, no.

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

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


[jboss-user] [JBoss Seam] - Default message.properties

2007-12-18 Thread holmes.j
I'm having some problems with the default message.properties and how to 
override them.

I've managed to override a few of the messages...

  | org.jboss.seam.loginSuccessful = Aren't you cool #{identity.username}?
  | org.jboss.seam.loginFailed = Invalid username/password combination.
  | org.jboss.seam.notLoggedIn = You need to login
  | 

But that last one doesn't work.  I'm not sure which events line-up with which 
messages.  And for that matter, I don't even see where the default messages are 
stored.  

Is there any place that points out the connections between the messages and 
what's provided so I can override it?

-Jason

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

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


[jboss-user] [JBoss Seam] - Re: Injected Logger is null on tomcat, seam 1.2

2007-12-18 Thread [EMAIL PROTECTED]
Lots of sample code in the examples directory.

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

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


[jboss-user] [JBoss Seam] - Re: Chained select boxes

2007-12-18 Thread [EMAIL PROTECTED]
"syzork" wrote : seam-ui example is not working.

How?

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

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


[jboss-user] [JBoss Seam] - Re: ReRender does not update the Form drop down values

2007-12-18 Thread [EMAIL PROTECTED]
There is a caching problem with s:selectItems in 2.0.0.GA. Try with a simple 
f:selectItems.

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

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


[jboss-user] [JBoss Seam] - Re: Adding custom timeout action

2007-12-18 Thread seamdev

Thanks. I got it working using HttpAttributeListener. 

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

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


[jboss-user] [JBoss Seam] - problem with Integration test in Seam 2.0.0 GA

2007-12-18 Thread seamdev
I am trying to use integration test in Seam 2.0.0GA and getting authenticator 
not found error. Please tell me what is wrong in my setup? I had tried to setup 
classpath for testing by reverse engineering the build.xml in examples dir and 
info in readme.txt - pls let me know if something is wrong there..


  | Test case:
  | 
  | public class LoginTest extends SeamTest{
  | 
  | @Test(groups = { "login" })
  | public void testSuccessfulLogin() throws Exception{
  | 
  | new FacesRequest(){
  | 
  | @Override
  | protected void processValidations() throws Exception{
  | 
validateValue("#{identity.username}","testaccount");
  | 
validateValue("#{identity.password}","password");
  | }
  | 
  | @Override
  | protected void updateModelValues() throws Exception{
  | setValue("#{identity.username}","testaccount");
  | setValue("#{identity.password}","password");

  | }
  | 
  | @Override 
  | protected void invokeApplication(){
  | invokeMethod("#{identity.login}");  
  | assert 
getValue("#{identity.loggedIn}").equals(Boolean.TRUE);
  | }
  | 
  | }.run();
  | }
  | }
  | 



  | Log:
  | 
  | [testng]   C:\proj\testsrc\com\login\test\testng.xml
  |[testng] 14:45:03,541 WARN  [UnifiedLoaderRepository3] Tried to add 
non-URLClassLoader.  Ignored
  |[testng] 14:45:04,494 INFO  [TransactionManagerService] JBossTS 
Transaction Service (JTA version) - JBoss Inc.
  |[testng] 14:45:04,494 INFO  [TransactionManagerService] Setting up 
property manager MBean and JMX layer
  |[testng] 14:45:04,557 WARN  [arjLoggerI18N] 
[com.arjuna.ats.arjuna.coordinator.TxControl_1] - Name of XA node not defined. 
Using -639de6b2:c2d6:47683150:0
  |[testng] 14:45:04,588 INFO  [arjLoggerI18N] 
[com.arjuna.ats.arjuna.recovery.TransactionStatusManager_1] - Starting service 
com.arjuna.ats.arjuna.recovery.ActionStatusService on port 49878
  |[testng] 14:45:04,588 INFO  [arjLogger] TransactionStatusManagerItem - 
host: 127.0.0.1 port: 49878
  |[testng] 14:45:04,619 INFO  [arjLoggerI18N] 
[com.arjuna.ats.arjuna.recovery.TransactionStatusManager_3] - 
TransactionStatusManager started on port 49878 with service 
com.arjuna.ats.arjuna.recovery.ActionStatusService
  |[testng] 14:45:04,619 INFO  [tsmxLogger] Registering mbean for module 
'arjuna'
  |[testng] 14:45:04,635 INFO  [tsmxLogger] Initialising JMX agent 
com.arjuna.ats.internal.jbossatx.agent.LocalJBossAgentImpl
  |[testng] 14:45:04,650 INFO  [TransactionManagerService] Starting 
recovery manager
  |[testng] 14:45:04,650 INFO  [arjLogger] 
  |[testng]   --- Start RecoveryActivators 
  |[testng] 14:45:04,650 INFO  [arjLoggerI18N] 
[com.arjuna.ats.internal.arjuna.recovery.ready] RecoveryManagerImple is ready 
on port 49,879
  |[testng] 14:45:04,650 INFO  [TransactionManagerService] Recovery manager 
started
  |[testng] 14:45:04,666 INFO  [TransactionManagerService] Binding 
TransactionManager JNDI Reference
  |[testng] 14:45:06,322 INFO  [RARDeployment] Required license terms 
exist, view 
vfsfile:/C:/proj/lib/bootstrap/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
  |[testng] 14:45:06,385 INFO  [ConnectionFactoryBindingService] Bound 
ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI 
name 'java:DefaultDS'
  |[testng] 14:45:06,385 INFO  [RARDeployment] Required license terms 
exist, view 
vfsfile:/C:/proj/lib/bootstrap/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
  |[testng] 14:45:06,385 INFO  [RARDeployment] Required license terms 
exist, view vfsfile:/C:/proj/lib/bootstrap/deploy/jms-ra.rar/META-INF/ra.xml
  |[testng] 14:45:06,854 WARN  [JDBCPersistenceManager] 
  |[testng] JBoss Messaging Warning: DataSource connection transaction 
isolation should be READ_COMMITTED, but it is currently NONE.
  |[testng]  Using an isolation level less strict 
than READ_COMMITTED may lead to data consistency problems.
  |[testng]  Using an isolation level more strict 
than READ_COMMITTED may lead to deadlock.
  |[testng] 14:45:06,979 INFO  [ServerPeer] ServerPeer[0] creating server 
peer with ID 0
  |[testng] 14:45:07,338 INFO  [ServerPeer] JBoss Messaging 1.2.0.sp1 
server [0] started
  |[testng] 14:45:07,369 INFO  [TopicService] 
Topic[/topic/TopicWithOwnDLQAndExpiryQueue] started, fullSize=20, 
pageSize=2000, downCacheSize=2000
  |[testng] 14:45:07,369 INFO  [TopicService] 
Topic[/topic/TopicWithOwnRedel

[jboss-user] [JBoss Seam] - Re: Seam 2.0 GA - seambay example deployment fails

2007-12-18 Thread [EMAIL PROTECTED]
Can you try with a clean install of JBoss AS 4.2.2 and Seam 2.0.0?

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

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


[jboss-user] [Clustering/JBoss] - Re: Instances of JBoss in different machines

2007-12-18 Thread viswanadhvk
HI all , I solved the problem.

The problem is in my system there is no mcast open. So I used TCPPING 

now I am able to see both the machines as well as able to deploy the stuff.

Thanks!
Vvk

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

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


[jboss-user] [Clustering/JBoss] - Re: Setting up multiple instances of JBoss in different mach

2007-12-18 Thread viswanadhvk
Hi all, I solved the problem. The problem was my system is not having mcast 
open. So instead of using UDP, Iam using TCPPING. It was working fine.

Thanks!
vvk

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

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


[jboss-user] [JBoss Seam] - Re: Anybody got Seam 2.0.0 working with WebSphere 6.1 and EJ

2007-12-18 Thread [EMAIL PROTECTED]
We haven't got Seam working with WAS and EJB3. We do however have it working 
with JPA - see the JPA example for more.

Jay is currently working on app server compatibility - he hasn't got to WAS 
yet, but when he does you can expect *much* better docs on how to get your app 
running.

If you can post specific errors then perhaps we can help you more.

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

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


[jboss-user] [JBoss Seam] - Re: Exception redirection broken. 404 thrown

2007-12-18 Thread [EMAIL PROTECTED]
Please file a jira issue so we can investigate

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

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


[jboss-user] [JBoss Seam] - Re: Duplicate calls to functions

2007-12-18 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamProblemsFAQ

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

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


[jboss-user] [JBoss Seam] - Re: Scope of EntityManager

2007-12-18 Thread dapeng
Hi,


I think I've found the reason for this problem. I think it is a bug in 
combination with richfaces. The error occurd when serving a request for
anonymous wrote : 
/mywebapp/a4j_3_1_1-SNAPSHOTorg/richfaces/renderkit/html/css/modalPanel.xcss/DATB/eAGLZKr5DAADWQHL
which is a resource for a richfaces component.

As you can see in the stack trace below, this request somehow triggerd the JSF 
lifecycle, which causes the SeamPhaseListener to run, which again tries  to 
initialize the entity manager, though the conversation context has not been 
activated yet.

SeamManagedEntityManagerFactory.createEntityManager() line: 59  
  | JpaTransactionManager.createEntityManagerForTransaction() line: 391 
  | JpaTransactionManager.doBegin(Object, TransactionDefinition) line: 315  
  | 
JpaTransactionManager(AbstractPlatformTransactionManager).getTransaction(TransactionDefinition)
 line: 350   
  | SpringTransaction.begin() line: 74  
  | SeamPhaseListener.begin(PhaseId) line: 566  
  | SeamPhaseListener.handleTransactionsBeforePhase(PhaseEvent) line: 307   
  | SeamPhaseListener.beforeServletPhase(PhaseEvent) line: 142  
  | SeamPhaseListener.beforePhase(PhaseEvent) line: 116 
  | ResourceLifecycle.invokePhaseListener(PhaseListener, PhaseEvent, boolean) 
line: 201 
  | ResourceLifecycle.processPhaseListeners(PhaseListener[], PhaseEvent, 
boolean) line: 177 
  | ResourceLifecycle.send(ResourceContext, InternetResource) line: 147 
  | InternetResourceService.load(Object, Object) line: 336  
  | LRUMapCache.load(Object, Object) line: 116  
  | LRUMapCache.get(Object, Object) line: 87
  | InternetResourceService.serviceResource(String, HttpServletRequest, 
HttpServletResponse) line: 198  
  | InternetResourceService.serviceResource(HttpServletRequest, 
HttpServletResponse) line: 144  
  | Filter(BaseFilter).doFilter(ServletRequest, ServletResponse, FilterChain) 
line: 265 
  | Ajax4jsfFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 
60  
  | SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 
69   
  | LoggingFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 
58   
  | SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) line: 
69   
  | SeamFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 158 
  | 

Any comment?

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

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


[jboss-user] [JBoss Seam] - Re: how to dis-manage entities?

2007-12-18 Thread [EMAIL PROTECTED]
"gsegura" wrote : And that is the problem because when more than one user are 
inserting CourseNotes to the collection, the second one will get an 
optimisticlockexception at the time he tries to merge his instance of the course

I would just used managed entities at all times.

anonymous wrote : At the same time this makes think of another issue: the 
implementation of master-detail editions, which at first, for the neophyte like 
me, feels natural to handle using nested conversations and sharing full objects 
but the preferred way to go is using entityhome and its passing-just-the-id 
technique, again a not very OO-ish way IMHO. 

I don't really understand this statement. Why can't you use EntityHome and 
nested conversations? EntityHome uses objects when inside the conversation (you 
just pass in the id to get started, probably from outside the conversation). 
Why is EntityHome not very ooish?

JPA doesn't have a concept of read only entities afaik.

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

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


[jboss-user] [JBoss Seam] - Re: occasional could not acquire lock on @Synchronized compo

2007-12-18 Thread [EMAIL PROTECTED]
Well, you'll need increase the timeout for trying to obtain the lock. By 
default a second.

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

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


[jboss-user] [JBoss Seam] - Re: @Asynchronous mail example fails

2007-12-18 Thread [EMAIL PROTECTED]
The unified classloader has nothing to do with UseJBossWebLoader. Use RichFaces 
3.1.x - this allows the use of RichFaces components in your action beans. Place 
the richfaces-api.jar into your ear/lib directory.

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

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


[jboss-user] [JBoss Messaging] - Re: distributed-queue does not always work?

2007-12-18 Thread [EMAIL PROTECTED]
The configuration seems ok to me.


Possible things you should look at:

- Are you sure you didn't change anything on the test?
- Can you try the same test again, after dropping/creating your database (or 
clearing the data on the tables).
- Are you sure you have your UDP working fine?
- Do you have both nodes on the same box I assume? If not, check your JGroups 
configs.



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

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


[jboss-user] [JBoss Seam] - Re: Same element ID in many forms on the page

2007-12-18 Thread [EMAIL PROTECTED]
What does isn't initialised mean here?

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

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


[jboss-user] [Beginners Corner] - java.lang.ClassCastException: org.jboss.util.id.GUID cannot

2007-12-18 Thread bpet36
Hi,

I am attempting to lookup and call methods on an ejb from a servlet where  the 
two are deployed in separate ear files on the same JBoss server. 

I believe I have encountered a classloading issue,  if so, I am not sure how to 
resolve it.  Can anyone help me resolve this problem?


Anyway, here is my latest progress, the exception is encountered at

obj = PortableRemoteObject.narrow(ctx.lookup("ejb/UserAdmin/UserBean" , 
Class.forName(className));

Is this a classloading issue or a configuration issue?  

Has anyone encountered this problem? And if so do you know what I may be doing 
wrong.

Thanks in advance, hopefully someone has a clue as to what this problem may be.

Bob

Lookup code

InitialContext ctx = new InitialContext();
Object obj = null;
try {
 obj = PortableRemoteObject.narrow(ctx.lookup("ejb/UserAdmin/UserBean"), 
Class.forName(className));
} catch (Exception e) {
logger.log(Level.ERROR, e.getMessage(), e);
} 
UserBeanHome home = (UserBeanHome)obj; 
UserBean remote = (UserBean) home.create();


Exception

java.lang.ClassCastException: org.jboss.util.id.GUID cannot be cast to org.jboss
.util.id.GUID
at 
org.jboss.invocation.InvokerInterceptor.readExternal(InvokerInterceptor.java:358)
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.readObject(ObjectInputStream.java:351)
at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80)
at org.jboss.proxy.ejb.RetryInterceptor.readExternal(RetryInterceptor.java:291)
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.readObject(ObjectInputStream.java:351)
at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80)
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.readObject(ObjectInputStream.java:351)
at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80)
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.readObject(ObjectInputStream.java:351)
at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80)
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.readObject(ObjectInputStream.java:351)
at org.jboss.proxy.ClientContainer.readExternal(ClientContainer.java:156)
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 java.rmi.MarshalledObject.get(MarshalledObject.java:142)
at 
org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
 

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

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


[jboss-user] [JBoss Tools (users)] - Re: Editors not shown first when an xhtml file is opened in

2007-12-18 Thread evdwaard2
yeah, when i toggle the tabs (change to another and then change back) it's 
working. 

We tried a redraw and update on the sourceditor object in setVisualMode in 
VpeEditorPart.java, but that didn't fix things.

I added this in Jira, http://jira.jboss.org/jira/browse/JBIDE-1531.

Thanks!

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

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


[jboss-user] [JBoss Seam] - Test database with Seam2, Maven and TestNG?

2007-12-18 Thread andrew.rw.robinson
I have finally got the maven unit tests through testng running, but they are 
failing. 

I want to have two databases, one for tomcat deployment and one for my unit 
tests. The problem is that the seam configuration is picking up my 
"src/main/resources/META-INF/orm.xml" and 
"src/main/resources/META-INF/persistence.xml". 

As a result, the tests are being run against the wrong database. Anyone have 
any bright ideas on how to isolate the unit tests better?

Thanks,
Andrew

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

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


[jboss-user] [JBoss Messaging] - Re: Message paging not working

2007-12-18 Thread [EMAIL PROTECTED]
Can you attach your testcase here?

http://jira.jboss.com/jira/browse/JBMESSAGING-1211

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

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


[jboss-user] [JBoss Tools (users)] - Re: Editors not shown first when an xhtml file is opened in

2007-12-18 Thread [EMAIL PROTECTED]
hmm...so as long as you toggle the tabs the editor works fine ?

you can close the editor and open a new one and it works again after toggling 
the tab? 

Please report that in jira - then we can track it there.

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

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


[jboss-user] [JBoss Seam] - Error selecting object - SEAM 1.2.1GA

2007-12-18 Thread james_hays
I'm using SEAM 1.2.1GA and have all of a sudden run into random errors 
selecting objects out of a drop down list.  It doesn't have all the time and 
seems very random.

I've attempted to enhance the equals() method and the hashcode, but nothing 
seems to matter in that regard.  When I debug the EntityConverter, the key 
associated with the object is incorrect.  You can see this from the error 
message as well.
anonymous wrote : ERROR [EntityConverter] Cannot load entity 
(com.ball.lcgm.entity.User with id 
org.jboss.seam.ui.NoSelectionConverter.noSelectionValue) from persistence 
context

I mainly see this when my dropdown list is populated from an ajax call, but 
I've also seen this error when selecting from a selectManyCheckbox:


  | 
  |  
  |  
  | 
  | 
  | 

The error quoted above is directly from the specified code.  As you can see, 
there is no mention of noSelectionValue.

Any help would be appreciated.  I've read before to upgrade to the latest in 
CVS, but that is not an option at the moment.  We do have a JBoss support 
agreement and if needed, I can escalate it there.

Thanks,

James

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

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


[jboss-user] [JBoss Tools (users)] - Re: Editors not shown first when an xhtml file is opened in

2007-12-18 Thread evdwaard2
Thanks for the fast reply max!

I did take a look at xulrunner and 64 bit vista, but when i switched tabs once, 
everything works until i close the editor.

I was trying to call the change tab event myself in the sourcecode of 
VpeEditorPart.java, in a way that when i open the editor, it automatically 
changes tabs and loads the editor. (as a quick temporary fix)
Do you know where this call can be done?

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

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


[jboss-user] [JBoss Seam] - Re: Error selecting object

2007-12-18 Thread james_hays
New Topic:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113953

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

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


[jboss-user] [JBoss Tools (users)] - Re: Editors not shown first when an xhtml file is opened in

2007-12-18 Thread [EMAIL PROTECTED]
I don't have access to a vista 64 bit so can't really help.

I would have assumed that running with a Java 5 32 bit should work, but if that 
does not work then report in jira ...but again, we don't have access to a 64 
bit vista so would need help on getting xulrunner to work on 64 bit vista.

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

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


[jboss-user] [JBoss Tools (users)] - Editors not shown first when an xhtml file is opened in the

2007-12-18 Thread evdwaard2
When we open a xhtml file in the jboss html editor, the first time there isn't 
anything show, just a grey background.
The tabs at the bottom of the pane are shown, and if you click another tab the 
editor is shown and you can use all different edit modes. 

We are running Eclipse on Windows Vista 64, and maybe this has something to do 
with it. When we copied the configuration to a Vista 32 bit machine, the 
problem went away.

It would be great if someone could point us in the right direction of where to 
continue our search!

Another hint may be that the settings pane for the visual editor also is blank 
after we used the editor once.

What we've tried so far (but did not succeed):
- update to nightly build of jboss tools
- searched the jira
- searched the forums
- edit the code ourselves
- tried running this eclipse configuration with JDK 5 (both 64 as 32 bit)
- tried setting another default editor

We use the following versions:
- Eclipse 3.3.1.1
- JBoss Tools 2.0.0.GA
- Java JDK6 64 bit

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

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


[jboss-user] [EJB 3.0] - Incompatibility between Jboss server versions?

2007-12-18 Thread wandi
Incompatibility between Jboss server versions? 

Hi guys, can anybody help-me with a problem?
I'm currently using JBossAS 4.2.1 and I was trying to make a lookup in an EJB3 
Session Bean - in another JbossAS (different VM - version 4.0.4GA) - , but I 
received an Exception...

Caused by: javax.naming.CommunicationException [Root exception is 
java.io.InvalidClassException: org.jboss.ejb3.session.BaseSessionRemoteProxy; 
local
class incompatible: stream classdesc serialVersionUID = 2609262789016232311, 
local class serialVersionUID = 8310915813626447181]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:724)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at 
org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:123)
at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:121)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:146)
at 
org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:86)
at 
org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:104)
at 
org.springframework.jndi.JndiObjectTargetSource.getTarget(JndiObjectTargetSource.java:121)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:150)
... 90 more
Caused by: java.io.InvalidClassException: 
org.jboss.ejb3.session.BaseSessionRemoteProxy; local class incompatible: stream 
classdesc serialVersionUID
 2609262789016232311, local class serialVersionUID = 8310915813626447181
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
at 
org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:654) 

it Sounds incompatible!

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

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


[jboss-user] [EJB/JBoss] - Incompatibility between Jboss server versions?

2007-12-18 Thread wandi
Hi guys, can anybody help-me with a problem?
I'm currently using JBossAS 4.2.1 and I was trying to make a lookup in an EJB3 
Session Bean - in another JbossAS (different VM - version 4.0.4GA) - , but I 
received an Exception...

Caused by: javax.naming.CommunicationException [Root exception is 
java.io.InvalidClassException: org.jboss.ejb3.session.BaseSessionRemoteProxy; 
local
class incompatible: stream classdesc serialVersionUID = 2609262789016232311, 
local class serialVersionUID = 8310915813626447181]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:724)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at 
org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:123)
at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:121)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:146)
at 
org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:86)
at 
org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:104)
at 
org.springframework.jndi.JndiObjectTargetSource.getTarget(JndiObjectTargetSource.java:121)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:150)
... 90 more
Caused by: java.io.InvalidClassException: 
org.jboss.ejb3.session.BaseSessionRemoteProxy; local class incompatible: stream 
classdesc serialVersionUID
 2609262789016232311, local class serialVersionUID = 8310915813626447181
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
at 
org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:654) 

it Sounds incompatible!

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

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


[jboss-user] [JNDI/Naming/Network] - Incompatibility between Jboss server versions?

2007-12-18 Thread wandi
Incompatibility between Jboss server versions? 

Hi guys, can anybody help-me with a problem?
I'm currently using JBossAS 4.2.1 and I was trying to make a lookup in an EJB3 
Session Bean - in another JbossAS (different VM - version 4.0.4GA) - , but I 
received an Exception...

Caused by: javax.naming.CommunicationException [Root exception is 
java.io.InvalidClassException: org.jboss.ejb3.session.BaseSessionRemoteProxy; 
local
class incompatible: stream classdesc serialVersionUID = 2609262789016232311, 
local class serialVersionUID = 8310915813626447181]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:724)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at 
org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:123)
at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:121)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:146)
at 
org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:86)
at 
org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:104)
at 
org.springframework.jndi.JndiObjectTargetSource.getTarget(JndiObjectTargetSource.java:121)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:150)
... 90 more
Caused by: java.io.InvalidClassException: 
org.jboss.ejb3.session.BaseSessionRemoteProxy; local class incompatible: stream 
classdesc serialVersionUID
 2609262789016232311, local class serialVersionUID = 8310915813626447181
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
at 
org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:654) 

it Sounds incompatible!

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

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


  1   2   3   >