On Wed, Oct 1, 2008 at 11:05 PM, Stefan Hedtfeld <[EMAIL PROTECTED]> wrote: > ... by the way: what version of weblogic are you using? Shouldn't it include > the whole java ee stuff? When using JBoss I have to exclude those libs from
javax.el is part of javaEE 5, which is part of WLS 10 > being packaged as the application server itself provides them. As far as I > can remember Weblogic there is alway a huge weblogic.jar including all you > need (and some more :-) ), so I would have expected the class available. :-) Yes, still there is a huge JAR, but also small JARS ;-) However, with 10.3 it should work fine > > Regards, > > Stefan. > > Stefan Hedtfeld schrieb: >> >> Hi, >> >> it is part of java ee5. Using maven you can include the following >> dependency (not sure which version you need - 1.2 is the latest I found): >> >> <dependency> >> <groupId>javax.el</groupId> >> <artifactId>el-api</artifactId> >> <version>1.2</version> >> </dependency> >> >> You have to find a mvn repo where el-api is available. I'm using >> http://repository.jboss.org/maven2, but you might find some repo more >> suitable for you. >> >> Regards, >> >> Stefan. >> >> >> laredotornado schrieb: >>> >>> Hi, >>> >>> I'm writing a JSF application using MyFaces 1.2.4. I must have forgotten >>> to >>> download a JAR file somewhere, because when I startup my application, I >>> get >>> the error >>> >>> weblogic.application.ModuleException: >>> at >>> >>> weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:891) >>> at >>> weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333) >>> at >>> >>> weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) >>> at >>> >>> weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) >>> at >>> >>> weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) >>> at >>> >>> weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) >>> at >>> >>> weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) >>> at >>> >>> weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) >>> at >>> >>> weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) >>> at >>> >>> weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) >>> at >>> >>> weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26) >>> at >>> >>> weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635) >>> at >>> >>> weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) >>> at >>> >>> weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) >>> at >>> >>> weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154) >>> at >>> >>> weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80) >>> at >>> >>> weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566) >>> at >>> >>> weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136) >>> at >>> >>> weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104) >>> at >>> >>> weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320) >>> at >>> >>> weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815) >>> at >>> >>> weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222) >>> at >>> >>> weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433) >>> at >>> >>> weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161) >>> at >>> >>> weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181) >>> at >>> >>> weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12) >>> at >>> >>> weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67) >>> at >>> >>> weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518) >>> at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) >>> at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) >>> java.lang.NoClassDefFoundError: javax/el/ExpressionFactory >>> at >>> >>> org.apache.myfaces.webapp.StartupServletContextListener.getFacesInitializer(StartupServletContextListener.java:91) >>> at >>> >>> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:72) >>> at >>> >>> weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:376) >>> at >>> >>> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) >>> at >>> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) >>> at >>> >>> weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:82) >>> at >>> >>> weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1608) >>> at >>> >>> weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2750) >>> at >>> >>> weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:889) >>> at >>> weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333) >>> at >>> >>> weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) >>> at >>> >>> weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) >>> at >>> >>> weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) >>> at >>> >>> weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) >>> at >>> >>> weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) >>> at >>> >>> weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) >>> at >>> >>> weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) >>> at >>> >>> weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) >>> at >>> >>> weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26) >>> at >>> >>> weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635) >>> at >>> >>> weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) >>> at >>> >>> weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) >>> at >>> >>> weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154) >>> at >>> >>> weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80) >>> at >>> >>> weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566) >>> at >>> >>> weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136) >>> at >>> >>> weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104) >>> at >>> >>> weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320) >>> at >>> >>> weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815) >>> at >>> >>> weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222) >>> at >>> >>> weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433) >>> at >>> >>> weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161) >>> at >>> >>> weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181) >>> at >>> >>> weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12) >>> at >>> >>> weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67) >>> at >>> >>> weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518) >>> at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) >>> at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) >>> >>> Where do I get this file? Below is what I have in my WEB-INF/lib >>> directory >>> ... >>> >>> NPSConfigDelegate.jar commons-collections-3.2.jar jdbc.jar >>> myfaces-impl-1.2.4.jar >>> appproperties.jar commons-digester-1.8.jar jstl.jar >>> npsimplugin.jar >>> commons-beanutils-1.7.0.jar commons-discovery-0.4.jar log4j-1.2.8.jar >>> standard.jar >>> commons-codec-1.3.jar commons-logging-1.1.1.jar >>> myfaces-api-1.2.4.jar tomahawk-1.1.7.jar >>> >>> - Dave >>> >> >> > > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf

