[JBossCache] - FileCacheLoader partial preload
by emailmsgbox
I?m using JBossCache-1.4.1.BETA and caching an object that contains some primitive fields, strings and a Map
I use the following FileCacheLoader configuration
| <passivation>false</passivation>
| <preload>/</preload>
| <shared>false</shared>
|
| <cacheloader>
| <class>org.jboss.cache.loader.FileCacheLoader</class>
| <properties>location=/confCacheFile</properties>
| <async>false</async>
| <fetchPersistentState>true</fetchPersistentState>
| <ignoreModifications>false</ignoreModifications>
| <purgeOnStartup>false</purgeOnStartup>
| </cacheloader>
|
|
I kill the JBoss and bring it back up again.
I can re-access the object it?s fields .
The Map however has a strange behavior: it is not null
| myObj.size() = 0
| myObj.values() is empty
| myObj.keySet () is empty
|
| But
|
| myObj.get(aKey) returns the entry
|
|
How can I get myObj.values() to work ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992538#3992538
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992538
19 years, 7 months
[JBossWS] - Re: wstools and Log4J
by sam.griffith@jboss.com
Martin,
I'm not sure about the C# calls failure, but as far as the log appender, you can put the following log4j code in a log4j.xml file in your WS build dir so it gets packaged up with your WS when deployed and it'll be used as the appender. You don't have an appender defined for the WSTools so this one will serve as a default. I'll try and look into a more correct way to define the logger for WSTools when it's being invoked but in the mean time this should help get rid of that message.
| <?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
| <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
|
| <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
| <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
| <param name="Target" value="System.out"/>
| <param name="Threshold" value="INFO"/>
|
| <layout class="org.apache.log4j.PatternLayout">
| <!-- The default pattern: Date Priority [Category] Message\n -->
| <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
| </layout>
| </appender>
|
|
| <root>
| <appender-ref ref="CONSOLE"/>
| </root>
|
|
| </log4j:configuration>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992514#3992514
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992514
19 years, 7 months
[Tomcat, HTTPD, Servlets & JSP] - Re: JBoss Web vs Tomcat?
by lightbulb432
Thanks for your responses. Could you provide some more detail on this, as I'm still confused. I've listed some questions below:
1) For somebody who will not need to use the .NET and PHP features of it, what is the purpose of using JBoss Web?
2) If I download JBoss Web and add it to my JBoss AS installation, do I still need Apache web server (or any web server) on top of that, or is it only good for JSPs/Servlets?
3) In my default download of JBoss AS, how come I can already access static and dynamic HTTP pages? Is it because of the jbossweb-tomcat55.sar?
4) Do I need Apache on top of jbossweb-tomcat55.sar? Where does JBoss Web fit in?
5) Is the choice really between JBoss Web versus Tomcat AND Apache together? Can JBoss Web do the job of both the others in one package? (Is that the value proposition - installing one thing instead of two?)
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992512#3992512
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992512
19 years, 7 months
[JBoss Seam] - Parameter in EL in a POJO env
by esoares
I have faced a problem when passing parameters to a method using EL in a POJO environment (non-EJB and non-hibernate). I have setup the SeamFaceletViewHandler in faces-config.xml, as well.
Here is the xhtml sample :
<h:dataTable value="#{fruitList}" var="fr">
<h:column>
<f:facet name="header">
<f:verbatim>Description</f:verbatim>
</f:facet>
(1) <s:link value="#{fr.name}" action="#{fruitBasket.select(fr.id)}"/>
(2) <s:link value="#{fr.name}" action="#{fruitBasket.select(fr)}"/>
</h:column>
</h:dataTable>
In case (1) the fr.id is not interpreted by EL and stays as "fr.is" in the rendered HTML!
In case (2) I do not receive any error, but the object Fruit related to variable fr, is not passed.
Looking at Hibernate sample I got the alternative using @DataModelSelectionIndex, but I would like to understand why the code above does not work since this simple approach may not be suitable in complex interations when I need to pass more than the "index".
I am evaluating Seam to be used in a project.
Eddy
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992506#3992506
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992506
19 years, 7 months
[JBoss Seam] - Re: How many EntityManagers and SFSBs in a web app?
by SmokingAPipe
"petemuir" wrote : So, Tomahawk works with Seam conversations (try using an up-to-date version i.e. 1.1.3, also n.b. Tomahawk 1.1.0 would have to have been Myfaces 1.1.0 as old versions had to have exactly the same version no, perhaps thats where you were going wrong?). It's just that Tomahawk is written in a strange way in places which means that some of the components don't work. You would be far better off using a Gavin-recommended component set (e.g. Trinidad or Icefaces), not least because you'll get more help here.
I'm tripping out all the Tomahawk; there are only a dozen pages so far so that's not a big deal. Gavin has made it pretty clear, Tomahawk and Seam are like oil and water. I'm not going to try to fight that. Icefaces looks so cool I would rather use that. But I'm going to be sane and just get my plain old application working correctly first, and THEN I will try adding some Icefaces stuff.
"petemuir" wrote : @Stateful Seam components are SESSION scoped by default. You shouldn't just remove the EXTENDED parameter, you should use an SMPC - http://docs.jboss.com/seam/1.1CR2/reference/en/html/configuration.html#d0...
Ok, now THAT was the other thing I was missing. I didn't know about configuring the SMPC and that resulted in everything else going to hell. I'm configuring that now. I notice in that doc that it clearly explains why SMPC should make LIEs be a thing of the past, which is why I started with Seam from the beginning.
anonymous wrote : You would definitely be better off changing your component set to work with Seam, not the other way around.
Yes, definitely, especially because at this stage it's not much trouble for me to do that.
anonymous wrote : I think it is worth pointing out that you could of course do PHP style DB access in Java using plain JDBC - but that would obviously mean no ORM etc.
Oh certainly, there are plenty of web apps out there that use JSP pages with code and direct JDBC calls all throughout the page, just like with PHP, and it's equally as horrible as PHP. My goal is to get to a real object-oriented application approach. That could mean several different things, including ugly anti-patterns like using DTOs. What I really want is to bind my object all the way through to web forms using minimal glue and DTO-type code. It looks like Seam is supposed to do that if I can figure it out... SMPC and getting rid of Tomahawk and using conversations are the first steps.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992505#3992505
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992505
19 years, 7 months
[Installation, Configuration & Deployment] - Re: How to specify Application specific XML Parser factories
by amit_sri
Hi All,
I tried changing the default XML factories settings to use Oracle specific parsers for application in JBoss server but I am getting issues while server startup stating-
12:50:20,842 WARN [XMLLoginConfigImpl] End loadConfig, failed to load config: f
ile:/E:/jboss-4.0.2/server/default/conf/login-config.xml
org.jboss.security.auth.login.ParseException: Encountered "<?xml" at line 1, col
umn 1.
Was expecting one of:
...
at org.jboss.security.auth.login.SunConfigParser.generateParseException(
SunConfigParser.java:389)
at org.jboss.security.auth.login.SunConfigParser.jj_consume_token(SunCon
figParser.java:327)
at org.jboss.security.auth.login.SunConfigParser.config(SunConfigParser.
java:98)
at org.jboss.security.auth.login.SunConfigParser.parse(SunConfigParser.j
ava:57)
at org.jboss.security.auth.login.SunConfigParser.doParse(SunConfigParser
.java:79)
at org.jboss.security.auth.login.XMLLoginConfigImpl.loadSunConfig(XMLLog
inConfigImpl.java:295)
at org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginC
onfigImpl.java:279)
at org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginC
onfigImpl.java:253)
at org.jboss.security.auth.login.XMLLoginConfig.startService(XMLLoginCon
fig.java:162)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:272)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
I have referred to the following link to change facory settings- http://www.huihoo.com/jboss/online_manual/3.0/ch13s135.html
Please, help me in getting this issue resolved.,
Thanks,
Amit Srivastava..
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992503#3992503
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992503
19 years, 7 months
[JBoss Seam] - Re: Why do none of the samples work in Tomcat?
by krica
Well, I fail to see why I would need to clean from a fresh Seam distribution, but maybe it is so. In any case, I always do run clean before a new compilation (when things are not working anyway), but I do not do so on the same command (i.e. "ant clean deploy.tomcat"). If this is so important, it should be mentioned in the readme no? I followed the instructions in the readme. I understand that the problem is the default "deploy" target, but this issue should be mentioned in the readme, IMO.
After upgrading my JDK to the latest release and running "ant clean deploy.tomcat", I do get past this issue except for the "issues" project, which gives me.
ERROR 10-12 10:52:49,171 (Log4JLogger.java:error:119) -Servlet.service() for servlet jsp threw exception
| java.lang.NoClassDefFoundError: org/apache/myfaces/config/MyfacesConfig
| ...
(I'm not going to copy the whole stack trace cause this thread is not about this, which I believe is a separate issue. Yes, MyFacesConfig is in WEB-INF/lib/myfaces-impl-1.1.3.jar)
Anyway, it would seem you are right Richard. I needed to run "ant clean deploy.tomcat" specifically (or the JDK was bad, which I do not believe was the case). However, I asked two of my colleagues to deploy to Tomcat as I originally did (as described in the readme, i.e. first "ant", then "ant deploy.tomcat") and it worked perfectly well for both of them. Must be something with me :)
Still will not work in JBoss AS, but again, a different issue and I really do not need it solved right now.
Thanks for you assistance Richard!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992500#3992500
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992500
19 years, 7 months
[Beginners Corner] - Exception in thread "main" javax.ejb.EJBException: javax.per
by sjsustudent
log4j:WARN No appenders could be found for logger (org.jboss.remoting.Client).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.MappingException: No Dialect mapping for JDBC type: 7
at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:319)
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992499#3992499
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992499
19 years, 7 months
[Persistence, JBoss/CMP, Hibernate, Database] - org.hibernate.MappingException: No Dialect mapping for JDBC
by sjsustudent
Exception in thread "main" javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.MappingException: No Dialect mapping for JDBC type: 7
at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:319)
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239)
at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:190)
at org.jboss.remoting.Client.invoke(Client.java:525)
at org.jboss.remoting.Client.invoke(Client.java:488)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:41)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:46)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:40)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at org.jboss.ejb3.stateful.StatefulRemoteProxy.invoke(StatefulRemoteProxy.java:133)
at $Proxy1.getProperties(Unknown Source)
at com.zap.test.TestZapMgr.main(TestZapMgr.java:35)
Caused by: javax.persistence.PersistenceException: org.hibernate.MappingException: No Dialect mapping for JDBC type: 7
at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:641)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:73)
at com.zap.session.ZapMgrBean.getProperties(ZapMgrBean.java:30)
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.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:319)
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239)
Caused by: org.hibernate.MappingException: No Dialect mapping for JDBC type: 7
at org.hibernate.dialect.TypeNames.get(TypeNames.java:56)
at org.hibernate.dialect.TypeNames.get(TypeNames.java:81)
at org.hibernate.dialect.Dialect.getHibernateTypeName(Dialect.java:231)
at org.hibernate.loader.custom.CustomLoader$Metadata.getHibernateType(CustomLoader.java:559)
at org.hibernate.loader.custom.CustomLoader$ScalarResultColumnProcessor.performDiscovery(CustomLoader.java:485)
at org.hibernate.loader.custom.CustomLoader.autoDiscoverTypes(CustomLoader.java:501)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1677)
at org.hibernate.loader.Loader.doQuery(Loader.java:662)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.doList(Loader.java:2144)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2028)
at org.hibernate.loader.Loader.list(Loader.java:2023)
at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:289)
at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1695)
at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:142)
at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:150)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
... 37 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992498#3992498
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992498
19 years, 7 months
[EJB 3.0] - getting Exception in thread "main" javax.ejb.EJBException: o
by sjsustudent
Exception in thread "main" javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.MappingException: No Dialect mapping for JDBC type: 7
at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:319)
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239)
at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:190)
at org.jboss.remoting.Client.invoke(Client.java:525)
at org.jboss.remoting.Client.invoke(Client.java:488)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:41)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:46)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:40)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
at org.jboss.ejb3.stateful.StatefulRemoteProxy.invoke(StatefulRemoteProxy.java:133)
at $Proxy1.getProperties(Unknown Source)
at com.zap.test.TestZapMgr.main(TestZapMgr.java:35)
Caused by: javax.persistence.PersistenceException: org.hibernate.MappingException: No Dialect mapping for JDBC type: 7
at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:641)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:73)
at com.zap.session.ZapMgrBean.getProperties(ZapMgrBean.java:30)
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.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:319)
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239)
Caused by: org.hibernate.MappingException: No Dialect mapping for JDBC type: 7
at org.hibernate.dialect.TypeNames.get(TypeNames.java:56)
at org.hibernate.dialect.TypeNames.get(TypeNames.java:81)
at org.hibernate.dialect.Dialect.getHibernateTypeName(Dialect.java:231)
at org.hibernate.loader.custom.CustomLoader$Metadata.getHibernateType(CustomLoader.java:559)
at org.hibernate.loader.custom.CustomLoader$ScalarResultColumnProcessor.performDiscovery(CustomLoader.java:485)
at org.hibernate.loader.custom.CustomLoader.autoDiscoverTypes(CustomLoader.java:501)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1677)
at org.hibernate.loader.Loader.doQuery(Loader.java:662)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.doList(Loader.java:2144)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2028)
at org.hibernate.loader.Loader.list(Loader.java:2023)
at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:289)
at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1695)
at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:142)
at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:150)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
... 37 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992497#3992497
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992497
19 years, 7 months
[Beginners Corner] - ADF help
by mrchit_2000
Hi all,
I posted this message on another forum but no answer yet. I don't know whether I posted on the wrong forum or no body has encountered same problem as mine so I tried it in this forum. I am new to JBoss and all web application framework thing. I 'd like to use ADF Faces and so I tried to install it. I had JBoss 4.0.5 with EJB3.0 profile setup and got simple hello world application running. But when I want to have ADF Faces, I encounter problem when making Jboss able to load ADF Faces. I downloaded adf-faces-api-10_1_3_0_4.jar, adf-faces-impl-10_1_3_0_4.jar and retrieve adfshare35495.jar from the adf-faces-demo.war (since I cant find nowhere having adfshare.jar to download). In web.xml, I added:
<filter-name>adfFaces</filter-name>
<filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
<filter-mapping>
<filter-name>adfFaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
</filter-mapping>
<servlet-name>resources</servlet-name>
<servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
and in faces-config.xml with the following lines:
<default-render-kit-id>
oracle.adf.core
</default-render-kit-id>
I put the adf*.jar in JBoss/server/deploy/jbossweb-tomcat55.sar (because iif I put those jar in lib directory of my application or of Jboss/lib, I got some class not found for AdfFacesHandler).
Following is the message once I restart the same Hello World web application with nothing changes except those above in web.xml and faces-config.xml.
01:23:57,595 ERROR [StartupServletContextListener] Error initializing ServletContext
java.lang.IllegalArgumentException: Class oracle.adfinternal.view.faces.application.NavigationHandlerImpl is no javax.faces.application.NavigationHandler
at org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:536)
at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:458)
at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:141)
at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:69)
at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:52)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy38.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy39.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Unknown Source)
01:23:57,605 ERROR [STDERR] java.lang.IllegalArgumentException: Class oracle.adfinternal.view.faces.application.NavigationHandlerImpl is no javax.faces.application.NavigationHandler
01:23:57,605 ERROR [STDERR] at org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:536)
01:23:57,605 ERROR [STDERR] at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:458)
01:23:57,605 ERROR [STDERR] at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:141)
01:23:57,605 ERROR [STDERR] at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:69)
01:23:57,605 ERROR [STDERR] at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:52)
01:23:57,605 ERROR [STDERR] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
01:23:57,605 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
01:23:57,605 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
01:23:57,605 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
01:23:57,605 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
01:23:57,605 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01:23:57,605 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
01:23:57,605 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
01:23:57,605 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01:23:57,605 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
01:23:57,605 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
01:23:57,605 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
01:23:57,605 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
01:23:57,605 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83)
01:23:57,605 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61)
01:23:57,605 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
01:23:57,605 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
01:23:57,605 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
01:23:57,605 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
01:23:57,605 ERROR [STDERR] at $Proxy0.start(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
01:23:57,605 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
01:23:57,605 ERROR [STDERR] at $Proxy38.start(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
01:23:57,605 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01:23:57,605 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
01:23:57,605 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
01:23:57,605 ERROR [STDERR] at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
01:23:57,605 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
01:23:57,605 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
01:23:57,605 ERROR [STDERR] at $Proxy39.start(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
01:23:57,605 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
01:23:57,605 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
01:23:57,605 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
01:23:57,605 ERROR [STDERR] at $Proxy6.deploy(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
01:23:57,605 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
01:23:57,605 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
01:23:57,605 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
01:23:57,605 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
01:23:57,605 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
01:23:57,605 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01:23:57,605 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
01:23:57,605 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
01:23:57,605 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
01:23:57,605 ERROR [STDERR] at $Proxy0.start(Unknown Source)
01:23:57,605 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
01:23:57,605 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01:23:57,615 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
01:23:57,615 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:23:57,615 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
01:23:57,615 ERROR [STDERR] at $Proxy4.start(Unknown Source)
01:23:57,615 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
01:23:57,615 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
01:23:57,615 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
01:23:57,615 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
01:23:57,615 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
01:23:57,615 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01:23:57,615 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
01:23:57,615 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01:23:57,615 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
01:23:57,615 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
01:23:57,615 ERROR [STDERR] at $Proxy5.deploy(Unknown Source)
01:23:57,615 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
01:23:57,615 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
01:23:57,615 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200)
01:23:57,615 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:490)
01:23:57,615 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)
Could someone have knowledge about this issue help me resolving this issue? It seems there are not many ADF Faces help around online. I appreciate your help and time.
Thanks,
-Lngo
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992486#3992486
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992486
19 years, 7 months
[JBoss Seam] - Exception thrown on seam-booking-icefaces
by gus888
Hi,
I deployed seam-booking-icefaces from CVS-20061202(icefaces1.5.1), but when I run it I often got the following exceptions. I really don't know what is the reason, since I run the original example code. Thank you very much in advance.
18:27:47,781 ERROR [PhaseListenerManager] Exception in PhaseListener RENDER_RESPONSE(6) afterPhase
| java.lang.NullPointerException
| at org.jboss.seam.contexts.ServerConversationContext.flush(ServerConversationContext.java:181)
| at org.jboss.seam.contexts.Lifecycle.flushAndDestroyContexts(Lifecycle.java:345)
| at org.jboss.seam.contexts.Lifecycle.endRequest(Lifecycle.java:248)
| at org.jboss.seam.jsf.AbstractSeamPhaseListener.afterRender(AbstractSeamPhaseListener.java:232)
| at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:89)
| at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391)
| at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.renderCyclePartial(BlockingServlet.java:453)
| at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.receiveUpdates(BlockingServlet.java:421)
| at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:277)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992485#3992485
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992485
19 years, 7 months
[JBoss AOP] - Re: Can't read parameter annotations through reflection
by flavia.rainone
The bug has been solved on 1.5 branch (using that workaround I told you of) only for the default weaving configuration(which is, actually, the optimized one with classic instrumentation, and not gen advisor instrumentation, differently from what I told you before).
Please, follow these instructions:
http://wiki.jboss.org/wiki/Wiki.jsp?page=BuildingJBossAOPFromSubversion
But use this repository address, with anonymous svn:
http://anonsvn.jboss.org/repos/jbossas/branches/Branch_AOP_1_5/
This is a temporary fix, and it's been made only on this branch.
As soon as the problem is completely addressed, on all versions, I'll post a new message here.
If you have problems with making your example work with this version, let me know.
Thanks!
Flavia
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992483#3992483
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992483
19 years, 7 months