I am having a problem getting the Portals setup on my Windows box.  Jboss is 
running well on this and my Linux machines.

Jboss is 4.0.2
Portal is RC2
mysql-connector-java-3.1.8-bin.jar located in the server\default\lib directory
Windows XP
MySQL  4.1.12a

I copied the sar and ear to the server\default\deploy folder along with the XML 
files for mysql:

<?xml version="1.0" encoding="UTF-8"?>

  <local-tx-datasource>
    <jndi-name>PortalDS</jndi-name>
    
<connection-url>jdbc:mysql://localhost:3306/jbossportal?useServerPrepStmts=false</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>portal</user-name>
    password
  </local-tx-datasource>


The driver jar is in the classpath as are the com and org directories.

The stack trace for the error is:

13:49:36,968 INFO  [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl
.ForumImpl.watches -> jbp_forums_forumswatch
13:49:36,968 INFO  [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl
.TopicImpl.watches -> jbp_forums_topicswatch
13:49:36,968 INFO  [Configuration] processing association property references
13:49:36,968 INFO  [Configuration] processing foreign key constraints
13:49:37,390 INFO  [NamingHelper] JNDI InitialContext properties:{}
13:49:37,405 INFO  [DatasourceConnectionProvider] Using datasource: 
java:PortalDS
13:49:37,405 WARN  [JBossManagedConnectionPool] Throwable while attempting to 
get a new connection: null
java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:242)
        at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.g
etDriver(LocalManagedConnectionFactory.java:266)
        at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.c
reateManagedConnection(LocalManagedConnectionFactory.java:150)
        at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.cr
eateConnectionEventListener(InternalManagedConnectionPool.java:508)
        at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.ge
tConnection(InternalManagedConnectionPool.java:207)
        at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BaseP
ool.getConnection(JBossManagedConnectionPool.java:534)
        at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManage
dConnection(BaseConnectionManager2.java:395)
        at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedCo
nnection(TxConnectionManager.java:297)
        at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC
onnection(BaseConnectionManager2.java:447)
        at org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio
nManagerProxy.allocateConnection(BaseConnectionManager2.java:874)
        at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrapp
erDataSource.java:103)
        at org.hibernate.connection.DatasourceConnectionProvider.getConnection(D
atasourceConnectionProvider.java:59)
        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:
67)
        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1509
)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav
a:1054)
        at org.jboss.portal.core.hibernate.SessionFactoryBinder.createSessionFac
tory(SessionFactoryBinder.java:261)
        at org.jboss.portal.core.hibernate.SessionFactoryBinder.startService(Ses
sionFactoryBinder.java:127)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:272)
        at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
73)

Again, JBoss is workinig just fine as is MySQL (from the MySQL Clients - not 
JDBC).  Can anyone see what I've overlooked??

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to