[jboss-user] [JBoss Seam] - Re: Partial page rendering

2006-08-30 Thread shasho
I really don?t have a specific technical question but rather looking for the 
?right? approach. My requirement is to build a screen composed of several 
different parts and be able to update each screen part separately ..For 
example, a screen composed of an upper banner and a login box. When the user 
login into the system and the request is validated in the server I don?t want 
the upper banner to be updated from the server as well. Obviously, I want this 
functionality to work under Seam+Facelete+JSF!
I understand that Seam doesn?t have a built in solution for this requirement? 
Does anyone have an experience with other tools that seems to solve the problem 
such as Ajax4jsf?


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

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


[jboss-user] [The Lizzard's corner] - Deployment problem-urgent

2006-08-30 Thread jainul.bashar
Hi,

I m new to jboss server and j2ee,
i m using jboss for the first time ,
deployment is done through the ide's
but i m unable to deploy a project manually,
So can anyone Plzz send me the process of deployment manually,
Plz be patience with my less knowledge of jboss,
Waiting 4 the response



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

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


[jboss-user] [JNDI/Naming/Network] - context.list() shows Object, but context.lookup() fails with

2006-08-30 Thread johannes.martin
The following problem occurs while looking up an EJB within an EAR in JBoss 
4.0.4SP1.

When I try to lookup an EJB like
  ... =  new InitialContext().lookup("local/SomeService");
a "javax.naming.NameNotFoundException: SomeService not bound" is thrown.

Obvious reason would be that something is wrong with ejb-jar.xml or jboss.xml, 
but they look right (see below).

Also, when I use the following code to list the contents of "local", the 
TRXService appears:
   ne = new InitialContext.list("local");
   while (ne.hasMore()) {
   NameClassPair p = (NameClassPair) ne.next();
   System.out.println(p.getName() + ":\t" + 
p.getClassName());
   }
...
08:42:03,703 INFO  [STDOUT] [EMAIL PROTECTED]:$Proxy180
...

Also, the lookup seems to work fine with JBoss 3.2.1.

Any hints?

Thanks
  Johannes 

-
jboss.xml:




SomeService
local/SomeService



-
ejb-jar.xml:

http://java.sun.com/dtd/ejb-jar_2_0.dtd";>



SomeService
SomeService
de.mycompany.SomeServiceHome
de.mycompany.SomeService
de.mycompany.SomeServiceBean
Stateless
Container










SomeService
*

Required



SomeService
execute

RequiresNew



-

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Error in reloading jsp with taglib directive

2006-08-30 Thread qiqbal
Hi,

Can anyone help me with a strange issue.

I have a simple jsp with a taglib directive.

<%@ taglib uri = "WEB-INF/myTaglib.tld" prefix = "output" %>
  | 
  | 
  | Hello
  | 
  | 

I saved the taglib at:
\jboss-4.0.3\server\default\deploy\myApp.war\WEB-INF

I saved the jsp at the root of my web application, so it is accessible as:
http://localhost:8080/myApp/myJsp.jsp

Whenever i make the slighest change in this jsp and restart my jboss server, it 
gives an error. The strangest thing is that the error comes only once. Even if 
i simply refresh the page, its gone. It only happens once when I make changes 
and restart the server at the same time.
The exception thrown is:

10:47:50,609 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
  | java.util.zip.ZipException: invalid entry size (expected 2683 but got 2686 
bytes)
  | at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:368)
  | at java.util.zip.ZipInputStream.read(ZipInputStream.java:141)
  | at java.util.jar.JarInputStream.read(JarInputStream.java:171)
  | at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:91)
  | at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:69)
  | at 
java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:118)
  | at 
java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:149)
  | at 
org.jboss.web.tomcat.tc5.jasper.TagLibCache.scanJar(TagLibCache.java:319)
  | at 
org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem(TagLibCache.java:263)
  | at 
org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem(TagLibCache.java:256)
  | at 
org.jboss.web.tomcat.tc5.jasper.TagLibCache.init(TagLibCache.java:100)
  | at 
org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation(TagLibCache.java:88)
  | at 
org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:519)
  | at 
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:417)
  | at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
  | at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
  | at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
  | at 
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
  | at 
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
  | at 
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
  | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
  | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
  | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
  | at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
  | at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
  | at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
Please note the error in bold. It is coming due to taglib directive. 

I tried following things and it worked
1> Make changes in jsp but do not restart server
2> Restart server but no changes in jsp
3> Simply refresh the page after first access

Please someone help me, it is most urgent.

Thanks in advance

Qaisar Iqbal
[EMAIL PROTECTED]
Sr. Software Engineer
Folio3 Pvt. Ltd.
Karachi, Pakistan
www.folio3.com

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

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


[jboss-user] [JBossWS] - Re: SwA and

2006-08-30 Thread [EMAIL PROTECTED]
The 


  | @WebService(wsdlLocation="META-INF/wsdl/SwaTestWsdl.wsdl")
  | 

attribute is actually not used to generate the internal meta data. (i.e. your 
endpoint has no idea that SwA is comming down the wire) 

Please monitor 
http://jira.jboss.org/jira/browse/JBWS-1155

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

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


[jboss-user] [EJB 3.0] - Re: @GeneratedValue: Unknown Id.generator

2006-08-30 Thread ALRubinger
Sorry; didn't see you were using @TableGenerator.  I've never used this 
approach; will let someone else respond.

S,
ALR

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

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


[jboss-user] [JBoss Seam] - Re: Partial page rendering

2006-08-30 Thread mrohad
try to use ajax4jsf , you can rerender regions in your page.

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

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


[jboss-user] [EJB 3.0] - Re: @GeneratedValue: Unknown Id.generator

2006-08-30 Thread ALRubinger
Try something like:

@Id()
  | @GeneratedValue(generator = "autoincrement")
  | @GenericGenerator(name = "autoincrement", strategy = "identity")
  | public Long getId() {
  | return id;
  | }

...where @GeneratedValue.generator is equal to @GenericGenerator.name.  Valid 
strategies:

http://www.hibernate.org/hib_docs/reference/en/html/mapping.html#mapping-declaration-id-generator

S,
ALR

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Jboss mail-service.xml localhost, port 25

2006-08-30 Thread koriel
well the problem seems to be in bounding the mbean. Here is the code for my 
RegisterMessage


  | @Resource(mappedName="java:/Mail")
  | Session mailSession;
  | 
  | 
  | 
  | public Message UAIMessage(User user) {
  | 
  | try {   
  | 
  | Message message = new MimeMessage(getMailSession());
  | 
  | InternetAddress to[] = new InternetAddress[1];
  | to[0] = new InternetAddress(user.getEmail());
  | message.setRecipients(Message.RecipientType.TO, to);
  | message.setSubject("UAI_sys Registration information");
  | message.setContent(RegisterContent(user), "text/plain");
  | //person.get
  | return message;
  | }catch(Exception e) { return null; }
  | 
  | }
  | 

By debuging this I get that mailSession is always null. When jboss starts I get 
that mail service is bound to java:/Mail so I can't understand why it's null

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

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


[jboss-user] [JCA/JBoss] - Deployment exception for message listeners-can not locate re

2006-08-30 Thread sivakavi
hi,
i have deployed an ear file which has rar files also. when i goto the jmx 
console i'm seeing the rar files got registered and started but the message 
listners are not able to find the rar deployment and giving rar is not 
registered but actually in the console i'm seeing everything started fine. 


The Following Are The Logs:
2006-08-31 11:21:32,101 WARN  [org.jboss.system.ServiceController] Problem 
starting service 
jboss.j2ee:service=EJB,plugin=invoker,binding=message-inflow-driven-bean,jndiName=local/[EMAIL
 PROTECTED]
org.jboss.deployment.DeploymentException: Cannot locate resource adapter 
deployment CMap1_col_FtoF1_File2.rar; - nested throwable: 
(javax.management.InstanceNotFoundException: 
jboss.jca:service=RARDeployment,name='CMap1_col_FtoF1_File2.rar' is not 
registered.)
at 
org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
at 
org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.resolveResourceAdapter(JBossMessageEndpointFactory.java:356)
at 
org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.startService(JBossMessageEndpointFactory.java:216)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:194)
at 
org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy63.start(Unknown Source)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:410)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - xDoclet and JSP

2006-08-30 Thread dirkniemeier
Hi,
ist it possible to use xDoclet definitions direct in *.JSP files ? I tried in 
JBoss IDE without success. Perhaps an example ?

TIA
  Dirk 

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

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


[jboss-user] [EJB 3.0] - Re: Changing default InvokerLocator port (ejb3-deployer)

2006-08-30 Thread ALRubinger
Should affect Service Beans only.  Patch is in.

http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968518#3968518

S,
ALR

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

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


[jboss-user] [JBoss Portal] - Re: Several CMSPortlet instance with different start pages

2006-08-30 Thread feor58
Thanks for your information.

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

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


[jboss-user] [JBossWS] - Re: where to deploy web service war files

2006-08-30 Thread peiguo
Thanks, and you made my day, and I will try tomorrow.



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

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


[jboss-user] [JBoss Seam] - Re: Partial page rendering

2006-08-30 Thread raja05
Facelets are a good approach of doing these sorts of things, but all the 
fragments will be redrawn for every screen. Its worked well for some simple 
things I have tried, if you indicate your problems here or in facelets mailing 
list, someone might be able to help.


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

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


[jboss-user] [JBossWS] - Re: where to deploy web service war files

2006-08-30 Thread stevenh

Yep it usually is as simple as copying your war to a spot on the file system, 
if you are using the default server the path is 
%jboss_home%\server\default\deploy and if everything is sweet it should just 
deploy.



 



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

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


[jboss-user] [JBossWS] - JBoss port 1099 on windows

