weblogic

DeploymentException & Class Not Found on WebLogic Admin Server 11g

纵饮孤独 提交于 2019-12-04 06:06:38
问题 Related: Load external properties files into EJB 3 app running on WebLogic 11 Using Oracle Enterprise Pack for Eclipse, I created an Enterprise Project and named it: PropertiesDemoEAR Also created a PropertiesDemoEARWeb module in which I put this code (inside PropertiesDemoEARWeb / Java Resources / src / com.project.util): package com.project.util; public class PropertiesFileHandler extends ApplicationLifecycleListener { private static final String FILE = "C:/etc/error.properties"; public

is weblogic-maven-plugin available from maven center repository?

陌路散爱 提交于 2019-12-04 05:27:00
When i run my maven build script i get Plugin com.oracle.weblogic:weblogic-maven-plugin:2.9.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.oracle.weblogic:weblogic-maven-plugin:jar:2.9.1: Could not find artifact com.oracle.weblogic:weblogic-maven-plugin:pom:2.9.1 in central (http://repo1.maven.org/maven2) But when i search in repository i can see it there http://search.maven.org/#search|ga|1|weblogic-maven-plugin Why this plugin is not available? As Oracle WebLogic is not an open source product, Oracle has decided not to publish their Maven

Eclipse WTP: “The import ___ cannot be resolved for” error in a JSP file for a class defined in project

杀马特。学长 韩版系。学妹 提交于 2019-12-04 04:54:02
问题 A Visual Studio user struggling w/ Eclipse... I imported a set of servlets/JSPs into a project in Oracle Workshop for Weblogic. /page.jsp has the following import statement: import="com.foo.bar.*" Eclipse is displaying an error: The import com cannot be resolved. The class that implements the above import is in /WEB-INF/src but I don't know how to build the class in Eclipse to resolve that error. I assumed Eclipse would automagically build the .java file and place the output in /WEB-INF

How to set up X-POWERED-BY in weblogic.xml?

☆樱花仙子☆ 提交于 2019-12-04 04:53:44
问题 Here stated that it is possible to set X-POWERED-BY header appearance. But I don't see any way how to define this property through weblogic.xml . Anyone know how to do this? In general, these properties can be overridden at the cluster level (in ClusterMBean, if the same property is present there), the server level (in ServerMBean, if the same property is present there) or for a specific Web application (in weblogic.xml) http://docs.oracle.com/cd/E11035_01/wls100/wlsmbeanref/core/index.html

JavaEE API for WebLogic

荒凉一梦 提交于 2019-12-04 04:32:46
问题 There are different server specific JavaEE API implementations like: glassfish-javaee or jboss-javaee. They are distributed as a separate .jar file and could be attached to some project using Maven dependencies. Is there something like this desinged specifically for WebLogic AS? I expected weblogic.jar file contains requered artifacts, but it doesn't look like this. Any ideas? 回答1: Ideally you would want to use the javaee-api dependency, not something that is server specific. For the things

Where is WebLogic Jar containing javax.servlet in 10.3?

时光怂恿深爱的人放手 提交于 2019-12-04 03:39:29
I am trying to configure my path to include javax.servlet with WebLogic. WebLogic has split out the Jar files, so which one contains javax.servlet? Starting with WebLogic 10, BEA externalized the implementation of API specs from weblogic.jar into various "modules". They now bundle a new api.jar in {BEA_HOME}/wlsever_10.3/server/lib/ that contains just a MANIFEST.MF which points to {BEA_HOME}/modules/*.jar . These modules include all API specifications as well as features provided BEA/ORACLE. So, for Servlet API 2.5, indeed include {BEA_HOME}/modules/javax.servlet_1.0.0.0_2-5.jar . I found them

Unable to start WebLogic remotely to Debug

允我心安 提交于 2019-12-04 03:17:46
问题 I setup my remote WebLogic server to debug, using these options: -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=${DEBUG_PORT},server=y,suspend=n -Djava.compiler=NONE" I started WebLogic on the server and saw that it was listening on 8453 for dt_socket. I added the remote server on my local Eclipse and tested the connection. I also see that the server is STARTED and I can view the details. However, I'm unable to restart in DEBUG. I also stopped WebLogic on the server and now in

java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(); from WeldMessageConveyor

≯℡__Kan透↙ 提交于 2019-12-04 01:05:32
问题 I get the following exception when I try deploying my webApp on weblogic12: weblogic.application.ModuleException: java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class org.jboss.weld.logging.WeldMessageConveyor at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140) at weblogic.application.internal.flow

How to retrieve Weblogic's Deployment test points through Weblogic Java API

断了今生、忘了曾经 提交于 2019-12-04 00:50:58
I'm working on a Weblogic health monitoring code base, which is based on JMX. I am trying to get the list of all deployment test points (the http addresses, as shown in the following snapshot), and see if that web address is reachable or not. Is there a way to access the list of these test points in Weblogic's Java API? They are under [server_name] --> deployment (left menu) --> [app name] --> Testing pane, under " Deployment Tests " table. There is no direct method call to generate test urls. but from wlst or mbeans you can gather information about server url port and application context. and

JMS performance

断了今生、忘了曾经 提交于 2019-12-03 22:29:41
I'm having a bit of trouble with understanding JMS from a performance perspective. We have this very straightforward code in our application: QueueConnection connection = null; QueueSession session = null; QueueSender sender = null; TextMessage msg = null; try { // The JNDIHelper uses InitialContext to look up things QueueConnectionFactory qcf = JNDIHelper.lookupFactory(); Queue destQueue = JNDIHelper.lookupQueue(); // These objects are created for every message, which is quite slow connection = qcf.createQueueConnection(); session = connection.createQueueSession(false, Session.AUTO