weblogic11g

How do I have weblogic reload cached JSPs on restart

北慕城南 提交于 2019-12-18 15:29:49
问题 Our method of deploying a new version of an app for weblogic (11g) is to copy over top of the existing ear file and then stop and restart the weblogic server. We do a start/stop of weblogic rather than a redeployment, because of the known permgen issue (where eventually we will run out of perm gen and have to bounce the weblogic server). However, this method of deploying has a drawback-- new JSP versions are not seen by weblogic. In order to fix this we have had to wipe out the contents of

java.lang.NoSuchMethodError: javax/persistence/spi/PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode

折月煮酒 提交于 2019-12-18 06:13:48
问题 When i am deployed my war file (it is working fine in Tomcat ) in Weblogic, i keep getting error. My technologies spring 3 hibernate jpa webservice(metro) My library My error is #### > (BasePersistenceUnitInfoImpl.java:158) at weblogic.deployment.PersistenceUnitInfoImpl.(PersistenceUnitInfoImpl.java:39) at weblogic.deployment.AbstractPersistenceUnitRegistry.storeDescriptors(AbstractPersistenceUnitRegistry.java:349) at weblogic.deployment.AbstractPersistenceUnitRegistry

.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory

痞子三分冷 提交于 2019-12-17 20:07:38
问题 I am upgrading Weblogic server from 9 to 10.3.6. when I am trying to deploy my ear application and got below exception. Caused By: java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:123) at org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:89) at org

Custom arguments to set in Weblogic JVM

纵饮孤独 提交于 2019-12-17 19:18:41
问题 I need a custom property to set per each server JVM in Weblogic. What is the better approach doing it? I know we can specify the argments like below: In the Domain Structure pane, expand the Servers node. Click the name of the server that you want to configure. In the right pane, click Server Start. Select Lock & Edit. In the Arguments text box, provide the JVM options. After inserting your options, click Save. Then click Activate Changes. Restart the server so that the new settings are used.

weblogic jdbc Datasource error BEA-001131 Closed Connection

♀尐吖头ヾ 提交于 2019-12-13 07:28:51
问题 I have Installed weblogic 10.3.5 with jrocket 1.6.0_33. Oracle Fusion Middleware 11.1.1 on Windows Environment. On database side I have Oracle database 11gR2 RAC environment with Two instance on Linux Environment. I have created GRIDLINK DataSource with XA DRIVERS. NAME: test JNDI: jdbc/testDS NOTE: I have used SCAN IP for this DataSource configuration. FAN ENABLED checked. ONS HOST : scan-ip:6200 Not using "ONS Wallet". DataSource was created successfully. Testing is done. Now when I start

Unable to edit OHS Configuration Files in Enterprise Manager

梦想与她 提交于 2019-12-13 04:59:35
问题 So I got this issue in Oracle Enterprise Manager 11g. I've installed it successfully and everything seems fine - all green! BUT when I try to edit settings with the OHS eg right click performance directives I get the following error Failed to invoke operation load on MBean oracle.as.management.mbeans.register:type=component,name=ohs1,instance=asinst_1,Location=AdminServer Load failed with IOException Anyone got this before and know how to fix this? Regards, V 回答1: So I managed to fix this

Where to put a .jar file in an exploded EJB module

£可爱£侵袭症+ 提交于 2019-12-13 04:38:27
问题 I am deploying a JMS module to work alongside a servlet application. While I am writing (and testing and rewriting) my module, the module is not stored in a JAR file; it is in an exploded directory doubling as an Eclipse project directory. (In the production environment, it will be in a jar.) My JMS module does logging with log4j. My question is: where do I put the log4j.jar file so my EJB can find it? I tried various locations, including a directory named lib/, but nothing seemed to work. (I

Weblogic 11g: Managed Server is not starting from Weblogic console

南楼画角 提交于 2019-12-12 04:46:25
问题 i have some strange situation: When i am trying to start managed server on the console i get the following error on Nodemanager: PM weblogic.nodemanager.server.Handler run WARNING: I/O error while closing socket connection java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:135) at java.net.SocketInputStream.read(SocketInputStream.java:122) at weblogic.utils.io.ChunkedInputStream.read(ChunkedInputStream.java:159) at weblogic.security.SSL

Load external properties files into EJB 3 app running on WebLogic 11

柔情痞子 提交于 2019-12-11 23:33:06
问题 Am researching the best way to load external properties files from and EJB 3 app whose EAR file is deployed to WebLogic. Was thinking about using an init servlet but I read somewhere that it would be too slow (e.g. my message handler might receive a message from my JMS queue before the init servlet runs). Suppose I have multiple property files or one file here: ~/opt/conf/ So far, I feel that the best possible solution is by using a Web Logic application lifecycle event where the code to read

weblogic.ejbc compiler is deprecated : EJB Application deployment in WebLogic 12c

柔情痞子 提交于 2019-12-11 08:02:24
问题 I'm using EJB 2.1, jdk 1.6 with Weblogic 11g for application development. Latest I have been process of deploying application in WebLogic 12c. As I understood from online source, I need to have jdk 1.7 and higher to run application in weblogic 12c. I also getting below error, when I compile EJB 2.1 with JDK 1.7 or higher. DEPRECATED: The weblogic.ejbc compiler is deprecated and will be removed in a future version of WebLogic Server. Please use weblogic.appc instead. java.lang