Deployment Confusion
Hello,
I am confused about where to deploy and EJB. Out-of-the box, we have a
standard default server and the examples server. I have built a small CMP
EJB app that I want to deploy just to see if I can get all the pieces right.
Do I deploy this on the examples server or the default server...or do I have
to create a new server altogether? This is something that I will throw away
eventually.
Thanks in advance.
Paul Reed
Jackson-Reed, Inc. 888-598-8615
www.jacksonreed.com
Author of "Developing Applications with Visual Basic and UML"
http://www.amazon.com/exec/obidos/ASIN/0201615797/jackreedinc/104-0083168-31
95939
Author of "Developing Applications with Java
You can deploy the bean either in examples server or default server. It doesn't
really matter
Kumar
Paul Reed wrote:
Hello,
I am confused about where to deploy and EJB. Out-of-the box, we have a
standard default server and the examples server. I have built a small CMP
EJB app that I want to deploy just to see if I can get all the pieces right.
Do I deploy this on the examples server or the default server...or do I have
to create a new server altogether? This is something that I will throw away
eventually.
Thanks in advance.
Paul Reed
Jackson-Reed, Inc. 888-598-8615
www.jacksonreed.com
Author of "Developing Applications with Visual Basic and UML"
http://www.amazon.com/exec/obidos/ASIN/0201615797/jackreedinc/104-0083168-31
95939
Author of "Developing Applications with Java
Similar Messages
-
Confused with Extra options provided in J2EE Deployment wizard
HI,
When Iam packing Hello.JAR
Iam getting confusing beacause of few extra options provided in wizard screen and never getting deployed because of this proble i beleive
For Hello example..right now I have
1. HelloBean (EB Class)
2. HelloHime (Home Interface)
3. Hello (Remote Interface)
Here is one of the window:
1. A combo for Enterprise Bean class
Here I will select my Hello Bean Class
after this selection
There is a frame Named "LOCAL INTERFACES"
with 2 combos
a) Local Home Interface
b) Local Interface
Similarly there is another Freme Named "REMOTE INTERFACES"
a) Remote Home Interface
b) Remote Interface
In Each case it is not allowing me to move next with out selecting both a and b
So, Iam forced to specify a & b of first as "HelloHome.class" home Interface and a & b of second as "Hello.class" Remote Interface
However Jar gets created but while deploying using j2ee deploy tool it gives an error and terminates
Using verifier tool I found these failures
a) For [ HelloBean ]
Error: [ HelloHome ] does not properly extend the EJBLocalHome interface. All enterprise bean home interfaces must extend the EJBLocalHome interface. [ HelloHome ] is not a valid home interface.
b) For [ HelloBean ]
Error: [ Hello ] does not properly extend the EJBHome interface. All enterprise bean home interfaces must extend the EJBHome interface. [ Hello ] is not a valid home interface.
c) For [ HelloBean ]
Error: [ HelloHome ] does not properly extend the EJBObject interface. All enterprise bean remote interfaces must extend the EJBObject interface. [ HelloHome ] is not a valid remote interface within bean [ HelloBean ].
d) For [ HelloBean ]
For Local Interface [ javax.ejb.EJBHome ] method [ getHomeHandle ]
Error: No corresponding business method with matching arguments was found for method [ getHomeHandle ].
e) Error: No corresponding business method with matching exceptions was found for method [ getEJBMetaData ].
For Local Interface [ javax.ejb.EJBHome ] method [ getHomeHandle ]
Error: No corresponding business method with matching exceptions was found for method [ getHomeHandle ].
f) For [ HelloBean ]
For Local Interface [ javax.ejb.EJBHome ] method [ getHomeHandle ]
Error: No corresponding business method with matching return type was found for method [ getHomeHandle ].
g) Error: No create method exist within bean [ Hello ]
For [ HelloBean ]
Error: The create methods return type [ Hello ] is not equal to remote interface [ HelloHome ]
h) For [ HelloBean ]
For Home Interface [ Hello ]
Error: No create method was found in [ Hello ]
Can any body guide what can i do to select these combos never in any book specified these double options...unable to move further
Iam on Win 2000 with versions following of JAva
a) j2sdk1.4.0_01
b) j2sdkee1.3.1
It could be appreciable if anybody guide me in this regard
Thanks
ChakriYou need to populate only these two combo boxes with HelloHome.class and Hello.class respectively. Ignore the combo boxes under "LOcal Interface"
"REMOTE INTERFACES"
a) Remote Home Interface.....HelloHome.class
b) Remote Interface.......Hello.class -
Documentation on "Deployment" causing confusion; Clarification needed
I am new to OWB. I have been reading the first chapters of OWB documentation and the following line causes confusion.
"Deployment is the process of copying the relevant metadata and the code you generated in the design center to a target schema."
This is what I understood so far: When design center is used to import/create design objects, it causes relevant design "metadata" to be stored in the repository. The "code" for these design objects can be generated in the design center which would be PL/SQL-DDL code. During deployment, this code(PL/SQL-DDL code) would be used to create database objects(corresponding to the design objects used in deployment) in an oracle target schema.
From what I understood, I did not think that (design) metadata was copied to a target schema. I was only of the opinion that code (PL/SQL-DDL code) was copied to the target schema to create database objects. However, the line in OWB documentation says otherwise.
Please clear my confusion with some clarification. I appreciate all help offered.
Edited by: user8022342 on Jan 31, 2011 9:37 AM
Edited by: user8022342 on Jan 31, 2011 9:38 AMdallan wrote:
Hi
Yes your thoughts are correct the metadata is not copied. Essentially OWB is a tool that generates code - the code is deployed somewhere, there is a small piece of metadata also deployed that essentially records the fact that this thing was deployed.
Cheers
DavidDavid,
Thanks for the reply. It cleared up my concern.
Can you please guide me to the appropriate page in the OWB documentation that talks about this small piece of metadata that is deployed along with the code? I wish to read more about it.
Thanks,
Nick -
Confuse on document "Packaging and Deploying Your Providers"
Hi..
I am refering to articel in PDK Jan 2003, "Packaging and Deploying Your Providers".
In Part "Packaging Your Provider"
No2 = Where can i find the template war file?
= How i extract them to my working directory.
Overall..can anybody explain a little more detail about this?
I am using Portal 9.0.2 V2...
Thanks.The template application is located under pdk\jpdk\v2. Copy templte.war to a working directory and extract it with a unzip tool (like Winzip). Then I imported the files into jDev, and tried stuff out with that tool. There it's easy to pack and deploy template.war (or template.ear) againg too.
Good luck! -
Confusion version necessary to deploy
Post Author: rlisario
CA Forum: .NET
I've a problem to deploy my ASP.NET application from development machine to IIS server.
I've develope my ASP.NET application with Visual Studio 2005 Professional Edition.
I've a two license of Crystal Report:- the first license is that inside with Visual Studio 2005 Professional Edition- the second license is an old Crystal Reports 10 Developer Edition
My question is:
Can I use the one of the two licenses to deploy my ASP.NET application from development machine to IIS server ?Or I must upgrade an old Crystal Reports 10 Developer Edition ?
Thanks for help,Rinaldo.Post Author: Argan
CA Forum: .NET
You will need to use the license from VS 2005 as CR10 is not supported with .NET 2005.
You need to make sure you are referencing the 10.2 assembly version dlls and use the Crystal Reports for .NET 2005 merge module to deploy. -
Version confusion in my deployment
Hello, everyone,
I have a question about Java deployment.
The case is like this:
I developed a Java program OOConverter.jar to convert OpenOffice documents to PDF using OpenOffice API in NetBeans.
So in my hand, I have OOConverter.jar and a set of libraries(juh.jar, jurt.jar, jut.jar, officebean.jar, ridl.jar and unoil.jar) in the directory lib.
The development environment is:
1. Windows XP
2. Java 1.6
3. OpenOffice SDK 2.4
4. OpenOffice 2.4
It works perfectly when the computer installs OpenOffice 2.4 only; but when a computer has both OpenOffice 2.4 and OpenOffice 1.1.5, it always calls those libraries in the directory of c:\Program files\OpenOffice.org 1.1.5\Program\classes.
I try to run like this:
java -cp c:\converter\lib -jar c:\converter\OOConverter.jar test.odt test.pdf
to convert test.odt to test.pdf, it still call the classes in OpenOffice 1.1.5.
I set the classpath to c:\converter\lib, it still does not work.
Any ideas about that?
thanks a lot
DamonHi, ChuckBing,
Thanks a lot for your reply.
I am sure that the bath of openoffice 1.1.5 is not in the the computer's path list .
Could you please give more detail about the library jars?
There are two versions installed: OpenOffice 1.1.5 and OpenOffice 2.4.
Are you referring to library jars in C:\OpenOffice\2-4\program\classes and C:\OpenOffice\1.1.5\program\classes?
I am just wondering when I use swriter.exe in OpenOffice 2.4, it will not try to invoke library jars in C:\OpenOffice\1.1.5\program\classes.
Thanks again.
Damon -
Our client version is 9.2, I tested an app with the latest ODP.NET (10.2.0.2 I think) and it doesn't work on any station but my own. Is the ODP.NET install required or should the client be enough? The only dll included with the project was the Oracle.DataAccess.dll
Is there a lite version of ODP.NET?...all I see is a 80+ MB version...and is there any way to incorporate the install of ODP.NET into the install of my app? or do I need to do that separately...?
I am on the fence on whether to go through the trouble of using ODP.NET or using the MS provider. Can someone convince me ODP.NET is worth the trouble I am having deploying it...?Hi,
Unless you purchase Data Direct's client-less Oracle Data Provider, you'll have to have Oracle client software installed (both Oracle's provider and Microsoft's provider require it). Oracle.DataAccess.dll cant connect to the database without the client install.
Microsoft's provider supports Instant client though which you could xcopy deploy, whereas Oracle's provider doesnt yet support Instant client so you'll need a "normal" client install to use it (installed via the Oracle Universal Installer).
Instant client / info available at http://www.oracle.com/technology/software/tech/oci/instantclient/index.html
Hope that helps,
Greg -
Error while deploying a web service whose return type is java.util.Date
Hi
I have written a simple web service which takes in a date input (java.util.Date) and returns the same date back to the client.
public interface Ping extends Remote
* A simple method that pings the server to test the webservice.
* It sends a datetime to the server which returns the datetime.
* @param pingDateRequest A datetime sent to the server
* @returns The original datetime
public Date ping(Date pingDateRequest) throws RemoteException;
The generation of the Web service related files goes smoothly in JDeveloper 10g. The problem arises when I try to deploy this web service on the Oracle 10g (10.0.3) OC4J standalone. it gives me the following error on the OC4J console :
E:\Oracle\oc4j1003\j2ee\home\application-deployments\Sachin-TradingEngineWS-WS\
WebServices\com\sachin\tradeengine\ws\Ping_Tie.java:57: ping(java.util.Date) in com.sachin.tradeengine.ws.Ping cannot be applied to (java.util.Calendar) _result = ((com.sachin.tradeengine.ws.Ping) getTarget()).ping
(myPing_Type.getDate_1());
^
1 error
04/03/23 17:17:35 Notification ==> Application Deployer for Sachin-TradingEngineWS-WS FAILED: java.lang.InstantiationException: Error compiling :E:\Oracle\oc4j1003\j2ee\home\applications\Sachin-TradingEngineWS-WS\WebServices: Syntax error in source [ 2004-03-23T17:17:35.937GMT+05:30 ]
I read somewhere that the conversion between java to xml datatype and vice versa fails for java.util.Date, so it is better to use java.util.Calendar. When I change the code to return a java.util.Calendar then the JDeveloper prompts me the following failure:
Method Ping: the following parameter types do not have an XML Schema mapping and/or serializer specified : java.util.Calendar.
This forces me to return a String data.
I would appreciate if someone can help me out.
Thanks
Sachin Mathias
Datamatics Ltd.Hi
I got the web service working with some work around. But I am not sure it this approach would be right and good.
I started altogether afresh. I did the following step :
1. Created an Interface (Ping.java) for use in web Service as follows :
public interface Ping extends Remote{
public java.util.Date ping(java.util.Date pingDateRequest)
throws RemoteException;
2. Implemented the above interface in PingImpl.java as follows :
public class PingImpl implements Ping
public java.util.Date ping(java.util.Date pingDateRequest) throws RemoteException {
System.out.println("PingImpl: ping() return datetime = " + pingDateRequest.toString());
return pingDateRequest;
3. Compiled the above 2 java files.
4. Generated a Stateless Java Web Service with the help of JDeveloper. This time the generation was sucessful.(If I had "java.util.Calendar" in place of "java.util.Date" in the java code of the above mentioned files the web service generation would prompt me for error)
5. After the generation of Web Service, I made modification to the Ping interface and its implementing class. In both the files I replaced "java.util.Date" with "java.util.Calendar". The modified java will look as follows :
Ping.Java
=========
public interface Ping extends Remote{
public java.util.Calendar ping(java.util.Calendar pingDateRequest)
throws RemoteException;
PingImpl.Java
================
public class PingImpl implements Ping
public java.util.Calendar ping(java.util.Calendar pingDateRequest) throws RemoteException {
System.out.println("PingImpl: ping() return datetime = " + pingDateRequest.toString());
return pingDateRequest;
6. Now I recompile both the java files.
7. Withour regenerating the Web Service I deploy the Web Service on OC4j 10.0.3 from JDeveloper. This time the deployment was sucessful.(The Deployment fails if I don't follow the step 5.)
8. Now I generated a Stub from JDeveloper and accessed the stub from a client. It works fine. Here if you see the Stub code it takes java.util.Date as a parameter and returns a java.util.Date. (Mind you I am accepting a java.util.Calendar and returning the same in my Web Service interface. Step 5)
The confusing thing is the Serialization and Deserialization of Data from Client java data to Soap message and Soap message to Server java data.
From Client to SOAP :
java.util.Date to datetime
From SOAP to Server :
datetime to java.util.Calendar
From Server to SOAP :
java.util.Calendar to datetime
From SOAP to Client :
datetime to java.util.Date (I am not able to understand this part of the conversion)
Any help or inputs would be appreciated.
Thanks
Sachin Mathias -
C drive seems abnormally large for the deployment (.WIM taking up all the space)
I just started using SCCM 2012 R2. I've gotten everything setup to do my deployment but it turns out I clicked deploy on a .wim file I had and it filled up the C drive. This is a virtual machine and I never intended to store the data on the C:\
drive. But by following a install online it seems that the default DP puts it there. My SCCMContentLib seems to grow uncontrollably and I can't figure out why. At first I started with a 40GB vm. Then moved it up to 60 to give me 20GB
of free space. Next I noticed that my image wasn't getting sent via the client pc because of a error which tracked back to the operating system status being red. This tracked to not enough space on the C:\ when I clicked the error. I noticed
somehow this WIM file took up the 20GB I had given it extra.
My image is for a Dell Optiplex 3020. The .wim file is 9GB in size on the file share. Yet when I right click and check the properties under Operating System Images it shows as 22,083.82MB. Which doesn't seem all that confusing understanding
that this is probably the extracted size?
So no problem I increased the drive size by 40GB again. I then went to the operating system and right clicked and said distribute content. But it didn't seem to turn yellow. So I went to Task Sequences, Distribute content on the task sequence
that is set to push out that image, then went back to the OS and clicked distribute again. This time it went Yellow. I waited and waited then it failed out again.
Now when I check the C:\ drive it has 4GB or so free, and the status is red again with the error not enough space on the C:\ NTFS drive. I have no idea how a 9GB .wim file can turn into 60GB of space eaten up? What am I not understanding about
SCCM. Just using WDS seemed like a much better solution as it didn't require a insane amount of space to push a single image. I understand that SCCM has many other capabilities which is why I moved to it. Yet this is not a acceptable solution
using up 60+GB for a single 10GB wim file to image a few machines.
There must be something wrong here and I am not doing correctly.To answer the questions thus far. I originally used WDS and the other program which escapes me MDT? I think to create the wim files on the old server. In the file share there is the .wim and a language.ini file which WDS and MDT created when
making those images. I just moved them to the new file share which has plenty of space. This .wim file is a little over 9GB in size on the file share.
I right clicked the OS file and clicked Distribute, I didn't click deploy. I then boot PXE on the computer and it runs the task sequence. I had several images which failed to distribute due to file space. I removed the content by going
to the DP and in the Content tab and clicked on each image and clicked remove. It stated that it would remove the data for those but would not remove any data linked to other deployments I believe.
I deleted the OS as you said and it cleared up 60GB of space. The next issue is I had to delete the task sequence as I could not longer find a place to edit which WIM it used. Not sure if this is standard or if there is a place to edit this after
the fact when we have a issue such as this?
I wanted to next look into moving the software library to my file share if possible. I see I can create a mapped drive and for example make it E:\. I have read that you can use the Config Manager 2012 R2 Tools to move this. However it looks
like it moves MUCH more than just the SCCMSoftwarelib folder. I have read it required or maybe recommended that you keep the software lib and other folders on the base drive with NTFS. Curious if mapping a share and moving all the files to the
file server I created to store the .wim files is recommended here and possible? -
Cannot deploy EntityBean from Weblogic 5.1
Hi everyone,
I'm relatively new to EJB deployment, but there is an Entity bean that I was able to deploy using Weblogic 4.0 and fail to do the same with Weblogic 5.1, although I'm going through all the necessary steps, like creating xmls (ejb_jar, weblogic-cmp-rdbms-jar, and weblogic-ejb-jar), creating a jar file, and recompiling it using weblogic.ejbc, and that's where it stops. While it works fine with session beans, every time I'm trying to deploy entity bean, it gives me the following message:
ERROR: Error from ejbc: [9.1.5.1] In EJB EmployerEntityEJB, there is an ejbPostCreate method ejbPostCreate() that has no matching ejbCreate method.
Yet my ejbCreate and ejbPostCreate methods do match, unless I'm missing something, but at this point I have no idea what exactly. Any kind of help would be great, 'cause I'm almost out of ideas.
Here's the code I'm working on:
EmployerEntity.java:
import java.rmi.*;
import java.sql.*;
import javax.ejb.*;
import java.util.*;
public interface EmployerEntity extends EJBObject, Remote {
public boolean postingUpdate(Hashtable posting) throws RemoteException,SQLException;
public void callingBreakHashtable(Hashtable posting) throws RemoteException;
EmployerEntityHome.java:
import java.rmi.*;
import javax.ejb.*;
import java.io.*;
import java.util.*;
import javax.naming.*;
public interface EmployerEntityHome extends EJBHome{
public EmployerEntity create(Hashtable posting) throws RemoteException, EJBException, CreateException;
public EmployerEntity findByPrimaryKey(EmployerEntityPK job_id) throws FinderException,RemoteException;
public EmployerEntity findByPosition(int job_id) throws FinderException,RemoteException;
EmployerEntityPK.java:
import java.io.Serializable;
public class EmployerEntityPK {
public int job_id;
and finally EmployerEntityBean.java (I left only ejbCreat and ejbPostCreate methods, so that I won't confuse anybody):
import java.io.*;
import java.util.*;
import javax.ejb.*;
import javax.naming.*;
import java.rmi.*;
import java.sql.*;
//and local classes
public class EmployerEntityBean extends LocalClassEntityBean {
Hashtable posting=new Hashtable();
public EmployerEntityBean() {}
public EmployerEntityPK ejbCreate(Hashtable posting) throws EJBException, CreateException {
if (posting_entity_flag)
this.posting=posting;
callingBreakHashtable(posting);
Syslog.debug(this,"EJBCreate Called ");
return null;
public void ejbPostCreate(Hashtable posting) throws EJBException {
Syslog.debug(this,"EJBPostCreate Called ");
Thanks for your help.
PS. Also, could it be that the error that I'm getting might be caused by something other than simply mismatching ejbCreate and ejbPostCreate? If so, what are the other possible reasons?
ThanksHi,
First of all, you don't need to add EJBException in your method definition as its a runtime exception. Next your ejbPostCreate() is missing the CreateException and thats the reason you have a mismatch.
Also your remote interface should extend EJBObject ( which is a subclass of java.rmi.Remote). Catch the SQLException and rethrow it as an EJBException with proper message. And finally I take it that LocalClassEntityBean implements EntityBean.
Best wishes -
Deploy PAR from Ep5 to EP6 problem
Hi ,
I am now using EP6 and i need to deploy a PAR file ( generated in EP5) into the portal using ( System administrator /support / portal runtime / Admin console ..) to upload it into PCD , the upload was processed successfully [ but i see that in the list :
<i> Server ID Local version Repository version
P1 4206950 <b> undefined undefined</b> ( while others : 5.0.5.4 )</i>And then in the content management when i want to create a new iview from PAR file , i can not see it in the list ( P1.PAR ) that i have just deployed ....till now i am very confused about it , anyone can help me to deploy it ( I need it urgently right )
Thanks ,
Qui nguyenHi vankat ,
First i'd like to thank so musch for your answer , i've done like that i saw it in the PCD but when i preview it the following errors occur:
Portal Runtime Error
<i>An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
Could not find portal application .
Exception id: 01:05_26/12/06_0034_4206950
See the details for the exception ID in the log file</i>
And
<i>Portal Runtime Error
An exception occurred while processing a request for :
iView : pcd:portal_content/Development..............g.dev_iview
Component Name : null
Page could not create the iView.
See the details for the exception ID in the log file</i>
What are the above lines mean and how to recover it ? and if i want to look for the log file where i can find it in the server ?
Thanks , -
Confused about Open Cursors :(
Hi all,
i need some clarification on this issue, i've read throught the documentation and i'm a bit confused.
I'm using 10.1.0.2
select sum(value)
from v$statname sn,
v$sesstat st,
v$session s
where sn.statistic# = st.statistic#
and st.sid = s.sid
and sn.name = 'session cursor cache count'
The result of the above query is 4926, meaning i have 4926 CLOSED cursors in the session cursor cache.
select count(1)
from v$open_cursor
The result of the above query is 16968, meaning i have 16968 cached cursors
So there are two distinct cursor Caches ?
now lets look at other statistic
select sum(value)
from v$statname sn,
v$sesstat st,
v$session s
where sn.statistic# = st.statistic#
and st.sid = s.sid
and sn.name = 'opened cursors current'
this one gives me 12212 , so i have 12212 opened cursors (NOT CACHED , REALLY OPENED CURSORS ...is this correct???)
I suspect that my applications are not closing resultsets (java build application, deployed in oracle application server, database connections in pooled connection) ... so i'm trying to help my developers to find the potencial bug in application.
How can i get the SQL from OPEN cursors ???
V$open_cursor gives me SQL from CLOSED cached cursors ...
Best Regards
Rui MadalenoHi,
>>this one gives me 12212 , so i have 12212 opened cursors (NOT CACHED , REALLY OPENED CURSORS ...is this correct???)
For your instance, yes because you use the sum(value) aggregate function. But I think that the best is get this value per session.
select count(1) from v$open_cursor
v$open_cursor shows cached cursors, not currently open cursors, by session. If you're wondering how many cursors a session has open, don't look in v$open_cursor. It shows the cursors in the session cursor cache for each session, not cursors that are actually open. To monitor open cursors, query v$sesstat where name='opened cursors current'. This will give the number of currently opened cursors, by session:
select a.value, s.username, s.sid, s.serial#
from v$sesstat a, v$statname b, v$session s
where a.statistic# = b.statistic# and s.sid=a.sid
and b.name = 'opened cursors current';
>>I suspect that my applications are not closing resultsets (java build application, deployed in oracle application server, database connections in pooled connection)
In this case, you need to monitor you application. If want, you can use the OEM Database Console and go to [Top Sessions | Session Details] link, or to use this SQL above.
By the way, do you are getting ORA-1000 errors ?
If so, set the OPEN_CURSORS parameter high enough that you never get an ORA-1000 during normal operations.
Cheers -
Need help to Configure Cisco ACE 4710 Cluster Deployment
Dear Experts,
I'm newbie for Cisco ACE 4710, and still I'm in learning stage. Meanwhile I got chance at my work place to deploy a Cisco ACE 4710 cluster which should load balance the traffic between two Application Servers based on HTTP and HTTPS traffic. So I was looking for good deployment guide in Cisco SBA knowledge base then finall found this guide.
http://www.cisco.com/en/US/docs/solutions/SBA/February2013/Cisco_SBA_DC_AdvancedServer-LoadBalancingDeploymentGuide-Feb2013.pdf
This guide totally fine with my required deployment model. I have same deployment environment as this guide contains with ACE cluster that connects to two Cisco 3750X (Stack) switches. But I have some confusion places in this guide
This guide follow the "One-armed mode" as a deployment method. But when I go through it further I have noticed that they have configured server VLAN as a 10.4.49.0/24 (all servers reside in it) and Client side VIP also in same VLAN which is 10.4.49.100/24 (even NAT pool also).
My confusion is, as I have learned about Cisco ACE 4710 one-armed mode deployment method, it should has two VLAN segments, one for Client side which client request come and hit the VIP and then second one for Server side. which means besically two VLANs. So please be kind enough to go through above document then tell me where is wrong, what shoud I need to do for the best. Please this is an urgent, so need your help quickly.
Thanks....!
-Amal-Dear Kanwal,
I need quick help for you. Following are the Application LB requirements which I received from my clinet side.
Following detail required for configuring Oracle EBS Apps tier on HA:
LBR IP and Name required to configure EBS APPS Tier (i.e, ap1ebs & ap2ebs nodes)
Suggested IP and Name for LBR:
IP : 172.25.45.x [should be on same 172.25.45 subnet of ap1ebs & ap2ebs nodes]
ebiz.xxxx.lk [on port 80 for http protocol accessibility]
This LBR IP & name must be resolve and respond on DNS network
Server Farm detail for LBR Setup
Following detail will be use for configuring the LBR:
LBR IP and Name :
IP : 172.25.45.x [should be on same 172.25.45 subnet of ap1ebs & ap2ebs nodes]
ebiz.xxxx.lk [on port 80 for http protocol accessibility]
This LBR IP & name must be resolve and respond on DNS network
Server Farm Detail for LBR setup:
Server 1 (EBS App1 Node, ap1ebs):
IP : 172.25.45.19
Server Name: ap1ebs.xxxx.lk [ap1ebs hostname is an example, actual hostname will be use]
Protocol: http
Port: 8000
Server 2 (EBS App2 Node, ap2ebs):
IP : 172.25.45.20
Server Name: ap2ebs.xxxx.lk [ap2ebs hostname is an example, actual hostname will be use]
Protocol: http
Port: 8000
Since my client needs to access URL ebiz.xxxx.lk which should be resolved by IP 172.25.45.21 (virtual IP) via http (80) before they deploy the app on the two servers I just ran web service on both servers (Linux) and was trying to access http://172.25.45.21 it was working fine and gave me index.html page. Now after my client has deployed the application then when he tries to access the page http://172.25.45.21 he cannot see his main login page. But still my testing web servers are there on both servers when I type http://172.25.45.21 it will get index.html page, but not my client web login page. What can I do for this ?
Following are my latest config :
probe http Get-Method
description Check to url access /OA_HTML/OAInfo.jsp
interval 10
faildetect 2
passdetect interval 30
request method get url /OA_HTML/OAInfo.jsp
expect status 200 200
probe udp http-8000-iRDMI
description IRDMI (HTTP - 8000)
port 8000
probe http http-probe
description HTTP Probes
interval 10
faildetect 2
passdetect interval 30
passdetect count 2
request method get url /index.html
expect status 200 200
probe https https-probe
description HTTPS traffic
interval 10
faildetect 2
passdetect interval 30
passdetect count 2
ssl version all
request method get url /index.html
probe icmp icmp-probe
description ICMP PROBE FOR TO CHECK ICMP SERVICE
rserver host ebsapp1
description ebsapp1.xxxx.lk
ip address 172.25.45.19
conn-limit max 4000000 min 4000000
probe icmp-probe
probe http-probe
inservice
rserver host ebsapp2
description ebsapp2.xxxx.lk
ip address 172.25.45.20
conn-limit max 4000000 min 4000000
probe icmp-probe
probe http-probe
inservice
serverfarm host ebsppsvrfarm
description ebsapp server farm
failaction purge
predictor response app-req-to-resp samples 4
probe http-probe
probe icmp-probe
inband-health check log 5 reset 500
retcode 404 404 check log 1 reset 3
rserver ebsapp1 80
conn-limit max 4000000 min 4000000
probe icmp-probe
inservice
rserver ebsapp2 80
conn-limit max 4000000 min 4000000
probe icmp-probe
inservice
sticky http-cookie jsessionid HTTP-COOKIE
cookie insert browser-expire
replicate sticky
serverfarm ebsppsvrfarm
class-map type http loadbalance match-any default-compression-exclusion-mime-type
description DM generated classmap for default LB compression exclusion mime types.
2 match http url .*gif
3 match http url .*css
4 match http url .*js
5 match http url .*class
6 match http url .*jar
7 match http url .*cab
8 match http url .*txt
9 match http url .*ps
10 match http url .*vbs
11 match http url .*xsl
12 match http url .*xml
13 match http url .*pdf
14 match http url .*swf
15 match http url .*jpg
16 match http url .*jpeg
17 match http url .*jpe
18 match http url .*png
class-map match-all ebsapp-vip
2 match virtual-address 172.25.45.21 tcp eq www
class-map type management match-any remote_access
2 match protocol xml-https any
3 match protocol icmp any
4 match protocol telnet any
5 match protocol ssh any
6 match protocol http any
7 match protocol https any
8 match protocol snmp any
policy-map type management first-match remote_mgmt_allow_policy
class remote_access
permit
policy-map type loadbalance first-match ebsapp-vip-l7slb
class default-compression-exclusion-mime-type
serverfarm ebsppsvrfarm
class class-default
compress default-method deflate
sticky-serverfarm HTTP-COOKIE
policy-map multi-match int455
class ebsapp-vip
loadbalance vip inservice
loadbalance policy ebsapp-vip-l7slb
loadbalance vip icmp-reply active
nat dynamic 1 vlan 455
interface vlan 455
ip address 172.25.45.36 255.255.255.0
peer ip address 172.25.45.35 255.255.255.0
access-group input ALL
nat-pool 1 172.25.45.22 172.25.45.22 netmask 255.255.255.0 pat
service-policy input remote_mgmt_allow_policy
service-policy input int455
no shutdown
ft interface vlan 999
ip address 10.1.1.1 255.255.255.0
peer ip address 10.1.1.2 255.255.255.0
no shutdown
ft peer 1
heartbeat interval 300
heartbeat count 10
ft-interface vlan 999
ft group 1
peer 1
no preempt
priority 110
associate-context Admin
inservice
ip route 0.0.0.0 0.0.0.0 172.25.45.1
Hope you will reply me soon
Thanks....!
-Amal- -
Confusion with DX80 directory and contacts
We just received two new Cisco DX80.
I have to say I am a bit confused by many thing, one being the directory/contact. When the endpoint is registered on the CUCM (9.1.2), synched with Exchange and Jabber CUP server, a "Cisco UCM account" and "Cisco Directory Credential" are setup on the DX80... which directory and contact list is it using? and can we control it?
When I am in Jabber and search for people, I can only find people in my Jabber contacts. When I am trying to add contact I can't find any
When I'm on the "phone", the contacts seems to be my Exchange contacts. So depending on when I'm on the DX80 phone or on Jabber application, the contact list are different which is confusion. Consitency accross application would be nice. If the mail contact is using Exchange contact I would find it normal but that two Cisco UC applications are using different contact lists, I find it very confusing.
When I'm on the "phone" and use Directory, which directory is it looking into?
I have to say that overall the first DX80 experience is quite confusingHello Matthieu,
yes, I agree with you, it is not ideal, its multiple applications which seem to behave different them selfs,
have different localization (the phone part is here for example localized, where the jabber part is not)
and then in addition they behave different depending on the deployment, configuration, services and status, ....
We are looking into a bigger roll out and these are definitely things we are investigating about how to deply
especially to improve usability and limit the need for support requests -
RE: [iPlanet-JATO] Re: Deployment problem
Chidu,
I think that you are mired in the very common confusion of the default
behavior of the ApplicationServletBase.parsePathInfo() which will determine
the controlling/handling ViewBean via a URL design pattern. Lets take a look
at the URL
/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.jsp
is decomposed as follows:
/NASApp -> well, this is long story but is absolutely necessary, welcome to
iAS
/MigtoolboxSampleAppWar -> is the web application name, taken as the name of
the WAR file when there is no EAR file (this allows the Servlet/JSP
container to deferences the web application root under
<ias>/APPS/modules/MigtoolboxSampleAppWar) I think this part of the URL is
called th Context Path
/MigtoolboxSample -> is the Servlet Path, and will either directly reference
or match a Servlet Mapping
for instance
<servlet-mapping>
<servlet-name>MigtoolboxSampleServlet</servlet-name>
<url-pattern>/MigtoolboxSample/*</url-pattern>
</servlet-mapping>
tells the Servlet Container that the Servlet Path
/MigtoolboxSample
maps to the Module Servlet MigtoolboxSampleServlet
This is how EVERY request makes its way to the "front controller" pattern in
JATO. It is fundamental to JATO Applicatioan that every request pass
through the ModuleServlet.
every else on the URL past the Servlet Path is the PATH INFO. Based on this
understanding, you will see why the
ApplicationServletBase.parsePathInfo()
is so important. In parsePathInfo() the PATH INFO is compared to the design
pattern
/VIEWBEANNAME*
to determine the handling ViewBean from the first String Token in the path
info. For instance, the starting URL of the Sample Application is
/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage
The PATH INFO is [IndexPage]
and IndexPage[ViewBean] is the handling ViewBean. Therefore, any simiarl
URL like
/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.jsp
/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.matt
/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.mike
/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.chidu
/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.XXX
will all result in the same handling View Bean
IndexPageViewBean
It is very important to understand that you CANNOT hit the JATO JSPs
directly. You must hit the "front controller" ModuleServlet which will
always delegate control to the handling ViewBean (a la, the "service to
workers" pattern)
You can attempt to hit the JSP directly but you need the right J2EE URL
/NASApp/MigtoolboxSampleAppWar/MigtoolboxSampleApp/MigtoolboxSample/IndexPag
e.jsp
this URL will directly hit the JSP. However, you will recieve an error
because the JATO framework quickly determines that there is no
RequestContext in the HttpRequest attributes and assumes that the "front
controller" was bypassed. Try it. You will get ERROR.
Lets go back to what you are trying to do, place Models and Viewbeans in
separate directories. I recommend that you move the Models. Models are
ONLY referenced by TYPE via the ModelManager, the compiler will ensure that
your code is correct and matches the packages, file locations, import
statements, etc. ViewBeans, on the other hand are related to the
ModuleServlet their are contained in and are loaded via type names according
to a design pattern.
if you want to separate models and Viewbean then simply move the Model and
make sure everything compiles.
you cannot move the ViewBeans
if you do want to move the JSP peers of the Viewbeans, then you can put them
anywhere in the web application doc root. When you do, update the
DEFAULT_DISPLAY_URL as Mike suggested
matt
-----Original Message-----
From: Mike Frisino [mailto:<a href="/group/SunONE-JATO/post?protectID=174176219122158198138082063148231088239026066196217193234150166091061">Michael.Frisino@S...</a>]
Sent: Thursday, July 26, 2001 10:48 PM
Subject: Re: [iPlanet-JATO] Re: Deployment problem
Chidu,
Did you have it running fine in the original default configuration, before
you started changing things around? The URL should not access the .jsp
directly. The URL should look more like this
"/NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage", without the
.jsp.
Also, please read the "Migration Tech Notes" document that is
linked to the
main doc index page. There is some information in there related
to trying to
run the sample application under iAS (see Tech Note 4 in
particular, "Note
on running the iMT "MigtoolboxSample" in iPlanet Application Server )
----- Original Message -----
From: <<a href="/group/SunONE-JATO/post?protectID=219015020150194233215218164140244063078048234051197">chidusv@y...</a>>
Sent: Thursday, July 26, 2001 7:27 PM
Subject: [iPlanet-JATO] Re: Deployment problem
Hi Mike,
I tried changing the url in all the viewbeans to reflect the new sub-
directory for the viewbeans(I have placed the jsps and viewbeans in
a sub-directory under MigtoolboxSampleApp/MigtoolboxSample). But I'm
still not able to get access to the jsps. I basically see the
message "GX Error Socket Error Code missing!!" error on the browser
thrown by iPlanet, but the log doesn't tell me anything. Does the url
which I give to access the jsp change accordingly, i.e., should I
give something other
than /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.jsp.
If I try to use any other url other
than /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.jsp, I
see the FileNotFoundException in the log.
I guess I'm still missing something.
Thanks for your help.
--Chidu.
--- In <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166136158139046209">iPlanet-JATO@y...</a>, "Mike Frisino" <<a href="/group/SunONE-JATO/post?protectID=174176219122158198138082063148231088239026066196217130152150">Michael.Frisino@S...</a>> wrote:
Chidu.
Did you also adjust the following member in each of the ViewBeans?
public static final String DEFAULT_DISPLAY_URL=
"/jatosample/module1/Index.jsp";
Try adjusting this to be consistent with your new hierarchy.
Also, if you still have problems, send us the error message thatyou recieve
when you try to access the page. That would help.
----- Original Message -----
From: <<a href="/group/SunONE-JATO/post?protectID=219015020150194233215218164036129208">chidusv@y...</a>>
Sent: Thursday, July 26, 2001 4:48 PM
Subject: [iPlanet-JATO] Deployment problem
Hi,
We have a requirement to seperate the models and viewbeans and
keep
them in seperate directories. Is it possible to seperate the
viewbeans and models not be in the same directory?
I tried seperating the two in the MigtoolboxSampleApp application
provided by JATO. I changed the package and import statements
accordingly in the viewbeans, jsps and the models. But when I
deployed the application, I'm not able to access the Index page or
any of the jsps. Does the ApplicationServletBase always look forthe
viewbean in the same path as that of the module servlet?
Any help will be appreciated.
Thanks,
Chidu.
<a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215146166214017110250006230056039126077176105140127082088124241215002153">[email protected]</a>
<a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215146166214017110250006230056039126077176105140127082088124241215002153">[email protected]</a>
<a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215146166214017110250006230056039126077176105140127082088124241215002153">[email protected]</a>Hi Mike,
I tried changing the url in all the viewbeans to reflect the new sub-
directory for the viewbeans(I have placed the jsps and viewbeans in
a sub-directory under MigtoolboxSampleApp/MigtoolboxSample). But I'm
still not able to get access to the jsps. I basically see the
message "GX Error Socket Error Code missing!!" error on the browser
thrown by iPlanet, but the log doesn't tell me anything. Does the url
which I give to access the jsp change accordingly, i.e., should I
give something other
than /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.jsp.
If I try to use any other url other
than /NASApp/MigtoolboxSampleAppWar/MigtoolboxSample/IndexPage.jsp, I
see the FileNotFoundException in the log.
I guess I'm still missing something.
Thanks for your help.
--Chidu.
--- In iPlanet-JATO@y..., "Mike Frisino" <Michael.Frisino@S...> wrote:
>
Chidu.
Did you also adjust the following member in each of the ViewBeans?
public static final String DEFAULT_DISPLAY_URL=
"/jatosample/module1/Index.jsp";
Try adjusting this to be consistent with your new hierarchy.
Also, if you still have problems, send us the error message that you recieve
when you try to access the page. That would help.
----- Original Message -----
From: <chidusv@y...>
Sent: Thursday, July 26, 2001 4:48 PM
Subject: [iPlanet-JATO] Deployment problem
Hi,
We have a requirement to seperate the models and viewbeans and
keep
them in seperate directories. Is it possible to seperate the
viewbeans and models not be in the same directory?
I tried seperating the two in the MigtoolboxSampleApp application
provided by JATO. I changed the package and import statements
accordingly in the viewbeans, jsps and the models. But when I
deployed the application, I'm not able to access the Index page or
any of the jsps. Does the ApplicationServletBase always look for the
viewbean in the same path as that of the module servlet?
Any help will be appreciated.
Thanks,
Chidu.
[email protected]
Maybe you are looking for
-
Stream 8 tablet location does not work on T-mobile broadband
On my HP Stream 8 tablet, location works fine with GPS only (GNSS on; Mobile Broadband, Wi-Fi, and Bluetooth off). However, if I turn on Mobile Broadband and connect to T-Mobile and turn off GNSS (or GNSS on inside where there is no GPS signal) and k
-
when i try to load music it shows the "syncing" messge on the ipod and I can find it later in the folders of my ipod on the pc...but its not in the ipod to play. It's a used one and i think a ipod shuffle 3rd generation..what am i doing wrong and how
-
Application specific key-value pair in jndi.properties
Hello, Can I specify my application specific key-value pair in jndi.properties? I tried something like this java.naming.factory.initial=.jndi.WLInitialContextFactory java.naming.provider.url=t3://localhost:7001 myVar=myVal When i tried looking up "my
-
Parent Table - Child Form(bounded task region)- Commit-Rollback Button's
Hello, Here's my simple scenario: Jdev 11.1.1.2 One Am(datacontrol). One vertical panel splitter On top A panel collection with a read-only table(employees VO), The table lists just a few of the attributes, so it's really just for browsing, and a too
-
Can 2D BarCode (PDF417) be generated in Reports?
Is it possible to generate 2D barcode (PDF417 spec) using Oracle Reports? What should I do in order to generate barcode? Thanks, Dejan Bogojevic