JMS Server - Web Server
Hi folks,
I want to use JMS in my CEP application. And I do not know where should i start. Documentation I think is not enough. What is your suggestion?
Should I install an extra web server to handle JMS queue or can Oracle CEP server handle it?
In addition, if some application use my web service written in java, will I have to installed an web server?
I am using Oracle 11.1.1.3.
Thanks.
Hi alexalves,
I downloaded application you mentioned. When i deploying, it successfully deployed but could not start. It says instance-propery tag must have value or ref attribute. I checked assembly file but i could not find any miss point. Error :
<Aug 4, 2010 6:35:01 PM EEST> <Info> <org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean> <BEA-000000> <Looking for mandatory OSGi service dependency for bean [] matching filter (objectClass=org.osgi.service.startlevel.StartLevel)>
<Aug 4, 2010 6:35:01 PM EEST> <Info> <org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean> <BEA-000000> <Found mandatory OSGi service for bean []>
<Aug 4, 2010 6:35:01 PM EEST> <Info> <org.springframework.osgi.bundle.BundleFactoryBean> <BEA-000000> <Loading bundle from [file:/D:/CEP_HOME/user_projects/domains/ocep_domain/defaultserver/applications/JMSCepDeneme/JMSCepDeneme.jar]>
<Aug 4, 2010 6:35:01 PM EEST> <Info> <OSGiLogReaderAdapter> <BEA-000000> <Bundle[261] JMSCepDeneme, Message (BundleEvent INSTALLED), Exception (null), Time (1280936101469)>
<Aug 4, 2010 6:35:01 PM EEST> <Info> <org.springframework.osgi.extender.support.DefaultOsgiApplicationContextCreator> <BEA-000000> <Discovered configurations {osgibundle:/META-INF/spring/*.xml} in bundle [JMSCepDeneme (JMSCepDeneme)]>
<Aug 4, 2010 6:35:01 PM EEST> <Info> <org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext> <BEA-000000> <Refreshing org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@278698e: display name [OsgiBundleXmlApplicationContext(bundle=JMSCepDeneme, config=osgibundle:/META-INF/spring/*.xml)]; startup date [Wed Aug 04 18:35:01 EEST 2010]; root of context hierarchy>
<Aug 4, 2010 6:35:01 PM EEST> <Notice> <Deployment> <BEA-2045000> <The application bundle "JMSCepDeneme" was deployed successfully to file:/D:/CEP_HOME/user_projects/domains/ocep_domain/defaultserver/applications/JMSCepDeneme/JMSCepDeneme.jar with version 1280936101312>
<Aug 4, 2010 6:35:01 PM EEST> <Info> <org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext> <BEA-000000> <Unpublishing application context OSGi service for bundle JMSCepDeneme (JMSCepDeneme)>
<Aug 4, 2010 6:35:01 PM EEST> <Info> <OSGiLogReaderAdapter> <BEA-000000> <Bundle[261] JMSCepDeneme, Message (BundleEvent RESOLVED), Exception (null), Time (1280936101470)>
<Aug 4, 2010 6:35:01 PM EEST> <Info> <OSGiLogReaderAdapter> <BEA-000000> <Bundle[261] JMSCepDeneme, Message (BundleEvent STARTED), Exception (null), Time (1280936101484)>
<Aug 4, 2010 6:35:01 PM EEST> <Info> <org.springframework.beans.factory.xml.XmlBeanDefinitionReader> <BEA-000000> <Loading XML bean definitions from URL [bundleentry://261.fwk36719251/META-INF/spring/JMSCepDeneme.context.xml]>
<Aug 4, 2010 6:35:01 PM EEST> <Info> <org.springframework.beans.factory.support.DefaultListableBeanFactory> <BEA-000000> <Overriding bean definition for bean 'com.bea.wlevs.ede.api.Factory#jms-outbound_provider#0': replacing [Root bean: class [org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]>
<Aug 4, 2010 6:35:01 PM EEST> <Error> <Deployment> <BEA-2045016> <The application context "JMSCepDeneme" could not be started. Could not initialize component "null": Configuration problem: Tag 'instance-property' must have either a 'value' attribute or a 'ref' attribute or 'props' element
Offending resource: URL [bundleentry://261.fwk36719251/META-INF/spring/JMSCepDeneme.context.xml]>
<Aug 4, 2010 6:35:01 PM EEST> <Error> <org.springframework.scheduling.timer.DelegatingTimerTask> <BEA-000000> <Unexpected exception thrown from Runnable: org.springframework.osgi.extender.internal.util.concurrent.RunnableTimedExecution$MonitoredRunnable@27978e1
java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:153)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.close(DependencyWaiterApplicationContextExecutor.java:345)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.doClose(AbstractDelegatedExecutionApplicationContext.java:237)
at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:794)
at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$3.run(ContextLoaderListener.java:807)
at org.springframework.osgi.extender.internal.util.concurrent.RunnableTimedExecution$MonitoredRunnable.run(RunnableTimedExecution.java:60)
at org.springframework.scheduling.timer.DelegatingTimerTask.run(DelegatingTimerTask.java:66)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
>
<Aug 4, 2010 6:35:01 PM EEST> <Info> <OSGiLogReaderAdapter> <BEA-000000> <Bundle[261] JMSCepDeneme, Message (BundleEvent STOPPED), Exception (null), Time (1280936101531)>
<Aug 4, 2010 6:35:01 PM EEST> <Info> <OSGiLogReaderAdapter> <BEA-000000> <Bundle[261] JMSCepDeneme, Message (BundleEvent UNRESOLVED), Exception (null), Time (1280936101641)>
<Aug 4, 2010 6:35:01 PM EEST> <Info> <OSGiLogReaderAdapter> <BEA-000000> <Bundle[261] JMSCepDeneme, Message (BundleEvent UNINSTALLED), Exception (null), Time (1280936101642)>
<Aug 4, 2010 6:35:01 PM EEST> <Notice> <Deployment> <BEA-2045001> <The application bundle "JMSCepDeneme" was undeployed successfully> EPN Assemble File :
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:osgi="http://www.springframework.org/schema/osgi"
xmlns:wlevs="http://www.bea.com/ns/wlevs/spring"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/osgi
http://www.springframework.org/schema/osgi/spring-osgi.xsd
http://www.bea.com/ns/wlevs/spring
http://www.bea.com/ns/wlevs/spring/spring-wlevs-v11_1_1_3.xsd">
<wlevs:event-type-repository>
<wlevs:event-type type-name="JMSTestEvent">
<wlevs:class>com.oracle.cep.pattern.jmsadapter.TestEvent</wlevs:class>
</wlevs:event-type>
</wlevs:event-type-repository>
<!-- generate specific number of events -->
<wlevs:adapter id="eventGenerator"
class="com.oracle.cep.pattern.jmsadapter.TestEventGenerator">
<wlevs:instance-property name="eventCount"
value="50" />
<wlevs:listener ref="channel1" />
</wlevs:adapter>
<!-- pass events through -->
<wlevs:processor id="processor">
<wlevs:listener ref="channel2"/>
</wlevs:processor>
<wlevs:event-bean id="testSink" class="com.oracle.cep.pattern.jmsadapter.TestSink"/>
<bean id="testConverter" class="com.oracle.cep.pattern.jmsadapter.TestMessageConverter">
<property name="properties">
<props>
<prop key="operatorName">Nievana Junger</prop>
</props>
</property>
</bean>
<wlevs:adapter id="jmsOutbound-map" provider="jms-outbound">
<!-- configured in adapters.xml -->
</wlevs:adapter>
<wlevs:adapter id="jmsOutbound-text" provider="jms-outbound">
<wlevs:instance-property name="converterBean" ref="testConverter"/>
<wlevs:instance-property name="jndiProviderUrl" value="vm://localhost"/>
<wlevs:instance-property name="jndiFactory" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
<wlevs:instance-property name="connectionJndiName" value="ConnectionFactory"/>
<wlevs:instance-property name="destinationJndiName" value="dynamicTopics/TextTopic"/>
<wlevs:instance-property name="connectionUser" value="aa"/>
<wlevs:instance-property name="connectionPassword" value="aa"/>
<wlevs:instance-property name="user" value="dsdsa"/>
<wlevs:instance-property name="password" value="dsadas"/>
<wlevs:instance-property name="deliveryMode" value="nonpersistent"/>
</wlevs:adapter>
<wlevs:adapter id="jmsInbound-text" provider="jms-inbound">
<!-- configured in adapters.xml -->
<wlevs:instance-property name="converterBean" ref="testConverter"/>
<wlevs:listener ref="channel3"/>
</wlevs:adapter>
<wlevs:adapter id="jmsInbound-map" provider="jms-inbound">
<wlevs:instance-property name="eventType" value="JMSTestEvent"/>
<wlevs:instance-property name="jndiProviderUrl" value="vm://localhost"/>
<wlevs:instance-property name="jndiFactory" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/>
<wlevs:instance-property name="connectionJndiName" value="ConnectionFactory"/>
<wlevs:instance-property name="destinationJndiName" value="dynamicQueues/MapQueue"/>
<wlevs:instance-property name="user" value="dsdsa"/>
<wlevs:instance-property name="password" value="dsadas"/>
<wlevs:instance-property name="connectionUser" value="test1"/>
<wlevs:instance-property name="connectionPassword" value="test123"/>
<wlevs:instance-property name="workManagerName" value="JettyWorkManager"/>
<wlevs:listener ref="channel3"/>
</wlevs:adapter>
<wlevs:channel id="channel2" event-type="JMSTestEvent">
<wlevs:listener ref="jmsOutbound-map"/>
<wlevs:listener ref="jmsOutbound-text"/>
</wlevs:channel>
<wlevs:channel id="channel3" event-type="JMSTestEvent">
<wlevs:listener ref="testSink"/>
</wlevs:channel>
<wlevs:channel id="channel1" event-type="JMSTestEvent">
<wlevs:listener ref="processor" />
</wlevs:channel>
</beans>Adapters.xml :
<?xml version="1.0" encoding="UTF-8"?>
<n1:config xmlns:n1="http://www.bea.com/ns/wlevs/config/application">
<jms-adapter>
<name>jmsInbound-text</name>
<jndi-provider-url>vm://localhost</jndi-provider-url>
<jndi-factory>org.apache.activemq.jndi.ActiveMQInitialContextFactory</jndi-factory>
<connection-jndi-name>ConnectionFactory</connection-jndi-name>
<destination-jndi-name>dynamicTopics/TextTopic</destination-jndi-name>
<connection-user>jll</connection-user>
<connection-password>jpoo</connection-password>
<work-manager>
JettyWorkManager
</work-manager>
<concurrent-consumers>1</concurrent-consumers>
<session-transacted>false</session-transacted>
<delivery-mode>nonpersistent</delivery-mode>
</jms-adapter>
<jms-adapter>
<name>jmsOutbound-map</name>
<event-type>
JMSTestEvent
</event-type>
<!-- <jndi-provider-url>t3://localhost:7001</jndi-provider-url>-->
<jndi-provider-url>vm://localhost</jndi-provider-url>
<jndi-factory>org.apache.activemq.jndi.ActiveMQInitialContextFactory</jndi-factory>
<connection-jndi-name>ConnectionFactory</connection-jndi-name>
<destination-jndi-name>dynamicQueues/MapQueue</destination-jndi-name>
<user>jkjjppj</user>
<password>njnjnjnjn</password>
<delivery-mode>nonpersistent</delivery-mode>
</jms-adapter>
</n1:config>
Similar Messages
-
DMZ - DNS Server, Mail Server, Web Server, FTP Server
Hi,
I am looking at a router to support around 20-30 people. I have a DNS Server, Mail Server, Web Server, FTP Server (all on one box (PC). I was wondering how everyones experiences with DMZ and port forwarding have been with these protocols with Airport and supporting a group of this size? Do you forsee issues? Will the new Airport handle these requirements better?
ThanksA record for mail.mydomain.com going for ip 199.99.99.999
MX record for mail.mydomain.com with destionation as mail.mydomain.com
That doesn't quite make sense. There must be an A record for "server.mydomain.com" or you wouldn't be able to reach it at all. You want the MX record to point to that. -
Difference between App server & Web server
What is the exact difference between the App Server & Web Server?
What is the exact difference between the App Server &
Web Server?that is sort of like asking what is the difference between colour and
blue, but i will try to explain all the same.
i would define a web server as a server that provides HTTP service.
that is it provides access to resources using the www protocol standards.
i would define an application server as any server providing a service
through the use of some application specific protocol.
by this definition a web server is also an application server, but not
all application servers are web servers.
some Java examples of application servers that are not web servers would
be EJB, or how about practically anything using RMI.
to further confuse the issue some web servers are now acting as more
widely functional application services in an idea called web services.
the idea is to provide non-web based applications through HTTP using
existing web servers.
for more on Java web services go here http://java.sun.com/webservices/
finally to illustrate the difference in a java-based way.
public abstract class ApplicationServer{
}and...
public class WebServer extends ApplicationServer{ -
LMS 3.2 on Win 2008 Server - Web Server Issue
Hi,
I just installed LMS 3.2 on Windows 2008 Server Standart X64 and the CiscoWorks Web Server service does not start (Apache service is down but Tomcat up).
All other services seem to be correctly started even if this is quit long.
When I try to manually start the Apache Service with "pdexec Apache", i got :
ERROR:Get reply from server failed:
ERROR: Daemon Manager startup in progress. Please wait.
When the deamon is up, the second line disapeared but apache is still not responding and of course, the URL is unreachable.
This is a HP Proliant Server with 12Go RAM, is there a maximal size for the paging file ?
I did not modify TMP and TEMP variable, should I have done it before the installation ?
it appears to be some service startup issue on win 2008, is there bug fix or work around ?
pdshow attached
Thanks for your help, this is quit urgent.
Cedric.>>> is there a maximal size for the paging file ?
There's indeed a swap file issue with Win 2008. See the first reply in this thread for corrective action: https://supportforums.cisco.com/message/675893#675891
Though it may not apply, because you've installed LMS 3.2 ok, since you seem to be aware of it, the TMP/TEMP variables do need to be shortened, as noted in this post: https://supportforums.cisco.com/message/677383#677383
Is your Win 2008 Server running any Microsoft Service Packs? Because AFAIK Win 2008 SP2 is not yet supported, and no one seems to have any luck on it with LMS 3.2 yet.
After LMS 3.2 is up and running, if you can't log in to the web GUI, you might be running into the CSCtb17186 bug, described in this post: https://supportforums.cisco.com/message/676256#676256 -
Mountain Lion Server Web Server not working after time machine restore
Our Mountain Lion Server (mac mini) lost its drive yesterday. We got a new mac mini and did a time machine restore. Everything in the Server seems to be working (users, groups, file shares, etc) except for the web server.
Trying to connect to the server results in safari not being able to connect to the server. Even just clicking on the "view server website" link in the Server app doesn't work.
We've tried stopping / restarting the services. We have confirmed that the files in Library / Server with the web pages were restored.
Are there any gotchas, troubleshooting steps or guides anyone can point me to? I'd like to get our wiki back.
Thanks
Jeff/var/log/apache2/error_log repeats the following lines about every 30 seconds:
[Tue May 07 18:44:15 2013] [error] Init: Pass phrase incorrect
[Tue May 07 18:44:15 2013] [error] SSL Library Error: 218710120 error:0D094068:asn1 encoding routines:d2i_ASN1_SET:bad tag
[Tue May 07 18:44:15 2013] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Tue May 07 18:44:15 2013] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
[Tue May 07 18:44:15 2013] [error] SSL Library Error: 218734605 error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib
[Tue May 07 18:44:26 2013] [crit] (17)File exists: mod_rewrite: Parent could not create RewriteLock file /var/log/apache2/rewrite.lock
Configuration Failed -
OS X Server Web Server Problem Creating New Domain
I am running Mac OS X Server version 3.0.2 and added a new domain (website), like www.example.com, but my own.
Everything seems to work fine.
But when accessing the website it says the following:
"Forbidden. You don't have permission to access / on this server."
Who Can Access: Anyone
What shall I do to change this?
Sincerely,
AndreasThank you again!
What puzzles me, is that we launching Terminal.app and stepping to the folder "/Library/Server/Web/Sites/Data/mydomain.com" and do a ls -al, it looks like this:
drwxrwxr-x 18 root admin 612 15 Jan 12:24 Default
That is the Default site which I could access via internet when I enabled it at first.
The same is set for mydomain.com that I created as a new web site (domain) in the Web Server, and the information is identical with the Default one, with one exception, the permissions. The permissions for mydomain.com is as follows:
drwxr-xr-x 13 root admin 442 15 Jan 15:44
Why would not the New web site work when it is the same user and group that has access, with the only exception of a w less on mydomain.com?
I thought I would see _www or www above, but not at all. Isn't that strange?
Sincerely,
Andreas -
Installing CF on OSX Server - Web Server/Website issue...
I am trying to install Cold Fusion onto a OSX Snow Leopard Server, and when I get to the Configure Web Servers/Websites portion, my site that is set up on the Snow Leopard server is not showing up in the Web Servers/Websites selection box, and because of that I cannot move past this part of the configuration of CF.
Does anyone have any idea of why the site is not showing up in the box and/or how to fix this issue?
Many thanks,
GaryHi,
I've installed Imagemagick on 10.5 and 10.6 client. Haven't had the need on server yet but it shouldn't be much different. Other installs to /usr/local on server have worked fine for me.
XCODE 3 and X11 must be installed prior to continuing with the following installation on Mac OS 10.4 & 10.5
Go to http://www.macosxhints.com/article.php?story=20080818051248464
which has you run a series of bash scripts: at http://pastie.org/254887
This loads the modern image formats (jpeg and png), then ghostscript fonts needed for rmagick.
Then ImageMagick itself is loaded and all links point to it within the location it was compiled.
I selected /usr/local
Test the installation by
start up an X11 terminal window by starting Applications -> Utilities -> X11
$ cd ImageMagick-6.5.2-5/images
$ convert logo: logo.gif
$ identify logo.gif
$ display logo.gif
which should produce the sorcerer image on the X11 terminal window.
There is a single shell script for doing all this on 10.6 with the options for architecture setup.
HTH,
Harry -
Difference between web server & application server
Hi everybody ,
Pl .forgive me for my ignorance.I can't understand the difference between Application server & web server .
KIndly help me .
Thanks.A web server basically just copies files over the network using HTTP. It needn't support server-side execution of any kind of application code (except the server itself, of course). Application servers, on the other hand, provide a platform for application development.
In the J2EE world the term "Application server" is usually used to distinguish a fully-fledged server with an EJB container and JMS (such as JBOSS or BEA Weblogic Server) from containers that only implement the web application container part of the J2EE spec (such as Tomcat or BEA Weblogic Express). -
Would like to hear about pros/cons of using a separate Web Server (such as
NES) vs the bundled WLS 5.1 seb server in a Solaris environment, to serve
static content. The site we are building will have a significant amount of
static content.
Some possible issues might be:
PROS for separate web server:
- web server optimized for efficient handling of static content, reduces
load on WLS
- allows for possibility of scaling out the web server on a separate box
from WLS
- web server can be configured/managed in a more granular way?
CONS for separate web server:
- cost of task/context switching when requesting dynamic content from app
server? ( Maybe there is already context switch overhead in a integratedWLS
configuration - who knows?)
- problems with configuring web applications (URLs?) - references from JSPs
to static content can't be relative URLs?
- one-stop solution is easier to manage
I'd like to hear about any experiences with this issue. We need to recommend
a configuration to a client.Either way, to scale WL into a cluster, you need to front-end it with
Apache, IIS, or NES (afaik). But that "front end" doesn't have to be
serving static content ... it could just be there to support the clusterand
you could have a separate trunk handling (and specialized for) static
content.FYI, the notion of having to front end WLS with anything will soon go away.
Currently, we have a requirement that proxies be intelligent and have some
level of knowledge about in memory replication. If the primary's
unavailable, they need to know where to send the session for the secondary.
We are changing the product to remove this requirement.
In addition, we're currently working with hardware vendors (such as alteon)
and software solutions (such as resonate) that will obviate the need for any
Web server proxies or using WebLogic server as the proxy. This will provide
you with in memory replication and all of the features of our clustering
while simplifying things greatly and improving performance.
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
"Cameron Purdy" <[email protected]> wrote in message
news:[email protected]...
How much static content do you have on your site? Is your site driven by
static content or driven by dynamic content? For example, if most of your
pages, including your home page, are JSPs, but you do have some staticpages
that get linked to (plus the obvious gif/jpg files that are static) thenyou
may want to consider WL as your primary web server and have Apache (etc.)
there just to serve up images and static html. If the bulk of your siteis
static and portions are dynamic, then you might want to have Apache
front-end your site with just specific parts being farmed out to WL.
Either way, to scale WL into a cluster, you need to front-end it with
Apache, IIS, or NES (afaik). But that "front end" doesn't have to be
serving static content ... it could just be there to support the clusterand
you could have a separate trunk handling (and specialized for) static
content.
Cameron Purdy
"Steve Vago" <[email protected]> wrote in message
news:[email protected]...
Would like to hear about pros/cons of using a separate Web Server (such
as
NES) vs the bundled WLS 5.1 seb server in a Solaris environment, toserve
static content. The site we are building will have a significant amountof
static content.
Some possible issues might be:
PROS for separate web server:
- web server optimized for efficient handling of static content, reduces
load on WLS
- allows for possibility of scaling out the web server on a separate box
from WLS
- web server can be configured/managed in a more granular way?
CONS for separate web server:
- cost of task/context switching when requesting dynamic content fromapp
server? ( Maybe there is already context switch overhead in aintegratedWLS
configuration - who knows?)
- problems with configuring web applications (URLs?) - references fromJSPs
to static content can't be relative URLs?
- one-stop solution is easier to manage
I'd like to hear about any experiences with this issue. We need torecommend
a configuration to a client. -
CAC or smart card use with Oracle database and web server
I've been asked to smart card (CAC) enable our Oracle web server and database access. We currently use CAC to access many of our other applications.
Where can I find the following information
Oracle software required (and is it an additional cost)
How to integrate Oracle App server (web server) with CAC.
How would I need to change the database users accounts to be CAC enabled rather than database users accounts.
Thanks
steven jackson
[email protected]
614-692-9768Virtualisation is not certified for Oracle RAC on Windows.
+Certified Software on Oracle VM [ID 464754.1]+ note states:
Oracle Real Application Clusters (RAC)
Oracle 10.2.0.4 and up (10gR2) and 11.1.0.7 and up (11gR1) and 11gR2 RAC for Linux x86 and Linux x86_64 certified on Oracle VM
Guest OS: Oracle Linux 5.1 (and above) RHEL 5.1 (and above) for Linux x86 / Linux x86_64
Paravirtualized (PV) mode only (Guest OS and drivers)
Only supported on Oracle VM 2.1.2 and above
Live-migration of an Oracle RAC VM is supported with Oracle VM 2.2.1 and above.
Previous versions are not supported. Please refer to this link for best practices.
Over-committing CPUs is not recommended, but supported with the following restrictions:
The total amount of VCPUs allocated to guest domains (running Oracle RAC guests), should not exceed
two times (2x) the amount of real CPUs / cores in the Oracle VM server.
The amount of VCPUs allocated to a single guest domain should not exceed the amount of real CPUs /
cores in the Oracle VM server.
Maintain Oracle VMs default VCPU allocation for dom-0: Oracle VM will allocate 1 VCPU for each real CPU or core to dom-0.
CPU pinning is only recommended for hard partitioning. If no hard partitioning is required, CPU pinning should not be used.
Static support only (dynamic support is being planned):
Dynamic resizing of guest virtual machine is not supported (VCPU, memory and I/O)
Virtual Machine Pause/Restore of an active Real Application Cluster virtual machine is not supported. -
Is tomcat a web server or web container? I got information like this:
web server: Is responsible for receiving request from
client and sending responses to client.
web container: w.c contains Servlet engine and jsp engine,
responsible for executing servlets(JSP) life cycle.
once webserver receivs the request it sends the control to
webcontainer,after execution of servlet(jsp) response will
be sent to web server ,web server will send the response to
client.
I am now totally confused. Your reply will be much helpfulSun's Web Server (which this forum is about - download it here: http://www.sun.com/webserver) is a web server with an embedded web container. So, it is both. That's one of the reasons why it scales so well for Java Servlet content. Give it a try...
-
My Tomcat is dead. (web server that is)
Good day to all.
I am developing a web application site using Forte. I was using the built in Tomcat Web Server to do the testing on my local machine. It's a simple application that uses a database server, web server, and web browser. Yesterday I made a change to a class file, reloaded the server, and BAM, got a page can not be displayed message. This was strange since in the past if I goofed on the code I would get exception messages from the server. I undid my change but still got nothing from the server. I uninstalled and reinstalled the server, reset my web context for the site I am working on, nothing worked. I posted the site to my outside web server running resin and the thing works fine. I can't find any help in Forte's help section.
Can anyone offer some advice as to how to at least debug what's going on?
Thanks so much.Ususally this kind of thing is down to class loading problems. Referenced classes, methods etc. missing from Tomcat's limited classpath.
The place to look is in the log directory. catalina.out and the log file relevant to the particular webapp.
Hopefully you'll find an expection report and stacktrace. -
Need to configure email alerts for app/web server shutdown
Hi,
I need to configure email alert notification, so that whenever application server or webserver is shutdown/restarted, an email is sent to the group/userid.
I am aware that in Peoplesoft, there is no parameter or functionality which sends an email notification whenever application server & web server restart & shutdown. This is where I need help.
Did anyone setup the email alert notification in any of your environments? If so, please let me know how did you do the setup?
Thanks,
SakkyPlease find the below sample batch program.
this helps to start the appserver automatically and if the status fails this will send email automatically.
This is the another way of findting the status of the app server.
In the below program, by finding the "Done" value on the output screen we can decide if the server is running or not.
Hope you understand this, Kindly let me know if you need further information.
===============================
@echo off
REM Set a temporary variable
SET CONNECT
REM Check the status of the Application server
psadmin -c sstatus -d PSEPM | FIND "Done" > NUL
REM If the server is down boot the server
ERRORLEVEL 1 SET CONNECT= psadmin -c boot -d PSEPM
%CONNECT%
REM Check the server again for status
psadmin -c sstatus -d PSEPM | FIND "Done" > NUL
IF ERRORLEVEL 1 goto sendmail
goto end
REM Sending mail to Administrator
:sendmail
REM setting the path for email command
SET CONNECT= cd D:\PT849\bin\client\winx86
%CONNECT%
REM Below command will send mail to the Administrator
SET CONNECT= psemail -server < server ip> -from [email protected] -to [email protected] -subject "Server Down" -body "Hi, Server is down at this time, unable to boot."
%CONNECT%
:end
==============================
Edited by: Soundappan on Feb 19, 2011 10:39 AM
Edited by: Soundappan on Feb 19, 2011 10:40 AM -
Setting Up a Java Web Server on Linux
Greetings,
After a lot of reading, I've decided to learn Java server-side technologies (I already know Java (desktop)
but with little experience) in order to develop my database driven dynamic website projects.
However, I'm completed lost between the hundreds of acronyms related to Java and the "thousands" of technologies involved.
Google hadn't help me understand what they really are and how they relate with each other.
Even though is easy to find what they stand for and some faqs/descriptions, it hasn't been enought to clear my mind.
I want my webserver application to do, among other things, the following:
Retrieve Data from a database, do generate dynamic html files.
Story Data on the database, from html forms.
Send automaticly emails for multiple users. (newsletter for example)
E-Commerce.
Html graber/parser (I don't know if this is the right word, I mean a program that for example, goes to a URL with an html
table, and stores that information in a database table, as long as the format didn't change).
Real Time Chat feature.
Database connection pooling, caching, and other important optimizations.
I'm not asking for how to develop or configure this features nor what components and programs, must be installed.
At the moment, I only want to know how to set up a Java solution that will support them when they are needed.
*** Linux ***
I want to set up my webserver on a linux distribution.
In that respect, I don't know if I should choose RedHat or Fedora Core.
I've heard that fedora is better for a webserver (having in mind that Red Hat Enterprise AS/ES aren't free).
But I've read in several sun turorials/webpages references to RedHat (on a J2EE context).
So I'm wondering if is better to go for Fedora or RedHat. Are there pros & cons? They equally support Java?
*** Technologies ***
Then in starts the acronyms problem.
What do I need to install, in what order, for what?
Some aconyms and technologies, I have read about but don't fully understand are the following:
Apache
J2EE
J2EE 1.4 SDK
SUN Java System Application Server Platform Edition 8
J2SE 1.4.2 SDK
SUN Java Enterprise System
Tomcat
Struts
Cocoon
JBoss
I already know J2EE is only a specification. What implements that specification? Sun Java System Application Server?
J2SE SDK? or Tomcat?
What is the role of each technology, namely Apache, Tomcat, Sun Application Server?
What is the Sun Java Enterprise System?
How do Struts, Cocoon, JBoss relate to Java?
Which of these technologies are mutually exclusive (analogous)?
*** Doubts ***
Then, I have some doubts that are keeping me from starting to study seriously the important techonologies, because I don't
want to lose lot's of time and effort learning them to after a dillusion start everything again with PHP (the language
which make me think and read a lot before going for Java). To keep this from happening, I would like to know the following:
I want to use Java for developing websites with commercial/profitable use for my company, in some throught e-commerce,
and in other by banners. I want to do everything by the book, with required licenses.
------ Java is Free?
Is Java Completely Free or it might be possible that at a certain point, when I need some component or library,
multi-machine webserver, performance or security for high-traffic I will see "buy now" instead of "download now"?
For what they may "ask for money"? and what are the disavantages if I can't buy?
For example, "Java System Application Server Standard Edition 8.1 2005Q1" and
"Java System Application Server Enterprise Edition 8.1 2005Q1" cost $2.000 and $10.000 respectively. That is money.
(http://www.sun.com/software/products/appsrvr/index.xml). What are the disavantages if stick to the free edition?
Features like (from sun site)
Standard Edition:
Extends the capabilities of the Platform Edition to provide secure, remote, multi-instance, multi-machine management.
It is aimed at high-volume applications and Web services.
Enterprise Edition:
Further extends the capabilities of the Standard Edition to provide continuous availablity for applications and
Web services. It is aimed at business critical, high value applications and Web services.
Suppose I achive lots of traffic and I keep the free platform edition.
I won't be able to have a multi-machine webserver set up correctly?
What are the drawbacks? How big are the performance penalties?
------ Technologies Availability
Finnaly, I have the idea (I don't know if it's accurate) that there are Sun versions and Open-Source Free versions
of doing or supporting the same Java related thing.
Despite the way I choose to set up a Java webserver, I will always have all J2EE techonolies like:
Java API for XML-Based RPC (JAX-RPC), JavaServer Pages, Java Servlets, Enterprise JavaBeans components,
J2EE Connector Architecture, J2EE Management Model, J2EE Deployment API, Java Management Extensions (JMX),
J2EE Authorization Contract for Containers, Java API for XML Registries (JAXR), Java Message Service (JMS),
Java Naming and Directory Interface (JNDI), Java Transaction API (JTA), CORBA, and JDBC data access API.
I really appreciate some help. I could learn the basics of all this "stuff" before asking. But the point why I'm asking
is precisely not starting to learn something I may won't use. Obviously, I will have to make a lot of reading during maybe
months before writing the first line of code of my projects, but being certain that it will fit my needs.
I will be very thankful if you can enlightme in my fedora/redhat, setup, free/cost and technologies avaibility issues.
Thanks Beforehand,
Pedro VazApache is a free Web-server.
Tomcat is a servlet (and JSP) container. It can be stand-alone or can be used together with a Web server (like Apache).
J2EE's scope is much wider than the servlet stuff, but a standalone Tomcat is a good starting point to servlets and JSP.
One of our "real-world" applications is run by a standalone Tomcat using POI and Velocity. I did not regret this architectural decision. -
Unable to install web server 7.0U2 on linux
hello,
i am trying to install web server 7.0U2 on amd64 Debian Linux. however, the installer seems to think that not enough disk space is available, even though there is 18GB free space on /.
this is the transcript of the installation:
harmony:/usr/home/river/sws64# ./setup
Welcome to the Sun Java System Web Server 7.0U2 (64-Bit) installation wizard.
You will be asked to specify preferences that determine how Sun Java System Web
Server 7.0U2 (64-Bit) is installed and configured.
The installation program pauses as questions are presented so you can read the
information and make your choice. When you are ready to continue, press Enter
(Return on some keyboards).
<Press ENTER to Continue>
Some questions require that you provide more detailed information. Some
questions also display default values in brackets []. For example, yes is the
default answer to the following question:
Are you sure? [yes]
To accept the default, press Enter.
To provide a different answer, type the information at the command prompt and
then press Enter.
<Press ENTER to Continue>
Sun Microsystems, Inc. ("Sun") SOFTWARE LICENSE AGREEMENT ("SLA") and
ENTITLEMENT for SOFTWARE
A. ENTITLEMENT for SOFTWARE. Capitalized terms not defined in this
Entitlement have the meanings ascribed to them in the SLA (attached below
as Section B). These terms will supersede any inconsistent or conflicting
terms in the SLA.
Licensee ("You"): The entity receiving the Software from Sun.
Effective Date: Date You receive the Software.
Software: Sun Software Portfolio, which may include the following: Solaris
10, Sun Java System Access Manager, Sun Java System Directory Server
Enterprise Edition, Sun Java System Identity Manager, Sun Java System
Identity Manager Resource Adapters: (a) Windows Gateway Script Resource
Adapter, (b) SQL Script Resource Adapter, (c) Unix Script Resource
Adapter, (d) Database Table Resource Adapter, (e) Host Mainframe Resource
Adapter, (f) JMS Resource Adapter, (g) Simulated Resource Adapter, and (h)
Resource Extension Facility (REF) kit, Sun Java System Federation Manager,
Sun Java Identity Auditor, Sun Java System Application Server Enterprise
Edition, Sun Java System Message Queue, Sun Java System Web Server, Sun
Java System Web Proxy Server, Sun Java System Portal Server, Service
Registry, Sun Java System Connector for Microsoft Outlook, Sun Java System
<--[6%]--[ENTER To Continue]--[n To Finish]-->n
Sun Java System Web Server 7.0 License
If you have read and accept all terms of the Software License Agreement,
answer 'yes' to continue with the installation.
If you do not accept all terms, answer 'no' to stop the installation without
installing the product. You cannot install the product without accepting the
agreement.
Have you read the Software License Agreement and do you accept all terms
[no] {"<" goes back, "!" exits}? yes
Sun Java System Web Server 7.0 components will be installed in the directory
listed below, referred to as the installation directory. To use the specified
directory, press Enter. To use a different directory, enter the full path of
the directory and press Enter.
Sun Java System Web Server 7.0 Installation Directory [sun/webserver7] {"<"
goes back, "!" exits}: /opt/webserver7
Select the Type of Installation
1. Express
2. Custom
3. Exit
What would you like to do [1] {"<" goes back, "!" exits}? 2
Component Selection
1. Server Core
2. Administration Command Line Interface
3. Sample Applications
4. Language Pack
Enter the comma-separated list [ 1,2,3,4,] {"<" goes back, "!" exits}: 1,2
Based on component dependencies for your selection...
The following components will be installed:
Server Core
Administration Command Line Interface
Java Configuration
Sun Java System Web Server 7.0 requires Java SE Development Kit (JDK). Provide
the path to a JDK 1.5.0_12 or greater.
1. Install Java SE Development Kit (JDK) 1.5.0_12
2. Reuse existing Java SE Development Kit (JDK) 1.5.0_12 or greater
3. Exit
What would you like to do [1] {"<" goes back, "!" exits}? 2
Enter the path to an existing, compatible Java SE Development Kit (JDK)
installation. [usr/home/river/sws64/WebServer/jdk] {"<" goes back, "!"
exits} /usr/lib/jvm/java-1.5.0-sun-1.5.0.14
Insufficient Disk space. Total product size is 89 MB. The installer requires
additional disk space of 89 MB. Free up some disk space and try again.
<Press ENTER to continue> {"<" goes back, "!" exits} !Hi,
I've tried to install web server 7.0U3 on Debian etch 64 today and ran into the same problem. The solution to that problem was to install those packages: ia32-libs libstdc++5 as discribed here in one of the comments -> http://blogs.sun.com/kkranz/entry/installing_sun_java_system_web
Cheers,
Alex
Maybe you are looking for
-
Re: Qosmio X770-105 - camera is not working with Skype
Hey, I've just got Qosmio x770-105 and while setting up Skype the camera just stayed black and never showed any image. While using the Toshiba Web Camera Application it is working on Skype it just has stays black. Do you have any suggestions on how t
-
Bapi or FM to delete Pricing condtion from sales order
Hi, I have a requiremnet where i need to delete the pricing condition .The sales order is changed by one proxy program and then the pricing condtion record is appearing twice in order this because of the condition origin is automatic. one entry is fo
-
How to add a br tag in headerText attribute in af:column in jdeveloper
Hi, I want to add a <br> tag in headerText attribute of <af:column> in jdeveloper 11.1.1.5.0. I want to add this in a String getting from a java bean. for eg. i have month and Year so i want to print it in the format given below 2012 Jan and for taht
-
Hi there, I've been coding for a little while and am running into questions. There's stuff I'd like to to do in xCode but couldn't find anything on that subject. I know I can po in (gdb), and get some info, but here's what I don't know how to do in t
-
Erratic behavior with Snow Leopard
This summer on vacation I was on the Internet via Wifi when my cursor started jumping around erratically. I couldn't get control of the trackpad, windows and programs would open by themselves. Desktop Icons changed size by themselves. The problems we