[Installation, Configuration & DEPLOYMENT] - Jboss 5.x deploy problem
by zlatko.josic@gmail.com
Hi,
I user jboss 5 and have problem with persistence.xml deploy .
Persistence.xml uses OracleDS that is deployed, I can see it in jmx-console.
I allways got this message :
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment "persistence.unit:unitName=#ModuleAdmCbPersistence" is missing the following dependencies:
Dependency "jboss.jca:name=
java:/OracleDS
,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=
java:/OracleDS
,service=DataSourceBinding' **")
DEPLOYMENTS IN ERROR:
Deployment "jboss.jca:name=
java:/OracleDS
,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=
java:/OracleDS
,service=DataSourceBinding' **
This is part of persistence.xml file
<persistence-unit name="ModuleAdmCbPersistence" transaction-type="JTA">
org.hibernate.ejb.HibernatePersistence
<jta-data-source>
java:/OracleDS
</jta-data-source>
</persistence-unit>
and this is oracle-ds.xml file
<local-tx-datasource>
<!-- The jndi name of the DataSource, it is prefixed with java:/ -->
<!-- Datasources are not available outside the virtual machine -->
<jndi-name>comp/env/jdbc/OracleDS</jndi-name>
<connection-url>jdbc:oracle:thin:@localhost:1521:XE</connection-url>
<!-- The driver class -->
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
</exception-sorter-class-name>
<!-- The login and password -->
<user-name>zlaja</user-name>
zlaja!
</local-tx-datasource>
Thanks
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214946#4214946
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214946
15 years, 10 months
[JBoss Portal] - CMS loses mime informations
by gressho
Hello,
I'm experiencing problems with the portal CMS. After exporting content
or copying content the exports or copies completely lack mime type
information. It is completely impossible to change or delete reimported
or copied content.
Our backend database is Oracle 11g (and I inserted a driver entry in
every hibernate.cfg.xml file I found).
For now we can live with completely reinitializing our database but when we
are going in production state this is no solution.
Perhaps there is another configuration for Oracle I don't know about?
The export/import problems didn't occur with JBossPortal 2.6.7, but we had
the problems with JBossPortal 2.7.0 and now 2.7.1 as well.
Shall I report this into Jira as well?
Best wishes
Werner
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214933#4214933
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214933
15 years, 10 months
[JBoss AOP] - Log Messages Not Showing with Compile Time Weaving
by john.pfeifer@billmelater.com
I have a few Interceptors that seem to work fine with load time weaving. I'd like to shift to compile time weaving using the maven plugin. I have the following defined in my pom.xml file. When I run my application I am not able to see the log statements generated by the interceptors. I can see that the compiled classes have be instrumented. Any help would be greatly appreciated!
Thanks,
John
<build>
| <plugins>
| <plugin>
| <groupId>org.jboss.maven.plugins</groupId>
| <artifactId>maven-jbossaop-plugin</artifactId>
| <version>1.0.0.GA</version>
| <executions>
| <execution>
| <id>compile</id>
| <configuration>
| <verbose>true</verbose>
| <suppress>false</suppress>
| <includeProjectDependency>true</includeProjectDependency>
| <aoppaths>
| <aoppath>src/main/resources/jboss-aop.xml</aoppath>
| </aoppaths>
| <properties>
| <property>
| <name>jboss.aop.verbose</name>
| <value>true</value>
| </property>
| </properties>
| </configuration>
| <goals>
| <goal>compile</goal>
| </goals>
| </execution>
| </executions>
| </plugin>
| </plugins>
| </build>
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214929#4214929
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214929
15 years, 10 months