[jboss-user] [JBoss Seam] - Re: about component Name convention

2008-01-01 Thread Fangzx
anyone?

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

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


[jboss-user] [EJB 3.0] - Preview the next EJB 3 implementation bundled in JBoss AS 5.

2008-01-01 Thread wolfc
A new release of the EJB 3 module is available bundled into JBoss Application 
Server 5.0.0.Beta3. 
"Rajesh Rajasekaran" wrote : JBoss Application Server 5.0.0.Beta3 is out, right 
in time for the holidays.
  | 
  | Download it from sourceforge
  | 
http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=563302
  | or through the jboss.org labs page.
  | http://labs.jboss.com/jbossas/downloads/
  | 
  | This is the last Beta release of the *JBoss 5.0.x* series for the *Java 
EE?* 5 codebase! This release completes a big round of refactorings related to 
the transformation of JBossAS into a pure POJO-based server. There should be no 
API changes from this point on as we move closer to a final release.
  | 
  | JBoss 5 is the next generation of the JBoss Application Server build on top 
of the new JBoss Microcontainer. The JBoss Microcontainer is a lightweight 
container for managing POJOs, their deployment, configuration and lifecycle. It 
is a standalone  project that replaces the famous JBoss JMX Microkernel of the 
3.x and 4.x JBoss series. The Microcontainer integrates nicely with the JBoss 
framework for Aspect Oriented Programming, JBoss AOP.
  | Support for JMX in JBoss 5 remains strong and MBean services written 
against the old Microkernel are expected to work.
  | 
  | Detailed release notes:
  | 
http://sourceforge.net/project/shownotes.php?release_id=563302&group_id=22866
  | 
  | 
  | Thanks
  | Rajesh

Note that this release is NOT backwards compatible with AS 4.2, so expect some 
migration issues. More information can be found here: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ToAS5.0.0.Beta3.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Log4j in .SAR FILE

2008-01-01 Thread anupamkakade
HI,

I want my .sar file which is deployed on jboss should not print INFO messages 
on console . I downloded the necessary documents for how to 
use the log4j.properties file for  the application to use its own logging 
mechanism .  But dear guys, that documents are for .war file  only . I have 
searched a lot on net but unable to find the necessary steps for .sar file to 
use its own logging mechanism . I know that all sysouts will be printed on 
console as INFO but i dont want the INFO messages which the LOGGER object will 
print on console .  Will any one of u help me in this regard ? I am using 
jboss4.0.5 on windows xp .

Thanks a lot in advance 

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

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


[jboss-user] [Beginners Corner] - To use Log4j in .SAR

2008-01-01 Thread anupamkakade
HI,

I want my .sar file which is deployed on jboss should not print INFO messages 
on console . I downloded the necessary documents for how to 
use the log4j.properties file for  the application to use its own logging 
mechanism .  But dear guys, that documents are for .war file  only . I have 
searched a lot on net but unable to find the necessary steps for .sar file to 
use its own logging mechanism .  Will any one of u help me in this regard ? I 
am using jboss4.0.5 on windows xp .

Thanks a lot in advance .

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Exception creating identity

2008-01-01 Thread tmerrill
My JBoss AS 4.2.1 GA suddenly will not start. I am using it with Sun Java 1.6. 
It has been working in the past but I had to reboot my server and now it fails 
to start with the following error in the stack trace:


  | 21:31:20,637 WARN  [BasicMBeanRegistry] 
javax.management.MBeanRegistrationException: preRegister() failed: 
[ObjectName='jboss.remoting:service=NetworkRegistry', 
Class=org.jboss.remoting.network.NetworkRegistry ([EMAIL PROTECTED])]
  | 

and further down:

  | Caused by: java.lang.RuntimeException: Exception creating identity: 
fattony: fattony
  | 

I did a bit of searching on the forums and found some posts about problems with 
/etc/hosts but I have not touched mine here it is:


  | 127.0.0.1   localhost 
  | 127.0.0.1   fattony
  | 

I did notice that I can run my config as root:

  | ./run.sh -c vencomm -b 127.0.0.1
  | 
but not as my "jboss" user that I had setup. I tried deleting and re-adding the 
user, changing ownership on my $JBOSS_HOME directory. I haven't changed a 
thing, it just started happening. Any ideas? How is everyone else running JBoss 
as a non-root user. I had it working and now it is broken.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Jboss-portal-2.2.1-bundled integration with eclipse problem

2008-01-01 Thread p_sharma
While integrating Jboss with eclipse, in eclipse, software updates and install, 
i took the plugin from URL 
http://download.jboss.org/jbosside/updates/stable.
But its not able to copy
SeamTools Feature (2.0.0.GA) requires feature 
"org.eclipse.datatools.connectivity.feature".

I unchecked above and finished the download. Plugins have come in eclipse but 
in Jboss Server View, following exception is coming:
java.lang.NoSuchFieldError: viewState
at 
org.jboss.ide.eclipse.as.ui.views.server.ServerFrame.(ServerFrame.java:106)
at 
org.jboss.ide.eclipse.as.ui.views.server.JBossServerView.createPartControl(JBossServerView.java:139)
at 
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:332)
at 
org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:197)
at 
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
at org.eclipse.ui.internal.Perspective.showView(Perspective.java:1675)
at 
org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:987)
at 
org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPage.java:968)
at org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.java:3497)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at 
org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3494)
at 
org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3470)
at 
org.eclipse.ui.handlers.ShowViewHandler.openView(ShowViewHandler.java:148)
at 
org.eclipse.ui.handlers.ShowViewHandler.openOther(ShowViewHandler.java:104)
at 
org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHandler.java:70)
at org.eclipse.ui.internal.ShowViewMenu$3.run(ShowViewMenu.java:114)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at 
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at 
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at 
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
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 org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)


Also i m not able to create a new server for my project in Server view. Can 
anyone help me out in resolving the issue.


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

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


[jboss-user] [JBoss/Spring Integration] - Re: JBOSS 4.2 + Spring Security on EJB3

2008-01-01 Thread ragavgomatam
Correct me if I am wrong, but I believe ejb's are still secured by containers. 
You can set up a declarative security policy with use of xml tags in the 
ejb-jar.xml for the container or roll your own with JAAS. If you are using JAAS 
then acegi security is out of the question. If you are using xml tag based 
security in the web.xml/jboss-web.xml, then the security context is propagated 
to the ejb container by jboss. In this case too acegi security is out. 

Cut to the chase, acegi cannot be used for ejb's. It is a filter based HTTP 
protocol authorization/authentication mechanism. Good for web resources & 
ensures web container independence. For ejb's you got to rely on container for 
security & as I said before containers provide 2 ways to secure ejb's ( xml 
tags based & Jaas based ) ...




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

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


[jboss-user] [JBoss Seam] - Maven2 example application for Seam2

2008-01-01 Thread cory_prowse
Hi,

I have made available for download a work in progress to getting a sample 
project going with Seam2 building and testing using Maven2 and JBossEmbedded.  
I thought a lot of the issues would be solved since there is a root pom 
provided for Seam (and hence the dependencies would be managed for me).

Alas, I always get the following error from the first unit test that attempts 
to start Embedded JBoss (using the provided SeamTest class in Seam).
anonymous wrote : ERROR [AbstractKernelController] Error installing to 
Instantiated: name=FileStructure state=Described
  | java.lang.NoSuchMethodError: 
javassist.scopedpool.ScopedClassPool.(Ljava/lang/ClassLoader;Ljavassist/ClassPool;Ljavassist/scopedpool/ScopedClassPoolRepository;Z)V
  | at org.jboss.aop.classpool.AOPClassPool.(AOPClassPool.java:69)

I have archived an example application and provided it for download so that 
perhaps others can point me towards the correct means of achieving this.
The project will build an EAR that successfully deploys and runs within 
Glassfish v2, however only if you skip the unit tests:
anonymous wrote :  mvn -Dmaven.test.skip=true clean install

