weblogic

Connection error - connection refused

谁说我不能喝 提交于 2019-12-24 17:17:16
问题 I am developing an Android app, using Mobile ADF in JDeveloper 11. I used weblogic server with SOAP service. When I test the webservice, its working fine, but I am getting this error after deployment on Android emulator - "cannot connect to 127.0.0.1 on port 7101: java.net.ConnectionException:connection refused". 回答1: use 10.0.2.2 instead of 127.0.0.1 and for SOAP use port 8080 instead of 7701 回答2: Use 10.0.2.2 instead of 127.0.0.1 10.0.2.2 Special alias to your host loopback interface (i.e.,

Using the WebLogic JSP Compiler in Tomcat

寵の児 提交于 2019-12-24 12:18:16
问题 We are developing a webapp using WebLogic 10.3.4. our UI team is experiencing pain with the slow turnaround times between a JSP edit and seeing the results in their browser. Things are a lot easier with Tomcat 7.0 but this uses a different JSP compiler from the one we are targetting. My question is, is it possible to swap out the default compiler in Tomcat and replace with the one from WebLogic? If so, how would I do this? We know that the WebLogic compiler can be called from the command line

“Current request is not a portlet request” error running Liferay portlets on WebLogic using Spring 3.0.5 and aop with a request scope bean

霸气de小男生 提交于 2019-12-24 09:28:34
问题 Has anyone seen and resolved this error? Caused by: java.lang.IllegalStateException: Current request is not a portlet request at org.springframework.web.portlet.context.PortletApplicationContextUtils.currentRequestAttributes(PortletApplicationContextUtils.java:194) at org.springframework.web.portlet.context.PortletApplicationContextUtils.access$0(PortletApplicationContextUtils.java:191) at org.springframework.web.portlet.context.PortletApplicationContextUtils$WebRequestObjectFactory.getObject

What causes java.net.MalformedURLException: no protocol: when trying to deploy .ear in weblogic?

半城伤御伤魂 提交于 2019-12-24 08:57:12
问题 I am trying to deploy an EAR file. I am new to weblogic. I am using oracle enterprise pack for eclipse. I have a running weblogic server. I created an Enterprise Application Project My application.xml is: <?xml version="1.0" encoding="ASCII"?> <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun

Anyone tried Cluster automation with WLST?

青春壹個敷衍的年華 提交于 2019-12-24 07:19:16
问题 Most of the production env might need a automation script for Clusters. Reason is whenever there is a need of enhance the sites need to add new cluster to existing domain. When there is a decommissioned a physical site that needs removal of cluster from the domain. There is also possibility of "Growth" of Cluster (adding managed servers to a cluster). Finally there is also need of decommission of machines which requires removal of servers from the cluster. Menu 1. Add a Cluster 2. Del a

Can multiple projects have the same context-root?

廉价感情. 提交于 2019-12-24 06:33:52
问题 I am going to build a many web services using weblogic and JAX-RS. To keep things simple I was going to place each service in its own project. But the problem I seem to be having is with setting the context-root for each project. Can multiple projects that are deployed on the save weblogic server have the same context-root? 回答1: of course not. how do you expect weblogic knows which web application you are calling? edit: however, it is possible to give one web application a context root of

Can multiple projects have the same context-root?

帅比萌擦擦* 提交于 2019-12-24 06:32:14
问题 I am going to build a many web services using weblogic and JAX-RS. To keep things simple I was going to place each service in its own project. But the problem I seem to be having is with setting the context-root for each project. Can multiple projects that are deployed on the save weblogic server have the same context-root? 回答1: of course not. how do you expect weblogic knows which web application you are calling? edit: however, it is possible to give one web application a context root of

Weblogic doesn't close files (but does close connections)

ε祈祈猫儿з 提交于 2019-12-24 06:04:18
问题 Dears, we're running into a 'too many open files' issue. We've made some progress but the issue is still there... We use cxf on weblogic on aix. relevant cxf configuration: <http-conf:conduit name="*.http-conduit"> <http-conf:client Connection="close" /> </http-conf:conduit> When executing this code: for(int i=0;i<1300;i++){ response = callService(request).call(); } (we don't intend to use this code in production but it's to troubleshoot the issue) -> the first run succeeds; -> the second run

Passing value from Servlet to JSF Action method in WebLogic

假如想象 提交于 2019-12-24 05:23:07
问题 I am trying to pass an Object from Servlet 's doPost() to JSF's Managed bean 's action method. But I am unable to do that. I have tried to set the value from Servlet as: request.getSession().setAttribute(key, "JYM"); And tried to retrieve it form Managed bean as: FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get(key) It is returning null . Also this is also returning null from Managed bean : ((HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext()

log4j:ERROR Attempted to append to closed appender named

ぐ巨炮叔叔 提交于 2019-12-24 02:04:54
问题 We have about 19 applications in our weblogic 8.1 server. Each application is an .Ear application with a few ejbs, mdb etc., Each application has a log4j properties defined in a .properties file somewhere in the filesystem. We keep getting this error(below) in the server logs for all the applications. This exception is not caught in the application, the flow of the application does not stop, but we miss a log statement or two when this exception occurs. log4j:ERROR Attempted to append to