[JBoss Portal] - Re: Hyperlink not working from CMS html page to another CMS
by shankarkhanna
I created a new portal called TestPortal and created a new page called MyPage. I made the TestPortal as default Portal.
In CMS, I created a new folder 'TestPortal' and added two htm files in it page1.htm and page2.htm
In WYSIWYG Editor, Following is the code in page1.htm in code view
<p><a href="/portal/content/TestPortal/page2.htm">Page 2</a></p>
>From pagelayout of 'MyPage' page i added the CMS content in center region.
When i accessed the portal using http://localhost:8080/portal, it showed me the TestPortal which is now the default portal. It also showed me MyPage tab having page1.htm content.
In the address bar, this is the url
http://localhost:8080/portal/auth/portal/TestPortal/mypage
But when i click on the link, i got 404 error in browser saying "The requested resource () is not available."
In the address bar, this is the url "http://localhost:8080/portal/content/TestPortal/page2.htm" (after clicking on the link)
Is there anything wrong i am doing here.
Also, if i access the default JBoss Portal ->default page and click on the link "JBoss Portal project", it shows content of next page on the same portlet window and address bar shows the following url
http://localhost:8080/portal/auth/portal/default/default/CMSPortletWindow...
we can see that it added "CMSPortletWindow_5".
But in my case, it did not add the window name while accessing the link from page1.htm file.
And even if i create the same file as index.htm file in default page of default portal, it is not working.
Please Help
Shankar Khanna
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143096#4143096
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143096
18 years, 2 months
[JBoss Portal] - Re: Admin Portlet: Strange Behavior with Oracle-DB
by ssolfaroli
Same problem here.
Trying to add a property to a page i get nothing on first time, if I retry I get this error:
| 2008-04-10 10:44:38,300 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Error: 1, SQLState: 23000
| 2008-04-10 10:44:38,300 ERROR [org.hibernate.util.JDBCExceptionReporter] ORA-00001: unique constraint (JBPORTAL.SYS_C0016340) violated
|
| 2008-04-10 10:44:38,300 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Error: 1, SQLState: 23000
| 2008-04-10 10:44:38,300 ERROR [org.hibernate.util.JDBCExceptionReporter] ORA-00001: unique constraint (JBPORTAL.SYS_C0016340) violated
|
| 2008-04-10 10:44:38,300 ERROR [org.hibernate.event.def.AbstractFlushingEventListener] Could not synchronize database state with session
| org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
|
My environment:
* Version: jboss-portal-2.6.4
* Download Version
* JBoss AS Version: 4.2.2.GA
* Database: Oracle Database 10g Release 2
* JDBC Connector and Version: ojdb14.jar shipped with database
* OS Platform: Red Hat Enterprise Linux AS release 4
* Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Searching in Hibernate FAQ i tried to disable batch update
<property name="hibernate.jdbc.batch_versioned_data">false</property>
| <property name="hibernate.jdbc.batch_size">0</property>
| , nothing has changed.
Tried specifing hibernate dialect also, with:
| <property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
|
Someone has an idea of what is happening?
Please help me.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143090#4143090
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143090
18 years, 2 months
[EJB/JBoss] - EJB 2.0 and JBoss 4.05 - object key not previously generated
by lkltouk
Hi,
During retrieving remote EJB stub sometimes I get an error:
----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
| at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:199)
| at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
| at org.jboss.proxy.ejb.DynamicIIOPStub.invoke(DynamicIIOPStub.java:150)
| at pl.touk.jainslee.jee2slee.bean.slee._SleeBeanRemote_Stub.sendResponse(Unknown Source)
| at pl.touk.jainslee.jee2slee.sbb.Jee2SleeSbb.onJ2SResponseEvent(Jee2SleeSbb.java:249)
| at com.opencloud.rhino.deployed.sbb.TouK.Jee2Slee_SBB_1_0.SbbEJBBean.sbbDeliverEvent(SbbEJBBean.java:378)
| at com.opencloud.deployed.Service_Jee2Slee_Service_1_0__TouK__1321.SBB_Jee2Slee_SBB_TouK_1_0OCBB_Local.sbbDeliverEvent(SBB_Jee2Slee_SBB_TouK_1_0OCBB_Local.java:961)
| at com.opencloud.ob.RhinoSDK.apy.b(5134)
| at com.opencloud.ob.RhinoSDK.apy.a(5134)
| at com.opencloud.ob.RhinoSDK.apy.a(5134)
| at com.opencloud.ob.RhinoSDK.aps.b(5134)
| at com.opencloud.ob.RhinoSDK.aps.a(5134)
| at com.opencloud.ob.RhinoSDK.u0.a(5134)
| at com.opencloud.ob.RhinoSDK.uz.a(5134)
| at com.opencloud.ob.RhinoSDK.nl.b(5134)
| at com.opencloud.ob.RhinoSDK.nl.run(5134)
| Caused by: org.omg.CORBA.OBJECT_NOT_EXIST: ----------BEGIN server-side stack trace----------
| unknown oid
| ----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: No
| at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
| at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
| at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
| at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
| at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:902)
| at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:99)
| at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:572)
| at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:430)
| at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:326)
| at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129)
| at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
| at org.jboss.proxy.ejb.DynamicIIOPStub.invoke(DynamicIIOPStub.java:125)
| ... 13 more
And at JBOSS side:
anonymous wrote :
| 13:45:22,625 WARN [poa] POA EJBObject&%SleeBeanHome rid: 5 opname: sendResponse _invoke: object key not previously generated!
The strange thing is that this error occurs rarely. Most of the time everything works fine, so configuration is OK.
Thanks in advance,
Luke
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143089#4143089
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143089
18 years, 2 months