How to make WebLogic run as a service in Sun Solaris
I have a WebLogic Server 10.3.1 run on Solaris 10. I use oracle user to start WebLogic. But when I logout, the server also down. How to make it still run when user oracle logout the server or the session is disconected automaticly?
you can put the same command in .profile file (hidden file) .. when the user logs in .profile will be executed and so do your startup sommand.
Similar Messages
-
Running JRA recording with Weblogic running as a service
Is it possible to run JRA recording while running the WebLogic application server as a service?
The spec for our environment is as follows:
- JRockit JVM version: JRRT 3.1.0 1.4.2
- Weblogic version: 8.1 SP6
- OS: Windows XP SP3
Ideally, we would like to be able to run JRA recording every hour as an automated process, however as there is no java.exe process to attach to it seems this might not be a possibility? I appreciate is certainly possible to run the application as a console application and attach to the PID of a running java process using JRCMD if WebLogic is not running as a service. Are there any solutions for taking JRA recordings when JRockit is running in a Weblogic Service?Tim,
You can try to run beasvc.exe in debug mode, from a command prompt after the
server is booted. You can run it by: >beasvc -debug ...
This will simulate the service being started in the foreground so that you can
see output messages. You may be trying to run beasvc in a way that is not
intended. If you continue to have issues, you should open a case with BEA
Support.
Regards,
Glenn
Developer Relations Engineer
BEA Support
Tim Isenhart wrote:
I want to collect performance data from weblogic running as a service. I
customized the commandline in the installSvc script and inserted a profiler
class in front of weblogic.Server.
When i start the service, beasvc crashes.
How can i work around this without resorting to running a manual script ?
Thx,
Tim -
I want to collect performance data from weblogic running as a service. I
customized the commandline in the installSvc script and inserted a profiler
class in front of weblogic.Server.
When i start the service, beasvc crashes.
How can i work around this without resorting to running a manual script ?
Thx,
TimTim,
You can try to run beasvc.exe in debug mode, from a command prompt after the
server is booted. You can run it by: >beasvc -debug ...
This will simulate the service being started in the foreground so that you can
see output messages. You may be trying to run beasvc in a way that is not
intended. If you continue to have issues, you should open a case with BEA
Support.
Regards,
Glenn
Developer Relations Engineer
BEA Support
Tim Isenhart wrote:
I want to collect performance data from weblogic running as a service. I
customized the commandline in the installSvc script and inserted a profiler
class in front of weblogic.Server.
When i start the service, beasvc crashes.
How can i work around this without resorting to running a manual script ?
Thx,
Tim -
I have downloaded OS X Mountain Lion from the App Store. It took two hours to download but now its not running and I have no idea how to make it run!
Download was complete and I accepted everything and restarted computer but its still running 10.7.5
Any idea how to get OS X Mountain Lion to run?What you donwloaded was the OS installer. You still have to do the installation.
To get started, double click on the download, then double click again and follow instructions. -
How to make iMac run less hot when in Bootcamp?
When I play a game in win7 trough bootcamp, my iMac gets real hot.
How to make it run cooler?
It sounds like fans could be running faster; but I want it to do it automaticly.Download Lubbo Fancontrol for MacBook Pro to help with the fans.
Lubbo FanControl for MacBook Prohttp://sourceforge.net/projects/lubbofancontrol/
Also these
AIDA64 Extreme Editionhttp://www.aida64.com
http://www.aida64.com/product/aida64-extreme-edition/overview
CCleaner
http://www.piriform.com/ccleaner -
How to start Oracle Enterprise Manager(Oracle 9i) on Sun Solaris 9 platform
Hi
How to start Oracle Enterprise Manager(Oracle 9i) on Sun Solaris 9 platform and Oracle Enterprise Manager(Oracle 10G) on Sun Solaris 10 platform?
Thanks.
RJ.I need to use it to unlock some accounts.There is a SQL command to do that
SQL> alter user <username> account unlock;
Anyway...
$ export ORACLE_SID=chucky
$ emctl start dbconsole -
using:
Oracle weblogic server 11g
Oracle forms and Reports 11g
jdk 1.7.0
jre 7
i found these articles and they helped me start my forms and reports as serices but when i try to make my adminserver a windows service, it does not get past the step for Using the "nmStart" command to start a server.
the 2 articles:
http://docs.oracle.com/cd/E15586_01/web.1111/e13715/manage_servers.htm
http://wlsjavatips.blogspot.com/2009/09/how-to-install-node-manager-as-windows.html
This is what i get when i try to start it after it successfully connects:
http://i1281.photobucket.com/albums/a516/eortiz10/output_zps25fbf82f.png
* It connects to node manager but it does not start. It does start normally if i use "weblogicstart.cmd" but i would like the adminserver to start autmatically when server is on. can u explain/help in anyway.
Do i have to start the adminserver regularly then configure through there?Was a resolution found for this?
We are having the same issue and investigating...
Thanks! -
How to make Robocopy run in the foreground using Scheduled Tasks
Hello everyone!
I am doing a daily backup using Robocopy and Scheduled Tasks running Windows 2012 Server. When it runs, robocopy runs in the background and does not write to log that I am pointing to. How can I make it run in the foreground? Also, is there anyway to write to log only those records that have been copied or purged? what are the best practices for robocopy use?
Here is the script:
date /t >> log.txt
time /t >> log.txt
ROBOCOPY \\CENTURY1\d$\ f:\ /MIR /R:0
time /t >> log.txt
This topic first appeared in the Spiceworks CommunityHello everyone!
I am doing a daily backup using Robocopy and Scheduled Tasks running Windows 2012 Server. When it runs, robocopy runs in the background and does not write to log that I am pointing to. How can I make it run in the foreground? Also, is there anyway to write to log only those records that have been copied or purged? what are the best practices for robocopy use?
Here is the script:
date /t >> log.txt
time /t >> log.txt
ROBOCOPY \\CENTURY1\d$\ f:\ /MIR /R:0
time /t >> log.txt
This topic first appeared in the Spiceworks Community -
How to make silverlight run on my mac
I have to download microsoft silverlight on my mac. Once I do how do I make it run?
Microsoft Silverlight IS a Plugin
If your iMac is an Intel iMac and running, at least OS X 10.5.7 then you can install this plugin.
If you are running OS X 10.5.7 on an older PowerPC iMac, Silverlight cannot be downloaded and won't work.
Are you using this plugin to view Netflix videos on your computer?
You just download it , it will automatically install itself and it works in the background within the web browsers listed in the page I have linked.
Here's the download link
http://www.microsoft.com/getsilverlight/Get-Started/Install/Default.aspx -
How to make servlets reloadable in iplanet web server in solaris??
hi all,
does anyone know how to make servlets reloadable in iplanet ??? Thanks for helpHi there,
I think your question is about "Dynamic Class Reloading", also named as Hot deployment. and the following lines may be helpful.
iAS 6.0 SP3 and later version supports new hot deployment features through dynamic class
reloading of EJBs.By default, dynamic servlet, EJB and registered JSP reloading is disabled in iPlanet Application Server.
To enable dynamic reloading of servlets, EJBs and registered JSPs, perform the following steps:
1.Start iPlanet Registry Editor, kregedit, and modify the Disable value under the Versioning key:
SOFTWARE/iPlanet/Application Server/6.0/CCS0/SYSTEM_JAVA/Versioning
2.Set the Disable value to 0 (By default, the Disable value is set to 1)
3.Restart iPlanet Application Server to enable the change
To hot deploy your application, simply compile and replace the file in the appropriate directory or, use iasdeploy to redeploy
applications.
I recommand you to check out the iAS's release notes (http://docs.iplanet.com/docs/manuals/ias/60/sp3/rn_sp3.html#20766) for more infomation.
Good luck
Shen Jie
Developer Technical Support
Sun Microsystems
http://sun.com/developers/support -
How to install Apache Web Server with PHP on Sun Solaris Sparc machine
Hi,
We are trying to install the Apache Web Server and the PHP package on a Sun Solaris Sparc machine running on SunOS 5.8. We are having compilation problems with the source code of both these packages.
Does anybody know if there are ready solaris packages for Apache and PHP available from where we can download and install instead of source code compilation?
Or any instructions / things to watch for when installing Apache with PHP (if anybody has tried installing Apache with PHP on Sun Solaris earlier) is most welcome.
Thanks,
HarishApache should be bundled along with Solaris check in "/var/apache" in Solaris 8 and Solaris 9
php is available at www.php.net
I found an old document for installing PHP maybe this will help.
Cheers
-Dhruva
+++++++++++++++++++++++++++++++++++++++++++++++++++++++Installing PHP 3.x for Apache 1.x.x on Solaris
Introduction
This document describes how to install PHP for Apache on Solaris.
You should have Apache installed before trying to install PHP.
If you want to use PHP with MySQL then you must install MySQL first.
Before we Begin
1. These instructions assume that you have Apache installed according to instructions.
Getting PHP
1. You must be logged in as root to perform this installation.
su root
2. I save all my downloads in:
/usr/local/dist
If you don't already have one, you may need to create that directory now:
mkdir /usr/local/dist
3. You can get PHP 3.0.14 from here(www.php.net).
cd /usr/local/dist
ftp ftp.php.net
cd pub/distributions
bin
get php-3.0.14.tar.gz
bye
Installing PHP
1. We will install PHP in /usr/local/build, but use a tricky tar command
to do it in on hit from the download directory:
cd /usr/local/dist
tar xvfz php-3.0.12.tar.gz -C ../build
Compiling PHP
1. First let's get where the action is:
cd /usr/local/build/php-3.0.14
2. You now have 3 options:
* Simple PHP install without MySQL - goto step 3
* Simple PHP install with MySQL - goto step 4
* Custom PHP install - goto step 5
3. Simple PHP install without MySQL. Next, jump to step 6.
./configure --with-apache=../apache_1.3.12
4. Simple PHP install with MySQL. MySQL must be installed before you can configure PHP to use it. I recommend that MySQL should always be reachable with /usr/local/mysql. Even if you install it else where you
should create a symbolic link from /usr/local/mysql. Otherwise the compiler can have problems finding the mysqlclient library. The command
should look like this:
./configure with-mysql=/usr/local/mysql with-apache=../apache_1.3.12
Next, jump to step 6.
5. Custom PHP install. Take a look at the available configuration directives by using this command:
./configure --help
6. Now we can make the PHP executable. This may take a while.
make
7. Now we install the PHP module with:
make install
Adding the PHP Module to Apache
1. Now we have to setup Apache to include the PHP module:
cd ../apache_1.3.12
2. Re-configure Apache to use the PHP module. You should use your previous Apache configure command along with the PHP activate module directive.
You can see your previous Apache configure command by doing:
cat config.status
You can configure Apache using the previous command with the added PHP module by doing:
./config.status --activate-module=src/modules/php3/libphp3.a
If you used the simple Apache install from instructions the command will look like this:
./configure prefix=/usr/local/apache activate-module=src/modules/php3/libphp3.a
3. Make and install Apache with PHP enabled:
make
4. We need to stop the server before installing the files:
/usr/local/apache/bin/apachectl stop
5. Now we can install the new binaries:
make install
6. Start apache again (now running the new php enabled version):
/usr/local/apache/bin/apachectl start
Setting Up PHP
1. We have to tell Apache to pass certain file extensions to PHP. We do this in Apache's httpd.conf file.
cd /usr/local/apache/conf
2. Edit the httpd.conf file. If you do a search for php you will find a couple of commented out lines telling Apache to use the PHP module. You should uncomment them to look like this.
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
3. I prefer to use the extension .phtml, you can use whatever extension you like (even .html) by adding lines to httpd.conf like this:
AddType application/x-httpd-php3 .phtml
Check that it Works
1. We have to restart Apache to make these changes take effect on the running server.
cd /usr/local/apache/bin
./apachectl restart
2. Apache should now be running with PHP enabled. The server version should include PHP/3.0b2.
./apachectl status
Apache Server Status for dev.synop.com
Server Version: Apache/1.3.9 (Unix) PHP/3.0.12
Server Built: Oct 25 1999 00:37:07
3. Now it is time to test PHP with a page. The simplest thing to do is create a page called test.php3. My file is here. This file contains the
following text:
<?php phpinfo(); ?>
4. Point your browser at this file on the virtual host which you used:
http://localhost/test.php3 -
WebLogic 6.0 Installation error in Sun Solaris 2.6
I tried to install the evaluation copy of WebLogic App Server in a Sun Solaris
2.6 box and when I run the installer, it stopped because a symbol in a xomEuro.so.2
file was not found.
The installer stopped and showed an error similar to:
../usr/openwin/lib/locale/iso8859-1/xomEuro.so.2: _XlcCompileResourceList: referenced
symbol not found
I will very glad to know what was the problem and of course, how to solve it.
Thank you very much
Michel Fornaris
Senior Web Developer
Baptist Health Systems of South FloridaEvance Mok wrote:
Added "DebugConfigInfo OFF" to the "IfModule" tag in httpd.conf and still no
luck. Stopped the segmentation faults, but we are unable to forward the jsp
request to weblogic. Is the "DebugConfigInfo" parameter in the right
location? Are there any other suggestions?
Also, from the documentation, the "AddModule" command for weblogic is not
added in some cases, why is this the case?This just means that the apxs script does not add it so you will need to add it
manually...
>
>
Thanks,
Evance
"Vittal Gunturu" <[email protected]> wrote:
Hi we are proxying all the jsp requests from apche to wl6 on a solaris 2.7.
Always getting a segmentation fault ..
[Thu Jan 25 10:45:57 2001] [notice] child pid 9107 exit signal Segmentation
Faul
t (11)
Here's the section of the httpd.conf file
LoadModule weblogic_module libexec/mod_wl.so
AddModule mod_weblogic.c
<IfModule mod_weblogic.c>
WebLogicHost 192.168.1.33
WebLogicPort 7001
MatchExpression *.jsp
ErrorPage http://www.yahoo.com
Debug ALL
</IfModule>
Any suggestions
thanks
vittal
This is a known problem. It will be fixed in sp1.
For now, you need to add "DebugConfigInfo OFF" to httpd.conf.
Jong -
How to upgrade oracle 32 to 64 bit on sun solaris x86 64 bit OS?
Hi,
I want to upgrade/convert 32 bit Oracle Database 10.2.0.2 to 64 bit database. Existing 32 bit database is RAC and it is running on Sun Solaris X86 64 bit OS.
First, I want to know is it possible?
If yes, then what are the exact steps?Hi,
Such a migration can be done, just follow the steps in Metalink note 62290.1
It is important to remember that 64-bit database requires more shared pool memory so you should increase your shared pool size.
Liron Amitzi
Senior DBA consultant
[www.dbsnaps.com]
[www.orbiumsoftware.com]
Edited by: Liron Amitzi on Jul 1, 2009 3:08 PM -
How to install weblogic clusters on NT Services
Hi ,
We have servers running in clustered environment, and would like to install
the clustered servers into the Windows NT Services and run from there. We
tried to execute the install.exe under weblogic/bin directory, but looks
like it does not work properly for the clustered environment.(I am not sure
it read the weblogic.properties file under the weblogic/mycluster
directory). Can someone please show us how to do this in more details?
Thanks in advance.
HC
VSNL News wrote:
> Do I need class D addresses for setting up a weblogic cluster
> or any range will do .
Depends on the size of your network.
But your multicast addr should be class D range and should be within
224.0.0.1 to 239.255.255.255, inclusive.
Refer java.net.MulticastSocket
>
>
> My cluster basically consists of three NT machines all
> having addresses in Class C range , When I start the cluster
> the Weblogic console shows them in the cluster for a while
> but after some time all drop out without throwing any exceptions leaving
> only one machine in the cluster.....
>
> The best sign for this is that they stop leasing objects to each other.
what version of WLS? service pack level? How are you starting the server and
joining the cluster.
Do you see each server creating connections to other servers after
successfully in the cluster..
Pls provide more details.
have you gone through this document.
http://www.weblogic.com/docs51/admindocs/ntservice.html#multiple
Kumar
[att1.html]
-
How to make a WORKING J2ME Web Services client?
Hi everyone,
I'm trying to make my first J2ME client for web services (well, I need it for my degree thesis, so I'm a little bit DESPERATE) but I've got a lot of problem that I don't understand, even with samples downloaded from web tutorials and from xmethods.net.
The problem is with the generation of Stub classes:
if I try to make the Java Wireless TollKit 2.2 to generate them and then I run the midlet in the JWTK emulator there's no problem, but when I try to do the same thing with the Nokia Developer's Suite 3.0 I've got a lot of problems, first of all the java code generated for the stub is very different from the first one, it seem like a C# or J# code (and obviously Eclipse says that it's full of errors), so when I try to make the jar and jad files it doesn't work (because is not a right java code), so I made the stub classes using the JWTK2.2 Stub Generator and then I used the Nokia Dev's Suite 3.0 to build and package the midlet, but it says that it's not able to find the "class or resource javax/xml/rpc/Stub" even if the resource is present and used exactly as all the other packages, and it creates a jar file with just some of the classes but not all. At the end I tryed to run in the nokia emulators the midlet created by the JWTK 2.2, but it doesn't start, so I put the midlet on two diffent Nokia phones (6600 and 6630, because I need to make my client work on the 6630) but it seems to make the virtual machine to crash. I erased all the code lines invoking the stub classes and added them again one by one, until the midlet stoped again to work, and I understand that the problem seems to be with the invocation of the costructor of the stub class, but it doesen't make no sense, because the same code works properly on not-Nokia phones and emulators. I used many different wsdl files to create the stub classes for different web services, but there's always the same problems.
Help me please.You will find some working code at :
http://ksoap.objectweb.org/software/downloads/index.html
It's code that use kSOAP and kXML implementations ....
If you will also find some useful information here :
http://developers.sun.com/techtopics/mobility/apis/articles/wsa/
http://www-106.ibm.com/developerworks/wireless/library/wi-jsr/
http://www-106.ibm.com/developerworks/wireless/library/wi-xmlparse/
Regards.
Maybe you are looking for
-
Test call of transport control program(tp) ended with return code 0208 (urg
Hello to all , When i am trying to transport a report program i am getting this error . So please kindly help . it is urgent . thanks in advance.
-
All of the sudden my iPad (1st generation) isn't being recognized by
All of the sudden my iPad isn't being recognized by any of my PC's. The PC's are working fine (they are still recognizing our iPhones) and I'm pretty sure that the problem is with my iPad. Please help!!!
-
URGENT: Reset by coding.
Anyone know how to reset a form by coding in plsql or javascript ??? I want the form reset when its apears withoyt pressing the reset buton. Thanks
-
Hi, does anyone know how I can call the wizard to import a flat file from an expert? Regards Ottar.
-
How do I list bookmarks in the centre of the screen below the bookmarks button
when I click on the bookmarks icon it opens the bookmarks menu on the left-hand side of the screen but I want to be able to just list the bookmarks in the centre of the screen underneath the bookmarks icon. I used to be able to do this but since rese