BPF Launch from second application server
I have the following setup.
SAP BPC 7.0 SP9 Patch 1
SQL Server 2005 Enterprise Edition SP2
Two application servers and one database server.
We have a loadbalancer F5.
When I launch the BPF and the loadbalancer takes me to the second application server. Then the message comes up that the templates does not exist. When I go to eTools and try to open the Company folder, first it says that the folder thas not exist and after about 30 seconds the templates start appearing.
I have followed the instructions on how to do the Loadbalancer, and I can see that the balancer is working, but templates take long to appear from the second application server.
It seems like there is a delay in the templates showing.. Do you have any idease why this happens? Or what settings I can have a look at?
Regards
Henry
So first of all I will check the tables:
tblserverinfo and tblappsetinfo.
Into tblserverinfo you must have just records with suffix 1 and for application server and web server you must have virtual Ip of your NLB.
Iinto tblapsetinfo all the records refering servers must you just name with suffix 1. (sql server1, olap server 1...)
The second check I will do it regarding where do you have the file server.
Because you have two application servers then you must have a share drive where you have the file server because the templates must be access from both servers.
So for the file server you will not be able to use local drive because this can be a problem when you try to open the templates.
That's means you have to check if you can access the path specified for file server (you can find it into tblserverinfo) from both application server. It can be that actually from second application server you have access problems.
The third thing to be check is the affinity(persistency) of you NLB F5.
In your case because the afinity must be single (persistency on) because once which you connect to one application server you would like to have all request going to same application server.
All the tests must be done with antivirus and firewall disable into both application servers.
Regards
Sorin radulescu
Similar Messages
-
File from the Application server
Hi gurus,
I am working on a scenario where I need to get a file from the application server and for this I need to ask user to enter the location and that too at the selection screen and then I need to read this location using open data set and read data set in my program , once I am done with this I need to do some other validations. so can you please help me out how to achieve this.
Thanks
Rajeev GuptaHi
Declare the selection screen with file as parameter so that the user enter the application server file..
the use the OPEND DATASET as mentioned in below code and process
Refer this:
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/frameset.htm
ABAP code for uploading a TAB delimited file into an internal table. See code below for structures.
*& Report ZUPLOADTAB * &----
*& Example of Uploading tab delimited file *
REPORT zuploadtab .
PARAMETERS: p_infile LIKE rlgrap-filename
OBLIGATORY DEFAULT '/usr/sap/'..
DATA: ld_file LIKE rlgrap-filename.
*Internal tabe to store upload data
TYPES: BEGIN OF t_record,
name1 like pa0002-VORNA,
name2 like pa0002-name2,
age type i,
END OF t_record.
DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
wa_record TYPE t_record.
*Text version of data table
TYPES: begin of t_uploadtxt,
name1(10) type c,
name2(15) type c,
age(5) type c,
end of t_uploadtxt.
DATA: wa_uploadtxt TYPE t_uploadtxt.
*String value to data in initially.
DATA: wa_string(255) type c.
constants: con_tab TYPE x VALUE '09'.
*If you have Unicode check active in program attributes then you will
*need to declare constants as follows:
*class cl_abap_char_utilities definition load.
*constants:
con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
*START-OF-SELECTION
START-OF-SELECTION.
ld_file = p_infile.
OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
ELSE.
DO.
CLEAR: wa_string, wa_uploadtxt.
READ DATASET ld_file INTO wa_string.
IF sy-subrc NE 0.
EXIT.
ELSE.
SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
wa_uploadtxt-name2
wa_uploadtxt-age.
MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
APPEND wa_upload TO it_record.
ENDIF.
ENDDO.
CLOSE DATASET ld_file.
ENDIF.
*END-OF-SELECTION
END-OF-SELECTION.
*!! Text data is now contained within the internal table IT_RECORD
Display report data for illustration purposes
loop at it_record into wa_record.
write:/ sy-vline,
(10) wa_record-name1, sy-vline,
(10) wa_record-name2, sy-vline,
(10) wa_record-age, sy-vline.
endloop.
Regards
Anji -
Upload tab-delimited file from the application server to an internal table
Hello SAPients.
I'm using OPEN DATASET..., READ DATASET..., CLOSE DATASET to upload a file from the application server (SunOS). I'm working with SAP 4.6C. I'm trying to upload a tab-delimited file to an internal table but when I try load it the fields are not correctly separated, in fact, they are all misplaced and the table shows '#' where supposedly there was a tab.
I tried to SPLIT the line using as separator a variable with reference to CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB but for some reason that class doesn't exist in my system.
Do you know what I'm doing wrong? or Do you know a better method to upload a tab-delimited file into an internal table?
Thank you in advance for your help.Try:
REPORT ztest MESSAGE-ID 00.
PARAMETER: p_file LIKE rlgrap-filename OBLIGATORY.
DATA: BEGIN OF data_tab OCCURS 0,
data(4096),
END OF data_tab.
DATA: BEGIN OF vendor_file_x OCCURS 0.
* LFA1 Data
DATA: mandt LIKE bgr00-mandt,
lifnr LIKE blf00-lifnr,
anred LIKE blfa1-anred,
bahns LIKE blfa1-bahns,
bbbnr LIKE blfa1-bbbnr,
bbsnr LIKE blfa1-bbsnr,
begru LIKE blfa1-begru,
brsch LIKE blfa1-brsch,
bubkz LIKE blfa1-bubkz,
datlt LIKE blfa1-datlt,
dtams LIKE blfa1-dtams,
dtaws LIKE blfa1-dtaws,
erdat LIKE lfa1-erdat,
ernam LIKE lfa1-ernam,
esrnr LIKE blfa1-esrnr,
konzs LIKE blfa1-konzs,
ktokk LIKE lfa1-ktokk,
kunnr LIKE blfa1-kunnr,
land1 LIKE blfa1-land1,
lnrza LIKE blfa1-lnrza,
loevm LIKE blfa1-loevm,
name1 LIKE blfa1-name1,
name2 LIKE blfa1-name2,
name3 LIKE blfa1-name3,
name4 LIKE blfa1-name4,
ort01 LIKE blfa1-ort01,
ort02 LIKE blfa1-ort02,
pfach LIKE blfa1-pfach,
pstl2 LIKE blfa1-pstl2,
pstlz LIKE blfa1-pstlz,
regio LIKE blfa1-regio,
sortl LIKE blfa1-sortl,
sperr LIKE blfa1-sperr,
sperm LIKE blfa1-sperm,
spras LIKE blfa1-spras,
stcd1 LIKE blfa1-stcd1,
stcd2 LIKE blfa1-stcd2,
stkza LIKE blfa1-stkza,
stkzu LIKE blfa1-stkzu,
stras LIKE blfa1-stras,
telbx LIKE blfa1-telbx,
telf1 LIKE blfa1-telf1,
telf2 LIKE blfa1-telf2,
telfx LIKE blfa1-telfx,
teltx LIKE blfa1-teltx,
telx1 LIKE blfa1-telx1,
xcpdk LIKE lfa1-xcpdk,
xzemp LIKE blfa1-xzemp,
vbund LIKE blfa1-vbund,
fiskn LIKE blfa1-fiskn,
stceg LIKE blfa1-stceg,
stkzn LIKE blfa1-stkzn,
sperq LIKE blfa1-sperq,
adrnr LIKE lfa1-adrnr,
mcod1 LIKE lfa1-mcod1,
mcod2 LIKE lfa1-mcod2,
mcod3 LIKE lfa1-mcod3,
gbort LIKE blfa1-gbort,
gbdat LIKE blfa1-gbdat,
sexkz LIKE blfa1-sexkz,
kraus LIKE blfa1-kraus,
revdb LIKE blfa1-revdb,
qssys LIKE blfa1-qssys,
ktock LIKE blfa1-ktock,
pfort LIKE blfa1-pfort,
werks LIKE blfa1-werks,
ltsna LIKE blfa1-ltsna,
werkr LIKE blfa1-werkr,
plkal LIKE lfa1-plkal,
duefl LIKE lfa1-duefl,
txjcd LIKE blfa1-txjcd,
sperz LIKE lfa1-sperz,
scacd LIKE blfa1-scacd,
sfrgr LIKE blfa1-sfrgr,
lzone LIKE blfa1-lzone,
xlfza LIKE lfa1-xlfza,
dlgrp LIKE blfa1-dlgrp,
fityp LIKE blfa1-fityp,
stcdt LIKE blfa1-stcdt,
regss LIKE blfa1-regss,
actss LIKE blfa1-actss,
stcd3 LIKE blfa1-stcd3,
stcd4 LIKE blfa1-stcd4,
ipisp LIKE blfa1-ipisp,
taxbs LIKE blfa1-taxbs,
profs LIKE blfa1-profs,
stgdl LIKE blfa1-stgdl,
emnfr LIKE blfa1-emnfr,
lfurl LIKE blfa1-lfurl,
j_1kfrepre LIKE blfa1-j_1kfrepre,
j_1kftbus LIKE blfa1-j_1kftbus,
j_1kftind LIKE blfa1-j_1kftind,
confs LIKE lfa1-confs,
updat LIKE lfa1-updat,
uptim LIKE lfa1-uptim,
nodel LIKE blfa1-nodel.
DATA: END OF vendor_file_x.
FIELD-SYMBOLS: <field>,
<field_1>.
DATA: delim TYPE x VALUE '09'.
DATA: fld_chk(4096),
last_char,
quote_1 TYPE i,
quote_2 TYPE i,
fld_lth TYPE i,
columns TYPE i,
field_end TYPE i,
outp_rec TYPE i,
extras(3) TYPE c VALUE '.,"',
mixed_no(14) TYPE c VALUE '1234567890-.,"'.
OPEN DATASET p_file FOR INPUT.
DO.
READ DATASET p_file INTO data_tab-data.
IF sy-subrc = 0.
APPEND data_tab.
ELSE.
EXIT.
ENDIF.
ENDDO.
* count columns in output structure
DO.
ASSIGN COMPONENT sy-index OF STRUCTURE vendor_file_x TO <field>.
IF sy-subrc <> 0.
EXIT.
ENDIF.
columns = sy-index.
ENDDO.
* Assign elements of input file to internal table
CLEAR vendor_file_x.
IF columns > 0.
LOOP AT data_tab.
DO columns TIMES.
ASSIGN space TO <field>.
ASSIGN space TO <field_1>.
ASSIGN COMPONENT sy-index OF STRUCTURE vendor_file_x TO <field>.
SEARCH data_tab-data FOR delim.
IF sy-fdpos > 0.
field_end = sy-fdpos + 1.
ASSIGN data_tab-data(sy-fdpos) TO <field_1>.
* Check that numeric fields don't contain any embedded " or ,
IF <field_1> CO mixed_no AND
<field_1> CA extras.
TRANSLATE <field_1> USING '" , '.
CONDENSE <field_1> NO-GAPS.
ENDIF.
* If first and last characters are '"', remove both.
fld_chk = <field_1>.
IF NOT fld_chk IS INITIAL.
fld_lth = strlen( fld_chk ) - 1.
MOVE fld_chk+fld_lth(1) TO last_char.
IF fld_chk(1) = '"' AND
last_char = '"'.
MOVE space TO fld_chk+fld_lth(1).
SHIFT fld_chk.
MOVE fld_chk TO <field_1>.
ENDIF. " for if fld_chk(1)=" & last_char="
ENDIF. " for if not fld_chk is initial
* Replace "" with "
DO.
IF fld_chk CS '""'.
quote_1 = sy-fdpos.
quote_2 = sy-fdpos + 1.
MOVE fld_chk+quote_2 TO fld_chk+quote_1.
ELSE.
MOVE fld_chk TO <field_1>.
EXIT.
ENDIF.
ENDDO.
<field> = <field_1>.
ELSE.
field_end = 1.
ENDIF.
SHIFT data_tab-data LEFT BY field_end PLACES.
ENDDO.
APPEND vendor_file_x.
CLEAR vendor_file_x.
ENDLOOP.
ENDIF.
CLEAR data_tab.
REFRESH data_tab.
FREE data_tab.
Rob -
Calling EJB deployed on Weblogic 10.3 from WebSphere Application Server 6
Hi,
We are trying to call an EJB(2.1) deployed in Weblogic 10.3 from WebSphere Application Server 6.
The problem is that the jars containing Weblogic's initial context factory are compiled with JDK5. (Client jar was built as per [http://download.oracle.com/docs/cd/E15051_01/wls/docs103/client/jarbuilder.html] .)
WebSphere is still running on JDK1.4.
Therefore when trying to get the InitialContext to lookup up the bean we get major/minor version errors because of the compiler level mismatch.
Has anyone faced a scenario like this and come up with a solution?
Are there 1.4 jars for Weblogic 10.3 out there?
Any help?
ThanksHi Dan,
Yes I am using EJB 3. I saw this thread earlier also but :
1. In my case I am not calling the EJB 3.0 methods directly. I am using a java client (Cataloged as a Java Class Library) which does the lookup and calls the EJB methods. (I am not cataloging and calling the EJB 3.0 methods directly).
2. It is working perfectly fine when the EJB is deployed in Weblogic 10.0 or 10.2.
I am very much new to this so please bear with my small and silly questions! Thanks a lot for you help !
Cheers !
Rajat -
How to run two applications from same application server
hi,
i am working on oracle application server 10g , is it possible to run 2 applications from one application server by using different url ? but same report server name .
if i can do so plz tell me how ?
regardshi,
offcourse,you can do this you.you can deploy n no of applications on a single application server.
and even you can run all the reports on a single report server
to the below location.
$ORACLE_HOME/forms/server
create a new enviroment file(for eg fd.env) using the default.env as follows and make the following FORM_PATH and REPORTS_PATH changes in the fd.env
FORMS_PATH=/oraApp/Ora_bi/forms:/oraApp/backup_29_11_2010_0.12/fd/pll:/oraApp/backup_29_11_2010_0.12/fd/forms
REPORTS_PATH=/oraApp/backup_29_11_2010_0.12/fd/reports
similarily create another env file (eg appr.env) and make the above changes in it.
Now make the following changes in formsweb.cfg
for example:
[xyz]
envFile=appr.env(env file name)
form=xyz.fmx(your start form)
lookandfeel=oracle
separateFrame=false
userid=appraisal/[email protected]
splashscreen=NO
logo=NO
background=NO
color=automatic
render=yes
archive=frmall.jar
archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar,ofasIcons.jar,icons.jar,OfasPrint.jar,newicons.jar(these jar file are the images files of your applications..needs to be stored in $ORACLE_HOME/forms/java.
imagebase=codebase
term=frmpcweb.res
baseHTML=webutilbase.htm
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
WebUtilArchive=frmwebutil.jar,jacob.jar
[fd]
envFile=fd.env
form=fd.fmx
lookandfeel=oracle
separateFrame=true
userid=fdmmfsl/fdmmfsl@mmfdlive
splashscreen=NO
logo=NO
background=NO
color=automatic
render=yes
archive=frmall.jar
archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar,icons.jar
imagebase=codebase
term=frmpcweb.res
baseHTML=webutilbase.htm
baseHTMLjinitiator=webutiljini.htm
This depends on your application which your deploying
now for about accessing the seperate application then
use as follows
1st application
http://ip address:7778/forms/frmservlet?config=xyz
2nd application
http://ip address:7778/forms/frmservlet?config=fd
you can even deploy 2 war files on one application server...and you can even make these 2 war files to access the same report server
If you require any other help then do let me know
Regards
Fabian D'souza -
How to execute 2 different application from same Application Server
Hi,
I would like to know that how to execute two different applications from the same Application Server with different databases?
We are using
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
Oracle Application Server 10g 10.1.2.0.2
Regards,
Hassanwhat type of applications you want to run from the same application server, Hassan?
What other DB are you using to launch it beside the one you quoted? Is it the MRep DB of infra? -
No response from Sun Application Server PE 8.2
Hi all,
I am using Sun Application Server PE 8.2 on windows XP service pack 2 professional edition, and jdk 1.4.1_01.
The problem I am facing is that the server is not responding, even though it is listening at the respective ports(4848 for admin, 8080 for http..etc) as I can see 'netstat' command.
I have checked the server logs and it shows the following output :-
[#|2006-08-23T13:38:13.890+0530|WARNING|sun-appserver-pe8.2|javax.enterprise.tools.launcher|_ThreadID=10;|LAUNCHER005:Spaces in your PATH have been detected. The PATH must be consistently formated (e.g. C:\Program Files\Java\jdk1.5.0\bin; ) or the Appserver may not be able to start and/or stop. Mixed quoted spaces in your PATH can cause problems, so the launcher will remove all double quotes before invoking the process. The most reliable solution would be to remove all spaces from your path before starting the Appservers components. |#]
[#|2006-08-23T13:38:13.890+0530|INFO|sun-appserver-pe8.2|javax.enterprise.tools.launcher|_ThreadID=10;|
C:/j2sdk1.4.1_01\bin\java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=C:/Sun/AppServer/domains/domain1/logs/server.log
-Djava.endorsed.dirs=C:/Sun/AppServer/lib/endorsed
-Djava.security.policy=C:/Sun/AppServer/domains/domain1/config/server.policy
-Djava.security.auth.login.config=C:/Sun/AppServer/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=C:/Sun/AppServer/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/Sun/AppServer/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=C:/j2sdk1.4.1_01/jre/lib/ext;C:/Sun/AppServer/domains/domain1/lib/ext;C:/Sun/AppServer/derby/lib
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
-Dcom.sun.aas.configName=server-config
-Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
-Ddomain.name=domain1
-Djmx.invoke.getters=true
-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
-Dcom.sun.aas.promptForIdentity=true
-Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
-Dcom.sun.aas.instanceRoot=C:/Sun/AppServer/domains/domain1
-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
-Dcom.sun.aas.domainName=domain1
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Dproduct.name=Sun-Java-System/Application-Server
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
-Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
-Djava.library.path=C:\j2sdk1.4.1_01\jre\bin\client;C:\Sun\AppServer\lib;C:\Sun\AppServer\lib;C:\j2sdk1.4.1_01\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\oracle\ora92\bin;C:\Program Files\ActiveState Perl Dev Kit 6.0 Deployment\bin\;C:\j2sdk1.4.1_01\bin;C:\j2sdk1.4.1_01\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\MSSQL7\BINN;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\Rational1\common;C:\PROGRA~1\CA\SHARED~1\SCANEN~1;C:\Sun\AppServer\bin
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-cp
C:/Sun/AppServer/lib/appserv-rt.jar;C:/j2sdk1.4.1_01/lib/tools.jar;C:/Sun/AppServer/lib\activation.jar;C:/Sun/AppServer/lib\admin-cli.jar;C:/Sun/AppServer/lib\appserv-admin.jar;C:/Sun/AppServer/lib\appserv-cmp.jar;C:/Sun/AppServer/lib\appserv-ext.jar;C:/Sun/AppServer/lib\appserv-jstl.jar;C:/Sun/AppServer/lib\appserv-upgrade.jar;C:/Sun/AppServer/lib\commons-launcher.jar;C:/Sun/AppServer/lib\commons-logging.jar;C:/Sun/AppServer/lib\dom.jar;C:/Sun/AppServer/lib\j2ee-svc.jar;C:/Sun/AppServer/lib\j2ee.jar;C:/Sun/AppServer/lib\jax-qname.jar;C:/Sun/AppServer/lib\jaxr-api.jar;C:/Sun/AppServer/lib\jaxr-impl.jar;C:/Sun/AppServer/lib\jaxrpc-api.jar;C:/Sun/AppServer/lib\jaxrpc-impl.jar;C:/Sun/AppServer/lib\jmxremote.jar;C:/Sun/AppServer/lib\jmxremote_optional.jar;C:/Sun/AppServer/lib\jsf-api.jar;C:/Sun/AppServer/lib\jsf-impl.jar;C:/Sun/AppServer/lib\mail.jar;C:/Sun/AppServer/lib\relaxngDatatype.jar;C:/Sun/AppServer/lib\rmissl.jar;C:/Sun/AppServer/lib\saaj-api.jar;C:/Sun/AppServer/lib\saaj-impl.jar;C:/Sun/AppServer/lib\xalan.jar;C:/Sun/AppServer/lib\xercesImpl.jar;C:/Sun/AppServer/lib\xsdlib.jar;C:/Sun/AppServer/lib/install/applications/jmsra/imqjmsra.jar;C:/Sun/AppServer/imq/lib/jaxm-api.jar;C:/Sun/AppServer/imq/lib/fscontext.jar;C:/Sun/AppServer/lib/ant/lib/ant.jar
com.sun.enterprise.server.PEMain
start
display
native|#]
[#|2006-08-23T13:38:20.484+0530|INFO|sun-appserver-pe8.2|javax.enterprise.resource.jms|_ThreadID=10;|JMS5023: JMS service successfully started. Instance Name = imqbroker, Home = [C:\Sun\AppServer\imq\bin].|#]
[#|2006-08-23T13:38:20.484+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|CORE5098: AS Socket Service Initialization has been completed.|#]
[#|2006-08-23T13:38:21.046+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0047:The Platform MBeanServer is not available. Platform MBeans will not be available for browsing while using standard JMX Console.|#]
[#|2006-08-23T13:38:21.187+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:MBeanServer initialized successfully|#]
[#|2006-08-23T13:38:21.359+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.core.security|_ThreadID=10;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
[#|2006-08-23T13:38:22.000+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server server|#]
[#|2006-08-23T13:38:22.000+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server __asadmin|#]
[#|2006-08-23T13:38:22.750+0530|INFO|sun-appserver-pe8.2|javax.enterprise.resource.corba.ee.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3700"|#]
[#|2006-08-23T13:38:22.750+0530|INFO|sun-appserver-pe8.2|javax.enterprise.resource.corba.ee.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3820"|#]
[#|2006-08-23T13:38:22.937+0530|INFO|sun-appserver-pe8.2|javax.enterprise.resource.corba.ee.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3920"|#]
[#|2006-08-23T13:38:23.859+0530|INFO|sun-appserver-pe8.2|javax.enterprise.system.core.transaction|_ThreadID=10;|JTS5014: Recoverable JTS instance, serverId = [3700]|#]
[#|2006-08-23T13:38:26.484+0530|WARNING|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1080: Initialization of AMX MBeans failed. Detailed message:
java.lang.IncompatibleClassChangeError
at com.sun.appserv.management.util.jmx.JMXUtil.listenToMBeanServerDelegate(JMXUtil.java:103)
at com.sun.enterprise.management.support.Loader.preRegister(Loader.java:477)
at com.sun.management.jmx.MBeanServerImpl.preRegisterInvoker(MBeanServerImpl.java:2264)
at com.sun.management.jmx.MBeanServerImpl.registerMBean(MBeanServerImpl.java:866)
at com.sun.enterprise.admin.server.core.AdminService.initializeAMXMBeans(AdminService.java:868)
at com.sun.enterprise.admin.server.core.AdminService.start(AdminService.java:277)
at com.sun.enterprise.admin.server.core.AdminServiceLifeCycle.onStartup(AdminServiceLifeCycle.java:99)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
--------------- nested within: ------------------
javax.management.RuntimeErrorException: Error thrown in preRegister method
at com.sun.management.jmx.MBeanServerImpl.preRegisterInvoker(MBeanServerImpl.java:2270)
at com.sun.management.jmx.MBeanServerImpl.registerMBean(MBeanServerImpl.java:866)
at com.sun.enterprise.admin.server.core.AdminService.initializeAMXMBeans(AdminService.java:868)
at com.sun.enterprise.admin.server.core.AdminService.start(AdminService.java:277)
at com.sun.enterprise.admin.server.core.AdminServiceLifeCycle.onStartup(AdminServiceLifeCycle.java:99)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
|#]
[#|2006-08-23T13:38:26.531+0530|WARNING|sun-appserver-pe8.2|javax.enterprise.system.stream.err|_ThreadID=10;|java.lang.IncompatibleClassChangeError
at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
at $Proxy1.getstate(Unknown Source)
at com.sun.enterprise.admin.mbeans.DomainStatusHelper.getstate(DomainStatusHelper.java:63)
at com.sun.enterprise.management.util.J2EEManagementObjectManager.registerDasJ2EEServer(J2EEManagementObjectManager.java:1689)
at com.sun.enterprise.management.util.J2EEManagementObjectManager.registerDasJ2EEServers(J2EEManagementObjectManager.java:1645)
at com.sun.enterprise.admin.server.core.AdminService.start(AdminService.java:287)
at com.sun.enterprise.admin.server.core.AdminServiceLifeCycle.onStartup(AdminServiceLifeCycle.java:99)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
|#]
Please someone show the way of solving this, as it is driving me nuts..!!!
Kind Regards,
Rudy"Spaces in your PATH have been detected"
There are spaces in the the library.path - C:\Program Files
Wrap the entier path with double quotes "C:\Program Files" -
How to delete File from the Application Server,ABAP
Hi Gurus,
I'm using DELETE DATASET Statement ,
Based on Date how can i delete files with in the period in the Application server
Any BAPI/FM for this Delete file based on some Date Period
Thanks in Advance.DATA: BEGIN OF file,
dirname(75) TYPE c, " name of directory. (possibly truncated.)
name(75) TYPE c, " name of entry. (possibly truncated.)
type(10) TYPE c, " type of entry.
len(8) TYPE p, " length in bytes.
owner(8) TYPE c, " owner of the entry.
mtime(6) TYPE p, " last modification date, seconds since 1970
mode(9) TYPE c, " like "rwx-r-x--x": protection mode.
useable(1) TYPE c,
subrc(4) TYPE c,
errno(3) TYPE c,
errmsg(40) TYPE c,
mod_date TYPE d,
mod_time(8) TYPE c, " hh:mm:ss
seen(1) TYPE c,
changed(1) TYPE c,
END OF file.
DATA: BEGIN OF file_list OCCURS 100,
dirname(75) TYPE c, " name of directory. (possibly truncated.)
name(75) TYPE c, " name of entry. (possibly truncated.)
type(10) TYPE c, " type of entry.
len(8) TYPE p, " length in bytes.
owner(8) TYPE c, " owner of the entry.
mtime(6) TYPE p, " last modification date, seconds since 1970
mode(9) TYPE c, " like "rwx-r-x--x": protection mode.
useable(1) TYPE c,
subrc(4) TYPE c,
errno(3) TYPE c,
errmsg(40) TYPE c,
mod_date TYPE d,
mod_time(8) TYPE c, " hh:mm:ss
seen(1) TYPE c,
changed(1) TYPE c,
END OF file_list.
DO.
CLEAR file.
CALL 'C_DIR_READ_NEXT'
ID 'TYPE' FIELD file-type
ID 'NAME' FIELD file-name
ID 'LEN' FIELD file-len
ID 'OWNER' FIELD file-owner
ID 'MTIME' FIELD file-mtime
ID 'MODE' FIELD file-mode
ID 'ERRNO' FIELD file-errno
ID 'ERRMSG' FIELD file-errmsg.
if sy-subrc eq 0.
MOVE-CORRESPONDING file TO file_list.
APPEND file_list.
else.
exit.
endif.
enddo.
sort file_list based on date and time ie, MOD_DATE and MOD_TIME fields
and delete the entries -
Code generate report in excel format from portal(Application Server)
Hi all
Please give some solution with code generate report in excel format from
oracle portal(Application Server).Not feasible.
Why? Because "the Excel format" is a binary and proprietary Microsoft file format. And writing a generator to generate Excel files will be complex, and resource expensive. In the vast majority of cases this will not be justified.
As an alternative the very basic Microsoft XML office format can be used. But note that this is not a a ISO standard (it has been shot down in flames) - and effort and resources for that would be better spend on the Open Document XML standard (which very likely will be ratified as the ISO standard instead).
Of course, you could have meant a CSV file - in which case, you need to play close attention to details. CSV is not an Excel format. A software designers and developers, our success is determined by attention to technical detail. In which case you are not paying any attention to technical detail by confusing CSV with Excel. -
Moving of flat file from the application server after upload.
Hi All,
I am uploading data from a flat file placed on the application server by a BDC program.
After the BDC has created the session i want to transfer the flat file from that folder to another folder on the application server by changing the name of the flatfile.
Can any one suggest the best way of doing this particular scenario?
Thanks in advance.
Regards
Satish Nair.Here is a sample program.
report zrich_0001.
data: d1 type localfile value '/usr/sap/TST/SYS/Data1.txt',
d2 type localfile value '/usr/sap/TST/SYS/Data2.txt'.
data: begin of itab occurs 0,
rec(20) type c,
end of itab.
data: wa(20) type c.
start-of-selection.
open dataset d1 for input in text mode.
if sy-subrc = 0.
do.
read dataset d1 into wa.
if sy-subrc <> 0.
exit.
endif.
itab-rec = wa.
append itab.
enddo.
endif.
close dataset d1.
open dataset d2 for output in text mode.
loop at itab.
transfer itab to d2.
endloop.
close dataset d2.
delete dataset d1.
Regards,
Rich Heilman -
Cannot print on LOCAL printer, but only from one application server
Hello guys,
we have a case of user being unable to print directly on their own LOCAL printer from a certain application server. The status of their spool requests is stuck on "Waiting"/"Waiting for output formatter."
If the print request is started either from the central instance or another application server, then everything works fine and a special window where you can choose your real local printer appears at the end and the request is printed. In the case of that "strange" application server this window doesn't appear at all. It seems that the printer daemon (SAPLPD) won't even execute in the background.
The question is what can disturb SAPLPD of being properly triggered when the user fires a print out.. May be a certain port is blocked on our linux machine, where this application server (dialog instance) is running?
Any other ideas?
Many thanks,
Polinahello Polina
As you said its LOC print ,you need to install SAPSprint service on printer host ,this will try establish communication wit
app server .
Regards
Arun.H -
Reports run in LAN but not in WAN from Oracle Application Server 10g R2
Hi,
I am using Microsoft(R) Windows(R) Server 2003, Standard Edition (Version 5.2.3790 Build 3790) & Oracle Application Server 10g Release 2 (10.1.2).
I run my forms and reports in Oracle Application Server 10g Release 2 (10.1.2) successfully in client server environment. But when I run my application in WAN (our private network between different cities) then forms are run successfully but reports does not run.
i am calling reports from Forms using following code.
PROCEDURE PRINT_REP_WEB IS
RO_Report_ID REPORT_OBJECT;
Str_Report_Server_Job VARCHAR2(100);
Str_Job_ID VARCHAR2(100);
Str_URL VARCHAR2(100);
PL_ID PARAMLIST ;
BEGIN
PL_ID := GET_PARAMETER_LIST('TEMPDATA');
IF NOT ID_NULL(PL_ID) THEN
DESTROY_PARAMETER_LIST(PL_ID);
END IF;
PL_ID := CREATE_PARAMETER_LIST('TEMPDATA');
RO_Report_ID := FIND_REPORT_OBJECT('REPORT183');
SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_FILENAME, 'C:\cheema\qdir_store\reports\pmms\backlog_jobtype.RDF');
SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_EXECUTION_MODE, BATCH);
SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESTYPE, FILE);
SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESFORMAT, 'PDF');
SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_SERVER, 'rep_pap_10gasmid');
Str_Report_Server_Job := RUN_REPORT_OBJECT(RO_Report_ID, PL_ID);
Str_Job_ID := SUBSTR(Str_Report_Server_Job, LENGTH('rep_pap_10gasmid') + 2, LENGTH(Str_Report_Server_Job));
Str_URL := '/reports/rwservlet/getjobid' || Str_Job_ID || '?server=rep_pap_10gasmid';
WEB.SHOW_DOCUMENT(Str_URL, '_SELF');
DESTROY_PARAMETER_LIST(PL_ID);
END;
when clients in WAN press the reports button from Form there is a message "Page can not be displayed" appear.
How can I run my reports in WAN, please suggest me solution.This sounds like a configuration issue. Are there different firewall rules that are enforced on WAN connections versus LAN connections?
Hope this helps.
Craig... -
Migration from Oracle application server from Windowsto Solaris
Hi Friends,
I want to migrate Oracle application server from Windows to solaris. Please share the document for this.
Thanks in advance
Anil PintoHi,
I hope we need to install Oracle Applcation server on Solaris and need to compile windows forms in soalris.
Thanks & Regards
Anil Pinto -
How to pull all the txt files from an application server to oracle server
hi
i got some 30 txt files on java application server. i have two questions
1) can java guys will be able to move those files to some oracle directory that will be used by create external table command.
2) can oracle do that using a stored procedure ..but then for it i think i have to create ftppkg and ftpbdy and call and connect each time...
which one is better and why?
regards
rajHi,
You can create procedure to move file from application server to oracle server.
Code for list all files in directory
ops$tkyte@8i> GRANT JAVAUSERPRIV to ops$tkyte
2 /
Grant succeeded.
That grant must be given to the owner of the procedure.. Allows them to read
directories.
ops$tkyte@8i> create global temporary table DIR_LIST
2 ( filename varchar2(255) )
3 on commit delete rows
4 /
Table created.
ops$tkyte@8i> create or replace
2 and compile java source named "DirList"
3 as
4 import java.io.*;
5 import java.sql.*;
6
7 public class DirList
8 {
9 public static void getList(String directory)
10 throws SQLException
11 {
12 File path = new File( directory );
13 String[] list = path.list();
14 String element;
15
16 for(int i = 0; i < list.length; i++)
17 {
18 element = list;
19 #sql { INSERT INTO DIR_LIST (FILENAME)
20 VALUES (:element) };
21 }
22 }
23
24 }
25 /
Java created.
ops$tkyte@8i>
ops$tkyte@8i> create or replace
2 procedure get_dir_list( p_directory in varchar2 )
3 as language java
4 name 'DirList.getList( java.lang.String )';
5 /
Procedure created.
ops$tkyte@8i>
ops$tkyte@8i> exec get_dir_list( '/tmp' );
PL/SQL procedure successfully completed.
ops$tkyte@8i> select * from dir_list where rownum < 5;
FILENAME
data.dat
.rpc_door
.pcmcia
ps_data
http://asktom.oracle.com/pls/asktom/f?p=100:11:3597961203953876::::P11_QUESTION_ID:439619916584 -
Migration guide from Iplanet application server
Hi ,
i would like to migrate application to oracle 9ias application server.Curently we are using iplanet application server6.5.
From where do i get some useful documents.
In oracle 9ias faqs , its written that its available on http://ias.us.oracle.com.But the site is not opening up.
If some one has already tried migration please suggest to us as how to do.
Thanks in advance
smitaPlease refer to the following url:
http://www.sun.com/migration/sunonetools.html
This should give u a head start on what needs to be done and how,. WIth respect to webserver , i guess you can use it or leave it depending on the architecture you require to deploy your solution.
Hope this helps !
Maybe you are looking for
-
What ribbon cable should I get for my 3rd drive?
Hi, I just installed my 3rd hard disk drive in my 933MHZ(was 733) QuickSilver G4. I recently emailed a vendor asking: "Hello, I have a Mac 733 Quick Silver computer and I just installed my third hard disk drive. I need a 40 pin 4(for later) drive scs
-
IPhone 4S Out of Warranty Screen smashed then fixed but now Faults.
Hi Recently My Iphone 4S Warranty Expired the screen got cracked but then i fixed it my self now it has a tone of faults i allways have No Service no matter were i am and My iphone is 64gb and the website doesnt sell them anymore Would Apples Out Of
-
Problem after 1.30 minute
Hello, I have a strange problem with Itunes under Windows. I start to listen an audio podcast and after 1.30 minute, Itunes jumps to the next audio file.. If you have any clue ? thanks
-
Resolution questions from PSD to PDF
I have a picture book illustrated at 300dpi in Photoshop. The printer wants PDF's at 2400dpi. Using Distiller, I set the specs at 2400 dpi with no compression as per the printer's request. When I open the saved PDF in Photoshop, the image shows as 30
-
I am trying to communicate with a RidgeSoft IntelliBrain-Bot robot via an installed Radio Shack Serial to USB cable. The XP system Device Manager shows the active port for the cable is COM3 and that it is working properly. I have activated the "compu