[JBoss-user] [JBoss Portal] - Re: Error in installation of Jboss portal server with mysql4

2006-03-21 Thread p.surawar
Dear Roy,

Please help me to solve my problem.

Regards,
Pravin...


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931753#3931753

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931753


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Error in installation of Jboss portal server with mysql4.0.2

2006-03-21 Thread p.surawar
I have installed Jboss portal 2.2.1RC3 on JBOSS Server 4.0.3sp1 with mysql 
4.0.21-debug on WINDOWS 2003 server. I have copied 
mysql-connector-java-3.1.12-bin.jar file in 
C:\jboss-4.0.3SP1\server\default\lib directory & portal-mysql-ds.xml file in 
C:\jboss-4.0.3SP1\server\default\deploy directory . 

As per installation guide,  I have created jbossportal as database and [EMAIL 
PROTECTED] as user with password 'portalpassword' with all privileges on 
jbossportal database.


After starting JBOSS Server I am getting following error in server.log og JBOSS 
Server.**
--- MBeans waiting for other MBeans ---
ObjectName: portal:service=TreeCache,type=persistent
  State: FAILED
  Reason: org.hibernate.exception.GenericJDBCException: could not execute query
  I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
  Depends On Me:
portal:service=TreeCacheProvider,type=persistent

ObjectName: portal:service=Hibernate
  State: FAILED
  Reason: org.hibernate.exception.GenericJDBCException: could not execute query
  I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
  Depends On Me:
portal:service=Module,type=User
portal:service=Module,type=Role

ObjectName: portal:service=Hibernate,type=globalinstance
  State: FAILED
  Reason: org.hibernate.exception.GenericJDBCException: could not execute query
  I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
  Depends On Me:
portal:container=Instance,type=global

ObjectName: portal:service=Hibernate,type=globalportal
  State: FAILED
  Reason: org.hibernate.exception.GenericJDBCException: could not execute query
  I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
  Depends On Me:
portal:container=PortalObject,type=global

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: portal:service=Hibernate
  State: FAILED
  Reason: org.hibernate.exception.GenericJDBCException: could not execute query
  I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
  Depends On Me:
portal:service=Module,type=User
portal:service=Module,type=Role

ObjectName: portal:service=Hibernate,type=globalportal
  State: FAILED
  Reason: org.hibernate.exception.GenericJDBCException: could not execute query
  I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
  Depends On Me:
portal:container=PortalObject,type=global

ObjectName: portal:service=Hibernate,type=globalinstance
  State: FAILED
  Reason: org.hibernate.exception.GenericJDBCException: could not execute query
  I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
  Depends On Me:
portal:container=Instance,type=global

ObjectName: portal:service=TreeCache,type=persistent
  State: FAILED
  Reason: org.hibernate.exception.GenericJDBCException: could not execute query
  I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
  Depends On Me:
portal:service=TreeCacheProvider,type=persistent
**

Also when I tried to check portal server with url http://localhost:8080/portal 
I am getting following error in server.log of jboss server 
***
2006-03-21 13:16:52,890 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/portal].[PortalServletWithPathMapping]]
 Servlet.service() for servlet PortalServletWithPathMapping threw exception
java.lang.NullPointerException
at 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObject(PersistentPortalObjectContainer.java:153)
at 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getContext(PersistentPortalObjectContainer.java:171)
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.AttributeDispatcher.invoke(AttributeDispatcher.java:84)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:182)
at 
org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:61)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:343)
at 
org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:541)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:106)
at $Proxy53.getContext(Unknown Source)
at 
org.jboss.portal.core.model.portal.DefaultPortalCommandMapper.doMapping(D

[JBoss-user] [JBoss Portal] - Re: Error while accessing Jportal server page

2006-03-19 Thread p.surawar
Dear Friends,
The actual error log from server.log is as follows.

**
2006-03-20 10:25:27,531 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/portal].[PortalServletWithPathMapping]]
 Servlet.service() for servlet PortalServletWithPathMapping threw exception
java.lang.NullPointerException
at 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObject(PersistentPortalObjectContainer.java:129)
at 
org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getContext(PersistentPortalObjectContainer.java:147)
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.AttributeDispatcher.invoke(AttributeDispatcher.java:84)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:182)
at 
org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:61)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:343)
at 
org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:541)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:106)
at $Proxy53.getContext(Unknown Source)
at 
org.jboss.portal.core.model.portal.DefaultPortalCommandMapper.doMapping(DefaultPortalCommandMapper.java:73)
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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy57.doMapping(Unknown Source)
at org.jboss.portal.core.CoreController.handle(CoreController.java:176)
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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at 
org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
at $Proxy108.handle(Unknown Source)
at 
org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:63)
at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
at 
org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:35)
at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
at 
org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:40)
at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.

[JBoss-user] [JBoss Portal] - Re: Error while accessing Jportal server page

2006-03-18 Thread p.surawar

Forgot to mention: 

MySQL database server version: 4.0.21-debug
Java version 1.5.0_06 
JBoss AS 4.0.3SP1
JBoss Portal 2.2 
on WINDOWS 2003 Server 

Please help! 


Pravin..//

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931112#3931112

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931112


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Error while accessing Jportal server page

2006-03-18 Thread p.surawar
I have installed Jportal Server 2.2.0 on Jboss AS 4.0.3 . But while accesing 
page http://localhost:8080/portal I am getting following error( details given 
below). Can any body help me to slove this problem ?.

***
HTTP Status 500 -
type Exception report

message 

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception 

java.lang.NullPointerException

org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObject(PersistentPortalObjectContainer.java:129)

org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getContext(PersistentPortalObjectContainer.java:147)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)

org.jboss.mx.interceptor.AttributeDispatcher.invoke(AttributeDispatcher.java:84)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
org.jboss.mx.server.Invocation.invoke(Invocation.java:72)

org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:182)

org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:61)
org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:343)

org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:541)
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:106)
$Proxy53.getContext(Unknown Source)

org.jboss.portal.core.model.portal.DefaultPortalCommandMapper.doMapping(DefaultPortalCommandMapper.java:73)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)

org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
$Proxy57.doMapping(Unknown Source)
org.jboss.portal.core.CoreController.handle(CoreController.java:176)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)

org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
org.jboss.mx.server.Invocation.invoke(Invocation.java:74)

org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)

org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
$Proxy108.handle(Unknown Source)

org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:63)

org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)

org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:35)

org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)

org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)

org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:40)

org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)

org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)

org.jboss.portal.server.aspects.s