Joomla on Sun webserver 7 php safe_mode

Hi,
Trying to install joomla on solaris 10 with sun webserver 7 and mysql. Got php installed and working fine, but when going through the joomla config, it needs safe_mode to be set to Off. However, when I make this change in the php.ini file its not reflected in phpinfo(). Its like its still set to on. I have confirmed that the php.ini settings are being read as other changes are reflected. Just seems to have a problem with this setting. Any ideas?
Thanks,
Darren

I installed php using the phppack and followed the sun docs. sun/webserver7/plugins/php
Also, with suns pack I think safe_mode is On by default from what I can tell.
Thoughts?
OUTPUT:
PHP Version 5.2.0
System SunOS joomla.lethbridgecollege.ab.ca 5.10 Generic_118833-33 sun4u
Build Date Jan 29 2007 22:23:57
Configure Command './configure' '--prefix=/java/re/phppack/5.2.0/nightly/ws/b01-2007-01-29/solaris-sparc/dist/5.2.0/SunOS5.8_OPT.OBJ/php' '--bindir=/java/re/phppack/5.2.0/nightly/ws/b01-2007-01-29/solaris-sparc/dist/5.2.0/SunOS5.8_OPT.OBJ/php/bin/' '--libdir=/java/re/phppack/5.2.0/nightly/ws/b01-2007-01-29/solaris-sparc/dist/5.2.0/SunOS5.8_OPT.OBJ/php/lib/' '--libexecdir=/java/re/phppack/5.2.0/nightly/ws/b01-2007-01-29/solaris-sparc/dist/5.2.0/SunOS5.8_OPT.OBJ/php/libexec/' '--enable-force-cgi-redirect' '--disable-rpath' '--enable-safe-mode' '--enable-ftp' '--enable-sockets' '--enable-memory-limit' '--enable-inline-optimization' '--enable-zlib' '--enable-soap' '--with-dba' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-sqlite-utf8' '--enable-zend-multibyte' '--enable-bcmath' '--enable-exif' '--enable-magic-quotes' '--enable-wddx' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--enable-gd-native-ttf' '--with-pcre-regex=/h/iws-files/s/b/c/pcre/6.7/SunOS5.8_OPT.OBJ' '--with-iconv-dir=/h/iws-files/s/b/c/libiconv/1.11/SunOS5.8_OPT.OBJ' '--with-libxml-dir=/h/iws-files/s/b/c/libxml2/2.6.27/SunOS5.8_OPT.OBJ' '--with-zlib=/h/iws-files/s/b/c/zlib/1.2.3/SunOS5.8_OPT.OBJ' '--with-mysql=/h/iws-files/s/b/c/mysql/5.0.27/SunOS5.8_OPT.OBJ' '--with-mysqli=/h/iws-files/s/b/c/mysql/5.0.27/SunOS5.8_OPT.OBJ/bin/mysql_config' '--with-pgsql=/h/iws-files/s/b/c/postgresql/8.1.5/SunOS5.8_OPT.OBJ' '--enable-cli' '--enable-cgi' '--enable-fastcgi' '--enable-debugger'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /java/re/phppack/5.2.0/nightly/ws/b01-2007-01-29/solaris-sparc/dist/5.2.0/SunOS5.8_OPT.OBJ/php/lib/
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp, compress.zlib
Registered Stream Socket Transports tcp, udp, unix, udg
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, zlib.*
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
PHP Credits
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
detect_unicode On On
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting no value no value
expose_php On On
extension_dir /java/re/phppack/5.2.0/nightly/ws/b01-2007-01-29/solaris-sparc/dist/5.2.0/SunOS5.8_OPT.OBJ/php/lib//extensions/no-debug-non-zts-20060613 /java/re/phppack/5.2.0/nightly/ws/b01-2007-01-29/solaris-sparc/dist/5.2.0/SunOS5.8_OPT.OBJ/php/lib//extensions/no-debug-non-zts-20060613
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/java/re/phppack/5.2.0/nightly/ws/b01-2007-01-29/solaris-sparc/dist/5.2.0/SunOS5.8_OPT.OBJ/php/lib//php .:/java/re/phppack/5.2.0/nightly/ws/b01-2007-01-29/solaris-sparc/dist/5.2.0/SunOS5.8_OPT.OBJ/php/lib//php
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_input_time -1 -1
memory_limit 16M 16M
open_basedir no value no value
output_buffering 0 0
output_handler no value no value
post_max_size 8M 8M
precision 14 14
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv On On
register_globals Off Off
register_long_arrays On On
report_memleaks On On
report_zend_debug On On
safe_mode On On
safe_mode_exec_dir /usr/local/php/bin /usr/local/php/bin
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/lib/sendmail -t -i /usr/lib/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 2M 2M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off
bcmath
BCMath support enabled
ctype
ctype functions enabled
date
date/time support enabled
Timezone Database Version 2006.14
Timezone Database internal
Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We had to select 'UTC' because your platform doesn't provide functionality for the guessing algorithm in /opt/sun/webserver7/https-www-live/docs/info.php on line 1
Default timezone UTC
Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone no value no value
dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.27
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled
exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.173.2.5.2.4 2006/10/10 22:22:43 tony2001 Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF
filter
Input Validation and Filtering enabled
Revision $Revision: 1.52.2.25 $
Directive Local Value Master Value
filter.default unsafe_raw unsafe_raw
filter.default_flags no value no value
ftp
FTP support enabled
hash
hash support enabled
Hashing Engines md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5
iconv
iconv support enabled
iconv implementation unknown
iconv library version unknown
Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1
json
json support enabled
json version 1.2.1
libxml
libXML support active
libXML Version 2.6.27
libXML streams enabled
mbstring
Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 4.4.4
Multibyte regex (oniguruma) backtrack check On
mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.
Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding ISO-8859-1 no value
mbstring.language neutral neutral
mbstring.script_encoding no value no value
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.27
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/h/iws-files/s/b/c/mysql/5.0.27/SunOS5.8_OPT.OBJ/include
MYSQL_LIBS -L/h/iws-files/s/b/c/mysql/5.0.27/SunOS5.8_OPT.OBJ/lib -lmysqlclient
Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
mysqli
MysqlI Support enabled
Client API library version 5.0.27
Client API header version 5.0.27
MYSQLI_SOCKET /tmp/mysql.sock
Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 6.7 04-Jul-2006
PDO
PDO support enabled
PDO drivers sqlite2, sqlite
pdo_sqlite
PDO Driver for SQLite 3.x enabled
PECL Module version (bundled) 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6 2006/01/01 12:50:12 sniper Exp $
SQLite Library 3.3.7
pgsql
PostgreSQL Support enabled
PostgreSQL(libpq) Version 8.1.5
Multibyte character support enabled
SSL support disabled
Active Persistent Links 0
Active Links 0
Directive Local Value Master Value
pgsql.allow_persistent On On
pgsql.auto_reset_persistent Off Off
pgsql.ignore_notice Off Off
pgsql.log_notice Off Off
pgsql.max_links Unlimited Unlimited
pgsql.max_persistent Unlimited Unlimited
posix
Revision $Revision: 1.70.2.3.2.6 $
Reflection
Reflection enabled
Version $Id: php_reflection.c,v 1.164.2.33.2.31 2006/10/18 16:35:15 johannes Exp $
session
Session Support enabled
Registered save handlers files user sqlite
Registered serializer handlers php php_binary wddx
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 4 4
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path no value no value
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0
SimpleXML
Simplexml support enabled
Revision $Revision: 1.151.2.22.2.15 $
Schema support enabled
soap
Soap Client enabled
Soap Server enabled
Directive Local Value Master Value
soap.wsdl_cache 1 1
soap.wsdl_cache_dir /tmp /tmp
soap.wsdl_cache_enabled 1 1
soap.wsdl_cache_limit 5 5
soap.wsdl_cache_ttl 86400 86400
sockets
Sockets Support enabled
SPL
SPL support enabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException
SQLite
SQLite support enabled
PECL Module version 2.0-dev $Id: sqlite.c,v 1.166.2.13.2.5 2006/10/20 21:28:31 tony2001 Exp $
SQLite Library 2.8.17
SQLite Encoding UTF-8
Directive Local Value Master Value
sqlite.assoc_case 0 0
standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/lib/sendmail -t -i
Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,form=,fieldset= a=href,area=href,frame=src,form=,fieldset=
user_agent no value no value
sysvmsg
sysvmsg support enabled
Revision $Revision: 1.20.2.3.2.1 $
tokenizer
Tokenizer Support enabled
wddx
WDDX Support enabled
WDDX Session Serializer enabled
xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.27
xmlreader
XMLReader enabled
xmlwriter
XMLWriter enabled
zlib
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value
Additional Modules
Module Name
sysvsem
sysvshm
Environment
Variable Value
PHPRC /opt/sun/webserver7/plugins/php
PHP_FCGI_CHILDREN 2
PHP_FCGI_MAX_REQUEST 200
FCGI_WEB_SERVER_ADDRS 127.0.0.1
LD_LIBRARY_PATH /opt/sun/webserver7/plugins/php
LD_LIBRARY_PATH_64 /opt/sun/webserver7/plugins/php/64
PHP Variables
Variable Value
_SERVER["PHPRC"] /opt/sun/webserver7/plugins/php
SERVER["PHPFCGI_CHILDREN"] 2
_SERVER["PHP_FCGI_MAX_REQUEST"] 200
_SERVER["FCGI_WEB_SERVER_ADDRS"] 127.0.0.1
_SERVER["LD_LIBRARY_PATH"] /opt/sun/webserver7/lib:/opt/sun/webserver7/jdk/jre/lib/sparc/server:/opt/sun/webserver7/jdk/jre/lib/sparc:/opt/sun/webserver7/jdk/jre/lib/sparc/native_threads::/opt/sun/webserver7/lib:
_SERVER["LD_LIBRARY_PATH_64"] /opt/sun/webserver7/plugins/php/64
_SERVER["FCGI_ROLE"] RESPONDER
_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
_SERVER["HTTP_HOST"] joomla
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["PATH"] /opt/sun/webserver7/bin:/opt/sun/webserver7/lib:/bin:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/opt/sfw/bin:/export/root
_SERVER["TZ"] Canada/Mountain
_SERVER["SERVER_SOFTWARE"] Sun-Java-System-Web-Server/7.0
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_NAME"] joomla
_SERVER["SERVER_URL"] http://joomla
_SERVER["REMOTE_HOST"] 172.20.200.11
_SERVER["REMOTE_ADDR"] 172.20.200.11
_SERVER["HTTPS"] OFF
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["SCRIPT_NAME"] /info.php
_SERVER["PATH_TRANSLATED"] no value
_SERVER["SERVER_HOSTNAME"] www-live
_SERVER["SERVER_ADDR"] *
_SERVER["ORIG_PATH_TRANSLATED"] /opt/sun/webserver7/https-www-live/docs/info.php
_SERVER["ORIG_SCRIPT_NAME"] /info.php
_SERVER["SCRIPT_FILENAME"] /opt/sun/webserver7/https-www-live/docs/info.php
_SERVER["PATH_INFO"] no value
_SERVER["PHP_SELF"] /info.php
_SERVER["REQUEST_TIME"] 1177075610
_SERVER["argv"] Array
_SERVER["argc"] 0
_ENV["PHPRC"] /opt/sun/webserver7/plugins/php
_ENV["PHP_FCGI_CHILDREN"] 2
_ENV["PHP_FCGI_MAX_REQUEST"] 200
_ENV["FCGI_WEB_SERVER_ADDRS"] 127.0.0.1
_ENV["LD_LIBRARY_PATH"] /opt/sun/webserver7/lib:/opt/sun/webserver7/jdk/jre/lib/sparc/server:/opt/sun/webserver7/jdk/jre/lib/sparc:/opt/sun/webserver7/jdk/jre/lib/sparc/native_threads::/opt/sun/webserver7/lib:
_ENV["LD_LIBRARY_PATH_64"] /opt/sun/webserver7/plugins/php/64
_ENV["FCGI_ROLE"] RESPONDER
_ENV["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
_ENV["HTTP_ACCEPT_LANGUAGE"] en-us
_ENV["HTTP_ACCEPT_ENCODING"] gzip, deflate
_ENV["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
_ENV["HTTP_HOST"] joomla
_ENV["HTTP_CONNECTION"] Keep-Alive
_ENV["PATH"] /opt/sun/webserver7/bin:/opt/sun/webserver7/lib:/bin:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/opt/sfw/bin:/export/root
_ENV["TZ"] Canada/Mountain
_ENV["SERVER_SOFTWARE"] Sun-Java-System-Web-Server/7.0
_ENV["SERVER_PORT"] 80
_ENV["SERVER_NAME"] joomla
_ENV["SERVER_URL"] http://joomla
_ENV["REMOTE_HOST"] 172.20.200.11
_ENV["REMOTE_ADDR"] 172.20.200.11
_ENV["HTTPS"] OFF
_ENV["GATEWAY_INTERFACE"] CGI/1.1
_ENV["SERVER_PROTOCOL"] HTTP/1.1
_ENV["REQUEST_METHOD"] GET
_ENV["SCRIPT_NAME"] /info.php
_ENV["PATH_TRANSLATED"] no value
_ENV["SERVER_HOSTNAME"] www-live
_ENV["SERVER_ADDR"] *
_ENV["ORIG_PATH_TRANSLATED"] /opt/sun/webserver7/https-www-live/docs/info.php
_ENV["ORIG_SCRIPT_NAME"] /info.php
_ENV["SCRIPT_FILENAME"] /opt/sun/webserver7/https-www-live/docs/info.php
_ENV["PATH_INFO"] no value

Similar Messages

  • Installing WEBDB on Sun Webserver

    Hi there,
    I followed the instructions of WEBDB installation and tutorial to install webdb 2.0 to run on my SUN webserver on solaris 2.7.
    After I have done that it does not seem to work. It run fine on webdb listener.
    Does anyone have any ideas???
    Very much thanks. I will be gratefull if someone can provide some solution....
    null

    Its on the beginners guide. Excerpt:
    Install the base GNOME environment with:
    # pacman -S gnome
    Additionally, you can install the extras:
    # pacman -S gnome-extra
    etc, etc
    It's here:
    http://wiki.archlinux.org/index.php/Beginners%27_Guide
    Mektub

  • Best Way to Migrate a configuration from one sun webserver to another

    Hi,
    What is the best way to migrate a configuration from one Sun Webserver to another? I am using Webserver 7 Update 5 on Linux. If I just copy the configuration directory, the administration server doesn't know it. Thanks!

    I found my answer.. I found this link - http://forums.sun.com/thread.jspa?threadID=5317534

  • Can Sun Webserver 7.0 be managed through JMX instead of CLI / GUI?

    Hi,
    I've recently got the new book on Sun Webserver 7.0 and something piqued my interest; the fact that both the CLI and the GUI use JMX to manage the underlying software.
    Having used JMX before to manage servers and looking to integrate Sun Webserver into my infrastructure I went to see if I can get JMX control over the application.
    I've found a blog post to help me out somewhat: http://blogs.sun.com/natarajan/entry/using_jconsole_with_web_server
    To my dissapointment I can only see the memory stats of the admin server.
    None of the interesting Mbeans (FastCGI, etc) seem to work.
    Is there some way I can interface with Sun Webserver 7.0 from Java that does not involve changing the xml configs from Java or calling the WADM commands through ProcessBuilder?

    The JMX interface isn't considered public. You might be able to discover its syntax and use it yourself, but it's not publicly documented and can change without notice. The supported methods of administering the Web Server are the GUI, the CLI, and direct manipulation of the configuration files.

  • Error while Starting portal On Sun Webserver.

    HI All,
    I have installed Sun portal server 7.1. on Sun Webserve 7.1 and while starting Webserver is throwing Errrors.
    Every thing is fine before but after change of IP Address I am getting these kind of errors.
    Below is the error log.
    Sun Java System Web Server 7.0 B12/04/2006 10:15
    info: WEB0100: Loading web module in virtual server [sso.example.com] at [/portal]
    info: JAXRPCSERVLET12: JAX-RPC context listener initializing
    failure: WebModule[/portal]StandardWrapper.Throwable
    com.sun.portal.desktop.context.ContextError: DSAMEConnection.getGlobalAttributes(): SunPortalportal1DesktopService       
    *Caused by: Message:Service does not exist : SunPortalportal1DesktopService*      
    *failure: WebModule[/portal]PWC1396: Servlet /portal threw load() exception*
    com.sun.portal.desktop.context.ContextError: DSAMEConnection.getGlobalAttributes(): SunPortalportal1DesktopService
            at com.sun.portal.desktop.context.DSAMEConnection.getGlobalAttributes(DSAMEConnection.java:956)
            at com.sun.portal.desktop.context.DSAMEConnection.getGlobalAttributeMultiValueFromROC(DSAMEConnection.java:1465)
            at com.sun.portal.desktop.context.DSAMEConnection.getGlobalAttributeFromROC(DSAMEConnection.java:1449)
            at com.sun.portal.desktop.context.DSAMEServiceAppContext.getTemplateContextClassName(DSAMEServiceAppContext.java:108)
            at com.sun.portal.desktop.context.PSDesktopAppContext.getTemplateContextClassName(PSDesktopAppContext.java:387)
            at com.sun.portal.desktop.context.PSDesktopAppContext.initTemplateContext(PSDesktopAppContext.java:320)
            at com.sun.portal.desktop.context.PSDesktopAppContext.init(PSDesktopAppContext.java:87)
            at com.sun.portal.desktop.context.PSDesktopContextFactory.initDesktopAppContext(PSDesktopContextFactory.java:141)
            at com.sun.portal.desktop.context.PSDesktopContextFactory.init(PSDesktopContextFactory.java:105)
            at com.sun.portal.desktop.context.PSDesktopContextFactoryManager.getFactory(PSDesktopContextFactoryManager.java:21)
            at com.sun.portal.desktop.DesktopServlet.getDesktopContextFactory(DesktopServlet.java:195)
            at com.sun.portal.desktop.DesktopServlet.init(DesktopServlet.java:237)
            at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1150)
            at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:979)
            at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4352)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
            at com.sun.webserver.connector.nsapi.WebModule.start(WebModule.java:170)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1089)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:838)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1089)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:514)
            at org.apache.catalina.startup.Embedded.start(Embedded.java:917)
            at com.sun.enterprise.web.PwcWebContainer.onStartup(PwcWebContainer.java:47)
            at com.sun.webserver.connector.nsapi.WebContainer.start(WebContainer.java:464)
            at com.sun.webserver.init.J2EERunner.confPostInit(J2EERunner.java:292)
    Caused by: Message:Service does not exist : SunPortalportal1DesktopService
            at com.sun.identity.sm.ServiceManager.getVersions(ServiceManager.java:752)
            at com.sun.identity.sm.ServiceManager.checkServiceNameAndVersion(ServiceManager.java:783)
            at com.sun.identity.sm.ServiceSchemaManagerImpl.<init>(ServiceSchemaManagerImpl.java:97)
            at com.sun.identity.sm.ServiceSchemaManagerImpl.getInstance(ServiceSchemaManagerImpl.java:480)
            at com.sun.identity.sm.ServiceSchemaManager.<init>(ServiceSchemaManager.java:107)
            at com.sun.identity.sm.ServiceManager.getSchemaManager(ServiceManager.java:170)
            at com.sun.portal.desktop.context.DSAMEConnection.getGlobalAttributes(DSAMEConnection.java:952)
            ... 24 more
    info: url: jar:file:/opt/SUNWmfwk/lib/mfwk_instrum_tk.jar!/com/sun/mfwk/config/MfConfig.class
    info: url: jar:file:/opt/SUNWmfwk/lib/mfwk_instrum_tk.jar!/com/sun/mfwk/config/MfConfig.class
    info: LogFile is: //var/opt/SUNWmfwk/logs/instrum.%g
    info: HTTP3072: http-listener-1: http://sso.example.com:80 ready to accept requests
    info: CORE3274: successful server startup
    From log, I removed exceptions thown by java classes  for posting in this forum
    Thanks in Advance
    Madhu

    the application works fine when I try with webservice code that was built on worshop 8 ..but when i changed the code to workshop 10 it is getting build properly only during startup its giving issue....All Jar are same as the old one...only the new that I have created from wsdl for xjava is the new jar..
    I have included the same in the set environment and use it from from my ant build.

  • RedirectMatch equivalent command in Sun Webserver

    I am looking for a equivalent command for this in SUN Webserver. This command is specific to IBM HTTP server.
    RedirectMatch permanent ^/$ /content/common/index.jsp
    Purpose: One of our sites www.xyz.com is redicted to URL www.xyz.com/content/common/index.jsp immediately. We are not able to carry the referral inforamtion from www.xyz.com to second URL. So we are missing some vital statistics.
    Thanks

    You didn't mention what version you're using.
    In Sun Java System Web Server 7, you could use the following:
    <Client uri="/">
    NameTrans fn="redirect" status="301" url="/content/common/index.jsp"
    </Client>In Sun ONE Web Server 6.1, things are more complicated:
    <Client uri="/">
    NameTrans fn="redirect" from="/" url="/content/common/index.jsp"
    Output fn="set-variable" code="302" error="301" noaction="true"
    </Client>(In both versions, you should place the <Client> container inside the <Object name="default"> container in the obj.conf configuration file.)

  • Sun WebServer(a.k.a iPlanet) 6 SP 5 Passthrough.dll

    Hi,
    We are running Sun WebServer(a.k.a iPlanet) 6 sp5 that proxies all the requests to weblogic servers. We tried using proxy36.dll but the response time was slow(Have opened a ticket with BEA weblogic). We then configured passthrough.dll to proxy all the request to the weblogic server. The problem that i'am facing here, no matter how many servers we specify in the servers attribute it always picks up the first one listed and forwars all the request.
    Here is the entry in obj.conf
    <Object name="passthrough">
    ObjectType fn="force-type" type="magnus-internal/passthrough"
    Service type="magnus-internal/passthrough" fn="service-passthrough" servers="http://1.2.3.4:8011 http://5.6.7.9:8011"
    Error reason="Bad Gateway" fn="send-error" uri="c:/iPlanet/Servers/docs/badgateway.html"
    </Object>
    Am i doing something wrong here.
    Thanks in advance

    babloo73,
    I did tried this with SJS Web Server 6.1 SP5, and the load balancing does work for me.
    Here is the simple test I perform.
    - configured three backend servers A, B and C
    - configured SJS Web Server 6.1 SP5 with the Reverse Proxy Plugin, described here http://docs.sun.com/source/819-0902/rpp61.html point to three servers above
    - send a request to a simple webapp, it goes to server A, successive requests from the same client go to the same server, since stickyness is implied to keep session alive
    - restarted the browser, send a new request, this time it when to server B
    Here is my config:
    <Object name="passthrough">
    ObjectType fn="force-type" type="magnus-internal/passthrough"
    Service fn="service-passthrough" servers="http://A.com http://B.com http://C.com"
    </Object>

  • Suggest me for the Issue on Sun webserver 7.0

    Hi All,
    I should not call it as issue.
    In our project ,we have configured reverse proxy on two sun webserver 7.0 servers ,each webserver will serve each sun application server.The reverse proxy configuration is working fine and it is serving sun application server comfortably.But the issue is,
    Sometimes one of the Sunapplication servers is going down and based on reverse proxy configuration the webserver is redirecting the requests to the server which is already down.
    How can I configure sun webserver to redirect to another application which is alive.
    Looking for your valuable replies.
    Thanks in Advance
    Madhu

    Thanks for the reply and I will check & get back.
    This is my obj.conf
    # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
    # Use is subject to license terms.
    # You can edit this file, but comments and formatting changes
    # might be lost when you use the administration GUI or CLI.
    <Object name="default">
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/opt/SUNWwbsvr7/lib/icons" name="es-internal"
    NameTrans fn="map" from="/idm" name="reverse-proxy-/idm" to="http:/idm"
    NameTrans fn="redirect" from="/user" url-prefix="http://sesame1.hdfcsldm.com/idm/user"
    NameTrans fn="redirect" from="/" url-prefix="http://sesame1.hdfcsldm.com/idm"
    PathCheck fn="unix-uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-index-j2ee"
    PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"
    ObjectType fn="type-j2ee"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
    Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
    Service method="TRACE" fn="service-trace"
    Error fn="error-j2ee"
    AddLog fn="flex-log"
    </Object>
    <Object name="j2ee">
    Service fn="service-j2ee" method="*"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    <Object name="cgi">
    ObjectType fn="force-type" type="magnus-internal/cgi"
    Service fn="send-cgi"
    </Object>
    <Object name="send-precompressed">
    PathCheck fn="find-compressed"
    </Object>
    <Object name="compress-on-demand">
    Output fn="insert-filter" filter="http-compression"
    </Object>
    <Object name="reverse-proxy-/idm">
    Route fn="set-origin-server" server="http://150.2.0.171:8080"
    </Object>
    <Object ppath="http:*">
    Service fn="proxy-retrieve" method="*"
    </Object>Thanks
    Madhu

  • Problem calling AS8.2 EJB from Sun WebServer 6.1

    Last time I've probably posted my question in to the wrong forum. Sorry for cross-posting, but I really need to solve this issue.
    I am calling an EJB from a JSF portlet. When I deploy the portlet on a Sun Portal 7, running on a Webserver 6.1, then
    InitialContext.lookup(String)
    returns
    com.sun.corba.se.impl.corba.CORBAObjectImpl
    instead of
    ...MyClassHome_DynamicStub
    The PortableRemoteObject.narrow then returns null instead of the class...
    I've found a solution to this here: http://forum.java.sun.com/thread.jspa?forumID=136&threadID=619420
    The solution is to use another INITIAL_CONTEXT_FACTORY:
    props.setProperty(Context.INITIAL_CONTEXT_FACTORY, "com.sun.appserv.naming.S1ASCtxFactory")
    But I need this to be done on a WebServer, and
    com.sun.appserv.naming.S1ASCtxFactory is contained in the Application server jar (appserver-rt.jar I believe).
    According to this:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6336410
    I can't use this jar in the Sun Webserver. And it's probably true, the portlet doesn't work with the jar packaged in to the WAR.
    Is there any other solution to this?

    Is there any other solution to this?Yes, there is. The EJB Client Jar was missing the RMI stubs. When I called the EJB from the AS8, the server probably created the stubs, but webserver didn't.
    rmic -iiop classname solved the issue.

  • Sun WebServer 6.1 x86 - Setup problem

    Hi,
    I have downloaded Sun WebServer x86 for following sparc platfrom (64-bit) [FileName : sun-webserver61-Solx86.tar.gz]
    *$uname -a*
    SunOS hml-newsunt2a 5.10 Generic_127111-02 sun4v sparc SUNW,SPARC-Enterprise-T5220
    Afetr extraction of the .tar.gz file i found following directory structure;
    -bash-3.00$ ls -l
    ctotal 191310
    -rw-r--r-- 1 oracle oinstall 172426 Mar 25 22:14 3RD-PARTY-LICENSE.txt
    -rwxr-xr-x 1 oracle oinstall 6762 Mar 25 22:14 installWrapper
    drwxr-xr-x 2 oracle oinstall 512 Mar 25 22:14 Legal
    drwxr-xr-x 2 oracle oinstall 512 Mar 25 22:14 lib
    -rw-r--r-- 1 oracle oinstall 19661 Mar 25 22:14 LICENSE.txt
    -rw-r--r-- 1 oracle oinstall 417 Mar 25 22:14 README.txt
    -rwxr-xr-x 1 oracle oinstall 5303 Mar 25 22:14 setup
    -rw-r--r-- 1 oracle oinstall 503 Mar 25 22:14 setup.inf
    -rw-r--r-- 1 oracle oinstall 97662836 Sep 17 17:26 sun-webserver61-Solx86.tar.gz
    -rw-r--r-- 1 oracle oinstall 810 Mar 25 22:14 template.inf
    drwxr-xr-x 2 oracle oinstall 512 Mar 25 22:27 WebServer
    But when I am trying to install the server as follows I am getting an error message;
    -bash-3.00$ ./setup
    *./setup: /export/home1/oracle/SunOneWebServer/Setup/./.setup: cannot execute*
    I tried the same with root user as well but same result found. Any thoughts???
    Important Note: I know its 64-bit platfrom. As I have already tried the 64-bit installation which goes perfectly good and server was running perfectly. But I need to use WebServer with Oracle Access Manager WebPass for NSAPI which is 32-bit. Previously I configured the webpass with 64-bit Sun WebServer successfully but after configuration Sun WebServer fail to start with following exception;
    -bash-3.00$ ./start
    Sun ONE Web Server 6.1SP11 (64-Bit) B03/25/2009 13:50
    failure: CORE3170: Configuration initialization failed: Error running init function load-modules: dlopen of /export/home1/oracle/OracleAccessManager/Installation/webpassNSAPI/identity/oblix/lib/libgcc_s.so.1 failed (ld.so.1: webservd: fatal: /export/home1/oracle/OracleAccessManager/Installation/webpassNSAPI/identity/oblix/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32)
    Thanks
    Sheeraz

    Hi mv,
    Yes, I know, but thats what I am trying I am trying to downgrading the Sun One WebServer to 32 bit becasue Oracle does not supply 64-bit version and thats where I am having problem. I am unable to install x86 version of Sun Web Server I have downloaded from Sun website on my machine I have mentioned in my first post.
    Section 'Important Note' is just an extra infomration to elborate the complete scenario.
    Thanks,
    Shaeerz

  • Nsapi redirector plugin for sun webserver

    I am trying to determine how to configure Sun webserver 6.1SP5 to front end tomcat 5.5.27.
    I cam across this link http://tomcat.apache.org/connectors-doc/webserver_howto/nes.html which talks about this topic.
    My question is where can I get a pre-compiled nsapi redirector plugin nsapi_redirector.so for the following platforms:
    Solaris 9 - SPARC
    Solaris 10 - SPARC
    Solaris 10 x86
    Thanks in advance.
    regards,
    Vishal

    Pre-compiled copies of that library may exist int he wild, but Sun hasn't produced any that I'm aware of.
    Actually compiling NSAPI is generally not too difficult though. Have you tried compiling?

  • Sun webserver 7

    I download sun webserver 7 through my windows desktop system
    now i want to install the same in to my sun server
    pls tell me how to install the webserver 7 which is .war format
    Thanks

    Sun Java System Web Server 7 Update 1 for windows can be downloaded from here
    https://sdlc6c.sun.com/ECom/EComActionServlet;jsessionid=EB6BF71B2FE4671346BDF9DE7F331AC7
    Note that the windows download file is a .zip file, not a war
    sjsws-7_0u1-windows-i586.zip

  • Issue with Sun Webserver 7

    Hi
    I am facing issue with sun webserver7.0. I installed 64 bit version of sun webserver 7 on solaris 64 bit machine.
    I added my NSAPI extension to it. And it works fine.
    The problem i m facing is things are not consistance.. Like i configure my connector(nsapi extension) and request pageof that extension some time it comes and sometimes not.
    when i restart web server things starts working fine. until my connector restart when it adds extension to it.
    Also seen cases where the same page can be opened in IE cannt working in firefox.
    i tried all possible cases. I still not able to figure out issue is in my connector or their is issue with web server 7 for 64 bit.
    Thanks in advance.

    I don't know about this but I will try.
    1. Web Server's Web Container supports jsps.
    2. Can you use simple redirects in obj.conf for the rest to forward your requests?
    http://blogs.sun.com/elving/entry/regular_expression_redirects_in_7
    http://blogs.sun.com/elving/entry/301_permanent_redirects_in_7
    3. Or Can't you use reverse proxy to forward your requests?
    http://blogs.sun.com/meena/entry/configuring_reverse_proxy_in_sun
    4. I don't understand what you extensions do, if you want to simply register a file extension, can't adding new entry in mime.types work?
    http://docs.sun.com/app/docs/doc/819-2630/6n4thbiet?a=view
    "The MIME types file in the config directory contains mappings between the MIME types and file extensions."

  • Sun Webserver, PHP, MYSQL

    Help please.....
    PHP 5.0.4
    MYSQL Ver 14.7 Distrib 4.1.12, for sun-solaris2.9 (sparc) using readline 4.3
    ./configure with-nsapi=/opt/SUNWwbsvr enable-libgcc --disable-libxml
    Works fine, make, make install, no problems. Configure Websever and php pages display just fine.
    Need mysql support
    ./configure with-mysql=/usr/local/mysql with-nsapi=/opt/SUNWwbsvr enable-libgcc disable-libxml
    warning: file /usr/local/mysql/lib/libmysqlclient.a(client.o): wrong ELF class: ELFCLASS64
    Any assistance ?
    Many thanks !

    I have up on the 64 bit version of MYSQL, downloaded the 32bit version and all went well. I have read that the 32bit version is actually quicker in most cases.

  • Php installation on sun webserver

    hi
    libphp5.so was not created under /opt/SUNWwbsrv/bin
    Should we copy it from another location?

    How are you trying to install php ?
    Did you run "make install" after "configure" and "make" steps ?
    Take a look at the following links:
    http://www.php.net/manual/en/install.unix.sun.php
    http://www.dzm.com/soft/PHP.html

