Bob Green

Ranch Hand
+ Follow
since Feb 29, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Bob Green

I am not able to issue a search on any ldap operational attributes (nsRoleDN=*) with jboss 6, I am getting a javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]: ....
Please help if you know it can be done.

Thanks.
13 years ago
Can someone tell me what version of Seam I can use on jboss 6.0.0.Final version or is Seam already part of the jboss 6.0.0.Final?

TIA.
13 years ago
Does anyone have any ideas?
13 years ago
I was trying to deploy a very simple seam application to jboss 6.0.0.Final and I got this error, can someone tell me what I did wrong; I could not find any documentation at all. Thanks.

13 years ago
I am getting this error and am wondering if it is fixed in jboss 6.0.0.Final version and jsf 2.0, TIA.

13 years ago
I am getting this message on my jsf page, can someone explain to me what it means. I am using JSF 2.0, Richfaces 4.0 and Jboss 6.0.0.Final version.
"One or more resources have the target of 'head', but no 'head' component has been defined within the view."

TIA.
13 years ago
JSF
META-INF/
META-INF/MANIFEST.MF
META-INF/persistence.xml
com/
com/persistence/
com/persistence/model/
com/persistence/model/Todo.class
com/util/
com/util/persistence/
com/util/persistence/HibernateJTAFilter.class
com/util/persistence/PersistenceUtil.class

/**
* Todo generated by hbm2java
*/
13 years ago
Jaikiran, thanks for your answer. The persistence.xml actually is in ear/lib/persistenceUnit.jar/META-INF directory.
13 years ago
Please help if anyone knows why?
13 years ago
2011-03-21 10:29:05,431 ERROR [com.action.InitHomeAction] (http-127.0.0.1-8443-4) execute(ActionMapping,Ac
tionForm,HttpServletRequest,HttpServletResponse): Exception[java.lang.IllegalArgumentException] thrown.: java.lang.IllegalArgumentException:
org.hibernate.hql.ast.QuerySyntaxException: Todo is not mapped [Select t from Todo as t]
at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1201) [:3.6.0.Final]
at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1147) [:3.6.0.Final]
at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:275) [:3.6.0.Final]
at com..action.InitHomeAction.execute(InitHomeAction.java:53) [:]
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419) [:]
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224) [:]
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [:]
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [:1.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) [:1.1]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
at com.persistence.HibernateJTAFilter.doFilter(HibernateJTAFilter.java:67) [:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.Final]
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.Final] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:593) [:6.0.0.Final]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.Final]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.Final]
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.Final]
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.Final]
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.Final]
at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_22]
Caused by: org.hibernate.hql.ast.QuerySyntaxException: Todo is not mapped [Select t from Todo as t]
at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:180) [:3.6.0.Final]
at org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:111) [:3.6.0.Final]
at org.hibernate.hql.ast.tree.FromClause.addFromElement(FromClause.java:93) [:3.6.0.Final]
at org.hibernate.hql.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:322) [:3.6.0.Final]
at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3441) [:3.6.0.Final]
at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:3325) [:3.6.0.Final]



persistence.xml:
----------------------

<?xml version='1.0' encoding='utf-8'?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
version="2.0">

<persistence-unit name="jboss">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>java:/jdbc/jboss</jta-data-source>
<properties>
<property name="hibernate.show_sql" value="false" />
<property name="hibernate.transaction.manager_lookup_class"
value="org.hibernate.transaction.JBossTransactionManagerLookup" />
</properties>

</persistence-unit>

</persistence>


Packaging:
----------------

ear
|
|-------META-INF
|      |
|      |
|      |--> application.xml, jboss-app.xml, MANIFEST.MF
|
|
|-------lib
|       |
|       |
|       |------persistenceUnit.jar
|       |
|       |
|       |--------> META-INF
|       |              |
|       |              |------->MANIFEST.MF, persistence.xml
|       |
|       |--------> <model classes are here>
|
|-------war
|
|
|
|-------ejb.jar
13 years ago
I am using jboss 6.0.0.Final version with hibernate and I am getting the following error if I don't specify the Task class in the persistence.xml file. I don't need to do that with jboss 5, can someone shed some light to this issue.

Caused by: javax.servlet.ServletException: org.hibernate.hql.ast.QuerySyntaxException: Task is not mapped [Select t from Task as t]

TIA.
13 years ago
Thanks for the response. I am using tomcat 5.5 and I have the ojdbc14.jar in the common/lib directory and the JAVA_OPTS = %JAVA_OPTS% -Djava.library.path="c:\tomcat-5.5\common\lib\ojdbc14.jar"
Can someone please help me with this problem:
I am trying to connect an oracle datasource using the oci driver in jasperserver and it gives me the UnsatisfiedLinkError: no ocijdbc10 in java.library.path.

Thanks.
Eric, Sorry I still don't get your idea.
Eric,
Can you please elaborate a little bit on your statement
"Design your code so it makes the call and onreadystatechange, you call the next step with the value."

I don't quite understand.

Thanks,