Integration of Sun One Web Server 6.0 with Sun One App Server 7.0
Is it possible to integrate Sun One Web Server 6.0 with the Sun One App Server 7.0??
Sun One App Server 7.0 comes with the in-built HTTP listener. But we want to know if there is a way by which we can use the Sun One Web Server 6.0 with the App Server 7.0 and not the in-bulit HTTP listener?
As suggested by you, I have used Sun ONE Application Server 7's plugin to connect the Sun ONE Web Server 6.0 with Sun ONE Application Server 7 as per the information given in Sun ONE Application Server 7 Administrator's Guide.
I have added the plugin package to the webserver and added the following into the magnus.conf:
Init fn="load-modules" shlib="C:/iPlanet/Servers/plugins/passthrough/passthrough.dll" funcs="init-passthrough,auth-passthrough,check-passthrough,service-passthrough" NativeThread="no"
Init fn="init-passthrough"
and to the obj.conf
NameTrans fn="assign-name" from="(/A2P2Test|/A2P2Test/*)" name="passthrough"
<Object name="passthrough">
ObjectType fn="force-type" type="magnus-internal/passthrough"
Service type="magnus-internal/passthrough" fn="service-passthrough" servers="http://<application server http listener>"
Error reason="Bad Gateway" fn="send-error" uri="$docroot/badgateway.html"
</Object>
The webserver starts up without any errors but never forwards any requests what might I be doing wrong?
Similar Messages
-
How to use Mac Mini Server as NAT with only one port??
How to use Mac Mini Server as NAT with only one ethernet port??
But why did apple sell me this server that does NAT with one port? I don't get it.
-
Sun VDI 3.1.1 error with Sun 7310
Hello,
I'm working on a Sun VDI solution using a 7310 with Sun Storage 2010.Q1.0.0 and am having a provisioning error when importing a template or desktop. It errors about copying disk image to storage. Upon switching to a Solaris ZFS storage server the issue goes away. I'm curious if anyone else has run into this issue and if the Sun Storage OS should be update or if there are specific configuration variables that should be set in the ZFS storage pool being used by the Sun VDI implementation.
Thank you,
MikeOkay, after some issues with the 7310 that is being used for this pilot I was able to do some more testing to generate logs around the failures. I have been able to get this to work with a regular Solaris 10 iSCSI and NFS server that uses ZFS. In fact it worked perfectly but that isn't the storage array that is meant for this project. The Sun VDI implementation is accessing the 7310 using the 'root' account and is connecting over gigE SAN. We can see Sun VDI logging into the storage array, it creates the '/suspend-data' NFS share right away as it should. When I got to import a template you can see it deploy the iSCSI LUN and the associated Target and IQN.
Here are snippets from the cacao log showing the different failure messages.
Jun 17, 2010 3:42:58 PM com.sun.vda.service.vbox.VBDesktopProvider createDesktops
FINE: thr#22 Created desktop on 10.72.169.169 with volume ec0263c0-eaef-4636-a2ac-96046e4fc81e at IQN iqn.1986-03.com.sun:vdi:kgksyhsior0abizjhg.g:exlbox2mm0szsgnr7ed- of size 17179869184
Jun 17, 2010 3:42:58 PM com.sun.vda.service.persistence.PersistenceImpl commit
FINEST: thr#22 Committing object [id=14] class com.sun.vda.service.persistence.PersistentStorage
Jun 17, 2010 3:42:58 PM com.sun.vda.service.storage.Volume importFromFile
FINEST: thr#22 Copying from /sunvdi/templates/solaris10/solaris10.vdi to ec0263c0-eaef-4636-a2ac-96046e4fc81e on host 10.72.169.169 for user root
Jun 17, 2010 3:42:58 PM com.sun.vda.service.persistence.PersistenceImpl update
FINEST: thr#22 Updating object [id=14] class com.sun.vda.service.persistence.PersistentStorage
Jun 17, 2010 3:42:58 PM com.sun.vda.service.persistence.PersistentJob commit
FINEST: thr#22 Committing object [id=null] class com.sun.vda.service.persistence.PersistentJob
Jun 17, 2010 3:42:58 PM com.sun.vda.service.core.jobs.Job run
INFO: thr#23 Starting Job[192]: STORAGE_ACTION for [Solaris 10, STORAGE_AND_ISCSI_RESSOURCE: INITIATOR:iqn.1986-03.com.sun:01:2a95e6efffff.4beb10d0]
Jun 17, 2010 3:42:58 PM com.sun.vda.service.persistence.PersistenceImpl update
FINEST: thr#23 Updating object [id=192] class com.sun.vda.service.persistence.PersistentJob
Jun 17, 2010 3:42:58 PM com.sun.vda.service.persistence.PersistentJob commit
FINEST: thr#23 Committing object [id=192] class com.sun.vda.service.persistence.PersistentJob
Jun 17, 2010 3:42:58 PM com.sun.vda.service.persistence.PersistenceImpl update
FINEST: thr#23 Updating object [id=14] class com.sun.vda.service.persistence.PersistentStorage
Jun 17, 2010 3:42:58 PM com.sun.vda.service.vbox.SshServer executeCommand
FINEST: thr#23 Executing command script run('cd /') ; run('configuration') ; run('san') ; run('initiators') ; run('iscsi') ; run('create') ; run('set alias=vdi:2a95e6efffff.4beb10d0') ; run('set initiator=iqn.1986-03.com.sun:01:2a95e6efffff.4beb10d0') ; stdout = run('commit') ; print(stdout) on host 10.72.169.169:22 for user root
Jun 17, 2010 3:43:00 PM com.sun.vda.service.vbox.SshServer executeCommand
FINEST: thr#23 executed script run('cd /') ; run('configuration') ; run('san') ; run('initiators') ; run('iscsi') ; run('create') ; run('set alias=vdi:2a95e6efffff.4beb10d0') ; run('set initiator=iqn.1986-03.com.sun:01:2a95e6efffff.4beb10d0') ; stdout = run('commit') ; print(stdout)
Jun 17, 2010 3:43:00 PM com.sun.vda.service.vbox.SshServer executeCommand
FINEST: thr#23 Executing command script run('cd /') ; run('configuration') ; run('san') ; run('initiators') ; run('iscsi') ; run('groups') ; run('create') ; run('set name=vdi:2a95e6efffff.4beb10d0') ; run('set initiators=iqn.1986-03.com.sun:01:2a95e6efffff.4beb10d0') ; stdout = run('commit') ; print(stdout) on host 10.72.169.169:22 for user root
Jun 17, 2010 3:43:01 PM com.sun.vda.service.vbox.SshServer executeCommand
FINEST: thr#23 ...
Jun 17, 2010 3:43:01 PM com.sun.vda.service.storage.Initiator$CommitThis doAction
FINEST: thr#23 Committing initiator com.sun.vda.service.storage.Initiator@16708cc
Jun 17, 2010 3:43:01 PM com.sun.vda.service.persistence.PersistenceImpl commit
FINEST: thr#23 Committing object [id=null] class com.sun.vda.service.persistence.PersistentStorageInitiator
Jun 17, 2010 3:43:01 PM com.sun.vda.service.persistence.PersistentJob commit
FINEST: thr#23 Committing object [id=192] class com.sun.vda.service.persistence.PersistentJob
Jun 17, 2010 3:43:01 PM com.sun.vda.service.core.jobs.Job run
FINE: thr#23 Job[192]: STORAGE_ACTION for [Solaris 10, STORAGE_AND_ISCSI_RESSOURCE: INITIATOR:iqn.1986-03.com.sun:01:2a95e6efffff.4beb10d0] finished.
Jun 17, 2010 3:43:02 PM com.sun.vda.service.persistence.PersistenceImpl update
FINEST: thr#22 Updating object [id=14] class com.sun.vda.service.persistence.PersistentStorage
Jun 17, 2010 3:43:02 PM com.sun.vda.service.persistence.PersistenceImpl update
FINEST: thr#22 Updating object [id=14] class com.sun.vda.service.persistence.PersistentStorage
Jun 17, 2010 3:43:02 PM com.sun.vda.service.storage.Volume$CommitShareData doAction
FINEST: thr#22 Committing target:com.sun.vda.service.storage.Target@65e initiator:com.sun.vda.service.storage.Initiator@6bc lun:-1
Jun 17, 2010 3:43:02 PM com.sun.vda.service.persistence.PersistenceManager retry
FINEST: thr#22 Error committing target: com.sun.vda.service.storage.Target@65e Trying again ...
Jun 17, 2010 3:43:02 PM com.sun.vda.service.persistence.PersistenceImpl update
FINEST: thr#22 Updating object [id=41] class com.sun.vda.service.persistence.PersistentStorageVolume
Jun 17, 2010 3:43:02 PM com.sun.vda.service.storage.Volume$CommitShareData doAction
FINEST: thr#22 Committing target:com.sun.vda.service.storage.Target@65e initiator:com.sun.vda.service.storage.Initiator@6bc lun:-1
Jun 17, 2010 3:43:02 PM com.sun.vda.service.vbox.SshServer executeCommand
FINEST: thr#22 Executing command script run('cd /') ; run('shares') ;run('select sunvdi') ; run('select ec0263c0-eaef-4636-a2ac-96046e4fc81e') ; run('set writecache=true') ; run('set status=online') ; run('set targetgroup=vdi:exlbox2mm0szsgnr7ed-') ; run('set initiatorgroup=vdi:2a95e6efffff.4beb10d0') ; stdout = run('commit') ; print(stdout) on host 10.72.169.169:22 for user root
Jun 17, 2010 3:43:04 PM com.sun.vda.service.vbox.SshServer executeCommand -
Sun One Web Server 6.0 with Sun One App Server 7.0
Does Sun have a plug-in for enabling Sun One Web Server 6.0 to communicate with the Sun One Application Server 7.0? How to get this plugin?
Yes, it has, and it is shipped with the product. Look at the installation guide and you can find the plugin configuration instructions.
Regards,
Juan -
Netscape Directory Server 4.x with sun blueprints script - still no luck
I installed the directory server 4.x, ran suns NATIVE ldap script for Solaris 8. I don't think it generated the "Solaris Native" profile. . how can I tell. When I go to ldapclient a client machine, I get the following:
parsing -P option
findDN: begins
findDN: calling __ns_ldap_default_config()
found 2 namingcontexts
findDN: __ns_ldap_list(NULL, "(&(objectclass=nisDomainObject)(nisdomain=carfund.com))"
rootDN[0] dc=carfund,dc=com
found baseDN dc=carfund,dc=com for domain carfund.com
Servers addresses 172.16.100.233
About to configure machine by downloading a profile
save sysinfo
save stat(/etc/nsswitch.conf,
save /usr/sbin/nscd -K
save /usr/bin/pkill -9 nscd
save rename(/etc/nsswitch.conf, /etc/nsswitch.conf.orig)
save stat(/etc/defaultdomain,
save rename(/etc/defaultdomain, /etc/defaultdomain.orig)
save stat(/etc/.rootkey,
No /etc/.rootkey file!
save stat(/var/nis/NIS_COLD_START,
No /var/nis/NIS_COLD_START file!
namelen 11
save stat(/var/yp/binding/carfund.com,
No /var/yp/binding/carfund.com directory!
download save() of systems configuration suceeded.
download ret 2
download p 0xffbef4c4
download p Object not found
The download of the profile failed, recovering system state.
recover stat(/etc/defaultdomain.orig, )
recover stat(/etc/nsswitch.conf.orig, )
recover open(/etc/defaultdomain.orig, )
recover read(/etc/defaultdomain.orig, )
recover old domainname carfund.com
recover stat(/var/ldap/ldap_client_file.orig, )
recover stat(/var/ldap/ldap_client_file.orig, )
recover stat(/var/nis/NIS_COLD_START.orig, )
recover stat(/var/yp/binding/carfund.com.orig, )
recover ldap -1 nis+ -1 yp -1
recover rename(/etc/nsswitch.conf.orig, /etc/nsswitch.conf)
recover rename(/etc/defaultdomain.orig, /etc/defaultdomain)
Any ideas?
Thanks,
Gary Walters
FYI .. I really want to use Directory Server 5.1 on my Solaris 8 machine, but can't seem to get it even close.Followup:
I installed the netscape version of Directory Server and then ran the blueprints script to set it up for native LDAP. I have found a few issues.
1.) I can not log into the console as Directory Manager ... I have to use admin? I think this could be a problem because when it goes to set the permissions for proxyagent, I think it uses the Directory Manager login so when I go to see the permissions it created, I don't see that entry. When I go to create one, it gives me: insuffcient 'write' priveledge to the 'aci' attribute of entry.
2.) I can not generate a profile and use ldapadd to add it, I get the following errors:
ldap_gen_profile -P default -b dc=mydomain,dc=com -D \ "cn=Proxyagent,ou=profile,dc=mydomain,dc=com" -w password \ -a simple xxx.xxx.xxx.xxx > default.ldif
Once that is done, you will have to edit the file and take out all the whitespace at the beginning of every line due to a bug. Once you are ready to add the profile, just run:
ldapadd -D "cn=Directory Manager" -w password -h ldapserver \ -p 389 -f default.ldif
I ran the steps above (substituting correct entries) and when I do the ldapadd -D command, I get the following error:
adding new entry cn=default,ou=profile,dc=carfund,dc=com ldap_add_s: Object class violation
3.) If I try to use ldapclient -v -P command on a client machine, I get the following errors:
/usr/sbin/ldapclient -v -P "Solaris Native" ###.##.###.###
parsing -P option
findDN: begins
findDN: calling __ns_ldap_default_config()
found 2 namingcontexts
findDN: __ns_ldap_list(NULL, "(&(objectclass=nisDomainObject) (nisdomain=carfund.com))" rootDN[0] dc=carfund,dc=com
found baseDN dc=carfund,dc=com for domain carfund.com
Servers addresses ###.##.###.###
About to configure machine by downloading a profile
save sysinfo
save stat(/etc/nsswitch.conf,
save /usr/sbin/nscd -K
save /usr/bin/pkill -9 nscd
save rename(/etc/nsswitch.conf, /etc/nsswitch.conf.orig)
save stat(/etc/defaultdomain,
save rename(/etc/defaultdomain, /etc/defaultdomain.orig)
save stat(/etc/.rootkey,
No /etc/.rootkey file!
save stat(/var/nis/NIS_COLD_START,
No /var/nis/NIS_COLD_START file!
namelen 11
save stat(/var/yp/binding/carfund.com,
No /var/yp/binding/carfund.com directory!
download save() of systems configuration suceeded.
download ret 2
download p 0xffbef4c4
download p Object not found
The download of the profile failed, recovering system state.
recover stat(/etc/defaultdomain.orig, )
recover stat(/etc/nsswitch.conf.orig, )
recover open(/etc/defaultdomain.orig, )
recover read(/etc/defaultdomain.orig, )
recover old domainname carfund.com
recover stat(/var/ldap/ldap_client_file.orig, )
recover stat(/var/ldap/ldap_client_file.orig, )
recover stat(/var/nis/NIS_COLD_START.orig, )
recover stat(/var/yp/binding/carfund.com.orig, )
recover ldap -1 nis+ -1 yp -1
recover rename(/etc/nsswitch.conf.orig, /etc/nsswitch.conf)
recover rename(/etc/defaultdomain.orig, /etc/defaultdomain)
Any ideas .. I still want to get Version 5.1 working , but I may have to settle for 4.x since I am not running Solaris 9 and I can't upgrade at this time. -
Sun java DIRECTORY SERVER 6.0 WITH SUN OPENSSO 8
Hi all,
I have install the sun java directory server 6.0.
Now I have install the sun openssl ( I could had installed the sun java access manager but i wanna use the sun opensso 8 for SSO).
when created the directory i.e. by using command from directory preparation tool, the directory server stop starting.
It do not start and is asking me the error as follows,
bash-3.00# /var/opt/SUNWdsee/dsins1/start-slapd
[20/Feb/2009:14:44:30 +0500] - ERROR<4131> - Bootstrap config - conn=-1 op=-1 msgId=-1 - System error The entry cn=schema in file /var/opt/SUNWdsee/dsins1/config/schema/99user.ldif is invalid (error 20: Type or value exists) - attribute type sunIdentityServerDiscoEntries: Does not match the OID "1.3.6.1.4.1.42.2.27.9.1.821". Another attribute type is already using the name or OID..
[20/Feb/2009:14:44:30 +0500] - ERROR<4129> - Bootstrap config - conn=-1 op=-1 msgId=-1 - Configuration error Please edit the configuration file to correct the reported problems and then restart the server. Server exiting.
Server not running!! Failed to start ns-slapd process.
Note: while preparing the directory (sun java directory preparation tool) I mentioned the schema 2 i.e. ACCESS MANAGER, because sun opensso 8 is the latest version for Sun java access manager ?
Any help??????????????
Regards
AdeelLooks like the attribute sunIdentityServerDiscoEntries is defined twice in the schema. Run the following and see where it is defined for the second time.
# cd /var/opt/SUNWdsee/dsins1/config/schema
# grep -w sunIdentityServerDiscoEntries *.ldif | grep -iv objectclasses
Edited by: etst123 on Mar 3, 2009 1:28 PM -
Star Office 9 on Windows Server 2008 64Bit with Citrix Xen App 5.0
Good day,
I have Star Office 9 already installed on my private PC and now want to install it also on Terminal Sever with OS Windows 2008 64 Bit and Citrix Xen App 5.0 . Is there anybody who has experience with such an installation, can inform me if it works and maybe what I have to consider on installation ??
Thanks for your help
rgds
A.ReinhardtHere's what I have been doing to get OpenOffice.org working
on our Citrix Farm using a Win2K/Win2K3 mixed-mode domain.
the same applies to StarOffice.
These were the goals:
- Give any user who wants/has to work with an Office Suite
access to OpenOffice.org by simply putting him into a
group.
- The installation must work in a way the user does not have
to interact (read: I do not want to allow his interaction
because he is definitely going to make the wrong choices)
The painful way to the goal (as far as I got now):
Note 1: While most files are included here, some are missing
(like 100kb registry settings) but can be requested
from the author.
Note 2: Some of the scripting is ugly and may be useless.
It has evolved quite a bit since I started it, so
it's kinda messy. Nevertheless it works quite well
here, so I wouldn't want to touch it...
OVERVIEW
This solution consists of the following parts:
- modified setup file (optional)
- responsefiles f�r base and workstation (=user) installation
- installation script
- domain logon (sub)script
I modified the setup file (setup.inf) to stop the installer from giving me things
I don't want. I have tried numerous ways to do this with StarBasic but failed.
I tried the forums, I had contact with Sun developers - it simply wouldn't work
the way it was supposed to.
The installation script is simple. It's just there to make life a little easier
for the sorry guy who has to install a new machine. I tried to use a packager
to do the base installation and it horribly barfed, but then again that was in
the days before 1.1.x. It works like this so I left it untouched.
The major part is the domain logon script. There, we check if the user has access
to OpenOffice.org, check for the presence of various files and try to build his
environment as needed, taking various quirks and problems into account.
The logon script needs a connection to a share on a fileserver/SAN/NAS. For us,
it's still a fileserver, but it's the one holding the profiles, too, so if this
one wouldn't be available login would be broken, anyway. I did this so I could
slipstream newer files to the users' workstation installation if I needed to, later on.
INSTALLATION
In my installation folder, I have the following files:
Code:
dir install ; OpenOffice.org files (incl. modified setup.inf)
file common.xcu ; Modified common.xcu where I set an additional
; template folder, for example
file instbase.rsp ; Responsefile for base installation
file instuser.rsp ; Responsefile for user's workstation installation
file jobs.xcu ; Modified jobs.xcu (removed registration request)
file MasterInstall.kix ; Script to install on a Citrix machine
file OpenOffice-Associations.reg ; Override for document type associations
file wkix32.exe ; kixtart w32 executable
To install, make a shortcut to "wkix32.exe MasterInstall.kix" and doubleclick Wink
You should be administrator on the Citrix machine, of course. As you can see from
the script, installation mode is switched on automatically.
Set your '$destination' as needed!
Code:
========== MasterInstall.kix ==========
; OpenOffice.org 1.1.2 Master-Installation f�r Citrix
; Installiert OpenOffice nach D:\Programme\OpenOffice
; wgi 2004/04/28 (identisch mit OpenOffice 1.1.1)
DEBUG Off
; Installation anhand des Response-Files
$Destination = "D:\Programme\OpenOffice\"
shell "change user /install"
? "Installiere nach "+$Destination
; * This would be a good place to copy some of the fonts
; * or other stuff to the machine
shell ".\install\setup.exe -r:..\instbase.rsp"
SHELL "regedit /s OpenOffice-Associations.reg"
SHELL "change user /execute"
MessageBox("Installation nach "+$Destination+" beendet.","Total sch�n, ey ;-)",64,60)
========== MasterInstall.kix ==========
Let's have a look at instbase.rsp:
Code:
========== instbase.rsp ==========
[Environment]
INSTALLATIONMODE=INSTALL_NETWORK
INSTALLATIONTYPE=SPECIFY
DESTINATIONPATH=D:\Programme\OpenOffice
LANGUAGELIST=49
MIGRATION=YES
StartProcedure=PreSetup
EndProcedure=PostSetup
[Module_Specify]
wgiModule=gid_Module_Prg_Wrt_Bin,gid_Module_Prg_Wrt_Help, [.......]
InstallModuleSet=wgiModule
[JAVA]
JavaSupport=preinstalled_or_none
[Windows_Desktop_Integration]
Register4MsWord=Yes
Register4MsExcel=Yes
Register4MsPowerPoint=Yes
RegisterAsDefaultHtmlEditor=No
[Procedures]
Sub PreSetup
ShowSetup
End Sub
Sub PostSetup
SetReboot( False )
HideSetup
End Sub
========== InstBase.rsp ==========
Some leftover stuff from trying to exclude some modules here, I just didn't clean it up.
Remember to set 'DESTINATIONPATH' to what you need.
Note that we do a "INSTALL_NETWORK". Although most people in the forums agreed that it doesn't work, it does - at least since 1.1.0.
Near the end of Masterinstall.kix I import some registry settings. For some reason,
OpenOffice.org's method of setting the associations does not work for me on a Citrix
(Terminal Server) machine, although it seemed to be the right way to do it. Worked
on XP workstations, for example, but it looks like Terminal Servers treat this differently.
So I exported the registry settings, changed the tree to HKEY_LOCAL_MACHINE, imported them again and voila, it works. File can be requested from the author, unfortunately you'd have to replace all occurences of the path to your own path.
Should be easier to repeat the described process.
At this point, we're all set with out new Citrix machine. We can take a look at the
Domain logonscript now. -
Problem with Connection to SQL Server via Servlet (in iPlanet 6 App Server)
Hi ,
I am using the iPlanet ApplicationServer 6.0 SP2 for development & testing of an internet application.
I am facing a problem when I am trying to connect to MS SQL SERVER via the native jdbcodbc driver (obdc32.dll). The error is something like this :
[26/Jul/2001 11:50:35:7] warning: DriverConnect: (28000): [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '\'.(DB Error: 18456)
[26/Jul/2001 11:50:35:7] warning: ODBC-027: CreateConn: failed to create connection [new connection]: DSN=fadd,DB=cashbook,USER=test,PASS=xxxxxxxxx
[26/Jul/2001 11:50:35:7] error: DATA-108: failed to create a data connection wit
h any of specified drivers
Error in connecting to the Database for cirrus :java.sql.SQLException: failed to
create a data connection with any of specified drivers
java.sql.SQLException: failed to create a data connection with any of specified
drivers
at com.netscape.server.jdbc.Driver.afterVerify(Unknown Source)
at com.netscape.server.jdbc.Driver.connect(Unknown Source)
at com.netscape.server.jdbc.DataSourceImpl.getConnection(Unknown Source)
at gefa.util.DBConnection.jdbcConnectionOpen(DBConnection.java:65)
at gefa.servlet.ServUpload.doPost(ServUpload.java:45)
at gefa.servlet.ServUpload.doGet(ServUpload.java:29)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)
at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
wn Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:479)
I have configured a DSN with the name "fadd" on the machine with the application server and it used NT authentication. I have supplied an NT userid and password that has appropriate rights on the database "cashbook".
When I write a java standalone program, it does connect but via a servlet it does not connect.
Can some guide me with this problem please ?
Anything one might have observed in the past ? (may be specific to iPlanet ?)
Thanks a lot in advance
~SunilI'm using iPlanet App server as well and experiencing similar problem. I load my SQL Server driver by Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver"), then use DriverManager.getDriver() to obtain the Driver.
However, the Driver returned is not the SQLServerDriver as expected. The Driver returned is com.netscape.server.jdbc.Driver! And then when I do Driver.getConnection("jdbc:microsoft:sqlserver://MyServer"), it throws an SQLException saying that it doesn't accept a jdbc:microsoft:sqlserver subprotocol. Well, of course it doesn't, it's not a microsoft Driver at all.
I suspect the problem is that the netscape Driver's acceptsURL() method ALWAYS returns true in iPlanet app server, thus when you getDriver(), the netscape Driver is always returned (and always returned as the first one since it's default?). Thus even though the same piece of code works fine as a standalone application, it just doesn't work on iPlanet app server.
My work around is:
Class.forName("my.Driver");
Enumeration enu = DriverManager.getDrivers();
Driver useThis = null;
while (enu.hasMoreElements()) {
Driver d = (Driver)enu.nextElement();
if (d.getClass().toString().indexOf("my.Driver") > -1) {
useThis = d;
Mind that my above code does not have an performance issue. If you look into the source code of how DriverManager get a Driver for a particular URL, it also loads the whole set of available Drivers, then call acceptsURL() method on each of them to find the first "suitable" one. Thus time complexity is the same.
I know this is not a very elegant solution and it defeats the purpose of having a DriverManager. Does any one else has a better way to solve this problem, like a way to specify the priority of each Driver so that SQLServerDriver is returned before the netscape Driver?
Thanks a lot. -
Bare metal restore of full server backup fails with RPC error 0x800706BA (server 2012)
With Windows Server 2012, after creating a successful windows server backup (full server), I am unable to do a bare metal restore of the system.
EFI System Partition, C:, D: are the volumes on a single array (Raid 5).
Loading WinRE and launching re-image, the full server restore stops after completing the C: restore just after beginning the D: drive restore (data volume) with the error with the message about RPC error 0x800706BA, unavailable.
The system will not boot as a result of the failure.
What may be causing this?
[edit]
I think I have two things working against me here... one, Volume Shadow Copy service wasn't running in WinPE and two.. the D: volume contains data deduplication.
I think this is causing some of my problems.
Is there an additional service that I need to start in WinPE to get a volume that was deduplicated restored perhaps using wbadmin?Hi,
Thanks for the reply Shaon.
The hardware system is identical; however, I am increasing storage capacity from 12TB to 16TB. Basically, the system is the same, just new hard drives (4x4TB versus 4x3TB). Drives are all identical enterprise class drives and I am actually using
the same system (backup, swap drives then restore).
I tried both using the WinRE restore (re-image) with the backup set, and tried using wbadmin. Both produce same RPC unavailable messages (although using the GUI based tool via WinRE provides the additional error code #).
I do not have any idea what to look at to try to figure this one out.
[edit]
I was just informed of this posting:
http://social.technet.microsoft.com/Forums/windowsserver/en-US/147efccc-e0e9-4458-852e-c3a44ae5cb64/the-system-image-restore-failed-error-details-he-rpc-server-is-unavailable-0x800706ba?forum=windowsbackup
and in my case, this lab server does in fact act also as a DC as well as a file server... do I need to spin up a secondary controller (perhaps in a VM on another machine) to do this restore? -
SAP Netweaver 7.0 Web Dispatcher HA Setup with Sun Cluster 3.2
Hi,
How to HA SAP web dispatcher, which is not mentioned in the guide 'Sun Cluster Data Service for SAP Web Application Server Guide for Solaris OS'.
Since I do not want to install central instance within the cluster, should I install two standalone web dispatcers within the two nodes, and then HA it? Or maybe just install it on the shared storage with CFS once?
And specifically, what kind of resource type should I use for it? SUNW.sapwebas?
Thanks in advance,
StephenHi all.
I am having a similar issue with a Sun Cluster 3.2 and SAP 7.0
Scenrio:
Central Instance (not incluster) : Started on one node
Dialog Instance (not in cluster): Started on the other node
When I create the resource for SUNW.sap_as like
clrs create --g sap-rg -t SUNW.sap_as .....etc etc
in the /var/adm/messages I got lots of WAITING FOR DISPACHER TO COME UP....
Then after timeout it gives up.
Any clue? What does is try to connect or waiting for? I hve notest that it's something before the startup script....
TIA -
Deploying a Web Service developed for WebSphere to Oracle App Server
I have an EAR file containing a web service (exposed as a servlet) that was developed using WebSphere Studio and originally deployed to a WebSphere application server. It should be J2EE 1.4 compliant. I now want to deploy it as a web service on Oracle Application Server.
Is it as simple as just deploying the EAR to OAS? Or do I need to (re-)assemble the EAR using the Web Service Assembler tool and then deploy it? What is the best practices approach for this scenario? My goal is to develop a web service that is deployable to both WebSphere and OAS with as little fuss as possible.
Thanksusing Ant.
check apache.org project there they have the ant section.
Regards -
Oracle VM: Sun server x3-2 with Sun Storage 2540 M2
Hello Everyone!
Currently, we are planning to implement a project about Visualization using Oracle VM.
As the Sun Storage 2540 M2 uses FC channel to share its luns from storage, we are not sure on how to discover those share storage luns to be use in Oracle VM manager and Oracle VM Server.
So, could you please help guide us, give us some recommendations, or instruction documents to the issue above?
Thank so much in advance!
Regard,
DaraHmm, server is not (auto?)discovered
though machines can see each other via network, all ports are opened, but agent still reports
[2011-07-28 21:07:32 6001] DEBUG (OVSNotificationServer:233) NOTIFICATION SERVER STARTED
[2011-07-28 21:07:32 6005] INFO (OVSRemaster:101) REMASTER SERVER STARTED
[2011-07-28 21:07:32 6009] INFO (OVSMonitor:29) MONITOR SERVER STARTED
[2011-07-28 21:07:32 6013] INFO (OVSHA:103) HA SERVER STARTED
[2011-07-28 21:07:33 6017] INFO (OVSStat:234) STAT SERVER STARTED
[2011-07-28 21:07:33 6021] INFO (OVSAgentServer:274) OVSAgentServer start serving!
[2011-07-28 21:07:33 6021] INFO (OVSAgentServer:275) Oracle VM Server version: {'release': '3.0.2', 'date': '201109270901', 'build': '75'}
[2011-07-28 21:07:37 6009] DEBUG (OVSMonitor:46) Cluster state changed from [Unknown] to [Offline]
[2011-07-28 21:07:37 6009] DEBUG (OVSMonitor:50) Error sending notification: Cannot get manager URL from agent db.
[2011-08-14 23:30:58 13993] DEBUG (agtctl:95) master flag: None
A slight off-subject question, do I need to run anything on OVM (apart from setting on all servers the same password)? -
Hi,
I've installed VDI 3.1 on Solaris 10/09 in evaluation mode. I have absolutely no error during the install or the configuration. Once everything is completed, I can log locally on the VDA web console where I enter my username/password for root (the user that was used for the install). Once I do that, I have an "Internal Error Occured" that shows on the login page. If I click on the error log, I have the following:
Error Details
Here is a full stack trace of the error:org.apache.jasper.JasperException: javax.faces.FacesException: javax.faces.FacesException: javax.faces.FacesException: Cant instantiate class: com.sun.vda.admin.AccordionBean.. null
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
=== reduced for clarity ===
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.faces.FacesException: javax.faces.FacesException: javax.faces.FacesException: Cant instantiate class: com.sun.vda.admin.AccordionBean.. null
at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:216)
at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:211)
at javax.faces.webapp.UIComponentClassicTagBase.createChildRight now, all the services are running and status are good. However, I can't create provider with the CLI neither. I receive the message that VDI is not running (even if it is) and that's even if I commented out the localhost IPV6.
I saw that the VDI Demo is not supported in a VM. Is that why or it should work even if not supported? My current VM has 3 GB of RAM and 2 CPU allocated to it which seems appropriate for a demo.
If you have any idea or if I missed something, please let me know.
Thank you.
fortineTry executing:
vda-webadmin stop
vda-service stop
vda-service start
vda-webadmin start
IIRC this worked for me some time back. If it doesn't work for you, check the DB state with vda-db-status
~Thomas -
Web classes are loaded by classloader or app server
Hi,
In web applications the loading of the web classes like struts action class or servlets will be done by the JEE application server
or Class loaders in java (Bootstrap, System, Extensions class loaders)?
Thanks.aksarben wrote:
I think a relevant question would be: Why do you care? Is there more to your query than meets the eye?Probably. In the context of application servers it is actually quite useful to know how classes are managed; if you wouldn't know how for example Apache Tomcat uses classloaders to isolate server resources from application resources, you could be making all the wrong assumptions. tomcat in that respect is easy, application servers tend to have even more complex classloader hierarchies to be able to share classpath resources between applications etc. etc. -
Troublesome need to log off between switching from Yahoo to another website with message that program is still running.
Terminate Firefox from the "Processes" tab of the Windows Task Manager not the "Applications" tab. Then select firefox.exc and use the right-click context menu to "End Process" or use the "End Process" button on the selected process.
Windows 7 keyboard shortcut "Ctrl+Shift+Esc" will go directly to the Windows Task Manager and reopen the last tab that you had open.
See item #38 Closing Firefox Properly -- use File -> '''Exit'''
*http://dmcritchie.mvps.org/firefox/firefox-problems.htm#close_firefox
<br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>
I don't see why you feel you have to exit Firefox to get out of one website to immediately use another website. Very impractical. Does this have anything to do with desktop icons or not using tabs?
Completely unrelated to your question or your reason. Your flash plug-in is out of date.
Check for Flash updates to see if you really are current
* http://www.adobe.com/software/flash/about/
After the download,
#bring up the download manager ("Ctrl+J") and start your installs. As soon as the install comes up,
#close Firefox with File > Exit or "Firefox" button > Exit. Give Firefox some time to close and check that it finished via the Windows Task Manager -- if it is still running then terminate it by selecting the use "End Process" button or from context menu.
#proceed with the install
'''Warning''': this is the Adobe site and they have chosen to to provide crapware along with their own product. Only install the product you were planning to install. Do not install additional products: including -- "Free! McAfee Security Scan Plus" or "Google Chrome". Installing Google Chrome on your own and installing it because it is offered on the Adobe site are two different things.
Find updates for your installed plugins at http://www.mozilla.com/plugincheck/ mozilla.com/plugincheck
-- best to use Adobe's site to really see if their plug-ins are up to date.
Maybe you are looking for
-
ICal and subscribed calendars with MobileMe using AppleScript
I am having the same problem as many of you; I have a MobileMe account which does not sync the calendars I have in iCal that are subscriptions. I found this great script online which I'll post below. I don't know anything about AppleScript so I'm jus
-
Problem in reports6i parameter form customization
I am calling report developed under reports6i using rwservlet from j2ee web application. I was able to successfully customize the parameter form internal to report using Report Escapes properties, Before Form value and After Form value. I am using he
-
Model Binding doesn't work (MVC - BSP)
Hi My application uses Business Server Pages with MVC. My Model class has several Attributes and I want to use the Model Binding Concept for automatic data transfer between model an view: 1. MODEL The attribute i want to use is an internal table: T_R
-
In photos on my ipad when I tap edit there is no "-" or delete button or option?
Need help deleting albums and photos in "photos", edit option doesn't give me this option?
-
Playbook 2.0 o/s ???
Its past summer... its past september... nearly half through october... Im beginning to think this update is just a scam! My company switched phones! I need the native email/contacts/calendar NOW!!!