weblogic-10.x

Does Node Manager through WLST in Weblogic 10.3.4 call startWeblogic.cmd

点点圈 提交于 2019-12-12 02:15:11
问题 I am using weblogic 10.3.4 and have a WLST script which does the following 1. Creates a Domain 2. Create JDBC 3. Start NodeManager 4. Connect to Nodemanager 5. And Deploy my App Below are the relevant sections of my script templatehome = domainhome + "/wlserver/common/templates/domains/wls.jar" readTemplate(templatehome) create('MyDomain', 'Domain') cd('/Security/MyDomain/User/weblogic') cmo.setName(domainuserid) cmo.setUserPassword(domainpwd) writeDomain(domainlocation + '/'+ domainname) --

How to change context-root for enterprise application (.ear) in weblogic

点点圈 提交于 2019-12-12 01:22:48
问题 We have third party web based enterprise application, which is deployed on weblogic server and can be accessible using http://hostname:port/myApp But, due to some reason, we wanted to change context-root for this application, so that it must be ONLY accessible using http://hostname:port/newApp So, to achieve this, we tried changing application.xml <?xml version = '1.0' encoding = 'utf-8'?> <application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema

Implementing SAML2 SP-initiated use case with Weblogic 10.3.4. and ADFS

故事扮演 提交于 2019-12-11 23:05:46
问题 I am trying to implement the SP-initiated use case. For this what I have is: Identity Provider: a Federation Service (Active Directory). For me is a "black box". The only thing that I am suppose to provide to this service is the name, url and home page of my application. Also I have to provide an XML with the metadata of my Service Provider. Service Provider: Weblogic Server (10.3.4). Here I have configured a security realm, creating a Authentication Provider and a Credential Mapper Provider.

Auto-instantiate session-scoped bean from view-scoped bean

℡╲_俬逩灬. 提交于 2019-12-11 20:14:33
问题 Every time I try to inject a session-scoped bean into my view-scoped beans, I get a NullPointerException when calling said bean. This problem is directly related to auto -instantiate a session bean? Here is what I tried so far: faces-config.xml <managed-bean> <managed-bean-name>sessionBean</managed-bean-name> <managed-bean-class>com.example.SessionBean</managed-bean-class> <managed-bean-scope>session</managed-bean-scope> </managed-bean> <managed-bean> <managed-bean-name>viewBean</managed-bean

JSF/Primefaces - Ajax request sometimes skips JSF phases

假装没事ソ 提交于 2019-12-11 20:13:55
问题 Been at this problem for a while and I am kind of stuck. Using: JSF 2.0, Primefaces 3.5, Weblogic Server 10.35, IE 9 Problem: Sometimes ajax request are not processed correctly and you need to click multiple times to get the desired outcome. When I debug JSF phases I can see that after phase 1, restore view, the render response phase is executed skipping update model and the invoke application phase. I have striped my application to the bare minimum and the problem still occurs. xhtml: <h

Directories with random numbers as foldername being created that contain .ser files

a 夏天 提交于 2019-12-11 17:31:06
问题 So in our weblogic 10.3 server there are folders being generated with random names (such as "7nxxd", "tpy16q"). Inside each of these is the same subdirectory structure: <randomfilename>/.tld_cache/WEB-INF/tld/ c.tld/ fn.tld/ spring-form.tld/ fmt.tld/ spring.tld/ tiles-jsp.tld/ Each of these directories has 2 files: crc.ser and des.ser. Why are these files being created? Is there a way to specify the directory that they get written to besides the random name? 回答1: JavaEE servers will

Axis2 Weblogic 10 jar conflict

大兔子大兔子 提交于 2019-12-11 13:33:49
问题 I am trying to deploy a axis2 webservice client on Weblogic 10 server. However i get the below error : java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136) at weblogic.servlet.internal.WebAppHelper$IOHelperImpl.parseXML(WebAppHelper.java:247) at weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:350) at weblogic.servlet.internal.WebAppHelper.parseTagLibraries(WebAppHelper.java:142) at weblogic

MQJMS2005 exception failed to create MQQueueManager

只谈情不闲聊 提交于 2019-12-11 06:56:50
问题 In my GetJMSMessage, I used this: MQQueueConnectionFactory cf = new MQQueueConnectionFactory(); cf.setPort(port); cf.setHostName(host); cf.setChannel(channel); cf.setTransportType(JMSC.MQJMS_TP_CLIENT_MQ_TCPIP); cf.setQueueManager(queuemanager); conn = (MQQueueConnection)cf.createQueueConnection(); This works when I run my class as a standalone app. However, when I deployed my project in Weblogic 10, it gave a JMSException error. IBM MQ is deployed remotely and I have no access to it. The

Weblogic + Change deployment order via command

元气小坏坏 提交于 2019-12-11 06:24:57
问题 I am using ant script to undeploy and deploy the application to weblogic server. For a particular application I want to setup the "Deployment Order" a different value. Is there any way I can mention the deployment order via ANT. Please assist. 回答1: The weblogic.Deployer utility and its ANT version wldeploy do not provide a feature to set the Deployment Order while deploying the Application. The order can only be updated after the deployment. You can still automate it with WLST if that's what

error appears in jdeveloper 11g 11112

我的梦境 提交于 2019-12-11 05:06:31
问题 i need help on compiling my project in jdeveloper 11g. previously my application (jsp+servlets) works smoothly in jdeveloper 10g with oc4j (deploys in WAR file). but since i migrate to jdeveloper 11g, it appears several errors like this : <Nov 27, 2009 1:13:50 PM WIT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1259302429721' for task '2'. Error is: 'java.lang.ClassNotFoundException: oracle.dmt.op.re.base.Enum$EnumType' java.lang