WL 6 on NT as a Service - how to modify classpath
We want to modify the classpath of WebLogic to include classes of other
products we use (like SpatialFX) so our server programs can get to them.
Since we have WL running as a service how do we do this - short of
uninstalling the service, modifying the install script, and reinstalling
the service?
Thanks
How does the startDomain.cmd file get called when running as an NT
Service.
We did modify it but it doesn't appear to be called when running as a
service.
Thanks
Charlie Crook wrote:
Modify the startDoman.cmd file
"Tom Gerber" <[email protected]> wrote in message
news:[email protected]..
We want to modify the classpath of WebLogic to include classes of other
products we use (like SpatialFX) so our server programs can get to them.
Since we have WL running as a service how do we do this - short of
uninstalling the service, modifying the install script, and reinstalling
the service?
Thanks
Similar Messages
-
How to modify -classpath dynamically?
use classpath to execute an application:
java.exe -cp c:\lib; TheApp
while TheApp is running, maybe another classpath is required (i.e. user uses FileChooser from TheApp to select a directory: c:\any_dir).
my Q is:
how to add c:\any_dir as a new classpath dynamically afterwards to make TheApp's enviornment the same as following command:
java.exe -cp c:\lib; c:\any_dir; TheApp
thxYou cannot modify the class path specified on the command line on runtime.
However, what you can do is make a ClassLoader that loads classes from the path you want, and use it to load the classes you want. (Ugh what a horrible sentence..)
You can find sample code for creating a URLClassLoader e.g here: http://developer.java.sun.com/developer/onlineTraining/Security/Fundamentals/magercises/URLClassLoader/solution.html -
Reporting Services - How to open a second table inside report, for each number of client (each apears in first table)?
Exemple:
Table1
Cliente name:
John
Client number:
12345
Survay number of negative answers:
3
Table2
Questions and answers that were negative:
Question: How much time where you waiting
Avaluation: 3 (from 1 to 10)
Answer: They only called me 1 mouth later
Can you please help me?Hi,
Based on the description, I understand that you want to add subreport in the main report. When previewing the main report, the subreport can be shown in detail. Please see the screenshots on my test:
In Reporting Services, we can create parameters and pass them from main report to subreport in order to control the data dynamically.
References:
Subreports (Report Builder and SSRS)
Add a Subreport and Parameters (Report Builder and SSRS)
If I have any misunderstanding, please feel free to contact me.
Regards,
Heidi Duan
Heidi Duan
TechNet Community Support -
im trying to install itunes but it keeps telling me "service 'apple mobile device' failded to start verify that you have sufficient privileges to start system services" how do i fix this?
Try the following user tip:
Troubleshooting issues with iTunes for Windows updates -
I am having problems up loading Itunes, comes up that 'Apple mobile Device failed to start. Verify that you have sufficient privileges to start system services' how do i fix this??
Hello hurleygirl63,
Thank you for the details of the issue you are experiencing with iTunes. I recommend following the steps in the article below:
How to restart the Apple Mobile Device Service (AMDS) on Windows
http://support.apple.com/kb/TS1567
Thank you for using Apple Support Communities.
Best,
Sheila M. -
User Profile Services:How get to know how many user are using my site.
Hi,
User Profile Services:How get to know how many user are using my site.
Recently i have done migration sharepoint 2010 to sharepoint 2013,I did not migrate USer profile services because less user are using user profile here,but i need to know how many few uer are using my site for data store.
Is any why we can get to know user name who are using my site document library and other things.
Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
|
| TwitterFallowing command shows only count of my site user ,I need to know how many upload data on my site
Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
|
| Twitter -
I have no service how do i get it?
I have no service how do i get it?
Hello Kipley12,
It sounds like you are seeing "No Service" on your iPhone. I recommend the following steps:
Symptoms
iPhone may display one of the following symptoms in the status bar:
Displays No Service or Searching in an area of good coverage
Does not regain service when returning to an area of coverage
Resolution
If you encounter any of the above symptoms on your iPhone, try these steps to attempt to resolve the issue. Test after each step.
Try turning iPhone off and then on again.
Remove the SIM card and verify that it is a valid, carrier-manufactured SIM. Also verify that it is not damaged, worn, or modified. Then reinsert it.
Check for a carrier settings update. Tap Settings > General > About while connected to a Wi-Fi network. If an update is available, a prompt should appear soon. If Wi-Fi is not available, connect your device to iTunes.
Update your iPhone to the latest version of iOS.
Restore the iPhone.
If you're still experiencing No Service issues, contact your carrier to check for any network or account issues that could cause this issue.
iPhone: Troubleshooting No Service
http://support.apple.com/kb/ts4429
Thank you for posting in the Apple Supprot Communities.
Best,
Sheila M. -
How to set classpath to take classes in conf \ jboss.service.xml file
Hi,
I just want to put some classes which are in a package say 'mypack' in the lib folder . In the jboss.service.xml file the classpath is set to codebase="lib" archive=" * " > but this won't work for classes which are not in any of the jar files. how to do this?.. pls help me.
Thanks in advance
SudheerCould you package your classes into a jar file?
Fil -
Failed to retrieve Analysis Engine Service How to fix
my Shorepoint is 2013 And i now is search is have proplem
On event logs show Failed to retrieve Analysis Engine Service
how to fix it please help me T_T
Best Regrads
chatchai-netdHi,
Per my knowledge, SharePoint 2013 Search services should not be required to the SQL analysis service, however, you can try to install it in SQL Server 2012 with SP1.
For this issue, you can try to just Ctrl+F5 and reset the index, also check if there is any URL not exist in the Start Addresses of the Local SharePoint Sites.
http://techchucker.wordpress.com/2013/04/12/sharepoint-2013-search-stopped-working/
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/MS-SharePoint/Q_28095194.html
And, you can recreate a new search service application in the Central Administration.
If it not works, you can use the PowerShell to recreate the search service application as below.
http://jsuhail.blogspot.com/2014/01/search-has-encountered-problem-that.html
http://microsoft-techies.blogspot.com/2014/03/search-has-encountered-problem-that.html
What’s more, to quickly and accurately find the issue, you can check the event log and ULS log to see if anything unexpected occurred.
For SharePoint 2013, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS.
For more information, you can refer to:
http://sp-vinod.blogspot.com/2014/02/getting-results-failed.html
https://social.technet.microsoft.com/Forums/exchange/en-US/3f1e94ce-aa3e-4a0a-ab14-8d1e3bee5e78/sharepoint-2013-search-has-encountered-a-problem?forum=sharepointdevelopment
https://social.technet.microsoft.com/Forums/exchange/en-US/73019f94-54f5-4308-9cf8-a7025ecd3228/search-has-encountered-a-problem-that-prevents-results-from-being-returned-if-the-issue-persists?forum=sharepointsearch
https://social.technet.microsoft.com/Forums/exchange/en-US/88fc7028-290f-4a09-9e47-ec7b0bf2c980/search-has-encountered-a-problem-that-prevents-results-from-being-returned?forum=sharepointsearch
Thanks,
Yumi Fu
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]. -
Just recieved my iphone4 and i have no service, how long will it take to activate?, Just recieved my iphone4 and i have no service, how long will it take to activate?
Normally activation should only be a matter of minutes, but if your iTunes library (where you're trying to activate the phone) is in a place where you have no cell service, it will not activate until you take it to a place where you do have service.
So if it is sitting idle and not activating that could be a reason (happened to me). If you're a Verizon customer you may have to dial *228, then press 1 to finish the activation. -
i want to use the internet on my ipone4 but it says that im not subscribed to a mobile dater service how can i fix this
Subscribe to a mobile data service.
Call your provider and make sure you have a data package. -
once you set up a account for data service and just want one month service, how do you cancel after the month
Hi Glenrose,
That would be between the you and the carrier that you have the contract with. In the past, I was able to purchase only one month of service from AT&T. Not sure what carrier you have or what contract you have, but you would have to cancel it with them.
Cheers,
GB -
hi. I've updated my iphone 5s to IOS 7.1.1. But it makes my iphone no service. how to repair it? help me please., hi. I've updated my iphone 5s to IOS 7.1.1. But it makes my iphone no service. how to repair it? help me please.
Hi Deegii hair,
Thanks for visiting Apple Support Communities.
You can use the steps in this article to troubleshoot a "No Service" message on your iPhone:
iPhone: Troubleshooting No Service
http://support.apple.com/kb/ts4429
Best Regards,
Jeremy -
On my iPhone 5s it says no service how can I fix this?
on my iPhone 5s it says no service how can I fix this?
Hi
These are the recommended apple steps for no service see if any of this works:
http://support.apple.com/kb/ts4429
Hope this helps -
Error 500--Internal Server Error:How to modify req.setReportAbsolutePath
I test a servlet but I get following errors. I use OBIEE 11g and Jdeveloper 11.1.1.3
How to modify the source code and the req.setReportAbsolutePath?
===============error====================
http://127.0.0.1:7101/Application4-Project4-context-root/bipservlettest
Error 500--Internal Server Error
java.lang.NullPointerException
at java.io.OutputStream.write(OutputStream.java:58)
at mywebcenter.BipServletTest.doGet(BipServletTest.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
========source code============
package mywebcenter;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.*;
import javax.servlet.http.*;
import com.oracle.xmlns.oxp.service.publicreportservice.AccessDeniedException;
import com.oracle.xmlns.oxp.service.publicreportservice.AccessDeniedException_Exception;
import com.oracle.xmlns.oxp.service.publicreportservice.DeliveryRequest;
import com.oracle.xmlns.oxp.service.publicreportservice.InvalidParametersException;
import com.oracle.xmlns.oxp.service.publicreportservice.InvalidParametersException_Exception;
import com.oracle.xmlns.oxp.service.publicreportservice.LocalDeliveryOption;
import com.oracle.xmlns.oxp.service.publicreportservice.OperationFailedException;
import com.oracle.xmlns.oxp.service.publicreportservice.OperationFailedException_Exception;
import com.oracle.xmlns.oxp.service.publicreportservice.PublicReportService;
import com.oracle.xmlns.oxp.service.publicreportservice.PublicReportServiceClient;
import com.oracle.xmlns.oxp.service.publicreportservice.PublicReportServiceService;
import com.oracle.xmlns.oxp.service.publicreportservice.ReportRequest;
import com.oracle.xmlns.oxp.service.publicreportservice.ReportResponse;
import com.oracle.xmlns.oxp.service.publicreportservice.ScheduleRequest;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.net.URL;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.xml.namespace.QName;
public class BipServletTest extends HttpServlet {
private static final String CONTENT_TYPE =
"text/html; charset=windows-1252";
private static PublicReportServiceService publicReportServiceService;
public void init(ServletConfig config) throws ServletException {
super.init(config);
public void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException,
IOException {
response.setContentType(CONTENT_TYPE);
OutputStream os = response.getOutputStream();
//PrintWriter out = response.getWriter();
String sid = "";
System.out.println("===57===");
publicReportServiceService = new PublicReportServiceService(new URL("http://localhost:9704/xmlpserver/services/PublicReportService"),
new QName("http://xmlns.oracle.com/oxp/service/PublicReportService",
"PublicReportServiceService"));
PublicReportService publicReportService =
publicReportServiceService.getPublicReportService();
//To get a session id
System.out.println("===64===");
try {
sid = this.getSessionID("weblogic", "welcome1", publicReportService);
} catch (AccessDeniedException_Exception e) {
System.out.println("invalid user");
//To generate a report and display it
System.out.println("===72===");
ReportResponse res = this.getReportInSession(publicReportService, sid);
byte[] binaryBytes = res.getReportBytes();
os.write(binaryBytes);
response.setContentType(res.getReportContentType());
public String getSessionID(String username, String password, PublicReportService publicReportService) throws AccessDeniedException_Exception {
String sid = publicReportService.login(username, password);
return sid;
public ReportResponse getReportInSession(PublicReportService publicReportService,
String sid) {
ReportRequest req = new ReportRequest();
ReportResponse res = new ReportResponse();
System.out.println("===89===");
req.setAttributeFormat("pdf");
req.setAttributeLocale("en-US");
req.setAttributeTemplate("Simple");
req.setReportAbsolutePath("E:\\OracleBI_win2008_32_20101206\\user_projects\\domains\\bifoundation_domain\\config\\bipublisher\\repository\\Reports\\Samples\\11g Overview\\W2 2010.xdo");
//req. setSizeOfDataChunkDownload (-1); //download all
try {
System.out.println("99");
res = publicReportService.runReportInSession(req, sid);
System.out.println("101");
System.out.println("===100==="+res.getReportContentType());
} catch (Exception e) {
System.out.println(e);
System.out.println("===107===");
return res;
============Jdeveloper console==================
[Another instance of the application is running on the server. JDeveloper redeploy the application.]
[Application Application4 stopped but not undeployed from Server Instance IntegratedWebLogicServer]
[Running application Application4 on Server Instance IntegratedWebLogicServer...]
[12:45:14 PM] ---- Deployment started. ----
[12:45:14 PM] Target platform is (Weblogic 10.3).
[12:45:14 PM] Retrieving existing application information
[12:45:14 PM] Running dependency analysis...
[12:45:14 PM] Deploying 2 profiles...
[12:45:15 PM] Wrote Web Application Module to C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\Application4\Project4WebApp.war
[12:45:15 PM] WARNING: Connection ApplicationDB has no password. ApplicationDB-jdbc.xml file not generated for connection ApplicationDB.
[12:45:15 PM] Wrote Enterprise Application Module to C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\Application4
[12:45:15 PM] Redeploying Application...
[12:45:17 PM] Application Redeployed Successfully.
[12:45:17 PM] The following URL context root(s) were defined and can be used as a starting point to test your application:
[12:45:17 PM] http://192.168.1.17:7101/Application4-Project4-context-root
[12:45:17 PM] Elapsed time for deployment: 4 seconds
[12:45:17 PM] ---- Deployment finished. ----
Run startup time: 3547 ms.
[Application Application4 deployed to Server Instance IntegratedWebLogicServer]
Target URL -- http://127.0.0.1:7101/Application4-Project4-context-root/bipservlettest
===57===
===64===
===72===
===89===
99
javax.xml.ws.soap.SOAPFaultException: oracle.xdo.webservice.exception.OperationFailedException: PublicReportService::generateReport failed: due to oracle.xdo.servlet.CreateException: Report definition not found:E:\OracleBI_win2008_32_20101206\user_projects\domains\bifoundation_domain\config\bipublisher\repository\Reports\Samples\11g Overview\W2 2010.xdo
===107===
<Dec 8, 2010 12:45:24 PM PST> <Error> <HTTP> <BEA-101020> <[ServletContext@26496369[app:Application4 module:Application4-Project4-context-root path:/Application4-Project4-context-root spec-version:2.5]] Servlet failed with Exception
java.lang.NullPointerException
at java.io.OutputStream.write(OutputStream.java:58)
at mywebcenter.BipServletTest.doGet(BipServletTest.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
Truncated. see log file for complete stacktrace
>
<Dec 8, 2010 12:45:24 PM PST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Dec 8, 2010 12:45:24 PM PST. Notification details:
WatchRuleType: Log
WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
WatchData: DATE = Dec 8, 2010 12:45:24 PM PST SERVER = DefaultServer MESSAGE = [ServletContext@26496369[app:Application4 module:Application4-Project4-context-root path:/Application4-Project4-context-root spec-version:2.5]] Servlet failed with Exception
java.lang.NullPointerException
at java.io.OutputStream.write(OutputStream.java:58)
at mywebcenter.BipServletTest.doGet(BipServletTest.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = WIN-IT8WDLG81KH TXID = CONTEXTID = 55211ca27b9d1dfd:bd42a62:12cc7606a10:-8000-000000000000009c TIMESTAMP = 1291841124147
WatchAlarmType: AutomaticReset
WatchAlarmResetPeriod: 30000
>
<Dec 8, 2010 12:45:34 PM PST> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\users\administrator\appdata\roaming\jdeveloper\system11.1.1.3.37.56.60\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_12 with a lockout minute period of 1.>am able to login
http://192.168.75.140:7001/console/login/LoginForm.jsp
from this environment-> servers-> all servers(adminserver,soa_server1, oim_server1, oam_server1) status is running,and health is ok.
I have started these servers from command line <base_domain/bin/sh startManagedWebLogic.sh oim_server1
result is <server started in running mode>
now I shutdown the oam_server1 and oim_server1
again I started the oim_server1 as above
command line result is < <May 30, 2013 7:54:47 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
but in (http://localhost:7001/console) window oim_server1 status is unknown...
Maybe you are looking for
-
How to pass the field value from module pool program to smartform using submit?
// AT pai of module pool pgm i entered the following: here gv_orderid is my value to be available at smart form(driver pgm) & zmusic_store_smf is the driver program of my smartform. gv_orderid= wa-itemid./ SUBMIT ZMUSIC_STORE_SMF VIA SELECTION-SCREEN
-
Unable to start Oracle Soa suite 10g on Windows 7
I am able install oracle soa suite 10g on Windows7 platform. But I am unable to start Oracle Soa Suite 10g. Wenever I am starting the SOA suite a new window is popping up the default color scheme of windows 7 is getting changed, but after that this w
-
Translate function of oracle, equivalent function in informatica?
Hi All, I know its off topic but i am stuck very very badly and this place turns out to be he best for my issues, here is my problem: lets say i hve fname coming from a flatfile and the first name is 'rahul' , it should be translated as '12345' usin
-
How can I get flash player downloaded to my iPad?
How can I get the flash player on my iPad ?
-
if my apple smart cover scratches the side of my ipad 2 will apple replace the ipad, I purchased apple care for it aswell