weblogic

Best Way to Launch External Process from Java Web-Service?

心已入冬 提交于 2020-01-01 18:53:27
问题 I've inherited a Java web-services code-base (BEA/Oracle Weblogic) and need to start/launch an external background application from a web-service. I've already tried: ProcessBuilder pb = new ProcessBuilder(arg); pb.start(); as well as: Runtime.exec(cmdString); But am experiencing strange behaviors when launching applications in this manner (i.e. the launched application stops working even though the process is still active. -- The application works fine when manually run from a normal command

Java argument to specify Java.Security file for JVM

怎甘沉沦 提交于 2019-12-31 20:19:30
问题 I'm looking for a java argument (or perhaps some different method) to allow me to specify a file to be used by the JVM as the java.security file, rather than using the one found in the JDK (in the JRE lib). To give you a little more context, I am working with a WebLogic server that was set up by someone else and is running two (or more) different JVMs off the same JDK. We have run into an issue now where the work I'm doing on one JVM requires a different java.security file than the one that

Weblogic or JBoss? [closed]

送分小仙女□ 提交于 2019-12-31 08:43:21
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I am a long time Java developer on JBoss(and Tomcat). In the last year I had to develop over WebLogic and I have to say - I really

Weblogic or JBoss? [closed]

元气小坏坏 提交于 2019-12-31 08:43:07
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I am a long time Java developer on JBoss(and Tomcat). In the last year I had to develop over WebLogic and I have to say - I really

Find name of all application running on a WebLogic server through a java web application

旧街凉风 提交于 2019-12-31 05:39:35
问题 Lets say I have 4 applications (app1, app2, app3, app4) running on a WebLogic Server. I am writing a new web application in Java, that will run on the SAME server, and the purpose of the application will basically be to list all the web applications running on the same server. So, it should list (app1, app2, app3, app4) Now I know that I can use WLST script to gather the names of all the applications on the server, but I need to access these names in my java application. Any ideas? Thanks 回答1

T3 client with custom SSLSocketFactory

一笑奈何 提交于 2019-12-31 05:37:07
问题 I have my T3 client code like this: private InitialContext initContext() { Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory"); p.put(Context.PROVIDER_URL, context.providerURL); for (Map.Entry<String, String> entry : getEnvironmentProperties().entrySet()) { p.put(entry.getKey(), entry.getValue()); } InitialContext res = null; try { res = new InitialContext(p); } catch (NamingException e) { e.printStackTrace(); } return res; } My t3

Error while deploying Spring Batch in Weblogic BeanCreationException: Error creating bean with name 'jobRepository'

倖福魔咒の 提交于 2019-12-31 05:21:52
问题 I want to test Spring Batch, but I need to use it without maven or gradle because there are some restrictions in the network. I read a tutorial on spring and the spring documentation to configure a Job, but I get an "Error creating bean with name 'jobRepository'" This question has been asked already without an answer. I'm using Jeveloper and Weblogic 12.1.3.0.0. My project has the following dependencies which I get from another project configured with Eclipse Maven: com.ibm.jbatch-tck-spi-1.0

Eclipse WebLogic debugging

自作多情 提交于 2019-12-31 04:08:25
问题 I know you can debug by just clicking the debug icon in Eclipse. Is it possible to start WebLogic from the command line with debugging and still debug? When I do that, in Eclipse under server I see that the status is "Started", not "Debugging". Can this only be done by setting up remote debugging? 回答1: You need to add parameters to the JAVA_OPTIONS in the startWebLogic.cmd (or startWebLogic.sh): -Xrunjdwp:transport=dt_socket,server=y,address=1044,suspend=n -Xdebug Then, in Eclipse you have to

java.lang.IllegalStateException: Could not find backup for factory javax.faces.application.ApplicationFactory

大兔子大兔子 提交于 2019-12-31 02:26:06
问题 I have upgraded application to use javax.faces-2.2.4 and primefaces-4.0 jars.After deploying my application to weblogic from myeclipse I am getting below error: Jan 10, 2014 2:37:13 PM javax.faces.FactoryFinder$FactoryManager getFactory SEVERE: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory. Attempting to find backup. Jan 10, 2014 2:37:13 PM com.sun.faces.config.ConfigureListener contextDestroyed SEVERE: Unexpected

weblogic.application.ModuleException: Context path '' is already in use by the module: / application:

家住魔仙堡 提交于 2019-12-30 17:33:23
问题 When i am trying to run weblogic server 12c , it is throwing this error and is unable to start. <Apr 16, 2013 2:42:57 PM IST> <Warning> <HTTP> <BEA-101384> <WLServlet annotation is deprecated, please use servlet 3.0 annotation instead. App:acsportal@acs-portal.war, Class:oracle.adfinternal.view.faces.activedata.AdsServlet> <Apr 16, 2013 2:42:58 PM IST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application "acsportal" due to error weblogic.application.ModuleException: Context