It uses the 2.0.1.CR1 root pom and the recently published beta3-SNAPSHOT of 
Embedded JBoss.
It also will enforce using Java5 and Maven 2.0.8+ to ensure the environment is 
supported correctly.

The archive can be obtained from here: 
http://www.users.on.net/~cory_prowse/seamMavenExample-20080102.zip

Would love to get some help in getting this to work from anyone capable.
Would it require the new version of JBoss Embedded to be released first?

Hopefully those working on Seam and/or JBossEmbedded can review this before 
their respective projects make their next releases.

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

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


[jboss-user] [JBoss Seam] - Re: rights to see a buton

2008-01-01 Thread [EMAIL PROTECTED]
If you put a @Restrict on your action method with the same security expression 
as your button then it will throw an AuthorizationException if the security 
check fails when the button is clicked.  

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

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


[jboss-user] [JBoss Seam] - Re: Example Seam with Maven2 - not working

2008-01-01 Thread cory_prowse
Apologies, the post got submitted by accident before I had completed it.

I have a complete example of using Seam2 with Maven, however I first need to 
locate a place to upload the archive to and I'll post a new topic with a link 
to it, and notes on how to use it.

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

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


[jboss-user] [JBoss Seam] - Re: Seam Remoting failing on Firefox 2.0

2008-01-01 Thread [EMAIL PROTECTED]
Your code looks fine to me.  Does the remoting/helloworld example work for you?

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

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


[jboss-user] [JBoss Seam] - Re: Exceptions on the same page

2008-01-01 Thread alessandrolt

It is impossible? What do I manage exceptions on the same page where the error 
occurred?

thanks

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

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


[jboss-user] [JBoss Seam] - Example Seam with Maven2 - not working

2008-01-01 Thread cory_prowse
I've been trying to get Seam2 building and testing within Maven 2.

I whipped up the attached

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

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


[jboss-user] [JBoss Seam] - seam / hibernate question..

2008-01-01 Thread minamti
I have a stateful session bean. The bean brings up button A if you are a User 
and button B if you are a Super User.

the bean uses a non SMPC Extended Persistence Context and has Session Scope. 

Both buttons A and B call @Transactional methods that update the database. 

I am testing this application with IE and Firefox simultaneously.

Clicking button A in IE and immediately clicking  button B in Firefox causes 
this error

Any help is appreciated. 

Thanks, 

M

  | Exception during request processing: 
  | Caused by java.lang.IllegalStateException with message: "Could not commit 
transaction" 
  | 
org.jboss.seam.jsf.SeamPhaseListener.commitOrRollback(SeamPhaseListener.java:592)
  | 
org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsAfterPageActions(SeamPhaseListener.java:334)
  | 
org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:553)
  | 
org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:455)
  | 
org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:146)
  | org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
  | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
  | com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)
  | org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
  | 
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
  | 
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:406)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
  | org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  | org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  | org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
  | 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
  | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
  | org.apache.tomcat.util.net.JIoEndpoin

[jboss-user] [JBoss Seam] - Re: Seam EJB3 authorization

2008-01-01 Thread [EMAIL PROTECTED]
Seam Security is currently not integrated with container security, so at this 
time you need to choose either one or the other.

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

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


[jboss-user] [JBoss Seam] - MySQL Database with Seam Setup.. IS it correct?

2008-01-01 Thread [EMAIL PROTECTED]
I have tried to copy/edit files to create what I needed and it appears to work. 
The question is simply is it correct?

sec_ds.xml

  | 
  | 
  | 
  | 
  | secDatasource
  | 
  | jdbc:mysql://localhost:3306/selwyn
  | 
  | com.mysql.jdbc.Driver
  | root
  | **
  | 
  | 
  | 

persistance.xml

  | 
  | http://java.sun.com/xml/ns/persistence"; 
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |  xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"; 
  |  version="1.0">
  |
  |   org.hibernate.ejb.HibernatePersistence
  |   java:/secDatasource
  |   
  |  
  |  
  |  
  |  
  |  
  |  
  |   
  |
  | 
  | 

The project is pure Seam/EJB3.

I know its "obvious" to you guys, but it was not obvious from the doco how to 
set this up for us mortals...

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

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


[jboss-user] [JBoss Seam] - Re: How to access HttpServletResponse when not use JSF clien

2008-01-01 Thread [EMAIL PROTECTED]
Yes, ServletContexts.getInstance().getRequest() will return the 
HttpServletRequest instance.

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

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


[jboss-user] [JBoss Seam] - Re: GWT and SeamResourceServlet

2008-01-01 Thread [EMAIL PROTECTED]
I just tested the GWT example in latest CVS (after doing a clean build) and it 
works fine.  Your URL (http://localhost:8080//seam/resource/gwt) seems to be 
missing the context path, perhaps that is your problem?

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

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


[jboss-user] [JBoss Portal] - PROBLEM: Cannot find FacesContext while accessing the page w

2008-01-01 Thread [EMAIL PROTECTED]
Hi there,

When I hit my JSF application (URL: http://localhost:8080/myapp/index.jsf) 
deployed to Jboss-portal I get Exception below.

My environment:
+ jboss-portal-2.6.2.GA 
+ jdk1.6.0_03 
+ Windows XP

2008-01-01 12:51:30,703 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/myapp].[jsp]] 
Servlet.service() for servlet jsp threw exception
java.lang.RuntimeException: Cannot find FacesContext
at 
javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1796)


My faces-config.xml:


http://java.sun.com/dtd/web-facesconfig_1_0.dtd";>



  bean
  SampleBean
  session



 bean2
  SampleBean2
  session





My web.xml:
--

http://java.sun.com/xml/ns/j2ee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee  
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>

a4jEchoText


org.richfaces.SKIN
blueSky


javax.faces.STATE_SAVING_METHOD
server



 
RichFaces Filter 
richfaces 
org.ajax4jsf.Filter 

 
 
richfaces 
Faces Servlet
REQUEST
FORWARD
INCLUDE



com.sun.faces.config.ConfigureListener




Faces Servlet
javax.faces.webapp.FacesServlet
-1

 


Faces Servlet
*.jsf



BASIC

 


Any ideas why is this exception thrown...?

Looking forward to any answer.
Thanks in advance!

-- 
Pawe? Radecki
e: [EMAIL PROTECTED]
w: http://radeckimarch.blogspot.com/

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

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


[jboss-user] [JBoss Seam] - Re: Database flush problem

2008-01-01 Thread [EMAIL PROTECTED]
Seam-managed persistence contexts are conversation-scoped, so you'll need to 
use em.merge() to merge the changes in your session-scoped (i.e. unmanaged) 
entity.

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

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


[jboss-user] [JBoss Seam] - Re: Seam Licensing Question

2008-01-01 Thread [EMAIL PROTECTED]
Seam is LGPL, but beyond telling you that we're not allowed to give you any 
legal advice here ;)

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

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


[jboss-user] [JBoss/Spring Integration] - Re: Jboss 5 Beta 3 and Spring Deployer

2008-01-01 Thread ragavgomatam
Thanks Ales...That explains itSo then I have my EAR file with ejb3.jar 
(ejb3 module)  and spring-inject.jar (spring module) and ejb3.war (web-module) .

I also have my ejb 3 as :- 