2006-08-30 Thread peiguo
Hi,

I downloaded Jboss on windows 2000. When I start it with run.bat, I noticed 
that one of the output message in the console window says that naming service 
is disabled. (The other thing is that I cannot access 
localhost:8080/jmx-console)

I am guessing that it migth has something to do with whether I have 
administrator privilege, as 1099 is a small number. Is my guess valid? or is it 
something else?

Thanks,
Peter

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

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


[jboss-user] [JBossWS] - where to deploy web service war files

2006-08-30 Thread peiguo
Hi,

I am familiar with war file etc. I am now moving to JBoss (away from SUN 
Application Server). After reading the user guide I couldn't find any 
information as how and where to deploy.

Is it something as simple as copying the war file to a particular sub-directory 
under JBoss home? or is it more than that? is there a ant task?

Thanks,
Peter

 

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

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


[jboss-user] [Beginners Corner] - Duke's Bank example Incomplete

2006-08-30 Thread Rockym
Hi, I started to read de startguide file, and when a I read chapter 4 I want to 
apply it, so the Duke's Bank example is over there, but I think it's incomplete 
because there are missing files like 

import com.sun.ebank.ejb.account.AccountController;
import com.sun.ebank.ejb.account.AccountControllerHome;
import com.sun.ebank.util.AccountDetails;


I downloaded inside the jbossj2ee-src.zip, and when I try to build it says that 
clases like before mentiones doesn't exist, where can I get the complete 
version of the example??

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

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


[jboss-user] [JBossWS] - Newbie: How do you modify the java package/namespace mapping

2006-08-30 Thread summer.hill
I am developing a series of JSR181 annotated webservices that I automatically 
deploy to the jboss deploy directory. JBoss correctly deploys the ejbs and the 
webservices are available and all working fine.

BUT, I can't find a way of configuring how the java packages containing custom 
java classes are mapped to namespaces in the generated wsdl. This seems to be 
possible using the xml configuration for wstools, but I am not using wstools as 
I am allowing JBoss to do all the deployment for me.

The wstools conifguration xsd has the following element which is probably what 
I need to set somehow WITHOUT using wstools.


  |   
  | 
  |   Allows customization of the java package name 
to xml namespace mapping. This is specified in package/namespace element 
pairs.
  | 
  |   
  | 
  | 

How can I configure the WSDL generation in JBOSS to modify java package to 
namespace mapping

Thanks

James

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Simple? JSP script

2006-08-30 Thread [EMAIL PROTECTED]
I did have a typo in the import statement

I corrected it an was able to run the script.

Thank You


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

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


[jboss-user] [JBoss Seam] - Re: when and how does the seam create tables in the databas

2006-08-30 Thread gringalet
thanks alot:)

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

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


[jboss-user] [JBoss Seam] - Re: How to use conversationPropagation=

2006-08-30 Thread [EMAIL PROTECTED]
Sorry, I accidently committed part of another change at the same time.

Fixed now.

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

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


[jboss-user] [JBoss Seam] - Re: How do I test simple SLSBs?

2006-08-30 Thread [EMAIL PROTECTED]
The only container you need is embeddable ejb3. Look at some more example 
applications and you'll see how easy it is to do this testing even with EJB3 
components.

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

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


[jboss-user] [JCA/JBoss] - Re: How do I make a file available to a startup task - use a

2006-08-30 Thread [EMAIL PROTECTED]
This is a classic example of a sledegehammer for a simple nail. There are 
plenty of ways to do this without a resource adapter. 

I would suggest asking one of the WebBased forums for advice on something like 
this. 

Also, a custom MBean might be a good choice as well. 



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

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


[jboss-user] [JCA/JBoss] - Re: create datasource programatically

2006-08-30 Thread [EMAIL PROTECTED]
Currently, the is no direct API to do this. This is planned for JBoss 5.0.x.


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

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


[jboss-user] [Installation, Configuration & Deployment] - Partial application update

2006-08-30 Thread vannguyen0
Question 1:

Is it possible to do a partial application update?  Let's say I have these 
modules: 

moduleA.jar
moduleB.jar

I only want to update these classes:

  | com.somedomain.someapp.SomeClass 
  | com.somedomain.someapp.SomeClassUtil
  | 
in moduleA.jar.  

  | com.somedomain.someapp.helper.HelperClass
  | 
in moduleB.jar

Does JBoss come with some utility that will allow me to replace that class?  

Question 2:

Can you update an application w/o shutting down the whole server?  I stopped 
the application through the JMX console... and tried to replace moduleA.jar... 
but it said that the file was in use, even though the application was stopped.

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: more simple jsp web app deployment needed

2006-08-30 Thread mathiastck
"a.rubalcaba" wrote : "bmdefnall" wrote : nevermind, i got it
  | 
  | Could you please post the link or point us in the direction that you found 
the info that you were looking for? 

Yeah I came to this forum looking how to do... exactly what you just did :)

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

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


[jboss-user] [Security & JAAS/JBoss] - getRoleSets Migrating 4.0.1 to 4.0.4

2006-08-30 Thread larriagada
Hello Everybody.
  I'm migrating from JBoss4.01 to JBoss4.04 but I found a problem when I want 
to use my Custom LoginModule, I have the following class:

   public class MyLoginModule extends UsernamePasswordLoginModule {
  public MyLoginModule() {}
  public void initialize(Subject subject, CallbackHandler callbackHandler,  
  Map sharedState, Map options) {...}
 protected String getUsersPassword()  throws LoginException
 {...}
 protected Group[] getRoleSets() throws LoginException
 {...}
   }

in the .../default/conf/login-config.xml


  


  


in each file *.war in ../WEB-INF/jboss-web.xml
java:/jaas/Myweb

this configuration worked well with JBoss4.01 but when I use JBoss4.04 the 
debugger and the log show that getRoleSets() is not used then I can not get the 
authentication.

Do you know if I need to declare another thing??
Any help will be appreciated 

Leo




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

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


[jboss-user] [JBoss Seam] - Re: Partial page rendering

2006-08-30 Thread sbryzak2
It is possible with remoting, but you need to realise that once you start down 
that path its hard to turn back.  I've successfully implemented a fully 
remoting-based application for my company and I must say that more than 
anything it reminds me of the way you used to write client-server apps.  

All the code is loaded "up front" and the client is pretty much self-contained, 
only retrieving the data it needs from the server and rendering the interface 
itself.  It's not difficult to abstract out the interface generation and 
there's plenty of Javascript libraries (dojo, etc) that might help out in this 
area.

What you miss out on with this architecture is the JSF component model, which 
means you can't use all those nice JSF components.  And you also need to have 
reasonable Javascript skills.  What you end up with though is a very responsive 
application, and with the minimal client-server communication it's great for 
reducing load on the server.


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

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


[jboss-user] [JBoss jBPM] - Re: before-signal and node-enter action question

2006-08-30 Thread obrand
"obrand" wrote : New to jBPM and canoot understand within a simple test what is 
the difference between the before-signal and the node-enter as both reacts the 
same way.
  | Actually the after-signal is doing the same that before-signal as well.
  | 
  | The code snippet for the process is:
  | 
  | 
  |   |   
  |   |  
  |   |   
  |   |   
  |   |  
  |   |   
  |   |   
  |   |  
  |   |   
  |   |   
  |   |
  | And the Test is:
  | 
  | ProcessInstance process = new ProcessInstance(definition);
  |   | 
  |   | assertEquals("Process in start mode", 
process.getRootToken().getNode().getName(), "start");
  |   | 
  |   | 
  |   | process.signal();
  |   | 
logger.info((String)process.getContextInstance().getVariable("devInfo2"));
  |   | assertEquals("Process in auction mode", 
process.getRootToken().getNode().getName(), "auction");
  |   | 
  |   | 
logger.info((String)process.getContextInstance().getVariable("devInfo"));
  |   | process.signal();
  |   | 
logger.info((String)process.getContextInstance().getVariable("devInfo3"));
  | 
  | 
  | devInfo is null on this test whereas placed after the next signal(), it 
prints the right content.
  | 
  | Could someone explains me the execution model associated with the action 
types?
  | 
  | Thanks
  | 
  | Olivier

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

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


[jboss-user] [JBoss jBPM] - before-signal and node-enter action question

2006-08-30 Thread obrand
New to jBPM and canoot understand within a simple test what is the difference 
between the before-signal and the node-enter as both reacts the same way.
Actually the after-signal is doing the same that before-signal as well.

The code snippet for the process is:


  
 
  
  
 
  
  
 
  
  
   

And the Test is:

ProcessInstance process = new ProcessInstance(definition);

assertEquals("Process in start mode", 
process.getRootToken().getNode().getName(), "start");


process.signal();

logger.info((String)process.getContextInstance().getVariable("devInfo2"));
assertEquals("Process in auction mode", 
process.getRootToken().getNode().getName(), "auction");


logger.info((String)process.getContextInstance().getVariable("devInfo"));
process.signal();

logger.info((String)process.getContextInstance().getVariable("devInfo3"));


devInfo is null on this test whereas placed after the next signal(), it prints 
the right content.

Could someone explains me the execution model associated with the action types?

Thanks

Olivier

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

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


[jboss-user] [JBoss Seam] - Re: Seam Remoting in 1.0.1

2006-08-30 Thread sbryzak2
Your code all looks good.  Any chance you can set a breakpoint in the for-loop 
just before the exception is thrown, or send me a code sample?  The only thing 
I can think of is that component.getBusinessInterfaces() is not including the 
local interface for your component, but I highly doubt that.

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

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


[jboss-user] [JBoss Seam] - Re: How to use conversationPropagation=

2006-08-30 Thread tazo
Came here as soon as i checked cvs log :)

