weblogic11g

java.lang.ClassFormatError: JVMCFRE074 no Code attribute specified;class=javax/faces/webapp/FacesServlet, method=<init>()V, pc=0 [duplicate]

China☆狼群 提交于 2019-12-10 13:57:29
问题 This question already has answers here : java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/faces/webapp/FacesServlet (5 answers) Closed 3 years ago . I am using JSF 2.0 with Primefaces 3.4.2, Hibernate 4 Final and Spring 3. When I am deploying an application to Weblogic 10.3.6 using Maven 3 I am getting the following excpetions. How can I resolve this issue? Any help is highly appreciable. Target state: deploy failed on Server

Weblogic javax.naming.NameNotFoundException while running application

你离开我真会死。 提交于 2019-12-10 13:38:18
问题 I have created a data source name in Weblogic 10.3.6 as jdbc/appsmDS and the same name has been given in application to lookup. However when I am trying to run application, I am getting the following error javax.naming.NameNotFoundException: While trying to lookup 'jdbc/appsmDS' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/appsmDS' How can I resolve this issue? 回答1: when looking up the DS the full JNDI structure maps to java:jdbc/appsmsDS . Please use it for lookup. 回答2:

Set preferred listen address in weblogic 11g

自古美人都是妖i 提交于 2019-12-10 12:14:15
问题 I have a WebLogic 11g domain with 1 admin server and 4 managed servers running on 2 machines. Each machine has 3 ip addresses, but only one of those addresses is seen by another machine. Each machine is running a node manager which seems to communicate fine between each other and admin server. Though when managed server starts on the second machine it can't communicate to admin server because it uses wrong ip address. It appears that when weblogic starts it maps itself to all ip addresses,

Maven install error javax.el.ELContext not found and javax.el.ELResolver not found

可紊 提交于 2019-12-08 07:46:44
问题 I am using Maven 3 and JDK 1.7. When I tried to do mvn install , I am getting the following errors [ERROR] /domain/view/EmployeeNameConverter.java:[29,76] cannot access javax.el.ELContext class file for javax.el.ELContext not found [ERROR] /EmployeeNameConverter.java:[28,55] cannot access javax.el.ELResolver class file for javax.el.ELResolver not found When I compile my project I am getting no exceptions or compile errors though. pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0"

CAC authentication in a Java WebApp

Deadly 提交于 2019-12-08 07:19:07
问题 I saw that there were a few other Java and CAC posts on stackoverflow. I am a beginner with all of this stuff and I am still trying to a framework of what to do and where to go in my mind. I am doing work for a big org that is using CACs with Windows 7 boxes to authenticate users who want to get into their PCs. They stick the CAC in their keyboard and type in a PIN. My boss would like to alter our Java Webap such that it will not make the users authenticate if they have their CAC in their

ClassNotFoundException: org.hibernate.hql.internal.ast.HqlToken even after adding classic.ClassicQueryTranslatorFactory [duplicate]

 ̄綄美尐妖づ 提交于 2019-12-08 01:14:05
问题 This question already has answers here : Closed 6 years ago . Possible Duplicate: org.hibernate.HibernateException: could not instantiate QueryTranslatorFactory: org.hibernate.hql.classic.ClassicQueryTransactionFactory I am using Hibernate 4, Spring 3 and JSF 2.0. While running jsf page I am getting org.hibernate.QueryException: ClassNotFoundException: org.hibernate.hql.internal.ast.HqlToken [select generatedAlias0 from net.test.model.Request as generatedAlias0] I already have the following

WebLogic Server :: The server does not support version 3.0 of the J2EE Web module specification

不羁的心 提交于 2019-12-07 13:49:15
问题 When I try running an application using the WebLogic 11g 10.3.5 server, it shows that "The server does not support version 3.0 of the J2EE Web module specification." How to overcome this? Thanks! 回答1: Develop your application using the supported version of the specification (Servlet 2.5), or use another application server supporting the version 3.0, or wait for the version of WebLogic that supports version 3.0. 回答2: Weblogic 11 does not support Servlet 3.0 You need to move on to Weblogic 12.

WebLogic - Using environment variable / double quotes in “Arguments” in “Server Start”

有些话、适合烂在心里 提交于 2019-12-07 11:27:37
问题 I have an admin server, NodeManager, and 1 managed server, all on the same machine. I am trying to enter something similar to this to the arguments field in the Server Start tab: -Dmy.property=%USERPROFILE%\someDir\someJar.jar But when the managed server is started it throws this exception: Error opening zip file or JAR manifest missing : %USERPROFILE%\someDir\someJar.jar It appears that the environment variable is not being translated into it's value. It is just passed on to the managed

Where is Bea Weblogic Work Folder

喜欢而已 提交于 2019-12-07 06:05:49
问题 I know that this may be a trivial question but I really cannot find the work folder in Oracle BEA weblogic 10.3. Unlike the Apache Tomcat where it is clearly in the work directory usually under WEB-INF. I already researched it on JavaRanch and it said that the directory is at: \bea\user_projects\domains\YOUR_DOMAIN_NAME\servers\AdminServer\tmp\_WL_user\APPLICATION_WAR However, when I checked my directory, I only found the following path. \bea\user_projects\workspaces\default\<project base> I

How can I deploy an exploded web app through WebLogic 11g administrative console?

放肆的年华 提交于 2019-12-06 13:32:02
I need to deploy a web applicataion as an exploded archive (instead of .war) due to some legacy servlet path location code used in it (ServletContext.getRealPath()). I only have web-based admin console access to the WebLogic 11g server that I intend to deploy to. However, I can't figure how to do it. I see an option for deploying archives, but not directories. Thanks! http://download.oracle.com/docs/cd/E13222_01/wls/docs81/deployment/overview.html "WebLogic Server supports deployments that are packaged either as archive files using the jar utility, or as exploded archive directories ". The