Maybe you are looking for

  • ITunes library sharing

    I have an iMac, my wife has a MacBook Pro. What is the best way for her to be able to access my iTunes library? Do I push everything to the Cloud? Or should I be trying to figure out home "sharing" more?. Shde can access everything that was bought on

  • How to make a structured set of folders in Automator

    HI guys, Hope you can help. I'm after quite a unique folder structure - I want to be able to build automatically from scratch every week (to save me doing it by hand. The structure should look like this (but probably a lot more): computer.CFB.001.Dav

  • Printing from ipad too large on p1102w

    All my printing from the IPad print out too large compared to the print from my Win7 PC. E.g. If I print an email from my WIn 7 PC to the HP P1102w result normal - 1 page. The same email printed from my Ipad to the P1102w prints a much larger font an

  • Error mov 546 O

    Hi Friends, We are using Operation Subcontracting. We have GRN wih a 101 and SAP has done an 543 O for the subc materials  . Now i have to cancel the GRN , which i am doing through MIGO using 122 Mvt Type , but while cancelling its make an 546 O move

  • Select root directory of the required rapid install disk

    Hi, Im installing EB12, 20% into the installation i get this message "select root directory of the required rapid install disk, Enter the location for the disk labeled: Oracle Applications Rapid Install - Database Disk1". I'm not sure why its not fin