Looks like conversationPropagation="none" works fine now. Just one note! My 
original code (look at my first post) didn't work: 'entity' is conversational 
component and it was unavailable in postback because of disabled propagation. 
 works fine in this situation.

And, Gavin, your recent changes in Manager.java broke workspace management:


  | 
  | 
  | 
  |  
  | 
  | 
  | 
  | 


  | ERROR 31-08 02:17:08,875 (Log4JLogger.java:error:119)  -Servlet.service() 
for servlet Faces Servlet threw exception
  | javax.faces.FacesException: #{entry.select}: 
javax.faces.el.EvaluationException: /template.xhtml @46,80 
action="#{entry.select}": java.lang.NullPointerException
  | at 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:332)
  | at javax.faces.component.UIData.broadcast(UIData.java:677)
  | at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
  | at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
  | at 
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
  | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:59)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
  | at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
  | at java.lang.Thread.run(Unknown Source)
  | Caused by: javax.faces.el.EvaluationException: /template.xhtml @46,80 
action="#{entry.select}": java.lang.NullPointerException
  | at 
com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73)
  | at 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
  | ... 28 more
  | Caused by: java.lang.NullPointerException
  | at org.jboss.seam.core.Manager.encodeParameters(Manager.java:864)
  | at org.jboss.seam.core.Manager.redirect(Manager.java:912)
  | at org.jboss.seam.core.Manager.redirect(Manager.java:841)
  | at 
org.jboss.seam.core.ConversationEntry.select(ConversationEntry.java:175)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
  | at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
  | at 
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
  | at 
com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
  | ... 29 more
  | 

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

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

[jboss-user] [JBoss Portal] - Re: Building a service for the Portal

2006-08-30 Thread tseckend
Zert1, I am talking about a Portal Service as describe



UserModule

org.jboss.portal.identity.UserModule
:service-Module,type=User



UserModule userModule = (UserModule) 
getPortletContext().getAttribute("UserModule");
String userId = request.getParameters().getParameter("userid");
User user = userModule.findUserById(userID);

Were should I be implementing this code, and what else needs to be done to get 
this to work correctly.

tseckend

"zerrt1" wrote : If you are using ejb3.0 you can check out the ejb3 TrailBlazer 
section on JMS Service objects.  It is extremely simple to make an MBean 
service on jboss using ejb3.  
  | It is here:  
  | 
  | http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/jmx/index.html
  | 
  | Of course, using ejb3 usually means you don't need to get jdbc connections 
manually.  So if your not using ejb3, then the information on writing MBean 
services manually is in the JBoss AS Guide doc, sectiion 2.4 (specifically 
2.4.3).  This is much harder than using ejb3.   You can download it here:
  | 
  | http://labs.jboss.com/portal/jbossas/docs/index.html
  | 
  | The JMS spec itself is also good to read for the fully detailed information 
on writing services if you need more information.
  | 
  | anonymous wrote : 

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

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


[jboss-user] [JBoss Portal] - A little more detail on this documentation would be very hel

2006-08-30 Thread tseckend


UserModule

org.jboss.portal.identity.UserModule
:service-Module,type=User



UserModule userModule = (UserModule) 
getPortletContext().getAttribute("UserModule");
String userId = request.getParameters().getParameter("userid");
User user = userModule.findUserById(userID);

Where does one implement this code in the class that implements or extends 
genericPorlet.  What else needs to be done to correctly and completely 
implement a "service" which the GenericPortlet class could call.

-tseckend

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

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


[jboss-user] [JBoss Seam] - Re: How do I test simple SLSBs?

2006-08-30 Thread chuckadams
I need to stop skipping lunch before I post, and I wish I could edit my posts 
... hard to get any more specific than "Need to specify class name in 
environment or syst
em property, or as an applet parameter, or in an application resource file".  I 
was hoping that I wouldn't need an actual container, but I guess there's no 
getting around the need for it when I'm testing actual EJB's.  

Maybe I should switch my app to POJOs and get rid of some the layers causing 
this pain and suffering.  Maybe I can even plug seam in to db4o ;)



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

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


[jboss-user] [JBoss Portal] - Single Sign-On

2006-08-30 Thread [EMAIL PROTECTED]
Our institution is looking into various portal products trying to decide what 
the best route is. We need a portal and we specifically need to be able to have 
single sign-on capability for applications that do not run in the JBoss 
application server. For example, we have an application written in Oracle Forms 
that runs on Oracle's Application Server. Is there a way to use the JBoss 
portal as a single sign-on point and then automatically authenticate to the 
Oracle Forms application? Also let's say we want our employees to be able to be 
authenticated to a third party web site by logging into their portal. Is there 
a way to do that?

I am having a hard time finding any documentation on the single sign-on 
capability of the JBoss Portal. Maybe someone can point me in the right 
direction.

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

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


[jboss-user] [JBoss Seam] - Problem with myfaces-1.1.3 exceptions not returned to Browse

2006-08-30 Thread gverner
I have a problem where under some conditions, uncaught application exceptions 
are not returned to the browser when using myfaces-1.1.3. To best describe the 
problem I have created a simple example. 

The example is a page with a dataTable that has an slink on each row. When this 
link is pressed it calls a method that throws a RuntimeException. I copied the 
exception-test into the Seam Hibernate Example application which uses 
myfaces-1.1.1 and everything works as expected, meaning I receive an exception 
page after pressing the buttons. 

Then I upgrade the Hibernate example to myfaces-1.1.3 by adding 
myfaces-impl-1.1.3.jar to the war and setting myFacesLifecycleBug=false in 
components.xml. After which pressing the slink button on a table row doesn?t 
return the exception page, it only logs the error. 

Now a second more serious problem occurs if you are using Jbpm. After pressing 
the button on the table row a couple of times you receive the error 
(java.lang.IllegalStateException: No active conversation context). What makes 
this more serious is that it is usually impossible to get the application to 
recover no matter what page you go to, without closing  your session. To test 
this with the Hibernate example add Jpbm by coping the jbpm.jar into the war 
file and enabing Jbpm in components.xml. no need to create any page flows.

What follows is the example code with more details on making the changes to the 
Seam Hibernate example.

Install the test page into the Seam Hibernate Example

Create exception-test.xhtml in examples/hibernate/view
exception-test.xhtml

  | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
  | http://www.w3.org/1999/xhtml"; 
xmlns:ui="http://java.sun.com/jsf/facelets";
  | xmlns:h="http://java.sun.com/jsf/html"; 
xmlns:f="http://java.sun.com/jsf/core"; 
xmlns:s="http://jboss.com/products/seam/taglib";>
  | 
  | 
  | Conversation Test
  | 
  | 
  | 
  | 
  | 
  | 
  | Exception Test
  | 
  | Exception Test
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | Name#{exp.name}
  | 
  | Value#{exp.value}
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | Created with JBoss Hibernate, Seam, MyFaces, and 
Facelets
  | 
  | 
  | 
  | 