package com.ejb3.beans;
  | 
  | import static javax.ejb.TransactionAttributeType.REQUIRED;
  | 
  | import javax.ejb.Stateful;
  | import javax.ejb.TransactionAttribute;
  | import javax.ejb.EJB;
  | import javax.annotation.PostConstruct;
  | import javax.annotation.Resource;
  | import javax.interceptor.ExcludeDefaultInterceptors;
  | import javax.sql.DataSource;
  | import javax.annotation.PreDestroy;
  | 
  | import org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport;
  | import org.jboss.annotation.spring.Spring;
  | 
  | import com.ejb3.domain.IPerson;
  | import com.ejb3.interfaces.Calculator;
  | import com.ejb3.interfaces.SayHello;
  | 
  | /**
  |  * @author Ragav
  |  * 
  |  */
  | 
  | @Stateful
  | @TransactionAttribute(REQUIRED)
  | @ExcludeDefaultInterceptors
  | public class SayHelloBean extends SimpleJdbcDaoSupport implements SayHello {
  | 
  | @Resource(name = "jdbc/TestDs", type = DataSource.class, shareable = 
true, mappedName = "java:jdbc/OracleDS")
  | private DataSource ds;
  | 
  | @EJB(beanName = "CalculatorBean")
  | private Calculator calculator;
  | 
  | @Resource(name = "sqlForEjb")
  | private String sql;
  | 
  | @Spring(jndiName = "spring-inject", bean = "person")
  | private IPerson p;
  | 
  | public String sayHelloWithEjb3DI() {
  | return "Testing ejb3 DI  & your age is "
  | + getSimpleJdbcTemplate().queryForInt(sql);
  | }
  | 
  | public double calulate() {
  | return calculator.calculate(2, 3);
  | }
  | 
  | @PostConstruct
  | public void init() {
  | setDataSource(ds);
  | }
  | 
  | @PreDestroy
  | public void callThis() {
  | System.out.println("Invoking method: preDestroy()");
  | }
  | 
  | public IPerson getPerson() {
  | return this.p;
  | }
  | 
  | }
  | 


But it appears that annotation @Spring(jndiName = "spring-inject", bean = 
"person") does not work since the jndiName "spring-inject" is not bound.

This is the error I get : 

20:13:40,609 INFO  [DefaultListableBeanFactory] Pre-instantiating singletons in 
factory [org.springframework.beans.factory.support.DefaultListableBeanFactory 
defining beans [/home,ejbLocalIntf]; root of BeanFactory hierarchy]
20:13:40,844 ERROR [STDERR] java.lang.RuntimeException: 
javax.naming.NameNotFoundException: spring-inject not bound
20:13:40,844 ERROR [STDERR] at 
org.jboss.ejb3.EJBContainer.construct(EJBContainer.java:727)
20:13:40,844 ERROR [STDERR] at 
org.jboss.ejb3.stateful.StatefulContainer.createBeanContext(StatefulContainer.java:103)
20:13:40,844 ERROR [STDERR] at 
org.jboss.ejb3.pool.AbstractPool.createBeanContext(AbstractPool.java:130)
20:13:40,844 ERROR [STDERR] at 
org.jboss.ejb3.pool.AbstractPool.create(AbstractPool.java:79)
20:13:40,844 ERROR [STDERR] at 
org.jboss.ejb3.InfinitePool.get(InfinitePool.java:56)
20:13:40,844 ERROR [STDERR] at 
org.jboss.ejb3.pool.ThreadlocalPool.create(ThreadlocalPool.java:58)
20:13:40,844 ERROR [STDERR] at 
org.jboss.ejb3.pool.ThreadlocalPool.get(ThreadlocalPool.java:113)

If you see, it says that the name "spring-inject" (name of my spring archive 
within my EAR ) is not bound to jndi.

My application.xml is as follows :- 

http://java.sun.com/xml/ns/javaee";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
  | http://java.sun.com/xml/ns/javaee/application_5.xsd";
  | version="5">
  | Test ejb3 j2ee 5 application
  | Ejb3
  | 
  | 
  | Ejb3.war
  | ejb3
  | 
  | 
  | 
  | Ejb3.jar
  | 
  | 
  | spring-inject.jar
  | 
  | 
  | 
  | 

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

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


[jboss-user] [EJB 3.0] - Re: Ejb 3 in Jboss 5 Beta 3

2008-01-01 Thread ALRubinger
"ragavgomatam" wrote : Alright Andy do we have any clues here ?

I'm best able to determine bugs if provided with a slimmed-down use case 
exhibiting the error in question.  Would like to know how to duplicate:

java.lang.NullPointerException
  | at 
org.jboss.ejb.txtimer.EJBTimerServiceImpl.restoreTimers(EJBTimerServiceImpl.java:452)
 

I can't speak to the Spring Injection binding errors

This thread has gotten a bit convoluted from its initial intent. :)  Let's 
separate out each individual error in its own topic?  And if someone could 
provide easily-reproducible sample code for the NPE in the Timer Service, would 
be appreciated.

S,
ALR

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

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


[jboss-user] [JBoss Seam] - Re: Spring and Seam managed persistence contexts

2008-01-01 Thread youngm
Yup through:

*Template
SharedEntityManager
@PersistenceContext
SessionFactory.currentSession()

You can make your existing spring persistence code work with a conversation 
scoped persistence context without changing your code.  Simply configure the 
use of a different EntitityManagerFactory of SessionFactory

Mike


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

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


[jboss-user] [JBoss Seam] - Re: OWASP / New Session after Login

2008-01-01 Thread [EMAIL PROTECTED]
Seam currently doesn't support generating a new session in the middle of a 
request, however the owasp.org page you cited contains a great list of points.  
Feel free to raise this in JIRA and assign to me (and please include the URL to 
the list), that way it won't get swept under the rug.

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

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


[jboss-user] [JBoss Seam] - Database flush problem

