[jboss-user] [JBoss AOP] - ClassNotFoundException: org.jboss.injbossaop.lib.ExampleValu
JBoss 4.2.2.GA on Windows XP, JBoss-aop-2.1.3 I've run build.xml under jboss-40-install/jboss-aop-jdk50.deployer to substitue jboss-aop-2.1.3 I think I've made all the changes in the instructions for Load-time weaving. Made changes in run.bat for -javaagent:pluggable-instrumentor.jar Copied pluggable-instrumentor.jar to %JBOSS_HOME%\bin Ran the ant task deploy-basic-lt-war-in-jar After I run -c all and go to http://localhost:8080/aopexample/index.jsp, I get ClassNotFoundException: org.jboss.injbossaop.lib.ExampleValue. But I can see the above class in aopexamplelib.aop inside aopexample.jar. I'd appreciate any help to get me going on AOP development. I also see following snippets in stack-trace: 22:50:33,687 ERROR [Instrumentor] [warn] AOP Instrumentor failed to transform org.jboss.injbossaop.lib.ExampleValue java.lang.RuntimeException: org.jboss.injbossaop.lib.ExampleValue$ExampleValueAdvisor: frozen class (cannot edit) at javassist.ClassPool.checkNotFrozen(ClassPool.java:568) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247415#4247415 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: JBOSS5.1.x :: Does EJB3 MDB has a dependency on EJBTimer
thanks people ! reported an issue at https://jira.jboss.org/jira/browse/EJBTHREE-1880 so for time being i think i should add the timer service back again :) thanks ~PP View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247416#4247416 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247416 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Injecting spring bean in jsf controller, ibm jre 1.6.0 and
I'm deploying this managed bean with Spring bean injected. This web application works fine on Sun-JRE 1.6.6 and Jboss 5.0.1. Unable to inject the bean when deploying with IBM-JRE 1.6.0 and Jboss 5.0.1 on same windows OS. This is the requirement from the client. I would appreciate any help or any lead on this. This my jsf managed-bean configration managed-bean | managed-bean-nameexampleController/managed-bean-name | managed-bean-classapp.ExampleController/managed-bean-class | managed-bean-scopesession/managed-bean-scope | managed-property | property-nameexampleDAO/property-name | property-classapp.dao.ExampleDAO/property-class | value#{exampleDAO}/value | /managed-property | /managed-bean and this my spring confiration for DAO bean id=exampleDAO class=app.dao.ExampleJpaDAO/ This is dao interface code public interface ExampleDAO extends GenericDAOExampleDO, Long { | | } This exception from the log: ERROR [managedbean] JSF will be unable to create managed bean exampleController when it is requested. The following problems where found: | - Unable to Introspect managed bean exampleController | 09:42:48,531 WARN [lifecycle] Unable to create managed bean exampleController. The following problems were found: | - Unable to Introspect managed bean exampleController | com.sun.faces.mgbean.ManagedBeanCreationException: Unable to create managed bean exampleController. The following problems were found: | - Unable to Introspect managed bean exampleController | at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:204) | at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:86) | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54) | at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72) | at com.sun.faces.el.ChainAwareVariableResolver.resolveVariable(ChainAwareVariableResolver.java:108) | at org.springframework.web.jsf.DelegatingVariableResolver.resolveOriginal(DelegatingVariableResolver.java:122) | at org.springframework.web.jsf.DelegatingVariableResolver.resolveVariable(DelegatingVariableResolver.java:107) | at org.springframework.web.jsf.DelegatingVariableResolver.resolveOriginal(DelegatingVariableResolver.java:122) | at org.springframework.web.jsf.DelegatingVariableResolver.resolveVariable(DelegatingVariableResolver.java:107) | at com.sun.faces.el.VariableResolverChainWrapper.getValue(VariableResolverChainWrapper.java:107) | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54) | at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72) | at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:61) | at org.apache.el.parser.AstValue.getTarget(AstValue.java:63) | at org.apache.el.parser.AstValue.invoke(AstValue.java:166) | at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) | at com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88) | at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) | at javax.faces.component.UICommand.broadcast(UICommand.java:387) | at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321) | at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296) | at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253) | at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466) | at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) | at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) | at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) | at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378) | at
[jboss-user] [JBoss/Spring Integration] - JBoss WFK - Spring support
With JBoss AS5, EAP5, EWP5 this is now available anonymous wrote : | JBoss Web Framework Kit includes popular web frameworks for quickly and easily building light and rich Java applications. By combining leading rich application frameworks, Google Web Toolkit and RichFaces, with popular Java frameworks, Spring and Apache Struts, JBoss Web Framework kit provides a single enterprise solution for popular programming styles, all under one subscription. * http://www.jboss.com/products/wfk/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247419#4247419 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: HTTPUnMarshaller and InvocationResponse objects
Hey Ron, sorry for not replying to this I got distracted after your email and forgot to come back to it then :) Anway... not sure I follow :) As I see it, the issue on the client side will not be with text/* mime types since it seems to me that the issue is that the text/* types are coming back wrapped as a binary type in an InvocationResponse and the fact that it's text/plain underneath has been lost. I hope that makes sense :) So it seems to me like the Server to Client Marshal/Unmarshal process is missing a piece of info and an additional client side step. From memory, I think the http jbrserver-to-jbrclient response process for e.g. text/plain is as follows: | 1. [serverapp] return a String (text/plain) response payload | 2. [jbrserver] wrap text/plain response payload in an InvocationResponse (serialized String I think) | 3. [jbrserver] change content-type to application/something because it's an InvocationResponse. | 4. [jbrserver] marshal response to client | 5. [jbrclient] unmarshal response from server | 6. [jbrclient] return payload from InvocationResponse - content-type is application/something | 7. [clientapp] Use binary response (serialized String I think)??? | So I was thinking there was a piece of info missing in the InvocationResponse that tells the JBR Client that the payload is actually a serialized object and the base content type is text/plain. | 1. [serverapp] return a String (text/plain) response payload | 2. [jbrserver] wrap text/plain response payload in an InvocationResponse | 3. [jbrserver] change content-type to application/something because it's an InvocationResponse - store base-content-type = text/plain. | 4. [jbrserver] marshal response to client | 5. [jbrclient] unmarshal response from server | 6. [jbrclient] extract payload from InvocationResponse - it's a serialized object... base-content-type = text/plain | 7. [jbrclient] Deserialize payload to String - set response content-type back to text/plain | 8. [clientapp] Use String response (text/plain) | Hope I'm making sense Ron :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247421#4247421 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247421 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMSServerControl.createQueue() fails when there are any
I'm not sure I fully understand what is going on here - if the management reply is paged, then won't it get depaged when it is consumed? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247422#4247422 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: change hibernate , replace with other orm
Hello Tommy, we have had this discussion already I think. Take a look at this thread: http://www.jboss.org/index.html?module=bbop=viewtopict=158230 Hope this answers your question. P.S.: Does anybody know why the forum search is not working? Sebastian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247425#4247425 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: deploy.last
hmm - not without changing the deploy location of all other archives. Workaround is to add your ear name to setEnhancedSuffixOrder in ${serverconfig}/conf.xmdesc/org.jboss.deployment.MainDeployer-xmbean.xml i.e. 250:.rar,300:-ds.xml,400:.jar,500:.war,550:.jse,600:your.ear,650:.ear,800:.bsh I've added your usecase to https://jira.jboss.org/jira/browse/JBIDE-4374 which related to controlling output more finegrained. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247426#4247426 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247426 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: change hibernate , replace with other orm
hi Sebastian I appreciate your answer, but not enough, because i dont know how can i separate hibernate from jBPM? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247427#4247427 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBpm 4.0 intergation example
http://shekharv.blogspot.com/2009/07/sample-hibernate-and-jbpm-application.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247429#4247429 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: change hibernate , replace with other orm
Hello Tommy, I am still quite new to jBPM and I am not an expert on this but I think jBPM depends heavily on Hibernate. Changing jBPM to use a different ORM would require quite some changes and coding. You would have to rewrite / change all parts where Hibernate is used - this means all method and function calls etc. So there is no easy way or description of changing the ORM used in the project. Whereever persistence is required in jBPM Hibernate is used - so that would mean huge changes. In case I got something wrote I'll be happy to hear corrections and statements of the advanced users here. Anyway: What's the problem with Hibernate? Since it is used internally by jBPM you don't have to deal directly with it. So where is the point in changing the ORM? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247430#4247430 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: change hibernate , replace with other orm
The forum search obviously is down *again*. It has been down for two weeks, worked for a week now and fails again. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247438#4247438 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247438 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Help Please - jsfejb3 AS 5 Example Broken
Where is this example that you are using? In some documentation? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247440#4247440 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Help Please - jsfejb3 AS 5 Example Broken
There are two examples, both of which are very broken. They both ship directly in the JBoss AS 5.1.0.GA download. (they both appear to require the JBOSS Seam distribution to be installed although this is not described in the documentation) C:\jboss-5.1.0.GA\docs\examples\jsfejb3 - this supposedly shows an example of JSP/Facelets and EJB3 C:\jboss-5.1.0.GA\docs\examples\seamejb3 - this supposedly shows the same thing using SEAM View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247442#4247442 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247442 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problem with Errors in named queries when deploying jbpm wit
Hi All, I am trying to use jbpm 3.3.1 with oracle 10g and weblogic 10.3. I get the following exception from hibernate when i deploy the application: org.hibernate.HibernateException: Errors in named queries: GraphSession.deleteJobsForProcessInstance, JobSession.deleteTimersForProcessInstance, GraphSession.AllProcessNames, JobSession.suspendJobs, JobSession.deleteExecuteNodeJobsForProcessInstance, GraphSession.deleteTaskInstancesById, JobSession.deleteTimersByName, JobSession.resumeJobs I tried to chenge the server to a tomcat server or the database to mysql and the same problem exists. I saw in some post that using the latest version of hibernate will solve the problem but this haven't done the trick. The problem exists in the org/jbpm/db/hibernate.queries.hbm.xml but i don't know how to change the queries there. Is anyone that experienced a simular problem and solve it that can help? Thanks a lot. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247446#4247446 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247446 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Help Please - jsfejb3 AS 5 Example Broken
Are you sure that's where you got those from? I don't see any jsfejb3 or seamejb3 folders under my AS 5.1.0 docs/examples folder. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247448#4247448 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Help Please - jsfejb3 AS 5 Example Broken
A bit of googling and your other post in a different sub-forum here shows me that you are probably using the examples and the guide from AS 4.x against AS 5.x. I am not sure those instructions are up-to-date. In my spare time i will try to give to examples a try and update this thread and the wiki. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247449#4247449 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247449 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB Deployment Error with MANIFEST entry 'Class-Path'
Hi all, i'm experiencing a strange behaviour while deploying an EAR that contains three EJB-JARs. One of them is linked via the MANIFEST entry 'Class-Path' to an other. Without the MANIFEST entry the deployment works as expected. The Exception shown: | 20:42:37,408 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-2-1.0.jar,name=MyMessageEJB,service=EJB3 state=Create | org.jboss.deployers.spi.DeploymentException: Required config property requiredconfigpropertymetad...@81d5e[name=destination descriptions=[descriptionmetad...@394901[language=en]]] for messagingType 'javax.jms.MessageListener' not found in activation config [] ra=jboss.jca:service=RARDeployment,name='jms-ra.rar' | I'm using: - JBoss 5.1.0 GA - JDK 1.5.0_19 This is the application descriptor: | ?xml version=1.0 encoding=UTF-8? | application xmlns=http://java.sun.com/xml/ns/javaee; |xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; |xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd; version=5 | descriptionApplication/description | display-nameApplication/display-name | module | ejbejb-1-1.0.jar/ejb | /module | module | ejbejb-2-1.0.jar/ejb | /module | module | ejbmdb-1-1.0.jar/ejb | /module | /application | The MANIFEST i'm using: | Archiver-Version: Plexus Archiver | Created-By: Apache Maven | Built-By: john | Build-Jdk: 1.5.0_19 | Class-Path: mdb-1-1.0.jar | The sample application EAR can be downloaded here: http://www.moumantai.de/dl/application.zip. The ZIP file includes the two EAR files (the one working and the one throwing the exception) and a destination-service.xml to create the necessary queue. I'm need to build the applications classpath via the MANIFEST. Any suggestions to solve the problem? Thanks a lot. JOHN View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247451#4247451 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247451 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: ClassNotFoundException: org.jboss.injbossaop.lib.Example
I am continuing to have problems making injboss example to work and would appreciate any help. This time I started with a fresh version of JBoss 4.2.2 and JBoss-aop-2.1.3.GA ran the default ant task in script under C:\Downloads\JBoss\jboss-aop-2.1.3.GA\jboss-40-install\jboss-aop-jdk50.deployer after modifying properties to point to JBoss instance In C:\jboss-4.2.2.GA\server\all\deploy\jboss-aop-jdk50.deployer\META-INF\jboss-service.xml attribute name=EnableLoadtimeWeavingtrue/attribute copied pluggable-instrumentor.jar from jboss-aop-2.1.3.GA\lib to C:\jboss-4.2.2.GA\bin set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME% -javaagent:C:\jboss-4.2.2.GA\bin\pluggable-instrumentor.jar in run.bat ran the deploy-basic-lt-war-in-jar task for the examples\injboss C:\jboss-4.2.2.GA\binrun -c all === JBoss Bootstrap Environment JBOSS_HOME: C:\jboss-4.2.2.GA JAVA: C:\java\jdk1.5.0_13\bin\java JAVA_OPTS: -Dprogram.name=run.bat -javaagent:C:\jboss-4.2.2.GA\bin\pluggable-instrumentor.jar -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 CLASSPATH: C:\java\jdk1.5.0_13\lib\tools.jar;C:\jboss-4.2.2.GA\bin\run.jar === Also seeing the following on console: ERROR [SuperClassesFirstWeavingStrategy] Error converting class .. Do verbose mode if you want full stack trace. got the following error when I go to http://localhost:8080/aopexample/index.jsp org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 2 1: %...@page language=java contentType=text/html import=org.jboss.injbossaop.lib.ExampleValue% 2: jsp:useBean id=exampleValue scope=session type=org.jboss.injbossaop.lib.ExampleValue / 3: 4: AOP in JBoss Simple WAR example 5: Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:397) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause javax.servlet.ServletException: java.lang.InstantiationException: bean exampleValue not found within scope org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850) I get the following When I run DisplayClassInfo for org.jboss.injbossaop.lib.ExampleValue in JMX console org.jboss.injbossaop.lib.ExampleValue Information Repository cache version: org.jboss.injbossaop.lib.ExampleValue(fb305f).classloader=org.jboss.mx.loading.unifiedclassload...@8eaec8{ url=file:/C:/jboss-4.2.2.GA/server/all/tmp/deploy/tmp56833aopexample.jar ,addedOrder=44} ..org.jboss.mx.loading.unifiedclassload...@8eaec8{ url=file:/C:/jboss-4.2.2.GA/server/all/tmp/deploy/tmp56833aopexample.jar ,addedOrder=44} file:/C:/jboss-4.2.2.GA/server/all/tmp/deploy/tmp56833aopexample.jar file:/C:/jboss-4.2.2.GA/server/all/tmp/deploy/tmp56833aopexample.jar-contents/aopexamplelib.aop file:/C:/jboss-4.2.2.GA/server/all/tmp/deploy/tmp56833aopexample.jar-contents/aopexample-exp.war/ file:/C:/jboss-4.2.2.GA/server/all/tmp/aopdynclasses/ucl56834/ ..org.jboss.system.server.noannotationurlclassloa...@186db54 ..sun.misc.launcher$appclassloa...@9fbe93 file:/C:/Java/jdk1.5.0_13/lib/tools.jar file:/C:/jboss-4.2.2.GA/bin/run.jar file:/C:/jboss-4.2.2.GA/bin/pluggable-instrumentor.jar ..sun.misc.launcher$extclassloa...@198dfaf file:/C:/Java/jdk1.5.0_13/jre/lib/ext/dnsns.jar file:/C:/Java/jdk1.5.0_13/jre/lib/ext/localedata.jar file:/C:/Java/jdk1.5.0_13/jre/lib/ext/sunjce_provider.jar file:/C:/Java/jdk1.5.0_13/jre/lib/ext/sunpkcs11.jar CodeSource: (file:/C:/jboss-4.2.2.GA/server/all/tmp/deploy/tmp56833aopexample.jar-contents/aopexamplelib.aop ) Implemented Interfaces: ++interface java.io.Serializable(1c8b884) ClassLoader: null Null CodeSource ++interface org.jboss.aop.Advised(1f4cdd2) ClassLoader: org.jboss.mx.loading.unifiedclassload...@119db9e{ url=file:/C:/jboss-4.2.2.GA/server/all/deploy/jboss-aop-jdk50.deployer/ ,addedOrder=4} CodeSource: (file:/C:/jboss-4.2.2.GA/server/all/tmp/deploy/tmp56735jboss-aop-jarjar.jar ) ### Instance0 found in UCL: org.jboss.mx.loading.unifiedclassload...@8eaec8{ url=file:/C:/jboss-4.2.2.GA/server/all/tmp/deploy/tmp56833aopexample.jar ,addedOrder=44} anonymous wrote : View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247454#4247454 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247454
[jboss-user] [JBoss Portal] - jboss-portal.sar does not work in jboss-5.1.0.GA
I download jboss-portal-2.6.8.GA and copy jboss-portal.sar to my custom configuration C:\jboss-5.1.0.GA\server\portal\deploy\ but I got the following error. (My custom configuration portal is a copy of server\default.) Please advise. 17:42:28,371 ERROR [AbstractKernelController] Error installing to Parse: name=vfsfile:/C:/jboss-5.1.0.GA/server/portal/deploy/jboss-portal.sar/ state=Not Installed mode=Manual requiredState=Parse org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/C:/jboss-5.1.0.GA/server/portal/deploy/jboss-portal.sar/portal-aop.xml at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:362) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:322) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:294) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:234) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210) at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) at org.jboss.Main.boot(Main.java:221) at org.jboss.Main$1.run(Main.java:556) at java.lang.Thread.run(Thread.java:619) Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to resolve schema nsURI= location=aop at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203) at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168) at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:189) at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:166) at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137) at
[jboss-user] [Beginners Corner] - Re: Help Please - jsfejb3 AS 5 Example Broken
Thanks for your help.. let me try to address your comments ..probably using the examples and the guide from AS 4.x against AS 5.x The JBOSS AS 5.1 download I have comes from : http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/jboss-5.1.0.GA-jdk6.zip/download The doc re the JSF/EJB3 example is here (and appears to be intended to be AS 5 specific) : http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Installation_And_Getting_Started_Guide/5/html/Sample_JSF_EJB3_Application.html and for the SEAM example http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Installation_And_Getting_Started_Guide/5/html/Using_Seam.html I did finally get the JSF/EJB3 example working. There are numerous problems with it but the most major is the ant WAR task places the bean class in the wrong location. I tried the SEAM JSF/EJB3 example but if failed with some incomprehensible messages so if I get some more time I'll fight with it some more then.. I guess I'm surprised these examples don't work.. I would have expected many people to try them as the first thing to get working. (Indeed there are numerous references to these examples working on google). In my case I was hoping to use them as a quick way to learn about JSF and JBOSS and actually have some working code to play with. So since I don't know JSF/Facelets/EJB3/SEAM etc its very painful to have to debug what should work out of the box. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247458#4247458 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247458 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Help Please - jsfejb3 AS 5 Example Broken
Hi again - I double checked and sure enough the examples ARE NOT in the distribution as I had thought. It appears I downloaded something called gettingstarted.zip (and I'll try to find from where). However, as mentioned the standard AS 5 doc does references the examples. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247459#4247459 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247459 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Help Please - jsfejb3 AS 5 Example Broken
Yes you are right - these are AS 4.3 examples. http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.3.0.cp06/gettingstarted.zip So I think what confused me is that the AS 5 doc references and describes the examples so when I could not find them a searched from them and did not notice they were 4.3 sepcific. So Question : is there examples like these for AS 5? The advantage of the examples is that they are very simple and should provide a quick way to learn the basics of JSF/Facelets/SEAM/EJB3 etc. At least to have working code that then can be modified and played with. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247460#4247460 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247460 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: jboss and spring libraries
could you please post the web.xml View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247463#4247463 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - How to post Message to IBM MQ Queue from Webservice ?( URGEN
Hi JBoss gurus, I am new to Jboss. We are migrating our applications from BEA Weblogic to JBoss. I need to post some message to IBM MQ. I am posting this message from Webservice. I could implement it successfully in Weblogic using foreign server. I did not want to create any MDB as my requirement is to post message to MQ Queue. Do we have similar way in Jboss to create some kind of adapter/connector to post message connect to MQ Queue. ? How do we map local JNDI names with remote JNDI names of Queue connection factory and destination? Your help in this regard is more appreciated. Regards, Ram Reddy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247464#4247464 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247464 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB Deployment Error with MANIFEST entry 'Class-Path'
We have some known issues with MANIFEST.MF classpath entries pointing to deployments. All the same, please post the entire exception stacktrace. Also which jar contains the MANIFEST.MF entry with that classpath (well, i could have downloaded the application and looked up myself, but it's monday morning and i am lazy :) ) anonymous wrote : I'm need to build the applications classpath via the MANIFEST Any specific reason? You can get it working without having to add it to the MANIFEST.MF. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247466#4247466 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247466 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: ignored dependency
I might be missing something, but doesn't that vendor specific JMX Bean ultimately get registered in the JBoss MBean server with a specific MBean ObjectName? If it does, then specifying that ObjectName in the @Depends should work. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247467#4247467 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: java.lang.ClassCastException: com.sun.xml.messaging.saaj
hi Francesco, I have exactly the same ClassCastException problem like yours. have you solve it? would mind to share? thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247468#4247468 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247468 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Unable to consume more than 777, 000 messages
Hi Andy, Any update on this issue? I noticed that setting Client Window Size to 0 resolves this issue but that would cause receiveNoWait() API to return null most of the times. Thanks Bijith View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247469#4247469 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB Deployment Error with MANIFEST entry 'Class-Path'
Hi, the 'Class-Path' entry exists within 'ejb-1-1.0.jar'. The exception: | 20:42:36,875 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@6037607{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/ejb-1-1.0.jar/} | 20:42:36,875 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@6037607{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/ejb-1-1.0.jar/} | 20:42:36,875 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@6037607{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/ejb-1-1.0.jar/} | 20:42:36,875 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@6037607{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/ejb-1-1.0.jar/} | 20:42:36,902 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@5464305{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/ejb-2-1.0.jar/} | 20:42:36,902 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@5464305{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/ejb-2-1.0.jar/} | 20:42:36,902 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@5464305{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/ejb-2-1.0.jar/} | 20:42:36,902 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@5464305{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/ejb-2-1.0.jar/} | 20:42:36,902 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@104823{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/mdb-1-1.0.jar/} | 20:42:36,902 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@104823{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/mdb-1-1.0.jar/} | 20:42:36,902 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@104823{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/mdb-1-1.0.jar/} | 20:42:36,902 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@104823{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/mdb-1-1.0.jar/} | 20:42:36,912 WARN [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean MyMessageEJB, will create some | 20:42:36,921 INFO [JBossASKernel] Created KernelDeployment for: ejb-1-1.0.jar | 20:42:36,921 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-1-1.0.jar,name=MySessionEJB,service=EJB3 | 20:42:36,921 INFO [JBossASKernel] with dependencies: | 20:42:36,921 INFO [JBossASKernel] and demands: | 20:42:36,921 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService | 20:42:36,921 INFO [JBossASKernel] and supplies: | 20:42:36,921 INFO [JBossASKernel] jndi:ear-1-1.0/MySessionEJB/remote-net.brainbugs.IMySessionBean | 20:42:36,921 INFO [JBossASKernel] jndi:ejb/MySessionEJB/remote | 20:42:36,921 INFO [JBossASKernel] Class:net.brainbugs.IMySessionBean | 20:42:36,921 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-1-1.0.jar,name=MySessionEJB,service=EJB3) to KernelDeployment of: ejb-1-1.0.jar | 20:42:36,922 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-1-1.0.jar,name=MyMessageEJB,service=EJB3 | 20:42:36,922 INFO [JBossASKernel] with dependencies: | 20:42:36,922 INFO [JBossASKernel] and demands: | 20:42:36,922 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService | 20:42:36,922 INFO [JBossASKernel] and supplies: | 20:42:36,922 INFO [JBossASKernel] Class:javax.jms.MessageListener | 20:42:36,922 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-1-1.0.jar,name=MyMessageEJB,service=EJB3) to KernelDeployment of: ejb-1-1.0.jar | 20:42:36,926 WARN [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean MySessionEJB, will create some | 20:42:36,931 WARN [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean MyMessageEJB, will create some | 20:42:36,941 INFO [JBossASKernel] Created KernelDeployment for: ejb-2-1.0.jar | 20:42:36,941 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-2-1.0.jar,name=MySessionTwoEJB,service=EJB3 | 20:42:36,941 INFO [JBossASKernel] with dependencies: | 20:42:36,941 INFO [JBossASKernel] and demands: | 20:42:36,941 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService | 20:42:36,941 INFO [JBossASKernel] and supplies: |
[jboss-user] [EJB 3.0] - Re: EJB Deployment Error with MANIFEST entry 'Class-Path'
It's possible to have a generic portable EJB3 application without having to add the deployments to the MANIFEST.MF classpath. See this http://www.jboss.org/index.html?module=bbop=viewtopict=153488postdays=0postorder=ascstart=30 (especially point#2 in that post). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247471#4247471 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user