Create exceptionTestAction.java in 
examples\hibernate\src\org\jboss\seam\example\hibernate
exceptionTestAction.java

  | package org.jboss.seam.example.hibernate;
  | 
  | import java.io.Serializable;
  | import java.util.ArrayList;
  | import java.util.List;
  | 
  | import javax.interceptor.Interceptors;
  | 
  | import org.jboss.seam.ScopeType;
  | import org.jboss.seam.annotations.Factory;
  | import org.jboss.seam.annotations.Name;
  | import org.jboss.seam.annotations.Scope;
  | import org.jboss.seam.annotations.datamodel.DataModel;
  | import org.jboss.seam.annotations.datamodel.DataModelSelection;
  | import org.jboss.seam.ejb.SeamInterceptor;
  | 
  | @Name("exceptionTest")
  | @Scope(ScopeType.CONVERSATION)
  | @Interceptors(SeamInterceptor.class)
  | public class ExceptionTestAction implements Serializable {
  | private static final long serialVersionUID = 1730978625993910679L;
  | 
  | @DataModel
  | private List exceptionTestList;
  | 
  | @DataModelSelection("exceptionTestList")
  | private ExceptionTestItem selectedExceptionTest;
  | 
  | @Factory("exceptionTestList")
  | public void createList() {
  | // create some data for the screen
  | exceptionTestList = new ArrayList();
  | exceptionTestList.add(new ExceptionTestItem("1", "one"));
  | exceptionTestList.add(new ExceptionTestItem("2", "two"));
  | }
  | 
  | /**
  |  * Throw Exception to see how does Seam and myFaces handle it.
  |  * 
  |  * @throws Exception
  |  * 
  |  */
  | public void throwException() {
  | if (1 == 1)
  | throw new RuntimeException("Test Throw Exception from 
ExceptionTextAction.throwException");
  | }
  | }
  | 
Create exceptionTestItem.java in 
examples\hibernate\src\org\jboss\seam\example\hibernate
exceptionTest.java

  | package org.jboss.seam.example.hibernate;
  | 
  | public class ExceptionTestItem {
  | private String name;
  | private String value;
  | public ExceptionTestItem(String name, String value) {
  | this.name = name;
  | this.value = value;
  | }
  | public String getName() {
  | return name;
  | }
  | public void setName(String name) {
  | this.name = name;
  | }
  | public String getValue() {
  | return value;
  | }
  | public void setValue(String value) {
  | this.value = value;
  | }
  | }
  | 
Deploy the Seam Hibernate example and run the new page 
http://localhost:8080/seam-hibernate/exception-test.jsf. Try the datatable 

[jboss-user] [JBoss Seam] - Re: FYI: Seam presentation at JUGSA

2006-08-30 Thread mzeijen
Too bad that a planeticket costs $1500

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

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


[jboss-user] [JBoss Seam] - Re: How do I test simple SLSBs?

2006-08-30 Thread chuckadams
I looked at SeamTest and felt kind of silly for not putting any of the test 
logic in a script.  I changed it thusly:


  | public class GreeterTest extends SeamTest {
  | 
  | @Test
  | public void testGreeterHello() throws Exception {
  | new Script() {
  | @Override
  | protected void invokeApplication() {
  | Greeter g = (Greeter) 
Component.getInstance("greeter");
  | 
  | assert "Hello, world!".equals(g.getHello());
  | }
  | }.run();
  | }
  | }
  | 

And at least I got a more familiar error.  



  | 
  | org.jboss.seam.InstantiationException: Could not instantiate Seam 
component: greeter
  | at org.jboss.seam.Component.newInstance(Component.java:1440)
  | at org.jboss.seam.Component.getInstance(Component.java:1350)
  | at org.jboss.seam.Component.getInstance(Component.java:1324)
  | at org.jboss.seam.Component.getInstance(Component.java:1318)
  | at bizint.fiat.test.GreeterTest$1.invokeApplication(GreeterTest.java:18)
  | at org.jboss.seam.mock.SeamTest$Script.run(SeamTest.java:242)
  | at bizint.fiat.test.GreeterTest.testGreeterHello(GreeterTest.java:22)
  | Caused by: javax.naming.NoInitialContextException: Need to specify class 
name in environment or system property, or as an applet parameter, or in an 
application resource file:  java.naming.factory.initial
  | at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
  | at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
  | at 
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
  | at javax.naming.InitialContext.lookup(InitialContext.java:392)
  | at org.jboss.seam.Component.instantiate(Component.java:809)
  | at org.jboss.seam.Component.newInstance(Component.java:1436)
  | ... 23 more
  | ... Removed 17 stack frames
  | 

I've always wondered at the generality of "could not instantiate Seam 
component".  Why not?  Was the underlying class not found?  Name not resolved?  
Bad Mood?  Stars not in alignment?   Doesn't seem to be name related, because 
when I try Component.getInstance("kwyjibo") I get the ubuquitous 
NullPointerException instead (Java seems to give me more of those than I ever 
got in C or C++)

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: TLS encryption TLS_RSA_WITH_3DES_EDE_CBC_SHA support

2006-08-30 Thread mkolhe
As per the JSSE reference guide. TLS_KRB5_WITH_3DES_EDE_CBC_SHA is not enabled 
by default. Does Jboss enable this cipher?

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

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


[jboss-user] [JBoss Seam] - Re: i18n entity validation message?

2006-08-30 Thread mosabua
Thanks Raja. Thats good to know. I will probably migrate to that approach for 
now. However it would still be better for Seam to handle that a bit more 
cleanly and have an example of it in the code base.

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

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


[jboss-user] [JBoss Seam] - Re: Could not instantiate Seam component

2006-08-30 Thread mzeijen
Also maybe my post on a different topic (with a simeral problem) can help:

http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968487#3968487

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

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


[jboss-user] [JBoss Seam] - Re: How do I test simple SLSBs?

2006-08-30 Thread mzeijen
I am also pretty new to this stuff, but here is some info to probably can help 
you. I got it working in eclipse.

I think that If you want use TestNG to test your stuff in a Seam/EJB3 
environment  then you must write the tests as in the registration example:


  | 
  | package org.jboss.seam.example.registration.test;
  | 
  | import org.jboss.seam.Component;
  | import org.jboss.seam.example.registration.Register;
  | import org.jboss.seam.example.registration.User;
  | import org.jboss.seam.mock.SeamTest;
  | import org.testng.annotations.Test;
  | 
  | public class RegisterTest extends SeamTest
  | {
  |
  |@Test
  |public void testLogin() throws Exception
  |{
  | 
  |   new Script() {
  | 
  |  @Override
  |  protected void updateModelValues() throws Exception
  |  {
  | User user = (User) Component.getInstance("user", true);
  | assert user!=null;
  | user.setUsername("1ovthafew");
  | user.setPassword("secret");
  | user.setName("Gavin King");
  |  }
  | 
  |  @Override
  |  protected void invokeApplication()
  |  {
  | Register register = (Register) 
Component.getInstance("register", true);
  | String outcome = register.register();
  | assert "/registered.jsp".equals( outcome );
  |  }
  | 
  |  @Override
  |  protected void renderResponse()
  |  {
  | User user = (User) Component.getInstance("user", false);
  | assert user!=null;
  | assert user.getName().equals("Gavin King");
  | assert user.getUsername().equals("1ovthafew");
  | assert user.getPassword().equals("secret");
  |  }
  |  
  |   }.run();
  |   
  |}
  |
  | }
  | 
  | 

Take a special look at the class override of new Script() { ... }. It simulates 
a complete request loop. 

You must make sure that you configured your TestNG for an Embedded Seam 
application because it needs to run with the JBoss micro container.

The extra configuration files you need are:
- default.persistence.properties
- ejb3-interceptors-aop.xml
- embedded-jboss-beans.xml
- jndi.properties
- log4j.xml

In your components.xml will probably look something like this:


  | 
  | 
  | 
  | 
  | true
  | @myFacesLifecycleBug@
  | @jndiPattern@
  | 
  | 
  | 
  | 
  | 12
  | 
  | 
  | 
  | 
  | 
  | 
  | 

Use the components.properties file to set the following properties of the 
component.xml (those tags with @):


  | 
  | myFacesLifecycleBug : false
  | embeddedEjb : true
  | jndiPattern : #{ejbName}/local
  | 
  | 

I eclipse I have a seperate folder for all those embedded configuration. I add 
it to the classpath when I run TestNG.

Good luck

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Custom java.util.logging Handlers & Appenders

2006-08-30 Thread danny_hon
We are trying to do the same thing.  Any solutions?

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

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


[jboss-user] [JBoss Seam] - How do I test simple SLSBs?

2006-08-30 Thread chuckadams
I'm trying to do the simplest possible test, and have a stateless bean called 
GreeterBean, with its @Name set to greeter, with a getHello() method that 
returns "Hello, world!", so I can plug it into a page as #{greeter.hello}.  
This works perfectly.  My troubles come when trying to write a test for it.


  | public class GreeterTest extends SeamTest {
  | 
  | @Test
  | public void testGreeterHello() {
  | Greeter g = (Greeter) Component.getInstance("greeter", true);
  | assert g.getHello().equals("Hello, world!");
  | }
  | }
  | 

Unfortunately, this fails, and I don't mean the test, but Component.getInstance 
dies with a NPE because Contexts.getApplicationContext() returns null.  I 
notice there's a MockApplication class lying around, but I'm stumped on how to 
actually use it, and the docs are rather sparse on the subject.

I tried dispensing with mocks and just going with embedded ejb3, but that's 
been a frightful experience, also replete with java's favorite catch-all error, 
the NPE (I curse the very invention of null).  I found that I could make my 
embedded ejb3 test work if I commented out @Name, but obviously this doesn't 
constitute much of a test.  I don't have the TB handy at the moment since I've 
deleted my embedded ejb3 launch configuration, but IIRC, it was croaking 
somewhere in the PostConstruct method of some long interceptor call chain.


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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: EJB spec violation when deploying JBossDukesBank.ear

2006-08-30 Thread vmystic
Sorry all, but it looks like I was using a wrong version of the 
jbossj2ee-src.zip file. I started over with the file included with the Getting 
Started Guide and it deployed without incident.

Sorry to waste your time,
V

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

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


[jboss-user] [JCA/JBoss] - create datasource programatically

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

Where can I find examples on how to create datasources programatically (using 
the API)?

Thanks,

Laurent.

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

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


[jboss-user] [JBoss Getting Started Documentation] - EJB spec violation when deploying JBossDukesBank.ear

2006-08-30 Thread vmystic
Following the directions in the Getting Started Guide for JBoss 4.0, I'm 
getting many errors when I run the deploy step (ant -f jboss-build.xml deploy) 
in the Duke's Bank example. Any help would be appreciated.

My environment is as follows:
OS: RedHat ES 4 Update 3
JDK: 1.4.2_12
Ant: 1.6.5
JBoss: 4.0.4
J2EE Tutorial: J2EE 1.4 Tutorial Update 7 (for Sun Java System Application 
Server Platform Edition 8.2) January 27, 2006

Errors:
12:42:24,524 INFO  [EARDeployer] Init J2EE application: 
file:/opt/jboss-4.0.4.GA/server/default/deploy/JBossDukesBank.ear
12:42:24,944 WARN  [verifier] EJB spec violation:
Bean   : CustomerBean
Section: 12.2.2
Warning: The class must be defined as public and must not be abstract.

12:42:24,953 WARN  [verifier] EJB spec violation:
Bean   : CustomerBean
Section: 12.2.5
Warning: Every entity bean must define the ejbFindByPrimaryKey method.

12:42:24,956 WARN  [verifier] EJB spec violation:
Bean   : CustomerBean
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the 
enterprise bean's local home interface, if any, in the  element.
Info   : Class not found on 'com.sun.ebank.ejb.customer.CustomerHome': No 
ClassLoaders found for: com.sun.ebank.ejb.customer.CustomerHome

12:42:24,957 WARN  [verifier] EJB spec violation:
Bean   : CustomerBean
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the 
enterprise bean's local interface, if any, in the  element.
Info   : Class not found on 'com.sun.ebank.ejb.customer.Customer': No 
ClassLoaders found for: com.sun.ebank.ejb.customer.Customer

12:42:24,957 WARN  [verifier] EJB spec violation:
Bean   : CustomerBean
Section: 12.2.1
Warning: The Bean Provider must provide a remote interface and a remote home 
interface or a local interface and a local home interface for the bean.

12:42:24,960 WARN  [verifier] EJB spec violation:
Bean   : AccountBean
Section: 12.2.2
Warning: The class must be defined as public and must not be abstract.

12:42:24,966 WARN  [verifier] EJB spec violation:
Bean   : AccountBean
Section: 12.2.5
Warning: Every entity bean must define the ejbFindByPrimaryKey method.

12:42:24,969 WARN  [verifier] EJB spec violation:
Bean   : AccountBean
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the 
enterprise bean's local home interface, if any, in the  element.
Info   : Class not found on 'com.sun.ebank.ejb.account.AccountHome': No 
ClassLoaders found for: com.sun.ebank.ejb.account.AccountHome

12:42:24,970 WARN  [verifier] EJB spec violation:
Bean   : AccountBean
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the 
enterprise bean's local interface, if any, in the  element.
Info   : Class not found on 'com.sun.ebank.ejb.account.Account': No 
ClassLoaders found for: com.sun.ebank.ejb.account.Account

12:42:24,970 WARN  [verifier] EJB spec violation:
Bean   : AccountBean
Section: 12.2.1
Warning: The Bean Provider must provide a remote interface and a remote home 
interface or a local interface and a local home interface for the bean.

12:42:24,973 WARN  [verifier] EJB spec violation:
Bean   : TxBean
Section: 12.2.2
Warning: The class must be defined as public and must not be abstract.

12:42:24,976 WARN  [verifier] EJB spec violation:
Bean   : TxBean
Section: 12.2.5
Warning: Every entity bean must define the ejbFindByPrimaryKey method.

12:42:24,980 WARN  [verifier] EJB spec violation:
Bean   : TxBean
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the 
enterprise bean's local home interface, if any, in the  element.
Info   : Class not found on 'com.sun.ebank.ejb.tx.TxHome': No ClassLoaders 
found for: com.sun.ebank.ejb.tx.TxHome

12:42:24,982 WARN  [verifier] EJB spec violation:
Bean   : TxBean
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the 
enterprise bean's local interface, if any, in the  element.
Info   : Class not found on 'com.sun.ebank.ejb.tx.Tx': No ClassLoaders found 
for: com.sun.ebank.ejb.tx.Tx

12:42:24,982 WARN  [verifier] EJB spec violation:
Bean   : TxBean
Section: 12.2.1
Warning: The Bean Provider must provide a remote interface and a remote home 
interface or a local interface and a local home interface for the bean.

12:42:25,055 ERROR [MainDeployer] Could not create deployment: 
file:/opt/jboss-4.0.4.GA/server/default/tmp/deploy/tmp55721JBossDukesBank.ear-contents/bank-ejb.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.Reflect

[jboss-user] [JBoss Seam] - Some helpful notes.

2006-08-30 Thread sidragon
I am putting together some notes on setting up testing environments.  You can 
find them on my personal wiki at 
http://sidragon.net/wiki/JBoss_Seam_test_environment though hopefully they will 
find their way onto the JBoss wiki in the future.

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

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


[jboss-user] [JBoss Seam] - Re: How do you do integration testing?

2006-08-30 Thread chane
Christian - thanks for the link.  we use DBUnit and this was an interesting 
read.


I have just started to experiment with a new (at least to me) type of testing 
framework called FIT.  Basically, inputs/outputs are defined in a table 
structure.  A "Fixture" needs to be written for each page.  The Fixture is then 
used within a FIT table to execute tests.  Here are the links I have been 
reading/using to setup example acceptance tests with the framework:

Blog on the framework
http://codebetter.com/blogs/jeremy.miller/archive/2006/07/15/147400.aspx
http://codebetter.com/blogs/jeremy.miller/archive/2006/07/18/147465.aspx

Test Framework
http://www.fitnesse.org/
http://fit.c2.com/

DoFixture Extension to Framework
http://fitlibrary.sourceforge.net/

Browser Control testing (using the Remote Control package)
http://www.openqa.org/selenium/

Not everyone will like this type of testing and it doesn't replace good unit 
tests, but for end-end testing it might be useful to a couple of people.

Good Luck!
Chris


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

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


[jboss-user] [JBoss Seam] - Test environment notes on my personal wiki.

2006-08-30 Thread sidragon
I am throwing together notes from my observations related to test environment 
issues on my personal wiki.  For the time being, they will be located at 
http://sidragon.net/wiki/JBoss_Seam_test_environment but in the future, either 
I or someone else should add these to the JBoss wiki.

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

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


[jboss-user] [JBoss jBPM] - Swimlane assignment through API?

2006-08-30 Thread jmjava
In the websale examples' process defintion swimlanes are set via assignment 
expressions:

 
  |   
  |   
  | 
  |   
  |   
  |   
  | 
  |   
  |   
  |   
  | 
  |   


I am looking the Swimlane source and there are methods to set the 
ActorIdExpression and the PooledActorsExpression.

Is swimlane.setActorIdExpression("ernie")  the same thing as the assignment 
expression above? 

How can i achieve the same result as the XML code above in pure java?

-jm





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

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


[jboss-user] [JBoss Seam] - Partial page rendering

2006-08-30 Thread shasho
I was wondering if there is an "easy way" to implement a partial page rendering 
using Seam. I have a page that is composed of several parts and want each part 
to be updated separately (when you log in there is no need to reload the upper 
banner ?). One possible way is to use frames but I understand that it is not 
recommended and I got some problem trying to implement it with Faceletes. When 
looking at Seam remoting component it looks that I need to change the code and 
instead of calling forms in the Seam components I need to implement all the 
forms as javascript code that calls the Seam components. Is this the right way 
to do it ?

Amir


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

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


[jboss-user] [Messaging, JMS & JBossMQ] - HAJMS with durable topic subscribers; clientID already regis

2006-08-30 Thread josey
I have two clustered JMS servers running JBoss [Zion] 4.0.4.GA (build: 
CVSTag=JBoss_4_0_4_GA date=200605151000); the servers run linux (debian). JMS 
data is persisted to a postgres8.1 database; each server has the same 
configuration (same JMS destinations; same datasource for the JMS persistence 
manager, etc.) and the same ear files deployed.

I have a Topic with one non-durable subscriber (no client id required) and two 
durable topic subscribers as MDBs (durable subscribers have client ids 
'myClientId' and 'anotherClientId').  I deploy the same ear file to each of the 
two nodes.  The node that is not the master node outputs log entries (pasted 
below) for 'JMS provider failure'; each of the two messages indicate that the 
client id is already connected to the server.  Now this makes sense because the 
master node has the same two MDBs deployed.  I have read in another forum post 
that the JMS spec mentions that if another connection with the same clientID is 
already running the JMS provider should detect the duplicate ID and throw an 
InvalidClientIDException (I did not see this in the spec when I searched on 
"InvalidClientIDException" but it seems reasonable).

As you can see the log entries are only WARN level entries but they continue to 
be logged.  I have seen a forum post that says to use the 
"ClientMonitorInterceptor" in jbossmq-service.xml but I am not confident that 
this is a good solution.  Has anyone else who has run into this problem found a 
good solution?  The posts that I have seen do not provide a solution.  Perhaps 
it is nothing of high concern.

Thanks for any help.



  | 10:55:54,538 INFO  [EJB3 MDB Create Recovery Thread][MDB] Trying to 
reconnect to JMS provider
  | 10:55:54,538 INFO  [EJB3 MDB Create Recovery Thread][MDB] Reconnected to 
JMS provider
  | 10:55:54,579 INFO  [EJB3 MDB Create Recovery Thread][MDB] Reconnected to 
JMS provider
  | 10:55:54,579 WARN  [EJB3 MDB Create Recovery Thread][MDB] JMS provider 
failure detected:
  | javax.jms.InvalidClientIDException: This client id 'myClientId' is already 
registered!
  | at 
org.jboss.mq.sm.AbstractStateManager.addLoggedOnClientId(AbstractStateManager.java:196)
  | at 
org.jboss.mq.server.JMSDestinationManager.checkID(JMSDestinationManager.java:384)
  | at 
org.jboss.mq.server.JMSServerInterceptorSupport.checkID(JMSServerInterceptorSupport.java:138)
  | at 
org.jboss.mq.server.TracingInterceptor.checkID(TracingInterceptor.java:226)
  | at 
org.jboss.mq.server.JMSServerInvoker.checkID(JMSServerInvoker.java:139)
  | at 
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:120)
  | at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:396)
  | at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:392)
  | at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
  | at java.lang.Thread.run(Thread.java:595)
  | 10:55:54,579 INFO  [EJB3 MDB Create Recovery Thread][MDB] Trying to 
