[Installation, Configuration & DEPLOYMENT] - port: 3873 is in which xml file?
by chwang
Hi folks,
I got a exception when running Jboss. I am running 2 jboss in my computer. so i need to change port 3873. Could you tell me where to find this file with port 3873.
Thank you!
Chwang
14:31:26,181 ERROR [SocketServerInvoker] Error starting ServerSocket. Bind port: 3873, bind address: /127.0.0.1
14:31:26,181 ERROR [Connector] Error starting connector.
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.(ServerSocket.java:185)
at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:169)
at org.jboss.remoting.transport.socket.SocketServerInvoker.createServerSocket(SocketServerInvoker.java:264)
at org.jboss.remoting.transport.socket.SocketServerInvoker.start(SocketServerInvoker.java:193)
at org.jboss.remoting.transport.Connector.start(Connector.java:322)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144641#4144641
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144641
18 years, 3 months
[JBoss Portal] - Error - Both MyFaces and the RI are on your classpath.
by ronnie8080
Hello All,
I am new to JBoss and am using portal version jboss-portal-2.6.4.
When I access the server using "http://localhost:8080/portal", I get the following error.
How do I remove these errors. I am more concerned about the last error the one that says
both MyFaces and RI found in classpath. What do I need to do to solve this. If not solved, what all problems can this particular error cause.
| 13:32:43,704 ERROR [STDERR] Apr 15, 2008 1:32:43 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/JBoss/jboss-portal-2.6.4/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/portal-faces-lib.jar!/META-INF/portal.taglib.xml
| 13:32:43,876 ERROR [STDERR] Apr 15, 2008 1:32:43 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/JBoss/jboss-portal-2.6.4/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
| 13:32:43,907 ERROR [STDERR] Apr 15, 2008 1:32:43 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/JBoss/jboss-portal-2.6.4/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
| 13:32:43,985 ERROR [STDERR] Apr 15, 2008 1:32:43 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/JBoss/jboss-portal-2.6.4/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
| 13:32:44,095 ERROR [STDERR] Apr 15, 2008 1:32:44 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/JBoss/jboss-portal-2.6.4/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
| 13:32:44,142 ERROR [STDERR] Apr 15, 2008 1:32:44 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/JBoss/jboss-portal-2.6.4/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
| 13:32:45,673 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default value true
| 13:32:45,673 INFO [MyfacesConfig] Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now.
| 13:32:45,673 INFO [MyfacesConfig] Starting up Tomahawk on the RI-JSF-Implementation.
| 13:32:45,673 INFO [MyfacesConfig] Starting up Tomahawk on the MyFaces-JSF-Implementation
| 13:32:45,673 ERROR [MyfacesConfig] Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations.
|
Thank you.
R
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144628#4144628
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144628
18 years, 3 months
[JBoss Portal] - Problem uploading file: "Unable to getNode"
by porcho
Hi there. I'm using JBoss Portal 2.6.4-GA on Windows XP, and PostgreSQL 8.1.
Currently, I'm developing a portlet that access the CMSService to upload a file. Frequently, the directory I upload files into become corrupted, and I can't upload files to them anymore. I get an exception like the one that follows, from the moment the directory gets corrupted:
anonymous wrote : ERROR
| Cause: javax.portlet.PortletException: java.lang.RuntimeException: javax.jcr.RepositoryException: Unable to getNode: org.apache.jackrabbit.core.state.NoSuchItemStateException: 4cddd4f0-e55e-454f-8cff-511b57df6428
| Message: java.lang.RuntimeException: javax.jcr.RepositoryException: Unable to getNode: org.apache.jackrabbit.core.state.NoSuchItemStateException: 4cddd4f0-e55e-454f-8cff-511b57df6428
| StackTrace:
|
| javax.portlet.PortletException: java.lang.RuntimeException: javax.jcr.RepositoryException: Unable to getNode: org.apache.jackrabbit.core.state.NoSuchItemStateException: 4cddd4f0-e55e-454f-8cff-511b57df6428
| at org.jboss.portal.core.cms.ui.admin.CMSAdminPortlet.internalProcessAction(CMSAdminPortlet.java:826)
| at org.jboss.portal.core.cms.ui.admin.CMSAdminPortlet.processAction(CMSAdminPortlet.java:686)
| at org.jboss.portlet.JBossPortlet.processAction(JBossPortlet.java:385)
| at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeAction(PortletContainerImpl.java:458)
| at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:401)
| at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
| at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
| at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeRequired$aop(TransactionInterceptor.java:106)
| at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
|
| (...)
My CMSService uses the default configuration when it comes to store (ie. 100% database storage).
Is there a way I can fix this problem? And how can I avoid this directory corruption?
Thanks in advance!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144626#4144626
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144626
18 years, 3 months
[JBossWS] - Re: Cannot extract schema definition? [FIXED]
by bsheward
OK, I figured out the problem, it was because there was a "?" in the URL, which wasn't translated into something that the Windows Filesystem could cope with.
I fixed the problem by making the highlighted changes to getSchemaTempFile() in org.jboss.ws.metadata.wsdl.xsd.SchemaUtils:
| /** Get the temp file for a given namespace
| */
| public static File getSchemaTempFile(String targetNS) throws IOException
| {
| if (targetNS.length() == 0)
| throw new IllegalArgumentException("Invalid null target namespace");
|
| String fname = targetNS;
| if (fname.indexOf("://") > 0)
| fname = fname.substring(fname.indexOf("://") + 3);
|
| File tmpdir = null;
| try
| {
| SPIProvider spiProvider = SPIProviderResolver.getInstance().getProvider();
| ServerConfig serverConfig = spiProvider.getSPI(ServerConfigFactory.class).getServerConfig();File tmpDir = serverConfig.getServerTempDir();
| tmpdir = serverConfig.getServerTempDir();
| tmpdir = new File(tmpdir.getCanonicalPath() + "/jbossws");
| tmpdir.mkdirs();
| }
| catch (Throwable th)
| {
| // ignore if the server config cannot be found
| // this would be the case if we are on the client side
| }
|
| fname = fname.replace('/', '_');
| fname = fname.replace(':', '_');
| fname = fname.replace('?', '_');
|
| File file = null;
| try {
| file = File.createTempFile("JBossWS_" + fname, ".xsd", tmpdir);
| } catch (IOException x) {
| System.out.println("FILE: JBossWS_" + fname);
| System.out.println("TMPDIR: " + tmpdir.getCanonicalFile());
| throw x;
| }
| return file;
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144624#4144624
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144624
18 years, 3 months