Problems installing Sun ONE Web Server 7.0 on an x86 with Solaris 10
I am trying to install the new Sun ONE Java Web Server 7.0 on my Solaris 10 machine. This is the error I am getting:
|-1%--------------25%-----------------50%-----------webResources:errorCreatingLogFile
Task Failed: java.lang.NullPointsswhereException
java.lang.NullPointerException
at com.sun.web.installer.web.actions.PostInstall_core.install(PostInstall_core.java:273)
at com.sun.install.products.InstallComponent.performInstallation(InstallComponent.java:1465)
at com.sun.install.products.InstallNode.startInstall(InstallNode.java:1086)
at com.sun.install.products.InstallComponent.performInstallation(InstallComponent.java:1457)
at com.sun.install.products.InstallNode.startInstall(InstallNode.java:1086)
at com.sun.install.products.InstallComponent.performInstallation(InstallComponent.java:1457)
at com.sun.install.products.Product.performInstallation(Product.java:651)
at com.sun.install.tasks.ProductTask.perform(ProductTask.java:153)
at com.sun.wizards.core.Sequence.perform(Sequence.java:343)
at com.sun.wizards.core.SequenceManager.run(SequenceManager.java:226)
at java.lang.Thread.run(Thread.java:595)
This is not a permissions issue, and there are no errors in the /var/sadm/install/logs. Please keep!
Kristie N. Howard
Hope, you are considering Sun Web Server 6.1 (formerly known as iPlanet Enterprise Server ) for this task. Yes, it is possible to host multiple instances of web server on a same machine.
you can create multiple instances using our GUI. here is the pointer to our docs on how to do this - http://docs.sun.com/app/docs/doc/819-6512/6n8h7gq1n?a=view#bhabr
If you are willing to give Sun Java System Web Server 7 (our latest release - http://www.sun.com/webserver) , then you can do this by CLI as well.
sun one portal server 3.0 - is a very old release. Are you sure, is this what you want to run ?
hope this helps
Similar Messages
-
Problem installing Sun Java Web Server
Hi
I'm trying to install Sun Identity Server which need Sun Java Web Server...
I try to install identity server and web server using Sun Java Enterprise System Install Wizard...
When I came to page Identity Server:Sun Java System Web Server (3 of 6 ) and I entered Hostname, dir1.usmnet, I get an error pop-up window stating Host Name is not valid......but if I typed dir1.domain.com the error message didn' t appear.....
I'm using Solaris 9 on Intel platform. I have setup my network and able to ping to other valid hostname in my LAN....
FYI my network information are as follows
/etc/hosts
127.0.0.1 localhost
<my ip > dir dir.usmnet loghost
/etc/hostname.elxl0
dir1
/etc/resolv.conf
domain usmnet
nameserver <dns server ip>
search usmnet
I have also setup /etc/netmasks and /etc/defaultrouter
When I type the domainname command, nothing appeared
What when wrong, I could ping to my dns server and to other computer in this LAN, could anybody give a suggestion ?OK, found the solution by myself.
The Administrator's Guide mentiones the possibility to install a certificate with the wadm CLI, so I tried that:
wadm> install-cert -v --config=www -y server -n Server-Cert /www.crt
Please enter token-pin>
ADMIN4086: The Certificate could not be installedThe CLI Reference Manual says for the command install-cert, option --replace*:
"Note --replace option of install-cert CLI is deprecated
and currently using this option may not work as expected.
For replacing a CA-signed certificate, users should delete the
cert using delete-cert CLI and then install the new one
using install-cert CLI."
wadm> install-cert -v --config=www -y server -n Server-Cert --replace /www.crt
Please enter token-pin>
ADMIN4112: No Private key foundOK, so maybe if I had installed the first certificate (before generating the new CSR) that would have worked, I don't know.
Deleting the old cert doesn't work at once:
wadm> delete-cert -v --config=www Server-Cert
Please enter token-pin>
ADMIN4139: Certificate Server-Cert is being referred to by listeners: http-listener-2So before deleting you have to remove the certificate from the listener. Then:
wadm> delete-cert -v --config=www Server-Cert
Please enter token-pin>
CLI201 Command 'delete-cert' ran successfully
wadm> install-cert -v --config=www -y server -n Server-Cert /www.crt
Please enter token-pin>
CLI201 Command 'install-cert' ran successfullyAfter re-adding the certificate to the ssl listener and deploying all the changes to the servers
everything is fine.
F.D. -
Problems with Sun One Web Server 6.1 javax.xml.xpath package not found
I used myeclipse to build an xml app and tested on jboss. it worked perfectly. However when i deployed it to our solaris sun one web server the app fell apart completely with the following error. I m unable to figure out what went wrong. Any help will be much appreciated.
Thanks.
[11/Dec/2007:22:12:37] failure (13539): for host 121.247.233.169 trying to GET /feeds/rss.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP
/opt/SUNWwbsvr/test/ClassCache/test/_jsps/_feeds/_rss_jsp.java:8: package javax.xml.xpath does not exist
import javax.xml.xpath.*;
^Thanks for the response. I tried to use xalan package which resolved the javax.xml.xpath package not found error (xalan.jar in WEB-INF/lib folder). However I m now getting the following error. Probably incompatible version is the reason. Please advise!
[11/Dec/2007:23:46:28] failure (17028): for host 121.247.233.169 trying to GET /feeds/rss.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
javax.servlet.ServletException: org.apache.xpath.XPathContext.<init>(Z)V
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536)
at _jsps._feeds._rss_jsp._jspService(_rss_new_jsp.java:627)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)
at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)
at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
----- Root Cause -----
java.lang.NoSuchMethodError: org.apache.xpath.XPathContext.<init>(Z)V
at org.apache.xpath.jaxp.XPathImpl.eval(XPathImpl.java:207)
at org.apache.xpath.jaxp.XPathImpl.evaluate(XPathImpl.java:281)
at _jsps._feeds._rss_new_jsp._jspService(_rss_jsp.java:165)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)
at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)
at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580) -
Config sun one web server???
Hi all,
I have just install Sun One Web server 6.1, Sun One Directory 5.2 and Sun One Instant Messaging 6.1 together on Win2K advance server. And I have successful launch Sun� ONE Instant Messenger.
But I can not know, how to create LDAP user ID and password to Login to Sun ONE Instant Messenger???
are there something I must config on Sun One Web server 6.1???
Could anyone help me to solve this problem?
I'm looking forward to receive your reply soon.
ThanksWell I came across this exact error today while doing some backwards compatibility testing for the load balancer plugin.
Turns out it was my own fault, as I was trying to use the wrong version of the lbplugin (libpassthrough.so) for
the Web Server version I was using. I was using the ES6.0 version on ES6.1 and I got that exact "referenced symbol not found" message in the webserver Errors log.
Once I used the correct lbplugin library for sjws6.1, everything started perfect.
So double check the version of the lbplugin you are using is made for the correct version of the web server you are running. It's easy to mess up since all of the libraries are the same name [libpassthrough.so] -
Error when starting Sun ONE Web Server 6.1SP4 after successful installation
I have installed Sun ONE Web Server 6.1SP4 on my Solaris computer and I receive the following error when I try to start the Admin server:
Sun ONE Web Server 6.1SP4 B01/20/2005 17:43
failure: CORE3170: Configuration initialization failed: Error running init funct
ion load-modules: dlopen of /opt/SUNWwbsvr/bin/https/lib/libj2eeplugin.so failed
(ld.so.1: webservd: fatal: relocation error: file /opt/SUNWwbsvr/bin/https/lib/
libares3.so: symbol __res_state: referenced symbol not found)
I am running Solaris 8 and I have installed Patch 108993-22 as stated in chapter 2 of the installation and migration guide. I have also installed patches 116602-01, 115827-01, 113648-03, 112396-02, 111317-05, 111310-01, 111111-04, 111023-03, 110386-03, 108987-15, and 108528-24 since they are necessary for patch 108993-22.
I have been stumped by this error. I have tried several different ways to install this software but I always get the same error. I believe that I have the latest version of the Sun One Web Server and I received no error notifications when I installed it! Any help would be apeciated!
Thanks!!!!!I think this might occur if you don't have the patch for SunAlert 46042 installed. There's more information on this critical Solaris security vulnerability, which was reported back in 2002, at http://sunsolve.central.sun.com/search/document.do?assetkey=1-26-46042-1
Can you run the following command to check if you have patch 109326-09 installed and let us know the result?showrev -p | grep 109326If you don't have 109326-09 or higher installed, you should install it as soon as possible. You can follow the link from the SunAlert. Better yet, install the latest Solaris 8 recommended patch cluster from http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-access to make sure your system is fully patched and up to date. -
Sun one web server 6.0 admin instance
Hi,
After installing Sun one web server 6.0 sp6 on HP-UX, the admin server instance seems to work fine (i.e. I can bring up the admin web page). However, I cannot bring up web page from other web server instance. it gives me this error "the page cannot be displayed". Am I supposed to get a default webpage from this web server? How can I tell if this web server is working properly? Please help.
thanks,
PaulHi,
thanks for your prompt reply Joe. No, I don't get anything in the access log but I got some error messages in error log. It looks like the error indicates the web server crashed. Please help. I've been struggling to get this web server running and it's going nowhere.
"[24/Dec/2003:08:40:19] catastrophe ( 8291): Server crash detected (signal SIGBUS)
[24/Dec/2003:08:40:19] info ( 8291): Crash occurred in NSAPI SAF NSServletNameTrans
[24/Dec/2003:08:40:26] failure ( 8290): Child process admin thread is shutting down
[24/Dec/2003:08:40:26] info ( 8326): Installing a new configuration
[24/Dec/2003:08:40:26] info ( 8326): [LS ls1] http://hpusam20, port 1040 ready to accept requests
[24/Dec/2003:08:40:26] info ( 8326): A new configuration was successfully installed
[24/Dec/2003:08:40:26] warning ( 8326): Port directive ignored
[24/Dec/2003:08:40:26] warning ( 8326): The server configuration may require more file descriptors than the operating system provides. If you encounter PR_PROC_DESC_TABLE_FULL_ERROR errors, you may wish to increase the operating system hard file descriptor limit from 1024 to 5763 (see your operating system documentation) or decrease one or more of the following settings: MaxFiles in nsfc.conf and ConnQueueSize, RqThrottle, and MaxKeepAliveConnections in magnus.conf." -
While starting sun one web server error message
i have installed sun one web server 6.1,then i tried to start it from start up menu icon "start server administration server".the command prompt just displays and goes off.then i tried to start it from command prompt by giving path
"C:\Sun\WebServer6.1\https-pcname.com>startsvr".
error comes like this
C:\Sun\WebServer6.1\https-pcname.com>net start https-pcname.com Access is denied
can any one help me to solve this .You most probably don't have admin priviledges required to start a service on this Windows machine.
-
Core dump when stop sun one web server 6.1 SP6
Hi all,
I install the sun one web server 6.1 sp6 and run as FastCGI mode. Each time i stop the web server, the "core" file is generated. The following is the steps which I setup the web server:
Server Path: /i03_01/SUNTest
1. Install Sun One Web Server 6.1 SP6
2. Install FastCGI library
3. Install php4.4.2
./configure prefix=/i03_01/php-fcgi enable-fastcgi
make
make install
4. copy the php binrary to /i03_01/SUNTest/bin
5. vi magnus.conf
Init fn=load-modules shlib="/i03_01/fastcgisp4/plugins/fastcgi/libfastcgi.so"
6. vi mime.types
type=magnus-internal/fastcgi exts=php
7. vi obj.conf
<Object name="default">
Service type="magnus-internal/fastcgi"
fn="responder-fastcgi"
app-path="/i03_01/SUNTest/bin/php"
max-procs="20"
app-env="PHP_FCGI_CHILDREN=2"
app-env="PHP_FCGI_MAX_REQUEST=1000"
restart-interval="60"
app-env="PHPRC=/i03_01/SUNTest/https-www/config"
</Object
8. Start the Web Server
9. Open the browser, run any php programs. (the php process will be created at this time)
10. Stop the web server (* core file is generated at /i03_01/SUNTest/https-www/config)
Here are the error logs:
1. /var/adm/messages
Dec 15 15:05:54 hkpu30 genunix: [ID 603404 kern.notice] NOTICE: core_log: Fastcgistub[17146] core dumped: /var/cores/Fastcgistub.hkpu30.17146.core
2. Fastcgistub.log
<<<<<< ERROR LOG >>>>>>
Fastcgistub - version (1)
created child - 17492
clean stub
stopping child exit handler
stopping monitoring
terminating child - 17492
3. pstack core file
core 'core' of 17491: Fastcgistub -b /tmp/https-hkpu30.polyu.edu.hk-e7343eaa/Fastcgistub_174
fee07f70 fprintf (0, 18ef0, fee43a54, ffbef3c0, 0, 49db8) + 34
000172d4 __1cNserveRequests6F_v_ (9c, 0, 4c, 18ebc, 18f02, 0) + 260
00017aec main (bc, ffbef624, 0, 299bc, 18f35, 299b8) + 4f8
00012f34 _start (0, 0, 0, 0, 0, 0) + 108
Any one can help me?
Thanks.This has been fixed. But the plugin whch contains the fix (as part of Web Server 6.1) is not available for download yet.
Meanwhile, you can try using the FastCGI plugin bundled with Web Server 7.0 Techonology Preview ( http://www.sun.com/download/products.xml?id=446518d5 ) -
Sun One Web Server instance not starting
I have installed Sun One Web server 6.1. The administrator server is starting up. However, the instance of the web server through which I want to serve the web pages is not starting. Altough, there are no error messages that are shown when I am starting the server. Please help.
I would check the logs directory for a PID file. It could be that there is a bogus pid file and when it tries to start you will get no error message. If there is a PID file delete it and try again.
-
Sun One Web Server 6.1 | Install wildcard certificate
Hello everyone. I am new to this forum. I'll start off by saying that I am very "green" with the Sun One Web Server as well.
My question/problem pertains to installing a wildcard certificate on our server. I am not able to find good documentation on this, so I am hoping that some of you could provide some guidance or, better yet, a link to documentation specifically for the Sun One Web Server 6.1.There is no difference with installing a wildcard or any other certificate. You simply create a CSR and specify an asterix instead of the hostname followed by a . and your domainname for the subject, send it to a CA and get back a certificate that you import.
-
Problem with maxprocs 1 on Sun One Web server 6.1
I am using sun one web server on Unix with maxprocs set to 3.
This means that there are 3 jvms running my application under 1 instance. However I have certain components like an application cache that I would like to share between these 3 processes.
Additionally is there a way to configure the server so that requests from 1 session are served by 1 process only.
I am really stuck here. Have searched in all the documentation, but in vain. Would really help if some one of the Sun Developers could answer this.
Thanks
ChetanElving,
It is great to hear that there is no predefined limit on number of sessions but if that's the case why the webserver always starts with 1000 allowed by default. Are there any potential performance reasons behind it?
I have your link open in my browser for a few days now as a reference because I am experimenting with different Session Managers. I am trying to find a solution for BheegaChicken to be able to accomodate several thousand simultaneous sessions for his application.
We use V6.0SP2 and SP6 and for BheegaChicken's app specifically V6.1SP2...
I have spent some time in the past looking for the answers how to handle higher then 1000 sessions capacity on one instance and that was even before V6.1 was out. I have found the following reco that talks about optimal performance for sites using threads:
http://docs.sun.com/source/816-5690-10/perf6.htm#17580
*** start qoute
Multi-Process Mode
You can configure the server to handle requests using multiple processes with multiple threads in each process. This flexibility provides optimal performance for sites using threads, and also provides backward compatibility to sites running legacy applications that are not ready to run in a threaded environment. Because applications on Windows NT generally already take advantage of multi-thread considerations, this feature applies to Unix/Linux platforms.
The advantage of multiple processes is that legacy applications that are not thread-aware or thread safe can be run more effectively in iPlanet Web Server. However, because all the Netscape/iPlanet extensions are built to support a single-process threaded environment, they may not run in the multi-process mode, and the Search plug-ins will fail on startup if the server is in multi-process mode.
In the multi-process mode, the server spawns multiple server processes at startup. Each process contains one or more threads (depending on the configuration) which receive incoming requests. Since each process is completely independent, each one has its own copies of global variables, caches, and other resources. Using multiple processes requires more resources from your system. Also, if you try to install an application which requires shared state, it has to synchronize that state across multiple processes. NSAPI provides no helper functions for implementing cross-process synchronization.
If you are not running any NSAPI in your server, you should use the default settings: one process and many threads. If you are running an application which is not scalable in a threaded environment, you should use a few processes and many threads, for example, 4 or 8 processes and 128 or 512 threads per process.
MaxProcs (Unix/Linux)
Use this directive to set your Unix/Linux server in multi-process mode, which may allow for higher scalability on multi-processor machines. If you set the value to less than 1, it will be ignored and the default value of 1 will be used.
Tuning
You can set the value for MaxProcs by:
Editing the MaxProcs parameter in magnus.conf
Setting or changing the MaxProcs value in the Magnus Editor of the Server Manager
Note You will receive duplicate startup messages when running your server in MaxProcs mode.
*** end quote
If it is not relevant anymore please explane.
I am still interested to understand which of the SessionManagers is recommended by Sun to have optimal performance for sites with high number of sessions and using threads. It is not really obvious from http://docs.sun.com/source/817-6251/pwasessn.html. On top of this that's documented just for V6.1. What about V6.0?
Thank you very much for your cooperation!
Sasha aka ttalex -
Using private key installed on Sun One web server in java code.
Hi,
I am digitally signing an XML string. I have been able to successfully do this using the .keystore and the JSSE API.
I need to run this code in the SUN ONE Web server, hence I have installed a self signed cert in the web server, using the web console.
I need to load the .keystore that is being maintained by the Sun One Web Server in my Java program as a �KeyStore� object
Presently I am using the following JSSE calls:
KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType());
// Load the keystore contents
FileInputStream in = new FileInputStream(keystoreFile);
keystore.load(in, keystorePassword);
in.close();
Now how do I access the keystore and the certs that I have added in the web server? Is there any SUN API for this?
Any help will be appreciated!
Regards,
Nandan
Message was edited by:
NANDANThe global zone should offer no services to the network except services required to administer the system. SSH from known IPs. Put everything in zones for the security of the system. Zones have no performance penalty so there is no advantage to running on the host system in the global zone.
Sun's Java Enterprise server software webserver, directory server, etc required a full zone due to Solaris Package issues or conflicts; writing stuff in /usr; or both. A whole root for this software should not be a big deal. I create zones 9 at a time numbered in sequence. Zone 8 and 9 are whole root zones for requirements such as this.
I'll leave to others to alert us if the whole root zone requirement changes for Sun's Java Enterprise Server software.
Message was edited by:
jgmarce -
Problems while installing Sun ONE Directory Server.
Hi all,
I'm a newbie to LDAP amd my problem is -
When I started Installing SunONE DS on machine first time, at the end of the installation, it thrown an error message.
"The program cant start because nss3.dll is missing from your computer. Try reinstalling the program to fix this problem."
Later, I copied nss3.dll file to "C:\Windows\System32" and then started the installation then it thrown error again as follows -
"Configuration of the Directory Server failed.
Error Directory Server configuration failure
Checking connection to the Configuration Directory Server... failed.
The Administration Server cannot be configured.
Error Administration Server configuration failure
Error Configuration of the server(s) failed.
Click Next to continue. "
What is the reason behind this?Bingo, It worked. Yup, I'm using SODS 5.2, I have copied all .dll files from nsbasesystem.zip to "C:\Windows\System32".
but now the problem is -
Sun One Directory server service is running
but
Sun ONE Administration server process is not running
I have tried to start it manually but it didn't worked. It initiates the starting of process and then suddenly shows error message that
"The Sun ONE Administration server 5.2 service on local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs." -
Problem Re-Installing Sun One App Server 7 on Solaris 8
I will try my best to describe my problem.
I successfully installed Sun One App Server 7 Standard Edition on Solaris 8. It was installed on a mounted secondary hard disk. That hard disk has since gone bad. I bought a new hard disk and have that mounted.
I want to install Sun One App Server 7 again. I am installing through the GUI, but do not the options to install the server even though it is completely gone. I guess the installer seems to think that the product is already installed, even though the previous hard disk with all of the application server files are gone. Is there any way to uninstall or remove the installed status of the application server so I can reinstall?
Thanks.Thanks! I tried the prodreg tool and found the Application Server node, and clicked Uninstall. It went through an uninstall process. Even though it came back with an error, the re-install process after worked great. Thanks again.
-
Help for Installing PHP and Sun One Web Server
Hi
I tried to install PHP 5.1.4 and Sun One Web Server 6.1. I am not able to complete this and got stuck. All the available materials in net seems to flow above my head.
It will be very helpful if someone could let me know the step by step configuration a bit brief for the same.
Thanks in advance
Kathirvel BalakrishnanHi Craig
I am following these steps,
1st step : Installing PHP on the WindowsNT server (NT users only)
Copy the php files on your server
Get the php zip file
Copy the php files under a directory (for example : d:php4)
(be careful don't use c:Program Filesphp because of the space between Program and Files
copy php4ts.dll to c:winnt and msvcrt.dll if you don't already have it on your system
Edit php.ini-dist
rename php.ini-dist to php.ini
Edit php.ini : Indicate in which directory you have copied youre php files. (extension_dir = d:php4extensions ; directory in which the loadable extensions (modules) reside.)
copy php.ini in winnt directory (php.ini is parsed in my config)
Matthias Kramer told me that he had to move php.ini to <path-to-netscape-server>/https-servername/config for it to be parsed
Make a file association under Windows NT
In a DOS Window, type assoc .php=PHPScript
ftype PHPScript=d:php4php.exe %1 %*
Test the 1st step
Create a C:test.php file with a single line like <? echo("Nothing to write"); ?>
Create a C:test.bat file with 2 lines test.php
pause
double-clic on test.bat
If you see something like X-Powered-By: PHP/4.0.3
Content-type: text/html
Nothing to write
then the NT association works!!
2nd step : Configuring Netscape Enterprise Server or iPlanet for PHP4 with nsapi (NT & UNIX)
Unix users only
Compile PHP as follows: ./configure --with-nsapi=/usr/local/netscape/server4 --enable-libgcc
make
make install
Add LD_LIBRARY_PATH=<libdir> to your Netscape server startup script
where <libdir> is the full path to the directory where libstdc++.so.2.10.0 is located (usually /usr/local/lib)
Add a mime-type to the Netscape Server
In the Netscape Administration console chose Preferences|Mime Types
Add a new type called magnus-internal/x-httpd-php for exts=php
Click here for screenshot
Stop your Web Server
Make a copy of obj.conf located in: <path-to-netscape-server>/https-servername/config
Modify obj.conf
There are several section in obj.conf
At the end of the Init section of obj.conf (necessarely after mime type init),
place this two lines For NT users
Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" shlib="d:/php4/sapi/php4nsapi.dll"
Init fn="php4_init" errorString="Failed to initialise PHP!"
For Unix users
Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" shlib="/usr/local/netscape/server4/bin/libphp4.so"
Init fn="php4_init" errorString="Failed to initialise PHP!"
In The < Object name="default" > section,
place this line (necessarely after all 'ObjectType' and before all 'AddLog' lines) Service fn="php4_execute" type="magnus-internal/x-httpd-php"
Add a new object called x-httpd-php <Object name="x-httpd-php">
ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
Service fn=php4_execute
</Object>
Restart your Web Server
Test the 2nd step
Put the test.php file in the document root of your server
Then type http://server/test.php
If you can see "nothing to write" in your browser then it works!
AS mentioned in step 1,
I am not getting the PHP message.
I am installing it in my laptop, it has no IP, is that has to do something with this.
Please guide me from here.
Thanks in advance
Kathirvel
Maybe you are looking for
-
Jabber for Windows v9.1 FCS - Dial String Issue
I thought the capability to cut and past phone numbers that started with a "(" was fixed in the newere version of J4W. I just tried a copy/paste of a number pulled from the internet, but Jabber doesn't recognize it as a phone number. A number that is
-
Is there an APP to monitor call usage and number of texts sent
Is there an APP to monitor call usage (in minutes) and number of texts sent etc so I can ensure I am keeping within my contract? I am getting my 3GS on Thursday so do not know if the phone has this facility already inbuilt or whether there is an app
-
WebUtil and Jacob Setting for AIX Server
Dear All I am using forms 10G. I have done the setting for webUtil and Jacob in my pc for browse button to be and it is working fine . But can any one please tell me the steps for implement these things in AIX server .I mean how to configure this to
-
Pull the data from legacy System into report and display with SAP data
Hi Friends, My requirement is- Create report by processing data from SAP tables and prepare output.And Before displaying the output, I have to pull the data from non-sap system which is readymade (It will come as flat file with similar fields as Repo
-
Painting jpeg in java application: non-static method ... static context
Hi! I simply want to show a jpeg within a java application. Showing the jpeg in an applet is no problem (see code below). But I have difficulties to translate this code to a java application. No matter what I try to load the jpeg, I end up with the f