reconnect to JMS provider
  | 10:56:04,577 WARN  [EJB3 MDB Create Recovery Thread][MDB] JMS provider 
failure detected:
  | javax.jms.JMSSecurityException: The login id has an assigned client id 
'anotherClientId', that is already connected to the server!
  | at 
org.jboss.mq.sm.AbstractStateManager.checkUser(AbstractStateManager.java:180)
  | at 
org.jboss.mq.server.JMSDestinationManager.checkUser(JMSDestinationManager.java:627)
  | at 
org.jboss.mq.server.JMSServerInterceptorSupport.checkUser(JMSServerInterceptorSupport.java:288)
  | at 
org.jboss.mq.server.TracingInterceptor.checkUser(TracingInterceptor.java:704)
  | at 
org.jboss.mq.server.JMSServerInvoker.checkUser(JMSServerInvoker.java:289)
  | at 
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:204)
  | at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:396)
  | at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:392)
  | at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
  | at java.lang.Thread.run(Thread.java:595)
  | 

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Java 1.6 Support

2006-08-30 Thread sgugel
Answered my own question. It appears using the Beta 2 version of Java 1.6 that 
Jboss 4.0.4GA worked for our needs.

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

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


[jboss-user] [JBoss Seam] - Re: i18n entity validation message?