2008-01-01 Thread mirko27
We have non-seam component entity - Client.class
We outject it to session context while logging in:

  |  @In(required = false, value="client")
  | @Out(value = "client", required = false, scope = ScopeType.SESSION)
  | private Client user;
  | @In
  | private EntityManager em;
  |  public boolean authenticate() {
  | try {
  | user = (Client) em.createQuery(
  | "from Client where email = :username and password = 
:password").setParameter("username", 
Identity.instance().getUsername()).setParameter("password", 
sha1(Identity.instance().getPassword())).getSingleResult();
  | }
  | 

The client is outjected to session scope ( seen from debug.seam)
So then we have a page with a form to change client`s data.

  | 
  |   
  |  
  | 
  | 
When I press the button, the data is changed inside client in session scope 
(debug.seam).
But this data is not flushed to database. I am using SMPC and it is extended 
persistence context right? Therefore all the entities retrieved from 
entitymanager (client is retrieved from smpc as seen in code example) should 
get automatically flushed. When I log out the modified data is lost and new 
login has old values.
Am I missing a point here?

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

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


[jboss-user] [JBoss Seam] - OWASP / New Session after Login

2008-01-01 Thread ahus1
Hello,

OWASP has compiled a "top 10" vulnerablilities for web applications. 

One suggestion against session hijacking was the following: Start a new 
HTTP-Session after a successful login:

"Consider regenerating a new session upon successful authentication or 
privilege level change."

http://www.owasp.org/index.php/Top_10_2007-A7

Does anybody have a suggestion how to implement this with seam? 

Are there any votes for a change request?

I have thought of invalidating the current HTTP session, creating a new one and 
copying all elements from the old session to the new session. But Seam 2.0.0 
doesn't allow this:

When I use the lowlevel functions this is blocked by  
IllegalStateException("Please end the HttpSession via 
Seam.invalidateSession()") in Lifecyle

When I use Seam.invalidateSession(), the session is only destroyed at the end 
of the request and I am unable to copy any objects.

Thanks, Alexander.

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

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


[jboss-user] [JBoss/Spring Integration] - Re: Jboss 5 Beta 2 and Spring Deployer

2008-01-01 Thread alesj
anonymous wrote : 
  | I downloaded this directly to my $JBOSS_HOME/server/default/deployers
  | 
That's all you need to do.
It's all there.
This is a normal jar file, it just has different suffix, to emphasize that it's 
a deployer archive.

You don't need any -service.xml file, hence no more MBeans.
The new deployers will recognize the spring-deployers-beans.xml file in the 
jboss-spring.deployer/meta-inf.
That's where the new configuration is described.
JBoss5 is written on top of Microcontainer, back to POJO style. ;-)

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

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


[jboss-user] [JBoss Seam] - Re: Spring and Seam managed persistence contexts

2008-01-01 Thread rhasselbaum
Is it possible to have a conversation-scoped persistence context (or Hibernate 
session) inside a Spring-based "stateless" DAO, which is not a Seam component? 

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

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


[jboss-user] [JBoss Seam] - Re: Using Seam as a simple IoC bean factory in console app

2008-01-01 Thread rhasselbaum
For what it's worth, I found a workable solution in my case. I'm using Spring 
anyway instead of EJB, and I really only need Spring beans for my console 
applications. The problem was that I configured Spring/Seam to use Seam-managed 
(conversation-scoped) Hibernate sessions via the SeamManagedSessionFactoryBean. 
But this was causing transactions to fail outside of the web container because 
Seam wasn't initialized.

The solution was to configure Spring's ApplicationContext to fall back to 
Spring-managed Hibernate sessions when running outside of the web container, 
which removes the dependency on Seam. One can set this up by creasing a bean 
alias (called, say, "sessionFactory") that points to the product of either 
SeamManagedSessionFactoryBean or Spring's AnnotationSessionFactoryBean. All 
Spring beans that need access to the session factory bind to the alias, and the 
implementation can be chosen at runtime (e.g. using a 
PropertyPlaceholderConfigurer).

Obviously, this won't work for everyone, and it kind of sidesteps the issue of 
bootstrapping Seam outside of a web container. (That would still be nice!) But 
if your application happens to use Spring anyway, it might be a workaround.

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

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


[jboss-user] [JBoss/Spring Integration] - Re: Jboss 5 Beta 2 and Spring Deployer

2008-01-01 Thread ragavgomatam
Found the cause. It appears that the new jboss-spring.jar under Spring Deployer 
3.0 does not have JMX MBean classes in it. Check ou the error I get. 

Caused by: javax.management.NotCompliantMBeanException: Class does not expose a 
management interface: java.lang.Object
  | at 
org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:102)

My jboss-service.xml is as follows :- 


  | 
  |
  |   
  | 
  | 

My jboss-service.xml for jboss 4.2.1 which worked fine was :- 


  | 
  |
  |   
  | 


This worked fine with jboss-4.2.1 and Spring Deployer 1.3. But with Spring 
Deployer 3.0, the classes within the jboss-spring.jar have changed & we see no 
jmx MBean class. So the  -service.xml does not deploy with the new jar.

Ales any clues on this ?



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

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


[jboss-user] [JBoss/Spring Integration] - Re: Jboss 5 Beta 2 and Spring Deployer

2008-01-01 Thread ragavgomatam
I tried to deploy the Spring Deployer 3 on Jboss 5 beta 3. I get the following 
error:-

15:39:05,375 INFO  [TransactionManagerService] Binding TransactionManager JNDI 
Reference
  | 15:39:19,922 ERROR [AbstractKernelController] Error installing to 
Instantiated: name=jboss.spring:service=SpringApplicationConte
  | org.jboss.deployment.DeploymentException: Unable to createMBean for 
jboss.spring:service=SpringApplicationContextDeployer
  | at 
org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52)
  | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:141)
  | at 
org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:45)
  | at 
org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:37)
  | at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.j
  | at 
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
  | at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
  | at 
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:255)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
  | at 
org.jboss.system.ServiceController.doChange(ServiceController.java:659)
  | at 
org.jboss.system.ServiceController.install(ServiceController.java:272)
  | at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:98)
  | at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
  | at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:874)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
  | at 
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:238)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)
  | at 
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)
  | at org.jboss.Main.boot(Main.java:208)
  | at org.jboss.Main$1.run(Main.java:534)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: javax.management.NotCompliantMBeanException: Class does not 
expose a management interface: java.lang.Object
  | at 
org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:102)
  | at 
org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:100)
  | at 
org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:100)
  | at 
org.jboss.mx.metadata.MBeanCapability.of(MBe

[jboss-user] [JBoss/Spring Integration] - Re: Jboss 5 Beta 2 and Spring Deployer

2008-01-01 Thread ragavgomatam
Hello,

Is there a special way to deploy the latest Spring deployer 3.0. Is this a Zip 
archive or is there a special way to deploy this ? I downloaded this but this 
seems to be a DEPLOYER file. What is this & how should I install this? I did 
the following :- I downloaded this directly to my 
$JBOSS_HOME/server/default/deployers.

After this I started Jboss 5 Beta 3 . Is this correct ? I did not notice 
anything happening

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

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


[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-01 Thread trouby
Alright,

Well, sorry for being so annoying but I still don't get the point,
If I have buttons that should start a conversation, propagation='none' is not 
an option,


big part of my buttons start a new conversation, so no matter what, I find 
myself adding join=true, at least for these buttons,


But as it seems most of the people are comfortable with it, I still find it 
really confusing and not exactly correct,


What I think is that it might be useful to have an option to end/start a new 
conversation on the same method/link/etc...


Asaf.

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

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


[jboss-user] [Beginners Corner] - Re: JBoss, JNDI and BMP's

2008-01-01 Thread roberthart6650
I really appreciate your taking time to respond.  I've attached the items you 
requested as well as the contents of the two jar files, Customer.jar and 
CustomerClient.jar which are contained in the ear file.  Let me know if I can 
provide any other info.  Thanks.

Here is the application.xml


  | 
  | http://www.w3.org/2001/XMLSchema-instance"; 
xmlns="http://java.sun.com/xml/ns/javaee"; 
xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.xsd"; 
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/application_5.xsd"; version="5">
  |   CustomerApplication
  |   
  | Customer.jar
  |   
  | 
  | 

Here is the output of the JMX Console, followed by the output from the JNDI 
Bean list method.


  |  JMX Agent View Rob-Laptop 
  | 
  | 

  | 
  | ObjectName Filter (e.g. "jboss:*", "*:service=invoker,*") :  
  | 
  | 

  | 
  | Catalina
  | type=Server 
  | type=StringCache 
  | JMImplementation
  | name=Default,service=LoaderRepository 
  | type=MBeanRegistry 
  | type=MBeanServerDelegate 
  | com.arjuna.ats.properties
  | module=arjuna 
  | module=jta 
  | module=txoj 
  | jboss
  | name=PropertyEditorManager,type=Service 
  | name=SystemProperties,type=Service 
  | readonly=true,service=invoker,target=Naming,type=http 
  | service=AttributePersistenceService 
  | service=ClientUserTransaction 
  | service=Hypersonic 
  | service=JNDIView 
  | service=KeyGeneratorFactory,type=HiLo 
  | service=KeyGeneratorFactory,type=UUID 
  | service=Mail 
  | service=Naming 
  | service=NamingBeanImpl 
  | service=TransactionManager 
  | service=WebService 
  | service=XidFactory 
  | service=invoker,target=Naming,type=http 
  | service=invoker,type=http 
  | service=invoker,type=jrmp 
  | service=invoker,type=local 
  | service=invoker,type=pooled 
  | service=invoker,type=unified 
  | service=proxyFactory,target=ClientUserTransaction 
  | service=proxyFactory,target=ClientUserTransactionFactory 
  | jboss.admin
  | service=DeploymentFileRepository 
  | service=PluginManager 
  | jboss.alerts
  | service=ConsoleAlertListener 
  | jboss.aop
  | service=AspectDeployer 
  | service=AspectManager 
  | jboss.bean
  | service=JBossBeanDeployer 
  | jboss.beans
  | name='jbossws.sar#jbossws.beans',service=JBossBeanDeployment 
  | jboss.cache
  | service=InvalidationManager 
  | jboss.console
  | sar=console-mgr.sar 
  | jboss.deployer
  | service=BSHDeployer 
  | jboss.deployment
  | flavor=URL,type=DeploymentScanner 
  | jboss.ejb
  | persistencePolicy=database,service=EJBTimerService 
  | retryPolicy=fixedDelay,service=EJBTimerService 
  | service=EJBDeployer 
  | service=EJBTimerService 
  | jboss.ejb3
  | service=EJB3Deployer 
  | service=JarsIgnoredForScanning 
  | jboss.j2ee
  | module=Customer.jar,service=EJB3 
  | service=ClientDeployer 
  | service=EARDeployer 
  | service=EARDeployment,url='CustomerApplication.ear' 
  | jboss.jca
  | name='jboss-ha-local-jdbc.rar',service=RARDeployment 
  | name='jboss-ha-xa-jdbc.rar',service=RARDeployment 
  | name='jboss-local-jdbc.rar',service=RARDeployment 
  | name='jboss-xa-jdbc.rar',service=RARDeployment 
  | name='jms-ra.rar',service=RARDeployment 
  | name='mail-ra.rar',service=RARDeployment 
  | name='quartz-ra.rar',service=RARDeployment 
  | name=DefaultDS,service=DataSourceBinding 
  | name=DefaultDS,service=LocalTxCM 
  | name=DefaultDS,service=ManagedConnectionFactory 
  | name=DefaultDS,service=ManagedConnectionPool 
  | name=JmsXA,service=ConnectionFactoryBinding 
  | name=JmsXA,service=ManagedConnectionFactory 
  | name=JmsXA,service=ManagedConnectionPool 
  | name=JmsXA,service=TxCM 
  | service=CachedConnectionManager 
  | service=ConnectionFactoryDeployer 
  | service=RARDeployer 
  | service=WorkManager 
  | service=WorkManagerThreadPool 
  | jboss.jdbc
  | datasource=DefaultDS,service=metadata 
  | service=SQLExceptionProcessor 
  | service=metadata 
  | jboss.jms
  | alias=QueueConnectionFactory 
  | alias=TopicConnectionFactory 
  | jboss.jmx
  | alias=jmx/rmi/RMIAdaptor 
  | name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor 
  | name=Invoker,type=adaptor 
  | name=MBeanProxyRemote,protocol=jrmp,type=adaptor 
  | jboss.management.local
  | 
J2EEApplication=null,J2EEServer=Local,ResourceAdapterModule=jboss-ha-local-jdbc.rar,j2eeType=ResourceAdapter,name=JBoss
 HA LocalTransaction JDBC Wrapper 
  | 
J2EEApplication=null,J2EEServer=Local,ResourceAdapterModule=jboss-ha-xa-jdbc.rar,j2eeType=ResourceAdapter,name=JBoss
 JDBC XATransaction ResourceAdapter 
  | 
J2EEApplication=null,J2EEServer=Local,ResourceAdapterModule=jboss-local-jdbc.rar,j2eeType=ResourceAdapter,name=JBoss
 LocalTransaction JDBC Wrapper 
  | 
J2EEApplication=null,J2EEServer=Local,ResourceAdapterModule=jboss-xa-jdbc.rar,j2eeType=ResourceAdapter,name=JBoss
 JDBC XATransaction R

[jboss-user] [JBoss Seam] - Re: Web Service Clients in Seam

2008-01-01 Thread neilac333
Alas, I am developing my application on WebLogic 9.2, so I don't think JBossWS 
is an option for me according to this:

http://jbws.dyndns.org/mediawiki/index.php?title=JBossWS

Looks like I might just have to settle for a hybrid solution.  Seam for 
publishing services and Spring Web Services for consuming them.  

Or just Spring for both depending on whichever makes most sense to me.  The 
Seam integration with Spring might come in handy here.

And seriously, Pete.  Don't they ever give you a day off?  Kids making Nikes in 
Indonesia for pennies have the day off!

Of course, I suppose I can't really talk.

Thanks.  Happy New Year.

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

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


[jboss-user] [JBoss Seam] - Re: Seam & BPM - is there a way to 'filter' taskInstanceList

2008-01-01 Thread [EMAIL PROTECTED]
Extending/overriding built in seam components if needed for more complex use 
cases is often the right way to do it - we would definitely encourage you to do 
this...

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

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


[jboss-user] [JBoss Seam] - Re: Web Service Clients in Seam

2008-01-01 Thread [EMAIL PROTECTED]
I'm no expert on web services (Shane is currently on vacation) but I would take 
a look at JBossWS - this should allow you to consume WS.

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

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


[jboss-user] [JBoss Seam] - Re: Using Seam as a simple IoC bean factory in console app

2008-01-01 Thread rhasselbaum
I am interested in doing this, as well. The project I'm working on is a web 
application, but it also includes some command line utilities for certain 
administrative tasks. One of the things I like most about Spring is its ability 
to be bootstrapped outside of any web container. Is there any way to do this 
with Seam (i.e. without Embedded JBoss)? I don't require EJB, so a regular Java 
SE environment ought to be enough, right?

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

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


[jboss-user] [JBoss Seam] - Re: s:validateAll not working here

2008-01-01 Thread yilmaz_
not working?

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

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


[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-01 Thread gus888
"trouby" wrote : what's the difference between a new conversation starting from 
the same bean instance or from different bean instance? 
  | 
I think that they are the same. Both of them create new conversations with new 
ids.
"trouby" wrote : 
  | why the behavior is different?
  | I think that this is a Seam bug according to Michael Yuan's JBoss Seam book 
P114.

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

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


[jboss-user] [JBoss Seam] - Re: Datasource problem with seam and jbpm

2008-01-01 Thread colablade
hi, i'm having the same problem. and it seems the visit to only 1 db is allowed:

my code is like:


  | codes visiting application-based database;
  | ...
  | 
ManagedJbpmContext.instance().getGraphSession().findLatestProcessDefinitions();
  | 

output:

  | 2008-01-02 00:43:55,015 WARN  [com.arjuna.ats.jta.logging.loggerI18N] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] 
Adding multiple last resources is disallowed. Current resource is [EMAIL 
PROTECTED]
  | 2008-01-02 00:43:55,015 WARN  [org.hibernate.util.JDBCExceptionReporter] 
SQL Error: 0, SQLState: null
  | 2008-01-02 00:43:55,015 ERROR [org.hibernate.util.JDBCExceptionReporter] 
Could not enlist in transaction on entering meta-aware object!; - nested 
throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to 
enlist resource, see the previous warnings. tx=TransactionImple < ac, 
BasicAction: -3f57ff9c:116d:477a6798:aa status: ActionStatus.ABORT_ONLY >); - 
nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist 
in transaction on entering meta-aware object!; - nested throwable: 
(javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist 
resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: 
-3f57ff9c:116d:477a6798:aa status: ActionStatus.ABORT_ONLY >))
  | 2008-01-02 00:43:55,015 ERROR [STDERR] 
org.hibernate.exception.GenericJDBCException: Cannot open connection
  | at 
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
  | at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)
  | at 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
  | at 
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
  | at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
  | at org.hibernate.loader.Loader.doQuery(Loader.java:673)
  | at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
  | at org.hibernate.loader.Loader.doList(Loader.java:2220)
  | at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
  | at org.hibernate.loader.Loader.list(Loader.java:2099)
  | at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
  | at 
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
  | at 
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
  | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
  | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  | at 
org.jbpm.db.GraphSession.findLatestProcessDefinitions(GraphSession.java:184)
  | at Dgbwfm.session.Authenticator.authenticate(Authenticator.java:87)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
  | at 
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.bpm.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:49)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
  | at 
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:155)
  | at 
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:91)
  | at 
Dgbwfm.session.Authenticator_$$_javassist_2.authenticate(Authenticator_$$_javassist_2.java)
  | at sun.reflec

[jboss-user] [JBoss Seam] - Re: Datasource problem with seam and jbpm

2008-01-01 Thread colablade
i forgot to post the hibernate.cfg.xml:

  | 
  | 
  | http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
  | 
  | 
  |   
  | 
  | false
  | java:/jbpmDatasource
  | org.hibernate.transaction.JTATransactionFactory
  | org.hibernate.transaction.JBossTransactionManagerLookup
  | org.hibernate.cache.HashtableCacheProvider
  | create-drop
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  | 
  | 
and the jbpm-ds.xml:

  | 
  | 
  | 
  | 
  | jbpmDatasource
  | jdbc:mysql://localhost:3306/jbpm322
  | com.mysql.jdbc.Driver
  | root
  | 123
  | 
  | org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
  | 
  | 
  | 
  | mySQL
  | 
  | 
  | 
  | 

BTW: the project works fine with seam 1.2.1 GA,
i got the problem while porting it to seam 2.0.0 GA.


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

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


[jboss-user] [JBoss jBPM] - Re: GPD Missing Features

2008-01-01 Thread kukeltje
The swimlane tab and 'right click' are do not exist any more at those places. 
Those 'properties' are in the generic eclipse properties pane since GPD 3.1. 

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

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


[jboss-user] [JBoss Seam] - Re: url problem

2008-01-01 Thread alex_ro_bv
Thank you for the reply, pete, you were right!
in my xhtml files, was a problem. it was like
http://www.w3.org/1999/xhtml";
xmlns:s="http://jboss.com/products/seam/taglib";
xmlns:ui="http://java.sun.com/jsf/facelets";
xmlns:f="http://java.sun.com/jsf/core";
xmlns:h="http://java.sun.com/jsf/html";
xmlns:rich="http://richfaces.org/rich";
template="layout/template.xhtml">
generated by seam, and the right way was
http://www.w3.org/1999/xhtml";
xmlns:s="http://jboss.com/products/seam/taglib";
xmlns:ui="http://java.sun.com/jsf/facelets";
xmlns:f="http://java.sun.com/jsf/core";
xmlns:h="http://java.sun.com/jsf/html";
xmlns:rich="http://richfaces.org/rich";
template="/layout/template.xhtml">

the tamplate path was wrong, and I was confused by the lack of messages in the 
log... Thanks a lot!

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

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


[jboss-user] [EJB 3.0] - Re: Ejb 3 in Jboss 5 Beta 3

2008-01-01 Thread ragavgomatam
YesCorrectWhen you deploy after the server is started, I get no ejb 3 
errorsI still get errors but these are related to spring deployer being 
bound to jndi...I have shown the errors belo.w..I will post it at spring-ejb3 
forums...

08:41,938 INFO  [SpringInjectionInterceptor] Instantiating 
SpringInjectionInterceptor
  | 08:45,375 INFO  [MCKernelAbstraction] installing bean: 
jboss.j2ee:ear=Ejb3.ear,jar=Ejb3.jar,name=CalculatorBean,service=EJB3 with 
dependencies:
  | 08:45,375 INFO  [MCKernelAbstraction]   and supplies:
  | 08:45,375 INFO  [MCKernelAbstraction]
Class:com.ejb3.interfaces.Calculator
  | 08:47,719 INFO  [EJBContainer] STARTED EJB: com.ejb3.beans.CalculatorBean 
ejbName: CalculatorBean
  | 08:48,203 INFO  [MCKernelAbstraction] installing bean: 
jboss.j2ee:ear=Ejb3.ear,jar=Ejb3.jar,name=SayHelloBean,service=EJB3 with 
dependencies:
  | 08:48,203 INFO  [MCKernelAbstraction]   and supplies:
  | 08:48,203 INFO  [MCKernelAbstraction]
Class:com.ejb3.interfaces.SayHello
  | 08:50,062 INFO  [EJBContainer] STARTED EJB: com.ejb3.beans.SayHelloBean 
ejbName: SayHelloBean
  | 08:50,828 INFO  [NamedXmlApplicationContext] Refreshing [EMAIL PROTECTED]: 
display name [EMAIL PROTECTED]; startup date [Tue Jan 01 10:08:50 EST 2008]; 
root of context hierarchy
  | 08:51,203 INFO  [NamedXmlBeanDefinitionReader] Loading XML bean definitions 
from URL 
[vfsfile:/C:/jboss-5.0.0.Beta3/server/default/deploy/Ejb3.ear/spring-inject.jar/META-INF/jboss-spring.xml]
  | 08:52,547 INFO  [NamedXmlApplicationContext] Bean factory for application 
context [EMAIL PROTECTED]: [EMAIL PROTECTED]
  | 08:52,578 INFO  [DefaultListableBeanFactory] Pre-instantiating singletons 
in [EMAIL PROTECTED]: defining beans [person]; root of factory hierarchy
  | 08:52,891 INFO  [TomcatDeployment] deploy, ctxPath=/ejb3, 
vfsUrl=Ejb3.ear/Ejb3.war
  | 08:53,500 INFO  [ContextLoaderPlugIn] ContextLoaderPlugIn for Struts 
ActionServlet 'action, module '': initialization started
  | 08:53,516 INFO  [[/ejb3]] Initializing WebApplicationContext for Struts 
ActionServlet 'action', module ''
  | 08:53,516 INFO  [XmlWebApplicationContext] Refreshing [EMAIL PROTECTED]: 
display name [WebApplicationContext for namespace 'action-servlet']; startup 
date [Tue Jan 01 10:08:53 EST 2008]; root of context hierarchy
  | 08:53,828 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from 
ServletContext resource [/WEB-INF/spring-ejb3.xml]
  | 08:54,000 INFO  [XmlWebApplicationContext] Bean factory for application 
context [EMAIL PROTECTED]: [EMAIL PROTECTED]
  | 08:54,016 INFO  [DefaultListableBeanFactory] Pre-instantiating singletons 
in [EMAIL PROTECTED]: defining beans [/home,ejbLocalIntf]; root of factory 
hierarchy
  | 08:54,266 ERROR [STDERR] java.lang.RuntimeException: 
javax.naming.NameNotFoundException: spring-inject not bound
  | 08:54,266 ERROR [STDERR] at 
org.jboss.ejb3.EJBContainer.construct(EJBContainer.java:727)
  | 08:54,266 ERROR [STDERR] at 
org.jboss.ejb3.stateful.StatefulContainer.createBeanContext(StatefulContainer.java:103)
  | 08:54,266 ERROR [STDERR] at 
org.jboss.ejb3.pool.AbstractPool.createBeanContext(AbstractPool.java:130)
  | 08:54,266 ERROR [STDERR] at 
org.jboss.ejb3.pool.AbstractPool.create(AbstractPool.java:79)
  | 08:54,266 ERROR [STDERR] at 
org.jboss.ejb3.InfinitePool.get(InfinitePool.java:56)
  | 08:54,266 ERROR [STDERR] at 
org.jboss.ejb3.pool.ThreadlocalPool.create(ThreadlocalPool.java:58)
  | 08:54,266 ERROR [STDERR] at 
org.jboss.ejb3.pool.ThreadlocalPool.get(ThreadlocalPool.java:113)
  | 08:54,266 ERROR [STDERR] at 
org.jboss.ejb3.cache.simple.SimpleStatefulCache.create(SimpleStatefulCache.java:351)
  | 08:54,266 ERROR [STDERR] at 
org.jboss.ejb3.stateful.StatefulContainer.createSession(StatefulContainer.java:296)
  | 08:54,266 ERROR [STDERR] at 
org.jboss.ejb3.session.SessionContainer.createSession(SessionContainer.java:457)
  | 08:54,266 ERROR [STDERR] at 
org.jboss.ejb3.stateful.StatefulLocalProxyFactory.createProxy(StatefulLocalProxyFactory.java:148)
  | 08:54,266 ERROR [STDERR] at 
org.jboss.ejb3.JndiProxyFactory.getObjectInstance(JndiProxyFactory.java:55)
  | 08:54,266 ERROR [STDERR] at 
javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
  | 08:54,266 ERROR [STDERR] at 
org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1312)
  | 08:54,266 ERROR [STDERR] at 
org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1329)
  | 08:54,266 ERROR [STDERR] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:765)
  | 08:54,266 ERROR [STDERR] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
  | 08:54,266 ERROR [STDERR] at 
javax.naming.InitialContext.lookup(InitialContext.java:392)
  | 08:54,266 ERROR [STDERR] at 
org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:123)
  | 08:54,266 ERROR [STDERR] at

[jboss-user] [JBoss Seam] - Re: @DataModel makes me go nuts or it's a bug ?

2008-01-01 Thread dexjam
I have done some additional monitoring now, maybe seam resets the userList 
variable after it has set it?

I appendend the following code on the bean:


  | @Observer("org.jboss.seam.beforePhase")
  | public void checkBeforePhase() {
  | log.info("before Phase happened ...");
  | if (userList == null)
  | log.info("Userlist is null ...");
  | }
  | 
  | @Observer("org.jboss.seam.afterPhase")
  | public void checkAfterPhase() {
  | log.info("after Phase happened ...");
  | if (userList == null)
  | log.info("Userlist is null ...");
  | 
  | }
  | 
  | @Observer("org.jboss.seam.preSetVariable.userList")
  | public void checkPreSetUserList() {
  |  log.info("Before setting userList");
  | }
  | 
  | @Observer("org.jboss.seam.postSetVariable.userList")
  | public void checkPostSetUserList() {
  | log.info("After setting userList");
  | }
  | 
  | @Observer("org.jboss.seam.preRemoveVariable.userList")
  | public void checkPreRemoveVariable() {
  |log.info("Before removing userList"); 
  | }   
  | 
  | @Observer("org.jboss.seam.postRemoveVariable.userList")
  | public void checkPostRemoveVariable() {
  |log.info("After removing userList");  
  | }
  | 

Which resulted in this log entries:


  | 14:47:57,048 INFO  [STDOUT] 14:47:57,047 INFO  [Contexts] starting up: 
org.jboss.seam.security.identity
  | 14:47:57,048 INFO  [STDOUT] 14:47:57,048 INFO  [Contexts] starting up: 
org.jboss.seam.web.session
  | 14:47:57,072 INFO  [STDOUT] 14:47:57,072 INFO  [AdminUserBean] before Phase 
happened ...
  | 14:47:57,072 INFO  [STDOUT] 14:47:57,072 INFO  [AdminUserBean] Userlist is 
null ...
  | 14:47:57,092 INFO  [STDOUT] 14:47:57,092 INFO  [AdminUserBean] after Phase 
happened ...
  | 14:47:57,092 INFO  [STDOUT] 14:47:57,092 INFO  [AdminUserBean] Userlist is 
null ...
  | 14:47:57,389 INFO  [STDOUT] 14:47:57,389 INFO  [AdminUserBean] before Phase 
happened ...
  | 14:47:57,389 INFO  [STDOUT] 14:47:57,389 INFO  [AdminUserBean] Userlist is 
null ...
  | 14:47:57,869 ERROR [STDERR] 01.01.2008 14:47:57 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/data/programs/jboss-4.2.2.GA/server/default/tmp/deploy/tmp62730cbc.ear-contents/cbc-war-exp.war/WEB-INF/lib/jboss-seam-ui-2.0.1.CR1.jar!/META-INF/s.taglib.xml
  | 14:47:57,881 ERROR [STDERR] 01.01.2008 14:47:57 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/data/programs/jboss-4.2.2.GA/server/default/tmp/deploy/tmp62730cbc.ear-contents/cbc-war-exp.war/WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jsf-core.taglib.xml
  | 14:47:57,888 ERROR [STDERR] 01.01.2008 14:47:57 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/data/programs/jboss-4.2.2.GA/server/default/tmp/deploy/tmp62730cbc.ear-contents/cbc-war-exp.war/WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jsf-html.taglib.xml
  | 14:47:57,916 ERROR [STDERR] 01.01.2008 14:47:57 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/data/programs/jboss-4.2.2.GA/server/default/tmp/deploy/tmp62730cbc.ear-contents/cbc-war-exp.war/WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jsf-ui.taglib.xml
  | 14:47:57,923 ERROR [STDERR] 01.01.2008 14:47:57 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/data/programs/jboss-4.2.2.GA/server/default/tmp/deploy/tmp62730cbc.ear-contents/cbc-war-exp.war/WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jstl-core.taglib.xml
  | 14:47:57,927 ERROR [STDERR] 01.01.2008 14:47:57 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/data/programs/jboss-4.2.2.GA/server/default/tmp/deploy/tmp62730cbc.ear-contents/cbc-war-exp.war/WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jstl-fn.taglib.xml
  | 14:47:57,957 ERROR [STDERR] 01.01.2008 14:47:57 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/data/programs/jboss-4.2.2.GA/server/default/tmp/deploy/tmp62730cbc.ear-contents/cbc-war-exp.war/WEB-INF/lib/richfaces-ui-3.1.3.GA.jar!/META-INF/a4j.taglib.xml
  | 14:47:57,959 ERROR [STDERR] 01.01.2008 14:47:57 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/data/programs/jboss-4.2.2.GA/server/default/tmp/deploy/tmp62730cbc.ear-contents/cbc-war-exp.war/WEB-INF/lib/richfaces-ui-3.1.3.GA.jar!/META-INF/ajax4jsf.taglib.xml
  | 14:47:57,998 ERROR [STDERR] 01.01.2008 14:47:57 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/data/programs/jboss-4.2.2.GA/server/default/tmp/deploy/tmp62730cbc.ear-contents/cbc-war-exp.war/WEB-INF/lib/richfaces-ui-3.1.3.GA.jar!/META-INF/rich.taglib.xml
  | 14:47:58,001 ERROR [STDERR] 01.01.2008 14:47:58 
c

[jboss-user] [Clustering/JBoss] - Re: querying ejb proxy stub for available nodes

2008-01-01 Thread gogoasa
"shoeb1981" wrote : Nodes come and go.

Thanks for your answer. Of course I mean the nodes at lookup time, I realize 
that they may change.

I should be possible, the load balancing and failover logic is in the smart 
stub, not on the server.

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

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


[jboss-user] [EJB 3.0] - Re: Ejb 3 in Jboss 5 Beta 3

2008-01-01 Thread ragavgomatam
ReallyI will try this & let you know...But I have Spring 2.0 Injecting 
POJO's into Ejb 3I am also using the spring deployer  in conjunction with 
ejb 3.  I had no problems with jboss 4.2.1 GA...It worked beautifullyAgain, 
let me test it out as you suggested. I will remove my EAR & then drop it in & 
let you know

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

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


[jboss-user] [Beginners Corner] - Migration from Jrun to Jboss

2008-01-01 Thread manik_sai
Hi,
  Our application is currently deployed on Jrun 4.0 and we are planning to 
migrate this to Jboss. Any tips on this migration will be of great help.

Thanks,
Ravi

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

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


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

2008-01-01 Thread nitm
OMG!!!
it works!!!  finally  after a long month (give or take).

thanks a lot peter, you the man!

the jboss folks should know about this no?

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

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


[jboss-user] [JBoss Seam] - Re: Error after migration to the seam 2.0

2008-01-01 Thread damianharvey
Wouldn't it be more sensible to change your entity?

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

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


[jboss-user] [JBoss Seam] - Re: using setParameterList with the EntityManager query

2008-01-01 Thread damianharvey
You're correct. I use the Hibernate session solely for this purpose too.

I haven't tried the components.xml definition of it. I just create it in my 
codeSession session = (Session)entityManager.getDelegate();Cheers,

Damian.

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

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


[jboss-user] [JBoss Seam] - Re: s:validateAll not working here

2008-01-01 Thread iNsCanc
tnx for the fast answer, not it works :)

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

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


[jboss-user] [JBoss Seam] - Re: Lazy loading exception with Seam EM

2008-01-01 Thread trouby
Uh, my mistake, EM is bound per conversation,

So there is no solution for this need?
The logged user may have many lazy relationships which are sometime accessed 
directly by the view,

I find myself doing stuff like:
loggedUser.getSomeRelationShip().size();

before outjecting to the session so the information will be available for the 
view later on, but this is not elegant solution,


Thanks,

Asaf.

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

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


[jboss-user] [JBoss Seam] - Re: Problem upgrading to Seam 2.0.1.CR1

2008-01-01 Thread [EMAIL PROTECTED]
"java.net.MalformedURLException: unknown protocol: c" usually means that there 
is an URL (or broken URL handler) like "c:/mydirectory/..." somewhere and it's 
missing the actual protocol; file. So instead it should state 
"file://c:/mydirectory/.." 

If you're not running on Windows then this is not the case, obviously.

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

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


[jboss-user] [JBoss Seam] - Re: s:validateAll not working here

2008-01-01 Thread yilmaz_
add required el options to your jsf tags.
eg


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

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


[jboss-user] [JBoss Seam] - Re: Seam Licensing Question

2008-01-01 Thread yilmaz_
no

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

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


[jboss-user] [JBoss Seam] - Re: Seam Licensing Question

2008-01-01 Thread yilmaz_
but if you want to help. submit bugs and answer some questions in forums.

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

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


[jboss-user] [JBoss Seam] - Seam Licensing Question

2008-01-01 Thread mindgame
Dear all,

do Seam and RichFaces use the LGPL license? If we use the Seam and Richfaces 
framework/library in our commercial application, do we have to make our 
commercial application open source or distribute it using the LGPL license as 
well?

Thanks.

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

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


[jboss-user] [JBoss Seam] - Lazy loading exception with Seam EM

2008-01-01 Thread trouby
Hey,

I have a very simple authenticate component as in all seam examples such:


  | @In
  | EntityManager entityManager;
  | 
  | @Out(required=false, scope = SESSION)
  | User loggedUser;
  | 
  | 
  | public boolean authenticate() {
  | //load the user from db and set it into 'loggedUser' var
  | }
  | 
  |   | 
  |   | 
  |   | 
  |   | 
  |   | Well it works fine, the loggedUser object is being outjected to the 
session, the problem is that when I touch the collections of the 'loggedUser' 
entity (that are fetched lazily) I get lazy collection exceptions,
  |   | 
  |   | 
  |   | shouldn't any entity loaded by Seam's EM has to being in managed state 
for the whole user session (as long as I'm always using Seam's EM of course) ?
  |   | 
  |   | 
  |   | Thanks,
  |   | 
  |   | Asaf.

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

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


[jboss-user] [JBoss Seam] - s:validateAll not working here

2008-01-01 Thread iNsCanc
i think i am doing something wrong because my s:validateAll seem not working

this is my code

addGadget.xhtml
--
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";
xmlns:richfaces="http://richfaces.ajax4jsf.org/rich";
xmlns:h="http://java.sun.com/jsf/html";
xmlns:f="http://java.sun.com/jsf/core";
xmlns:s="http://jboss.com/products/seam/taglib";>



New Gadget



Description: 
Type: 










Gadget.java
-
package org.domain.gadgetcatalog.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

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

@Entity
@Name("gadget")
public class Gadget implements Serializable{
private Long id;
private String description;
private String type;

public Gadget() {
// TODO Auto-generated constructor stub
}

@Id @GeneratedValue
public Long getId() {
return id;
}

public void setId(Long id) {
this.id = id;
}

@NotNull
public String getDescription() {
return description;
}

public void setDescription(String description) {
this.description = description;
}

@NotNull
public String getType() {
return type;
}

public void setType(String type) {
this.type = type;
}

}




GadgetManager.java
--
package org.domain.gadgetcatalog.session;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.domain.gadgetcatalog.entity.Gadget;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.faces.FacesMessages;

@Stateless
@Name("gadgetManager")
public class GadgetManager implements IGadgetManager, Serializable {
@PersistenceContext
private EntityManager em;

@In(required=false)
private Gadget gadget;

public String addGadget() {
try {
em.persist(gadget);
} catch (Exception e) {
FacesMessages.instance().add("Error adding the new 
gadget");
}
return "listGadgets";
}

public List getAllGadgets() {
List gadgets = new ArrayList();
try {
Iterator it = em.createQuery("select g from Gadget as g 
order by g.id").getResultList().iterator();
while (it.hasNext()) {
gadgets.add((Gadget) it.next());
}
} catch (Exception e) {
e.printStackTrace();
}
return gadgets;
}

public Gadget getGadget() {
return gadget;
}

public void setGadget(Gadget gadget) {
this.gadget = gadget;
}

}

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

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


[jboss-user] [EJB/JBoss] - Re: JNDI Lookup error after deploying EJB3 jar as a part of

2008-01-01 Thread jaikiran
anonymous wrote : Does the lookup name change if I deploy it in an EAR file?

Yes, it does change. If you are deploying the bean as part of an ear file, then 
the lookup string will also have a ear file name prefixed to it. For example, 
if your TestBean is being deployed in an ear file named myApp.ear and you want 
to lookup the remote interface then the lookup string will be as follows:

 Test beanRemote = (Test) context.lookup("myApp/TestBean/remote"); 

Notice the myApp prefixed to the jndi-name.


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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Quartz scheduler issue in hot deployment in JBoss

2008-01-01 Thread jaikiran
You will have to provide more details as to what exactly is failing. The 
exception stacktrace, the JBoss version, Java version on Quartz version. 
Without these information, there's no way to guess what might be wrong.


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

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


[jboss-user] [Beginners Corner] - Re: JBoss, JNDI and BMP's

2008-01-01 Thread jaikiran
Please post the contents of your application.xml and the output of the JNDI 
view from the jmx-console. Also, post the output of the following command, from 
the command prompt:

jar -tf CustomerApplication.ear

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

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


[jboss-user] [Beginners Corner] - Re: Problem starting service persistence.units (ClassCastEx

2008-01-01 Thread jaikiran
Looks like you have a problem in your hbm mapping files (or the annotated 
entities, depending on what you are using). More details can be found in this 
(invalid) bug 
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3002. See, if you 
are having the same problem in your mapping.



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

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


[jboss-user] [Beginners Corner] - Re: Hi i would like to know the way to detect if a mchine ha

2008-01-01 Thread jamesdecosta555
Hi ,
   Is there any way of doing it by reading the system environment varaibles or 
so If so please inform 

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

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


[jboss-user] [JCA/JBoss] - Destroying connection that could not be successfully matched

2008-01-01 Thread daphna
We are using ConnectionManager.allocateConnection () to retrieve connections 
from the pool with our implementation of the ManagedConnectionFactory and 
ConnectionRequestInfo).

Once our code reaches:
 InternalManagedConnectionPool.getConnection(Subject subject, 
ConnectionRequestInfo cri), 

there is only one object in the  available connection event listeners list 
(InternalManagedConnectionPool.cls), and it doesn't match the cri we are 
looking for and therefore we get the:
 "Destroying connection that could not be successfully matched: " 
warning message:
12:39:40,506 WARN  [JBossManagedConnectionPool] Destroying connection that 
could not be successfully matched: org.jboss.resou
[EMAIL PROTECTED] mc=com.cisco.nm.cmp.gjc.GWManaged
[EMAIL PROTECTED] handles=0 lastUse=1197801580272 permit=false trackByTx=false 
mcp=org.jboss.resource.connectionmanager.JBos
[EMAIL PROTECTED] [EMAIL PROTECTED]

We are using Java1.5 & Jboss4.2.0GA

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

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