[JBoss Portal] - Re: dojo + jboss portlets
by angelo.dangelo
Hi,
I'm using dojo widgets in my jsf portlets (specifying the widget in styleClass attribute of jsf components).
I put dojo initialization inside my custom layout (in index.jsp and in maximized.jsp) and it was ok in JB Portal 2.2.1SP3.
Now I'm porting my application in JB Portal 2.6.1 and I added dojo initialization in the same way as in 2.2.1SP3.
It works fine with Firefox 2.0.0.7 but I have some problems with Microsoft Internet Explorer 6: the pages are loaded very slow and the widgets are not shown.
I tried to include dojo initialization both before and after
<p:region regionName='AJAXScripts' regionID='AJAXScripts'/>
but the problem was not solved.
Is there someone who faced the same problem? Is there a workaround?
Thanks
Angelo
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094370#4094370
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094370
18Â years, 9Â months
[JBossWS] - Problems with installation of jbossws2.0.1 on jboss4.2.1, he
by abdujaparov
Hi, In the last 2 day I tried to install jbossws2.0.1 on jboss4.2.1 but I have some problems. In the installation guide it said I must copy the ant.properties.examples into ant.properties, but there isn't the first file. I have only set the path of jboss4.2.1 in ant.properties and then I've executed ant deploy-jboss42 but I have this error message:
anonymous wrote :
| C:\jbossws-native-2.0.1.GA>ant deploy-jboss42
| Buildfile: build.xml
|
| prepare:
|
| undeploy-jboss42-endorsed:
|
| BUILD FAILED
| C:\jbossws-native-2.0.1.GA\build\build-deploy.xml:62: The following error occurr
| ed while executing this line:
| C:\jbossws-native-2.0.1.GA\build\macros-deploy-native.xml:385: Directory does no
| t exist:C:\jbossws-native-2.0.1.GA\jboss-4.2.1.GA\lib\endorsed
|
| Total time: 0 seconds
|
Why does it find "jboss-4.2.1.GA\lib\endorsed" in "C:\jbossws-native-2.0.1.GA\" directory?
The line 52 of C:\jbossws-native-2.0.1.GA\build\build-deploy.xml:62 this is:
| <macro-undeploy-endorsed jbosshome="${jboss42.home}"/>
|
and the jboss42.home is defined in ant.propertis as follows:
jboss42.home=C:\jboss-4.2.1.GA
The line385 of C:\jbossws-native-2.0.1.GA\build\macros-deploy-native.xml is the tag in the following xml code:
| <!-- Undeploy API jars from lib/endorsed -->
| <macrodef name="macro-undeploy-endorsed">
| <attribute name="jbosshome"/>
| <sequential>
| <delete>
| <fileset dir="@{jbosshome}/lib/endorsed">
| <include name="jaxb-api.jar"/>
| <include name="jboss-jaxrpc.jar"/>
| <include name="jboss-jaxws.jar"/>
| <include name="jboss-saaj.jar"/>
| </fileset>
| </delete>
| </sequential>
| </macrodef>
|
How can I install jbossws?
Thanks everybody.
Bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094365#4094365
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094365
18Â years, 9Â months
[Installation, Configuration & DEPLOYMENT] - Unable to deploy
by saurav25
Dear All,
I am having a Spring app which i am trying to deploy in Jboss and run it.
this is the error i am getting
|
| Could not initialise deployment: file:/C:/saurav/jboss-4.2.0.GA/jboss-4.2.0.GA/server/default/deploy/hsqldb-ds.xml
| java.lang.NoSuchMethodError: javax.xml.transform.dom.DOMResult.getNextSibling()Lorg/w3c/dom/Node;
| at org.apache.xalan.transformer.TransformerImpl.createSerializationHandler(TransformerImpl.java:1092)
| at org.apache.xalan.transformer.TransformerImpl.createSerializationHandler(TransformerImpl.java:1060)
| at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1279)
| at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1262)
| at org.jboss.deployment.XSLSubDeployer.init(XSLSubDeployer.java:173)
| at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:582)
| 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 $Proxy9.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.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:582)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:582)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| 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:582)
| 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 $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:508)
| at java.lang.Thread.run(Thread.java:595)
|
|
i am having JDK 1.5 and dom4j 1.5.1 jar in my all lib folders.
I am using JBoss 4.2.0 GA
Please help me out.
Thanks ,
Saurav
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094357#4094357
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094357
18Â years, 9Â months
[JBoss Seam] - Re: warning using richfaces
by computabloke
Hi Pete.
Thanks for taking an interest, sorry I don't have the time to distill a complete runnable app for Jira atm. But I'll provide some more info...
pages.xml fragment:
<page view-id="/jsf/wiplist.xhtml">
| <begin-conversation pageflow="selectClientFlow" join="true"/>
| </page>
jpdl fragment:
<pageflow-definition name="selectClientFlow" xmlns="http://jbpm.org/3/pageflow-1.0"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://jbpm.org/3/pageflow-1.0 pageflow-1 0.xsd">
|
| <start-page name="wipList" view-id="/jsf/wiplist.xhtml">
| <transition name="wipClientSearch" to="wipClientSearch" />
| </start-page>
|
| <page name="wipClientSearch" view-id="/jsf/wiplistclientsearch.xhtml">
| <transition name="close" to="wipList" />
| </page>
|
| </pageflow-definition>
The issue occurs navigating from the app's effective 'index' page (wiplist.xhtml) to wiplistclientsearch.xhtml through a 'wipClientSearch' outcome; then clicking the 'close' button to return to wiplist.xhtml. Any subsequent navigation to this will be an 'Illegal Navigation' since FacesPage.pageFlowCounter = 0, but PageFlow.counter is 2.
It's like the Page-scope FacesPage instance isn't being reloaded correctly; a new one is created, but the PageFlow doesn't know about it.
This navigation system worked fine with Seam 1.2.1GA and RF 3.0.0/A4J 1.1.0.
After a bit more looking around, I'm thinking http://www.jboss.com/index.html?module=bb&op=viewtopic&t=119254
may have something to do with it.
I'm going to try Seam 2.0CR2 and Richfaces CVS to see if they're any better (and don't cause me other issues along the way). If it's still an issue I'll Jira this for you.
Thanks,
David
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094356#4094356
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094356
18Â years, 9Â months