2006-08-30 Thread raja05
Sorry, the last answer dint come up quite well in the instant reply. Heres a 
sample config of components.xml


  | 
  | ValidatorMessages
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: i18n entity validation message?

2006-08-30 Thread raja05
Sorry, I dint understand the request clearly. 

Anyway, you can configure Seam to use the same ValidatorMessages.properties by 
configurng the components.xml for the "resourceBundle" component and specifying 
the "bundleName" with ValidatorMessages. That way, youd only have one bundle 
file for both Seam and Hibernate. Something like this is components.xml


ValidatorMessages



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

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


[jboss-user] [Beginners Corner] - Re: Netbeans webservce doesn't deploy

2006-08-30 Thread tefron
Have you found a solution for this error?
One way to fix it is to use rpc literal instead of document literal, however, I 
would like to use document literal and it seems to cause this problem...
T.

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

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


[jboss-user] [JBoss Seam] - Re: i18n entity validation message?

2006-08-30 Thread mosabua
If you want the properties to be available in Seam AND Hibernate you need to 
maintain the properties in both bundles. I have tried and tested it and thats 
the only way to actually get it to work. 

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

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


[jboss-user] [JBoss Seam] - Re: i18n entity validation message?

2006-08-30 Thread raja05
I dont think you need to do build level changes. If you have a 
ValidatorMessages.properties (and ValidatorMessages in other locales) available 
in the Current ClassLoader, Hibernate should be able to use that instead of the 
default validator messages that come bundled with it. Atleast thats how my 
reading of the Hibernate code indicates. I havent tried this, but if you have a 
ValidatorMessages.properties in ur EAR archive, that should suffice.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Deployment order - dependencies

2006-08-30 Thread asack
"georgesberscheid" wrote : 
  | How do I force the Deployment service to deploy a EJB JAR file before a 
resource adapter RAR file?
  | 
  | I have a EAR file that contains a .jar file with EJB3s and a @Service 
MBean. The EAR file also contains a RAR file with a resource adapter that looks 
up that service MBean when it starts. Therefore the .jar file needs to be 
deployed before the .rar file which is not possible using the standard 
DeploymentSorter.
  | So I set up jboss-service.xml to use the PrefixDeploymentSorter instead and 
renamed my RAR file 9_MyResourceAdapter.rar.
  | 
  | However, the RAR file is still deployed before the JAR file. Could it be 
because the JAR file also contains the message endpoint for the incoming 
resource adapter?
  | 

There is some JMX type annotation that can provide dependencies but in general 
intra deployment dependencies is undefined in the spec.

Moreover, the JBoss deployer I believe does thing by suffix alphabetical order 
(though I would have to recheck myself).

You can extend the Deployment comparator to some some custom deployments as 
well as turning on prefix order, i.e. name your files 1-firstdeployfile, 
2-secondeployfile, etc.

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

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


[jboss-user] [JBoss Seam] - Re: Tomahawk datascroller loose conversationId

2006-08-30 Thread SmokingAPipe
So, back to the original topic: Any idea how to get conversations to survive 
through Tomahawk components?  This is a major block for me right now.  I'm very 
happy with some of the cool tricks I can do with Tomahawk, but it means that 
everything I do has to be Session scope and I can't do any fancy conversation 
stuff.  I can live without conversations at this stage in my web app but as it 
gets more powerful I will want to be able to support them.  Any quick-fix type 
ideas?


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

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


[jboss-user] [JBoss Seam] - Re: Newbie question: access session attribute from view

2006-08-30 Thread [EMAIL PROTECTED]
If I understand you correctly, this should work:

rendered="#{sessionScope.loggedIn}"

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

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


[jboss-user] [JBoss Seam] - Re: Newbie question: access session attribute from view

2006-08-30 Thread raja05
Since you store the "loggedIn" in the session scope, you can use the "rendered" 
to be something like
<  rendered="#{loggedIn != null}" />

Seam automatically would look for the loggedIn attribute in all the scopes and 
you could render the components accordingly.


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

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


[jboss-user] [JBoss Seam] - Re: when and how does the seam create tables in the databas

2006-08-30 Thread texan
I believe it is the following property (in bold) in the peristence.xml file 
(from the booking example):


  |
  |   org.hibernate.ejb.HibernatePersistence
  |   java:/bookingDatasource
  |   
  |  
  |  
  |  
  |  
  |  
  |   
  |
  | 

This actually bit me on butt when I first incorporated the seam setup into my 
existing project, as it dropped my tables and recreated them.  Ouch - so mych 
for my test data!  I learned that lesson pretty quickly.


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

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


[jboss-user] [JCA/JBoss] - How do I make a file available to a startup task - use a Res

2006-08-30 Thread bobsmith
I have a WAR file containing an XML file and I have a singleton class that, on 
first access, opens the xml file and configures itself from it.


  | org.xml.sax.InputSource is = new 
InputSource("http://localhost:8080/mywar/myfile.xml";);
  | 

That was fine until I needed to perform a startup task that relied on 
information in the XML file. The problem being that mywar.war has not been 
deployed at the point the startup service executes. It seems that I cannot put 
a dependency in the startup service on mywar.war, I can only specify 
dependencies on other services, not on wars (I am using JBoss 3.2.6, so Barrier 
Control is not an option).

I though that perhaps I should write a ResourceAdapter that would provide 
access to my XML file, but this seems overkill and I'm not convinced it is the 
way to go.

Is there anyone out thee who has experienced the same dilemma, and could 
perhaps advise me on the way to address my problem?
- write my own ResourceAdapter implementation?
- use a freely available ResourceAdapter implementation?
- or perhaps there is a really obvious way that I am missing of making my XML 
file available to a startup task?

Many thanks for any help.
Bob


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

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


[jboss-user] [JBoss Seam] - Re: Feature Request: Support Regex in pages.xml

2006-08-30 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBSEAM-341

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

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


[jboss-user] [JBoss Seam] - Re: when and how does the seam create tables in the databas

2006-08-30 Thread sjmenden
Hibernate is going to automatically create the tables based on which POJOs are 
declared as @Entity beans and the subsequent annotations to the getter methods 
in that Entity bean.Hibernate will do this as long as your enforce a 
create-drop policy, or update I believe.

Entity beans must have an id field denoted by @Id and typically 
@GeneratedValue, other than that, every other field is created as a column 
mapped by the Type of the field, unless otherwise specified.

