[JBossCache] - PojoCache 2.0: New tree structure, optimistic locking & conc
by chasta
Hi,
I'm experiencing a problem which I believe might be related to the new tree structure in PojoCache (i.e., the structure that enables canonical locking). It seems that when using optimistic locking, since attaching an object to the PojoCache will cause a version increment on __JBossInternal__, any concurrent transaction to one that attaches an object (even one that is seemingly unrelated and deals with completely different objects) will fail.
Consider the following code, out of a small unit test I've created for the purpose ("cache" was configured to use optimistic locking):
| UserTransaction tx = getTransaction();
| tx.begin();
|
| FamilyPerson father = createFamilyPerson("Rafael Gallardo", 55);
| cache.attach("/person/test1/father", father);
|
| Thread otherThread = new Thread () {
| public void run ()
| {
| FamilyPerson otherPerson = createFamilyPerson("Katherine Brendel", 24);
| cache.attach("/other_person/test/1", otherPerson); // auto transactional commit (optimistic locking mode)
| }
| };
|
| // Start the other thread and make sure it finishes before we commit
| otherThread.start();
| otherThread.join();
|
| tx.commit() // Fails (RollbackException)
|
What's your opinion? Is my suspicion correct? Is this a known issue (I didn't find it in JBoss.org JIRA), or perhaps the intended behaviour?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995316#3995316
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995316
19 years, 7 months
[JBoss Seam] - Re: Internatinalization: messages only default messages.prop
by rengar
Already work!!
But when change language in other action in the same page catch old language, that have it before, with method "Locale.instance().getLanguage()"
I explain :
1º Default "es" -> Combox "español", messages_es, Locale.instance().getLanguage() = "es"
2º Change "en" -> Combox "English", messages_en, Locale.instance().getLanguage() = "es"
3º Change "es" -> Combox "español", messages_es, Locale.instance().getLanguage() = "en"
4º Change "en" -> Combox "English", messages_en, Locale.instance().getLanguage() = "es"
.
.
.
.
How change language before enter in my action?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995315#3995315
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995315
19 years, 7 months
[JBoss Seam] - Re: Seam & Maven2
by denis-karpov
I am extremely happy to see a serious interest in the maven2 integration.
I am also confident that Gavin will love this ;-)
I am not sure that it is something new for you people. May be it will be helpful.
This is the POM I have used for building SEAM 1.1.1.BETA2
POM.XML
<?xml version="1.0" encoding="UTF-8"?>
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
| <modelVersion>4.0.0</modelVersion>
| <groupId>org.jboss.seam</groupId>
| <artifactId>jboss-seam</artifactId>
| <packaging>jar</packaging>
| <version>1.1.0.BETA2</version>
| <description>qqq</description>
| <dependencies>
| <!--dependency>
| <groupId>org.hibernate</groupId>
| <artifactId>hibernateAll</artifactId>
| <version>SEAM.1.1.0.BETA2</version>
| </dependency-->
| <dependency>
| <groupId>org.hibernate</groupId>
| <artifactId>hibernate</artifactId>
| <version>3.2.0.ga</version>
| </dependency>
| <dependency>
| <groupId>org.hibernate</groupId>
| <artifactId>hibernate-annotations</artifactId>
| <version>3.2.0.ga</version>
| </dependency>
| <dependency>
| <groupId>org.hibernate</groupId>
| <artifactId>hibernate-entitymanager</artifactId>
| <version>3.2.0.ga</version>
| </dependency>
| <dependency>
| <groupId>org.jboss.ejb3</groupId>
| <artifactId>jboss-ejb3-all</artifactId>
| <version>SEAM.1.1.0.BETA2</version>
| </dependency>
| <dependency>
| <groupId>org.jboss.jbpm</groupId>
| <artifactId>jbpm</artifactId>
| <version>3.1.2</version>
| </dependency>
| <dependency>
| <groupId>org.jboss.drools</groupId>
| <artifactId>drools-core</artifactId>
| <version>3.0.1</version>
| </dependency>
| <dependency>
| <groupId>org.jboss.drools</groupId>
| <artifactId>drools-compiler</artifactId>
| <version>3.0.1</version>
| </dependency>
| <dependency>
| <groupId>org.jboss.cache</groupId>
| <artifactId>jboss-cache</artifactId>
| <version>SEAM.1.1.0.BETA2</version>
| </dependency>
| <dependency>
| <groupId>javax.portlet</groupId>
| <artifactId>portlet-api</artifactId>
| <version>1.0</version>
| </dependency>
| <dependency>
| <groupId>org.testng</groupId>
| <artifactId>testng</artifactId>
| <classifier>jdk15</classifier>
| <version>5.1</version>
| </dependency>
| <dependency>
| <groupId>log4j</groupId>
| <artifactId>log4j</artifactId>
| <version>1.2.13</version>
| </dependency>
| <dependency>
| <groupId>commons-logging</groupId>
| <artifactId>commons-logging</artifactId>
| <version>1.1</version>
| </dependency>
| <dependency>
| <groupId>commons-collections</groupId>
| <artifactId>commons-collections</artifactId>
| <version>3.2</version>
| </dependency>
| <dependency>
| <groupId>org.apache.myfaces.core</groupId>
| <artifactId>myfaces-api</artifactId>
| <version>1.1.4</version>
| </dependency>
| <dependency>
| <groupId>javax.el</groupId>
| <artifactId>el-api</artifactId>
| <version>1.2</version>
| </dependency>
| <dependency>
| <groupId>javax.el</groupId>
| <artifactId>el-ri</artifactId>
| <version>1.2</version>
| </dependency>
| <dependency>
| <groupId>javax.servlet</groupId>
| <artifactId>jstl</artifactId>
| <version>1.1.2</version>
| </dependency>
| <dependency>
| <groupId>javax.servlet</groupId>
| <artifactId>servlet-api</artifactId>
| <version>2.5</version>
| </dependency>
| </dependencies>
| <build>
| <plugins>
| <plugin>
| <groupId>org.apache.maven.plugins</groupId>
| <artifactId>maven-compiler-plugin</artifactId>
| <version>2.0</version>
| <configuration>
| <source>1.5</source>
| <target>1.5</target>
| </configuration>
| </plugin>
| </plugins>
| <outputDirectory>target/jboss-seam.jar</outputDirectory>
| </build>
| </project>
And this is files that I have to put in my local repository.
mvn install:install-file -Dfile=c:\javaprogs\new\jboss-seam-1.1.0.BETA2\lib\jboss-ejb3-all.jar -DgroupId=org.jboss.ejb3 -DartifactId=jboss-ejb3-all -Dversion=SEAM.1.1.0.BETA2 -Dpackaging=jar
|
| mvn install:install-file -Dfile=c:\javaprogs\new\jboss-seam-1.1.0.BETA2\lib\jbpm-3.1.2.jar -DgroupId=org.jboss.jbpm -DartifactId=jbpm -Dversion=3.1.2 -Dpackaging=jar
|
| mvn install:install-file -Dfile=c:\javaprogs\new\jboss-seam-1.1.0.BETA2\drools\lib\drools-core-3.0.3.jar -DgroupId=org.jboss.drools -DartifactId=drools-core -Dversion=3.0.3 -Dpackaging=jar
|
| mvn install:install-file -Dfile=c:\javaprogs\new\jboss-seam-1.1.0.BETA2\drools\lib\drools-compiler-3.0.3.jar -DgroupId=org.jboss.drools -DartifactId=drools-compiler -Dversion=3.0.3 -Dpackaging=jar
|
| mvn install:install-file
| -Dfile=c:\javaprogs\new\jboss-seam-1.1.0.BETA2\lib\jboss-cache-jdk50.jar
| -DgroupId=org.jboss.cache -DartifactId=jboss-cache
| -Dversion=SEAM.1.1.0.BETA2 -Dpackaging=jar
|
| mvn install:install-file -Dfile=c:\javaprogs\new\hibernate-3.2\lib\jta.jar
| -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B
| -Dpackaging=jar
|
| mvn install:install-file
| -Dfile=c:\javaprogs\new\jboss-seam-1.1.0.BETA2\lib\el-api.jar
| -DgroupId=javax.el -DartifactId=el-api -Dversion=1.2 -Dpackaging=jar
|
| mvn install:install-file
| -Dfile=c:\javaprogs\new\jboss-seam-1.1.0.BETA2\lib\el-ri.jar
| -DgroupId=javax.el -DartifactId=el-ri -Dversion=1.2
| -Dpackaging=jar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995313#3995313
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995313
19 years, 7 months
[JBoss Portal] - Re: aplication on portlet
by mare
Hello!
I have s similar problem: I have JSF web aplication and I want to run it as portlet. I'm using jboss AS 4.0.5GA, jboss portal 2.4, java 1.5. Also, my aplication uses EJB3. I don't know how to deploy it on AS. I put the portlet aplication in war-file and that war-file together with persistence.jar-file in ear-file. Is that right? When I try to access aplication through portal, portlet window is shown but it says: Cannot render, Object not found /Obrazac5x5Portlet.Obrazac5x5Portlet. Obrazac5x5Portlet is the name of my portlet.
Is there anybody who can help me? Maybe some link...
Here are descriptors:
portal.xml
| <?xml version="1.0" encoding="UTF-8"?>
| <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
| version="1.0">
| <portlet>
| <portlet-name>Obrazac5x5Portlet</portlet-name>
| <portlet-class>org.apache.portals.bridges.jsf.FacesPortlet</portlet-class>
| <init-param>
| <name>ViewPage</name>
| <value>/WEB-INF/pages/form.jsp</value>
| </init-param>
| <supports>
| <mime-type>text/html</mime-type>
| <portlet-mode>VIEW</portlet-mode>
| </supports>
| <portlet-info>
| <title>Obrazac 5x5 Portlet</title>
| </portlet-info>
| </portlet>
| </portlet-app>
|
-object.xml
| <?xml version="1.0" encoding="UTF-8"?>
| <deployments>
| <deployment>
| <if-exists>overwrite</if-exists>
| <parent-ref>default</parent-ref>
| <properties />
| <page>
| <page-name>Obrazac 5x5</page-name>
| <properties />
| <window>
| <window-name>Obrazac5x5PortletWindow</window-name>
| <instance-ref>Obrazac5x5PortletInstance</instance-ref>
| <region>center</region>
| <height>0</height>
| </window>
| </page>
| </deployment>
| </deployments>
portlet-instances.xml
<?xml version="1.0" standalone="yes"?>
| <deployments>
| <deployment>
| <instance>
| <instance-id>Obrazac5x5PortletInstance</instance-id>
| <portlet-ref>Obrazac5x5Portlet</portlet-ref>
| <component-ref>Obrazac5x5Portlet.Obrazac5x5Portlet</component-ref>
| </instance>
| </deployment>
| </deployments>
|
jboss-app.xml
<jboss-app>
| <app-name>Obrazac5x5Portlet</app-name>
| <loader-repository>
| seam.jboss.org:loader=seam-booking
| </loader-repository>
| </jboss-app>
Thanks,
mare
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995311#3995311
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995311
19 years, 7 months
[JBoss Seam] - Not able to open a jsfx file in the browser eventhough proje
by lara
Hi,
It is very weird what is happening.
At first, I had problems with deploying my project knowing that I am using
jboss-4.0.5.GA and jboss-seam-1.1.0.GA but I was able to solve them by reading some blogs on the forums.
Now that I am deploying the project, I don't get any error on the server and everything looks fine but when I try to write the url of a page in the browser, let us say:
| http://localhost:8080/bpmshell/executors.jsfx
|
I got this pop-up window, just click on the link to see it:
| http://tinypic.com/view/?pic=2mgpdgk
|
The server looks as follows:
| 04:06:17,453 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-conf
| ig.xml
| 04:06:17,546 INFO [FacesConfigurator] Reading config jar:file:/D:/servers/jboss-4.0.5.GA/server/default/tmp/d
| eploy/tmp17588bpmshell.ear-contents/bpmshell.ejb3-contents/jboss-seam.jar!/META-INF/faces-config.xml
| 04:06:17,562 INFO [FacesConfigurator] Reading config jar:file:/D:/servers/jboss-4.0.5.GA/server/default/./tmp
| /deploy/tmp17588bpmshell.ear-contents/bpmshell-exp.war/WEB-INF/lib/jboss-seam-debug.jar!/META-INF/faces-config
| .xml
| 04:06:17,578 INFO [FacesConfigurator] Reading config jar:file:/D:/servers/jboss-4.0.5.GA/server/default/./tmp
| /deploy/tmp17588bpmshell.ear-contents/bpmshell-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/faces-config.xm
| l
| 04:06:17,625 INFO [FacesConfigurator] Reading config jar:file:/D:/servers/jboss-4.0.5.GA/server/default/./tmp
| /deploy/tmp17588bpmshell.ear-contents/bpmshell-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml
|
| 04:06:17,640 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
| 04:06:17,796 WARN [LocaleUtils] Locale name in faces-config.xml null or empty, setting locale to default loca
| le : en_US
| 04:06:18,015 INFO [StartupServletContextListener] ServletContext 'D:\servers\jboss-4.0.5.GA\server\default\.\
| tmp\deploy\tmp17588bpmshell.ear-contents\bpmshell-exp.war\' initialized.
| 04:06:18,015 INFO [StartupServletContextListener] Serialization provider : class org.apache.myfaces.shared_im
| pl.util.serial.DefaultSerialFactory
| 04:06:18,125 INFO [EARDeployer] Started J2EE application: file:/D:/servers/jboss-4.0.5.GA/server/default/depl
| oy/bpmshell.ear
| 04:06:18,203 INFO [Events] no events.xml file found
| 04:06:18,234 INFO [Pages] no pages.xml file found
|
My web.xml as follows:
| <?xml version="1.0" ?>
|
| <web-app version="2.5"
| 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/web-app_2_5.xsd">
|
| <!-- Seam -->
| <listener>
| <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
| </listener>
|
| <!-- Propagate conversations across redirects -->
|
| <filter>
| <filter-name>Seam Exception Filter</filter-name>
| <filter-class>org.jboss.seam.servlet.SeamExceptionFilter</filter-class>
| </filter>
| <filter-mapping>
| <filter-name>Seam Exception Filter</filter-name>
| <url-pattern>/*</url-pattern>
| </filter-mapping>
|
| <filter>
| <filter-name>Seam Redirect Filter</filter-name>
| <filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class>
| </filter>
| <filter-mapping>
| <filter-name>Seam Redirect Filter</filter-name>
| <url-pattern>*.jsfx</url-pattern>
| </filter-mapping>
|
|
| <listener>
| <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
| </listener>
|
| <!-- MyFaces -->
| <listener>
| <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
| </listener>
|
| <context-param>
| <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
| <param-value>client</param-value>
| </context-param>
|
| <context-param>
| <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
| <param-value>.xhtml</param-value>
| </context-param>
|
| <context-param>
| <param-name>com.sun.faces.validateXml</param-name>
| <param-value>true</param-value>
| </context-param>
|
| <context-param>
| <param-name>com.sun.faces.verifyObjects</param-name>
| <param-value>true</param-value>
| </context-param>
|
| <context-param>
| <param-name>facelets.DEVELOPMENT</param-name>
| <param-value>true</param-value>
| </context-param>
|
| <servlet>
| <servlet-name>Faces Servlet</servlet-name>
| <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
| <load-on-startup>1</load-on-startup>
| </servlet>
|
| <!-- Faces Servlet Mapping -->
| <servlet-mapping>
| <servlet-name>Faces Servlet</servlet-name>
| <url-pattern>*.jsfx</url-pattern>
| </servlet-mapping>
|
| <security-constraint>
| <display-name>Restrict XHTML Documents</display-name>
| <web-resource-collection>
| <web-resource-name>XHTML</web-resource-name>
| <url-pattern>*.xhtml</url-pattern>
| </web-resource-collection>
| <auth-constraint>
| <role-name>NONE</role-name>
| </auth-constraint>
| </security-constraint>
|
| <welcome-file-list>
| <welcome-file>index.html</welcome-file>
| <welcome-file>index.jsfx</welcome-file>
| <welcome-file>index.xhtml</welcome-file>
| <welcome-file>index.jspx</welcome-file>
| </welcome-file-list>
|
| </web-app>
|
I don't know if anyone encountered such a problem before. I really need help because I am stuck!
Thank you in advance,
Regards
Lara
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995303#3995303
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995303
19 years, 7 months
[JBoss Portal] - Re: Stream Closed
by jaboj
I can reproduce it by clicking on a actionlink twice without waiting for the first action to complete. In out particular example, we have a master-detail table relationship. When we mark a row in the master table (using an actionlink for that row) the detail table is re-queried. If I mark a row in the master-table twice, without waiting for the first request to finish a "Stream Closed" exception i thrown.
Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: Stream closed
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:854)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
at org.apache.jsp.jsp.sagsbehandling.sagsleverancePortlet_jsp._jspService(sagsleverancePortlet_jsp.java:121)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
The exception is thrown in the method
protected void facesRender(RenderRequest request, RenderResponse response)
in the MyFacesGenericPortlet class, so maybe it's actually a Myfaces problem.
For our application the problem is very easy reproduced in Firefox. It's also possible to reproduce it in IE, but that's harder.
We are using Portal 2.4
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995302#3995302
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995302
19 years, 7 months
[JCA/JBoss] - JCA as a UDP interface (design query)
by ktorn
Hi all.
I'm about to implement a Resource Adaptor to act as a UDP interface between an EIS and a J2EE application.
The EIS currently broadcasts UDP packets requesting a service and expects UDP packets with the responses. It is an asynchronous system.
Outside a JBoss environment I would implement Java inbound and outbound daemon threads. The former would listen to the UDP socket and delegate any requests to the business tier, and the latter would dispatch responses via UDP back to the EIS.
However within JBoss, and according to J2EE 1.4, the best approach to implement this 'daemon' seems to be JCA 1.5.
In this case my UDPResourceAdaptor would act as both inbound and outbound interface, delegating requests to MDBs and sending the responses via UDP.
I just want a final sanity check before I start cutting the code. Is this the right design? If there is a better (simpler) alternative then I'd really like to hear about it.
Regards
Dan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995299#3995299
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995299
19 years, 7 months
[JBoss Portal] - JBoss Portal + Forum Portlet ? where can i find this forum p
by J0Ke
hi i know that the old versions of JBoss portal 2.0 and bellow have a forum-portlet.sar but in the new version JBoss 2.6 i dont have forum portlet.
can i download this portlet from somewhere
i try to install a forum portlet coming with version 2.0 but i get :
mponent.html.HtmlGraphicImage
15:44:15,994 INFO [EARDeployer] Init J2EE application: file:/D:/jboss-4.0.4.GA with portal 2.6 GR 1/server/default/deplo
rtal-forums.ear/
15:44:16,026 ERROR [MainDeployer] Could not initialise deployment: file:/D:/jboss-4.0.4.GA with portal 2.6 GR 1/server/de
t/deploy/portal-forums.ear/
org.jboss.deployment.DeploymentException: No META-INF/application.xml found
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:133)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995293#3995293
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995293
19 years, 7 months
[JBossWS] - No ClassLoaders found for: org.jboss.ws.server.ServiceEndpoi
by kphilipp
Hi,
if I deploy an artefact built on the base of JBossWS 1.0.3GA and JBoss 4.0.4GA the deployment is okay.
But if I deploy the same artefact built on the base of JBossWS 1.0.4GA and JBoss 4.0.4GA the deployment fails as follows:
12:38:10,995 INFO [EjbModule] Deploying addServiceClientFacade
12:38:11,042 WARN [EjbModule] Could not load the org.jboss.ws.server.ServiceEndpointInterceptor interceptor
java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.ws.server.ServiceEndpointInterceptor
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
...
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
12:38:11,121 INFO [ProxyFactory] Bound EJB Home 'addServiceClientFacade' to jndi 'ejb/addServiceClientFacade'
12:38:11,121 INFO [EJBDeployer] Deployed: file:/D:/Applications/JBoss/4.0.4.GA/server/default/deploy/addService-client.jar
Any hints?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995292#3995292
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995292
19 years, 7 months
[JBoss jBPM] - Re: BAM for jBPM
by charlesmnicholls
Thanks.
You raise a good point, and we need to change the webpage to clarify it. You don't have to put monitoring points in your processes, this is just one way that you can instrument in flight processes.
In short there are four different routes, and the choice is up to you:
1. Publish events from the underlying message transport (JMS or whatever) to SeeWhy. You need to put XML events onto the SeeWhy JMS queue. This can obviously be done with or without a BPM tool being present.
2. Put monitoring points into your processes to put XML events onto the SeeWhy JMS queue (as above).
3. Use the SeeWhy JDBC adapter which can poll a database and create events
4. Use third party software or applicances (such as Goldengate for Databases, Covelight for IP traffic, CastIron etc) to stream events to SeeWhy
SeeWhy is an event driven product which has the capacity to analyze vast quantities of data in real time, and to initiate actions in BPM tools as a result of the analysis. There are clear advantages from going against a stream, rather than a log file, but we are open to the best way to do it specifically in the context of the jBPM integration. There may be a few situations where you want to monitor every node, but the process state data cannot be derived from an underlying event stream. In these cases you either have to go against the log file or you'll need to put a monitoring point into the process.
This is exactly the type of debate I was hoping we'd kick off. If there's universal demand for a log file based approach then we can look at tighter integration in more detail.
I look forward to your any additional thoughts.
Charles
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995291#3995291
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995291
19 years, 7 months
[JBoss Seam] - Internatinalization: messages only default messages.properti
by rengar
Two messages.properties :
| messages.properties
| ---------------------------
| ChangeLanguage=Change
|
| ###########################
|
| messages_es.properties
| ------------------------------
| ChangeLanguage=Cambiar
|
|
In faces-config.xml :
| <application>
| <message-bundle>messages</message-bundle>
| <view-handler>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</view-handler>
| <locale-config>
| <default-locale>es</default-locale>
| <supported-locale>en</supported-locale>
| </locale-config>
| </application>
|
In xhtml page :
| <h:form id="selectLanguage">
| <h:selectOneMenu value="#{localeSelector.language}">
| <f:selectItems value="#{localeSelector.supportedLocales}"/>
| </h:selectOneMenu>
| <h:commandButton action="#{localeSelector.select}" value="#{messages['ChangeLanguage']}"/>
| </h:form>
|
-Combobox shows 2 : español, English --> OK
-If I change to English --> Button #{messages['ChangeLanguage']} shows "Change" --> OK
-If I change to Spanish --> Button #{messages['ChangeLanguage']} shows "ChangeLanguage" --> ERROR
what is the problem?
Any idea?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995288#3995288
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995288
19 years, 7 months
[JBoss Seam] - Re: Remoting
by KoniKoni
This problem seems tob be away. Next exception:
| Wed Dec 20 2006 12:55:29 GMT+0100: Request packet:
| <envelope><header><context></context></header><body><call component="remoteaction" method="getBets" id="0">
| <params><param><number>0</number></param></params><refs>
| </refs></call></body></envelope>
|
|
| Wed Dec 20 2006 12:55:29 GMT+0100: Response packet:
| <envelope><header><context><conversationId>3</conversationId>
| </context></header><body><result id="0"><value><ref id="0"/></value><refs><ref id="0"><bean type="kh.laola.types.SiteHelper"><member name="text"><str>%2C%20aktuell%20bets</str></member>
| <member name="date"><str>Mittwoch%2C%2020.%20Dezember%202006
| </str>
| </member><member name="id"><number>1</number></member><member name="bets"><bag><element><ref id="1"/></element></bag></member><member name="sport"><str>Soccer</str></member></bean></ref>
| <ref id="1"><bean type="kh.laola.entity.Soccernormal"><member name="startT"><date>19700101090000000</date>
| </member>
| <member name="tournament"><str>J-League</str></member><member
| name="gast"><str>KAWASAKI%20FRONTALE</str></member>
| <member name="qGast"><number>2.25</number></member><member
| name="start"><date>20060826000000000</date></member>
|
| <member name="qX"><number>3.05</number></member>
| <member name="category"><str>Japan</str></member><member
| name="anzahl"><number>6</number></member><member name="qHome"><number>2.8</number></member><member name="StartT"><date>19700101090000000</date></member><
| member name="id"><number>242245</number></member>
| <member name="home"><str>OMIYA%20ARDIJA</str></member>
|
| </bean></ref></refs></result></body></envelope>
I have a Object, wich is no ejb or such, that contains a entitybean list
|
| function showSiteInfos(back){
| var wets = back.getBets();
| alert(wets[0].getId());
|
|
in site of client a get a error, that shows follow:
| Fehler: wets[0] has no properties
| Quelldatei: http://localhost:8080/laola/js/CSport.js
| Zeile: 18
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995269#3995269
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995269
19 years, 7 months