If you already have the database structure set up in the database, you could 
also mirror the structure in your Entity beans (given it the db structure isn't 
too difficult, or you're really good in sql).

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

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


[jboss-user] [JBoss Seam] - Newbie question: access session attribute from view

2006-08-30 Thread javri28
Hi everybody!

I have one may ba stupid question, but I could't find any answer on it...

On my page I have to check if the user is logged in(let's say there should be 
shown different images for logged and not-logged user).

I have User component in session scope. During registration I'm doing common 
thing:

Contexts.getSessionContext().set("loggedIn", true);

The only condition that I have found for my "rendered" attributes on pages to 
check if the user is logged-in is #{user.userName != null}.

Is this the only way to do it on the page?
I just whant to be sure before I use it everywhere(not in many places, but it 
doesn't metter)

I hope I have explained a problem correctly.

Thanks in advance!

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

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


[jboss-user] [JBoss Portal] - Re: Page Title

2006-08-30 Thread evl123
Good question,

I dug around and found the title is generated by the layout jsps

server\default\deploy\jboss-portal.sar\portal-core.war\layouts\generic
 index.jsp 
 maximized.jsp

So quick and dirty is to replace that value
  or
create a new layout id and clone and change the default set.

But a much nicer way would be to have a page title property
set in the deployment xml file.

deployment/page elment would have (optional)
page.title

deployment/portal should have a default 
page.title (in case the page didn't define one)

This way you get flexible global portal title or individual page titles

This may already be doable, if someone could explain what objects are available 
in the layout jsps (e.g. how can one access Page properties?)



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

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


[jboss-user] [Clustering/JBoss] - Re: Cluster Partition Name

2006-08-30 Thread [EMAIL PROTECTED]
Thank you. It worked. The next post will contain the JBoss version :)

Have a nice day.



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

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


[jboss-user] [JBoss Seam] - when and how does the seam create tables in the database?

2006-08-30 Thread gringalet
hi, anybody, who can tell me about when and how the seam create tables in the 
database?
i think the "import.sql" is executed  after creating tables by seam, but i 
can't find any sql statement in the dvdstore example about creating tables, and 
how does the seam know the type of database fields?

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

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


[jboss-user] [Clustering/JBoss] - Re: Forcing Topology change

2006-08-30 Thread kpandey
On first machine 10.0.1.62 ie kumar-pc

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |  

On second machine 10.0.1.61 ie kumar-lnx
 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |  

I bring 10.0.1.62 before 10.0.1.61 so that it is running as Master. Then I stop 
partition on 10.0.1.62. Partition closes. 10.0.1.62 is removed from 10.0.1.61's 
current view.
I start partition on 10.0.1.62. It comes up but is unable to see 10.0.1.61 and 
hence runs in master mode. 

console output on kumar-pc (10.0.1.62) after invoking partition stop


10:21:04,578 INFO  [DefaultPartition] Closing partition DefaultPartition
10:21:04,594 INFO  [ConnectionTable] exception is java.net.SocketException: 
socket closed
10:21:04,594 INFO  [ConnectionTable] exception is java.net.SocketException: 
socket closed
10:21:04,594 INFO  [ConnectionTable] addr=10.0.1.61:7800 (additional data: 14 
bytes), connections are connections (0):
10:21:04,594 INFO  [DefaultPartition] Partition DefaultPartition closed.
10:21:04,594 WARN  [ConnectionTable] local_addr is null
10:21:04,594 INFO  [ConnectionTable] connection was created to 10.0.1.61:7800 
(additional data: 14 bytes)
10:21:04,609 INFO  [ConnectionTable] created socket to 10.0.1.61:7800 
(additional data: 14 bytes)
10:21:04,609 INFO  [ConnectionTable] exception is java.io.EOFException
10:21:04,609 INFO  [ConnectionTable] addr=10.0.1.61:7800 (additional data: 14 
bytes), connections are connections (0):

console output on kumar-pc (10.0.1.62) after invoking partition start

10:21:36,235 INFO  [ConnectionTable] server socket created on kumar-pc:7800
10:21:36,251 INFO  [STDOUT] 
---
GMS: address is kumar-pc:7800 (additional data: 14 bytes)
---
10:21:39,751 INFO  [DefaultPartition] Number of cluster members: 1
10:21:39,751 INFO  [DefaultPartition] Other members: 0
10:21:39,751 INFO  [DefaultPartition] New cluster view for partition 
DefaultPartition (id: 0, delta: 0) : [10.0.1.62:1099]
10:21:39,751 INFO  [DefaultPartition] Fetching state (will wait for 3 
milliseconds):
10:21:39,766 INFO  [DefaultPartition] I am (10.0.1.62:1099) received 
membershipChanged event:
10:21:39,766 INFO  [DefaultPartition] Dead members: 0 ([])
10:21:39,766 INFO  [DefaultPartition] New Members : 0 ([])
10:21:39,766 INFO  [DefaultPartition] All Members : 1 ([10.0.1.62:1099])
10:21:46,048 INFO  [ConnectionTable] accepted connection, 
client_sock=Socket[addr=/10.0.1.61,port=47354,localport=7800]
10:21:46,048 INFO  [ConnectionTable] input_cookie is bela
10:21:46,938 INFO  [ConnectionTable] connection was created to 10.0.1.61:7800 
(additional data: 14 bytes)

Note that it establishes connection to 10.0.1.61 but doesn't find the instance 
running there.

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: problem with running JBOSS in eclipse 3.2

2006-08-30 Thread mdstol
I see that the issue is fixed.  Do you have an idea when 2.0.0BETA2 would be 
released?


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

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


[jboss-user] [JBoss jBPM] - Re: Timer persisted but not fired

2006-08-30 Thread ngeadah
Indeed!  I was missing a timer servlet in my web.xml.  Here is how it's 
initialized:


  | 
  | Scheduler Servlet
  | 
org.jbpm.scheduler.impl.SchedulerServlet
  | 1
  | 
  | 

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

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


[jboss-user] [JNDI/Naming/Network] - Re: Class Cast Exception thrown when casting Data Source jb

2006-08-30 Thread PeterJ
See this thread, which is about the same problem: 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89470.  You might have 
to read a few of the posts to get to the JNDI issue (the thread starts with a 
connection issue).

To use JNDIView, use a browser to access the jmx-console, click on the 
server=JNDIView link (it is about a dozen or so links from the top of the 
page), and then click on the Invoke button under the list() method.  The 
contents of all JNDI namespaces are printed.



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

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


[jboss-user] [EJB 3.0] - Re: How to enable log level for EJB3 QL?

2006-08-30 Thread ALRubinger
Good logging reference at the bottom of:

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

S,
ALR

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: connection refused from external network

2006-08-30 Thread PeterJ
My vote goes to the router as being the culprit.

Try this.  Hook your PC directly to the DSL modem and then try accessing it 
externally.  If that works, then it confirms that the router is the issue.  If 
it doesn't work, you need to get in touch with the DSL technical support to 
find out why they are blocking the request.

If the router is the issue, then you need to recheck the router's 
configuration, especially the firewall.  I know that the router I have came out 
of the box with the firewall set to block all incoming requests.

Good luck.

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

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


[jboss-user] [JCA/JBoss] - Re: JCA - LDAP

2006-08-30 Thread dboeckli
hmmmno responsesperhaps it was a stupid question or nobody is 
interested in.

Anyway, i nearly finished the JCA-LDAP Adapter.

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

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


[jboss-user] [JBoss Seam] - Re: TransactionException: Could not register synchronization

2006-08-30 Thread sjmenden
Its times like these I want to crythen laugh really hard, as always Gavin 
was right, it was in my code.  

The entire problem has to do in this line:


  | Query query = em.createQuery("from Group where group.id = :id");
  | 


I left out the group alias, so hibernate has no idea what group.id means.  It 
should be:


  | Query query = em.createQuery("from Group group where group.id = :id");
  | 

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: log4j truncates my stack traces, why?

2006-08-30 Thread PeterJ
If you look at the previous stack trace, you should see the line 

at 
org.hibernate.transaction.CMTTransaction.registerSynchronization(CMTTransaction.java:156

in the stack trace, so everything below that line is the same for both traces.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: passing parameter to datasource

2006-08-30 Thread PeterJ
Add the parameter to the connection-url in the *-ds.xml file.  See 
http://wiki.jboss.org/wiki/Wiki.jsp?page=AvoidMySQL5DataTruncationErrors for an 
example.

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: problem with running JBOSS in eclipse 3.2

2006-08-30 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBIDE-355

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: problem with running JBOSS in eclipse 3.2

2006-08-30 Thread mdstol
Hi,
Thank you for you help.  Can you post the JIRA issue and link when it is posted 
so I can keep track of whats going on.  
Thanks,
Marc


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

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


[jboss-user] [JBoss Seam] - Re: Any experiences with the Tomahawk components?

2006-08-30 Thread nhpvti
"SmokingAPipe" wrote : ... I'll post exactly what I did, and maybe a framework 
with all the jars, web.xml, etc, ready to use.  That's the hardest part: just 
getting the build env ready for use.
  | 

for the beginning we would appreciate exact description how to alter the jars, 
web.xml etc.

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

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


[jboss-user] [JBoss Seam] - Re: Seam Remoting in 1.0.1

2006-08-30 Thread mjrpain
Should have included this earlier.  Here's what my code looks like.  Again, 
this worked with jboss-seam-1.0.0.GA.

Javascript in the web page
Seam.Component.getInstance("showFilterAction").getFilterList(reportID, 
displayCorrectFiltersCallback);

Local Interface
@Local
  | public interface ShowFilterLocal {
  | @WebRemote
  | public String getFilterList(String id);
  | }

Action class

  | @Stateless
  | @Name("showFilterAction")
  | @Interceptors(SeamInterceptor.class)
  | public class ShowFilterAction implements ShowFilterLocal {
  | 
  | public String getFilterList(String id)
  | {
  | StringBuffer out = new StringBuffer();
  | // do some stuff
  | return out.toString();
  | }
  | }
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Feature Request: Support Regex in pages.xml

2006-08-30 Thread [EMAIL PROTECTED]
Sure, add it to JIRA.

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

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


[jboss-user] [JBoss Seam] - Re: i18n entity validation message?

2006-08-30 Thread mosabua
Just a fyi - I created a JIRA issue 
http://jira.jboss.org/jira/browse/JBSEAM-340 to get this streamlined.

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

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


[jboss-user] [JBoss Seam] - Re: FYI: Seam presentation at JUGSA

2006-08-30 Thread [EMAIL PROTECTED]
Metoo :)

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

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


[jboss-user] [JBoss Seam] - Seam Remoting in 1.0.1

2006-08-30 Thread mjrpain
I had two Ajax calls working with jboss-seam-1.0.0.GA.

I downloaded the latest from cvs today jboss-seam-1.0.1.GA and now I'm getting:
2006-08-30 11:05:49,406 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web 
request
  | 2006-08-30 11:05:49,406 DEBUG [org.jboss.seam.Component] seam component not 
found: org.jboss.seam.security.authenticator
  | 2006-08-30 11:05:49,406 ERROR [org.jboss.seam.servlet.SeamServletFilter] 
Error
  | java.lang.RuntimeException: Type cannot be determined for component 
[Component(showFilterAction)]. Please ensure that it has a local interface.
  | at 
org.jboss.seam.remoting.InterfaceGenerator.appendComponentSource(InterfaceGenerator.java:281)
  | at 
org.jboss.seam.remoting.InterfaceGenerator.generateComponentInterface(InterfaceGenerator.java:127)
  | at 
org.jboss.seam.remoting.InterfaceGenerator.handle(InterfaceGenerator.java:97)
  | at 
org.jboss.seam.remoting.SeamRemotingServlet.doPost(SeamRemotingServlet.java:76)
  | at 
org.jboss.seam.remoting.SeamRemotingServlet.doGet(SeamRemotingServlet.java:62)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)
  | 2006-08-30 11:05:49,416 DEBUG [org.jboss.seam.util.Naming] JNDI 
InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
  | 2006-08-30 11:05:49,416 DEBUG [org.jboss.seam.servlet.SeamExceptionFilter] 
ended request

Did something change with remoting in 1.0.1.GA?

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

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


[jboss-user] [JBoss Portal] - Re: Several CMSPortlet instance with different start pages

2006-08-30 Thread PeterJ
You did not say which version of the portal you are using.  The instructions 
below are for 2.4GA

First, you will need multiple instances.  To create multiple instances, in the 
Administration Portlet, click on the Portlet link at the top of the window. 
Scroll down the list until you get to the CMSPortlet, clcik on it, and the at 
the right fill in a new instance name and click create.

Once you have the instances, you can specify a new start page as follows.  In 
the Administration Portlet, click on the instances link at the top of the 
window.  Scroll down until you get to your instances (they are at the end of 
the list). Click on the instance and then to the right you will see the 
indexpage preference. Click on the icon showing a pencil over a piece of paper 
and you can then edit the preference.

WARNING: This will not work on 2.4GA due to a bug that has not yet been 
resolved.  See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89308. 
This did work, however, in 2.4CR3.

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

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


[jboss-user] [JBoss Seam] - Re: Could not instantiate Seam component

2006-08-30 Thread sidragon
"[EMAIL PROTECTED]" wrote : So the problem seems to be that JNDI is not 
available. So I guess that the Embeddable EJB container is not properly 
started, or else your jndi.properties is missing or does not contain the 
correct values.

I am in the same boat as the other poster: this does not mean much to me either 
and I am familiar with EJB3.  Could you clarify all the requirements for 
running unit tests?  What libraries are needed, what files should be on the 
classpath and where, and so on.  As far as I can tell, my configuration is 
nearly identical to that found in the example applications, I include all the 
same libraries, my build artifacts contain the same resource files, and so 
forth.  I have been trying to pinpoint the cause but my efforts are fruitless.  
(See http://jboss.com/index.html?module=bb&op=viewtopic&t=89261 for some of my 
stack traces.)

You say our JNDI properties (may) contain the wrong values.  What should it 
contain? How is it referenced?  How does the scaffold know about the 
datasource?  What should the classpath contain?  What does the scaffold 
actually use to run the tests?  Should we be looking at the microcontainer 
configuration?  The embedded-ejb configuration?  (Note these have the same JNDI 
properties.)

I am enjoying Seam a great deal.  You guys have done a great job with this 
stuff, and I am pushing it like crazy where I work, but I really need some more 
details on debugging things like this.  I will not and cannot proceed on 
projects without unit testing, making this the only blocker on projects coming 
down the pipeline.

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: problem with running JBOSS in eclipse 3.2

2006-08-30 Thread [EMAIL PROTECTED]
looks like there is a usage jdk1.5 methods where it shouldn't have been.

run your eclipse with 1.5 and it should work. 

I'll create a jira issue for this one.

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: changing host parameter in launch configuration

2006-08-30 Thread [EMAIL PROTECTED]
Originally I decided that there would simply be no changing of host or 
configuration, and that to change either of them you'd simply have to create a 
new server for that combination. 

There had been a bug a short while ago where using different IPs that were 
local were not being accepted in the server creation wizard. 
(http://jira.jboss.com/jira/browse/JBIDE-340) A bug was filed with eclipse, a 
patch was submitted, accepted, adn I'm not sure when it will be integrated into 
their release. 

This still doesn't address whether or not the hostname or configuration should 
be changeable at will. I think I'm heavily leaning, now, towards allowing the 
changing of host, but keeping configuration name unchangeable.  (This is 
required for knowing which configuration a module was deployed to, how to 
remove it, etc.) 

Input is always appreciated. 

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

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


[jboss-user] [Installation, Configuration & Deployment] - Net-SNMP, community !~ public, JBOSS-4.0.4.GA

2006-08-30 Thread pako
Hi all,
I'm writing a perl-script to monitor JBOSS-4.0.4.GA via snmp, by using Net::SNMP
5.20 perl module.
The problem is that if I set a community different from 'public',
snmp-queries done via NET::SNMP module on JBOSS snmp-agent don't work.
While snmp-queries done via 'snmpget' command (from command line) on JBOSS
snmp-agent work perfecty with any community.
I worte a little script to isolate the problem:


  | #!/usr/bin/perl
  | use strict;
  | use warnings;
  | use Net::SNMP;
  | my ($session,$error) = Net::SNMP->session(Hostname => $ARGV[0],
  |Community => $ARGV[1]);
  | die "session error: $error" unless ($session);
  | printf("Hostname: %s  Community: %s  OID: %s\n", $ARGV[0], $ARGV[1], 
$ARGV[2]);
  | my $result = $session->get_request("$ARGV[2]");
  | die "request error: ".$session->error unless (defined $result);
  | $session->close;
  | print "OID requested: ".$result->{"$ARGV[2]"}."\n";
  | 
### myscript.pl end ###

I tested the problem in this scenario:
- host wi064111 running CentOS 4.3
-- JBOSS running snmp-adaptor.sar with community 'public' on port 2
-- JBOSS running snmp-adaptor.sar with community 'q3lrcdjb' on port 11212
-- snmpd daemon running on port 161 (tested with both previous communities)

The result of my tests is:

1) 'snmpget' command works perfectly quering both snmpd daemon and JBOSS
snmp-agent, with any community:

[EMAIL PROTECTED] ~]# snmpget -c public -v 1 10.102.64.111:161 
.1.3.6.1.2.1.4.1.0
IP-MIB::ipForwarding.0 = INTEGER: notForwarding(2)

[EMAIL PROTECTED] ~]# snmpget -c q3lrcdjb -v 1 10.102.64.111:161
.1.3.6.1.2.1.4.1.0
IP-MIB::ipForwarding.0 = INTEGER: notForwarding(2)

[EMAIL PROTECTED] ~]# snmpget -c public -v 1 10.102.64.111:2 1.2.3.4.1.2
iso.2.3.4.1.2 = Gauge32: 92686392

[EMAIL PROTECTED] ~]# snmpget -c q3lrcdjb -v 1 10.102.64.111:11212
1.2.3.4.1.2
iso.2.3.4.1.2 = Gauge32: 94004080

2) myscript.pl works perfectly quering snmpd daemon, with any community:

[EMAIL PROTECTED] ~]# ./myscript.pl wi064111:161 public 1.3.6.1.2.1.4.1.0
Hostname: wi064111:161  Community: public  OID: 1.3.6.1.2.1.4.1.0
OID requested: 2

[EMAIL PROTECTED] ~]# ./myscript.pl wi064111:161 q3lrcdjb 1.3.6.1.2.1.4.1.0
Hostname: wi064111:161  Community: q3lrcdjb  OID: 1.3.6.1.2.1.4.1.0
OID requested: 2

3) myscript.pl queries on JBOSS snmp-agent work only with community
'public':

[EMAIL PROTECTED] ~]# ./myscript.pl wi064111:2 public 1.2.3.4.1.2
Hostname: wi064111:2  Community: public  OID: 1.2.3.4.1.2
OID requested: 91884232

[EMAIL PROTECTED] ~]# ./myscript.pl wi064111:11212 q3lrcdjb 1.2.3.4.1.2
Hostname: wi064111:11212  Community: q3lrcdjb  OID: 1.2.3.4.1.2
request error: Bad incoming community [public] at ./myscript.pl line 10.

THIS IS THE ERROR I GET.

Now, NET::SNMP module seems to be ok because works perfectly with snmpd
daemon. On the other side, JBOSS snmp-agent seems to be ok because answers
perfectly to snmpget queries.
But NET::SNMP module with JBOSS snmp-agent doesn'work correctly. Moreover
the error is caused by $session->get_request line, and not by
Net::SNMP->session line. It seems like JBOSS snmp-agent would expect a new
authentication every request.

Could the error be in NET::SNMP module implementation?

Thanks to everyone who just read the whole post,
pako


  |  Listing of 
/jboss/admjboss-4.0.4.GA/jboss-4.0.4.GA/server/part02node01/deploy/snmp-adaptor.sar/META-INF/jboss-service.xml
 ##
  | 
  | 
  | 
  |   
  | 1162
  |   
  |   
  |   
  | org.jboss.jmx.adaptor.snmp.agent.RequestHandlerImpl
  | /attributes.xml
  | org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport
  | /notifications.xml
  | /managers.xml
  | 0
  | 1161
  | false
  | q3lwcdjb
  | q3lrcdjb
  | 
  |   
  | 
  | 
  |   
  | 
  | 
  | 
  |   
  | 
  |   
  | 
  | 
  |   
  | 
  |   
  |   
  |   
  | In The Matrix
  | Central Computer
  | Agent Smith
  | 
  |jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor
  | 
  |   
  | 
  | 

### listing of 
/jboss/admjboss-4.0.4.GA/jboss-4.0.4.GA/server/part02node01/deploy/snmp-adaptor.sar/attributes.xml
 ###


  | 
  | 
  |
  |   
  |   
  |   
  |   
  |
  |
  |   
  |   
  |
  |
  |   
  |
  |
  |   
  |   
  |   
  |
  |
  |   
  |
  |
  |
  |   
  |   
  |   
  |   
  |   
  |   
  |
  | 
  | 

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

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

[jboss-user] [JNDI/Naming/Network] - Re: java.naming.provider.url parsing problem?

2006-08-30 Thread csturtz
I just made a break through that's pretty interesting.  

We run all of our tests through Maven2.  Since the exception i was getting 
doesn't provide much information, I decided to use my IDE (IntelliJ IDEA) to do 
some debugging.  To my surprise, everything worked perfectly.  So, whatever is 
going on has nothing to do with JBoss.  I've just got to figure out any 
differences between the Maven2 JVM Environment and the IDEA JVM Environment 
when running these tests.  

Thanks for all the help!  

... on to the Maven2 forums ...

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

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


[jboss-user] [Remoting] - Re: Connector - InvokerRegistery not cleared when stop is ca

2006-08-30 Thread [EMAIL PROTECTED]
This is indeed a bug and are correct about the root of the problem (since 
started flag not switched to on, then does not think needs to tear down on the 
stop() call).

The jira issue for this is http://jira.jboss.com/jira/browse/JBREM-594


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

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


[jboss-user] [Clustering/JBoss] - Re: Cluster Partition Name

2006-08-30 Thread [EMAIL PROTECTED]
Key rule of posting, particularly for config questions:  say what release you 
are using :)

In your original files, before you edited them, you should see stuff like

xyz="${jboss.partition.name:DefaultPartition}"

If you see that, you're using a fairly recent release.  If so, undo your edits, 
restore the original.

Then start jboss with the -g switch:

run -g MyCustomPartitionName -c all

This will set system property jboss.partition.name, which will then set the 
value you want in all config files.

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

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


  1   2   >