Are threads in the application server preemptive?
Are threads in the application server preemptive or non-preemptive? That is do
they automatically yield to other threads running in the application server after
they have run for a certain amount of time or do they only yield when certian
points in the code are reached (eg when they have completed, when they reach a
remote call or when they explictly call yield()).
Green threads (way back in 1.1.8 and so on) was Unix only, and non-preemptive.
It was also very lumpy and unreliable. Old threading tutorials used to recommend
calling yield() and suitable points in your code - just like Windows 3.0 all over
again.
But all current JVM implementations use OS threading, and are pre-emptive (but
of course that doesn't stop them being blocked due to synchronization or I/O etc...)
simon.
Rob Woollen <[email protected]> wrote:
It would depend on the underlying JVM or OS. However I've not aware
of any Java
implementations that are non-preemptive.
-- Rob
Ash Beitz wrote:
Are threads in the application server preemptive or non-preemptive?That is do
they automatically yield to other threads running in the applicationserver after
they have run for a certain amount of time or do they only yield whencertian
points in the code are reached (eg when they have completed, when theyreach a
remote call or when they explictly call yield()).
Similar Messages
-
All the DTP jobs are routing to one application server
HI all,
DTP process job is triggering 3 child jobs all those child jobs are going to one application server, we have many DTP jobs all the jobs are routing to one paticular server that is causing application server to be hang(high cpu, memory utilization) .could you please suggest me in the process chain, is BI team can assign the application, i am not getting why dtp child jobs are executing only one application server, i have obesereved since 10 days it is happening. could you please suggest me how we can over come this.
Thanks & Regards.
VenugopalCheck tcode RSBATCH, If I'm not wrong DTP_LOAD process type is assigned to application server on which these DTP jobs are running. Remove that application server name and save.
Again use RSBATCH, under 'Background and Parallel Processes' tab, click 'Switch Off F4 Popup for Server/Host/Group', enter *** (star) under Users for 'Users for Whom NO Server/Host/Group Popup Should be Processed'. Now activate the PC and execute and check the DTP jobs.
Since u have 4 Appln Servers, best bet would be creating a server group. See the below link.
How to run Process Chain jobs WITHOUT a target server -
Error starting the Application Server and Deployment Tool
After installing the iPlanet Aplication Server with sp3 I get the following
errors starting the Application Server and Deployment Tool.
iAS Application Server
================
GXBindInit: GXBindBasic failed
GXContextInit: GXBindInit failed 2
[26/Out/2001 17:46:49:8] error: ENGINE-context_init_failed: EngineClassSpace
ContextModule.createContextInit failed:
error: could not get context
*** Errors in initialization from registry ***
Errors in initialization, exiting ...
iAS Deployment Tool
===============
GXBindInit: GXBindBasic failed
GXContextInit: GXBindInit failed 2
[26/Out/2001 17:23:40:7] error: ENGINE-context_init_failed: EngineClassSpace
ContextModule.createContextInit failed:
Exception in thread "main" java.lang.NullPointerException
at com.kivasoft.util.Util.loadComponent(Unknown Source)
at
com.iplanet.ias.tools.buzz.ui.application.StartBuzz.initGDS(Unknown Source)
at com.iplanet.ias.tools.buzz.ui.application.StartBuzz.main(Unknown
Source)
Can anyone help me please!Hi,
Would be more helpful if you can mention, the O/S. Also, pls mention where
you are getting this error, at kjs or kxs, or, are you able to start the server
and at which specific instance do you encounter this.
Regards
Raj
"Antonio Casqueiro" wrote:
After installing the iPlanet Aplication Server with sp3 I get the following
errors starting the Application Server and Deployment Tool.
iAS Application Server
================
GXBindInit: GXBindBasic failed
GXContextInit: GXBindInit failed 2
[26/Out/2001 17:46:49:8] error: ENGINE-context_init_failed: EngineClassSpace
ContextModule.createContextInit failed:
error: could not get context
*** Errors in initialization from registry ***
Errors in initialization, exiting ...
iAS Deployment Tool
===============
GXBindInit: GXBindBasic failed
GXContextInit: GXBindInit failed 2
[26/Out/2001 17:23:40:7] error: ENGINE-context_init_failed: EngineClassSpace
ContextModule.createContextInit failed:
Exception in thread "main" java.lang.NullPointerException
at com.kivasoft.util.Util.loadComponent(Unknown Source)
at
com.iplanet.ias.tools.buzz.ui.application.StartBuzz.initGDS(Unknown Source)
at com.iplanet.ias.tools.buzz.ui.application.StartBuzz.main(Unknown
Source)
Can anyone help me please! -
Error starting the Application Server and Deployment Tool in Windows 2000
After installing the iPlanet Aplication Server with sp3 in Windows 2000 I
get the following
errors starting the Application Server and Deployment Tool.
iAS Application Server
================
GXBindInit: GXBindBasic failed
GXContextInit: GXBindInit failed 2
[26/Out/2001 17:46:49:8] error: ENGINE-context_init_failed: EngineClassSpace
ContextModule.createContextInit failed:
error: could not get context
*** Errors in initialization from registry ***
Errors in initialization, exiting ...
iAS Deployment Tool
===============
GXBindInit: GXBindBasic failed
GXContextInit: GXBindInit failed 2
[26/Out/2001 17:23:40:7] error: ENGINE-context_init_failed: EngineClassSpace
ContextModule.createContextInit failed:
Exception in thread "main" java.lang.NullPointerException
at com.kivasoft.util.Util.loadComponent(Unknown Source)
at
com.iplanet.ias.tools.buzz.ui.application.StartBuzz.initGDS(Unknown Source)
at com.iplanet.ias.tools.buzz.ui.application.StartBuzz.main(Unknown
Source)
Can anyone help me please!Okay, pls check that you are logged in as administrator and installed and now you are logged in as administrator and registering the iAS server. Did you get any installation failures while installing and are you able to register the server using iASAT ?
-
The Application Server Instance is down - but it's NOT
Hi everyone,
Just yesterday, I installed the agent on a server that is running Oracle Forms and Reports Servers. In OEM, it shows that "The Application server instance is down", but when I go to the main screen for this OAS, all of the components are up. I wish I could include a screenshot to show you, but it looks like I can't.
What could be causing this? Any thoughts on how to troubleshoot?
Thanks,
BradOK, here are the last 25 (or so) lines of the OC4J~OC4J_EM~default_island~1 file:
06/11/03 11:19:02 at oracle.sysman.db.adm.inst.SqlDetailController.setRequestAttributes(SqlDetailController.java:780)
06/11/03 11:19:02 at oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:1154)
06/11/03 11:19:02 at oracle.sysman.db.adm.inst.SqlDetailController.handleEvent(SqlDetailController.java:2743)
06/11/03 11:19:02 at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:577)
06/11/03 11:19:02 at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:174)
06/11/03 11:19:02 at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:114)
06/11/03 11:19:02 at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:781)
06/11/03 11:19:02 at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:337)
06/11/03 11:19:02 at oracle.sysman.eml.app.Console.doGet(Console.java:318)
06/11/03 11:19:02 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
06/11/03 11:19:02 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
06/11/03 11:19:02 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
06/11/03 11:19:02 at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:88)
06/11/03 11:19:02 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
06/11/03 11:19:02 at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
06/11/03 11:19:02 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
06/11/03 11:19:02 at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
06/11/03 11:19:02 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
06/11/03 11:19:02 at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:336)
06/11/03 11:19:02 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
06/11/03 11:19:02 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
06/11/03 11:19:02 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
06/11/03 11:19:02 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
06/11/03 11:19:02 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
06/11/03 11:19:02 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
06/11/03 11:19:02 at java.lang.Thread.run(Thread.java:534)
06/11/03 11:19:02 java.lang.NullPointerException
06/11/03 11:19:02 at oracle.cabo.share.url.EncoderUtils.encodeString(Unknown Source)
06/11/03 11:19:02 at oracle.sysman.emSDK.util.jdk.URLUtil.encode(URLUtil.java:99)
06/11/03 11:19:02 at oracle.sysman.emSDK.util.jdk.URLUtil.encode(URLUtil.java:83)
06/11/03 11:19:02 at oracle.sysman.db.adm.inst.SqlDetailController._setRefreshChoice(SqlDetailController.java:2303)
06/11/03 11:19:02 at oracle.sysman.db.adm.inst.SqlDetailController.setRequestAttributesForActivityPage(SqlDetailController.java:2168)
06/11/03 11:19:02 at oracle.sysman.db.adm.inst.SqlDetailController.setRequestAttributes(SqlDetailController.java:780)
06/11/03 11:19:02 at oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:1154)
06/11/03 11:19:02 at oracle.sysman.db.adm.inst.SqlDetailController.handleEvent(SqlDetailController.java:2743)
06/11/03 11:19:02 at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:577)
06/11/03 11:19:02 at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:174)
06/11/03 11:19:02 at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:114)
06/11/03 11:19:02 at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:781)
06/11/03 11:19:02 at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:337)
06/11/03 11:19:02 at oracle.sysman.eml.app.Console.doGet(Console.java:318)
06/11/03 11:19:02 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
06/11/03 11:19:02 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
06/11/03 11:19:02 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
06/11/03 11:19:02 at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:88)
06/11/03 11:19:02 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
06/11/03 11:19:02 at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
06/11/03 11:19:02 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
06/11/03 11:19:02 at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
06/11/03 11:19:02 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
06/11/03 11:19:02 at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:336)
06/11/03 11:19:02 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
06/11/03 11:19:02 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
06/11/03 11:19:02 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
06/11/03 11:19:02 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
06/11/03 11:19:02 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
06/11/03 11:19:02 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
06/11/03 11:19:02 at java.lang.Thread.run(Thread.java:534) -
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 -
Error while integrating the application server in jdeveloper?
i am using standalone server connection and given the settings ....
test process is good..all the test connections are successful...
but while navigating to SOA folder. i couldn't find deployed files in soa folder.
i found following error
javax.naming.NamingException: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://xxxxxxxxxxxxxxxxxxxxxDestination unreachable; nested exception is:
java.net.ConnectException: Connection timed out: connect; No available router to destination] [Root exception is java.lang.RuntimeException: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://xxxxxxxxxxxxx: Destination unreachable; nested exception is:
java.net.ConnectException: Connection timed out: connect; No available router to destination]]
at oracle.tip.tools.ide.fabric.asbrowser.SOAServerProvider.listBindingsImpl(SOAServerProvider.java:35)
at oracle.rc.asadapter.context.spi.AbstractContextProvider.listBindings(AbstractContextProvider.java:133)
at oracle.rc.asadapter.context.spi.DefaultMutableAppServerContext$ContextProviderSupport$3.method(DefaultMutableAppServerContext.java:384)
at oracle.rc.asadapter.context.spi.DefaultMutableAppServerContext$ContextProviderSupport$MethodCall.invoke(DefaultMutableAppServerContext.java:421)
at oracle.rc.asadapter.context.spi.DefaultMutableAppServerContext$ContextProviderSupport.listBindings(DefaultMutableAppServerContext.java:381)
at oracle.rc.asadapter.context.spi.DefaultMutableAppServerContext$ContextProviderSupport.access$500(DefaultMutableAppServerContext.java:314)
at oracle.rc.asadapter.context.spi.DefaultMutableAppServerContext.localListBindings(DefaultMutableAppServerContext.java:207)
at oracle.rc.asadapter.context.spi.AbstractEventDirContext.listBindings(AbstractEventDirContext.java:185)
at oracle.adf.rc.spi.jndi.AbstractDirContext.listBindings(AbstractDirContext.java:214)
at oracle.rc.asadapter.context.spi.DefaultAppServerManageableContext.getManageables(DefaultAppServerManageableContext.java:58)
at oracle.jdeveloper.asnav.nodes.DefaultManageableFolder.loadChildren(DefaultManageableFolder.java:327)
at oracle.jdeveloper.asnav.nodes.DefaultManageableFolder$4.run(DefaultManageableFolder.java:288)
Caused by: java.lang.RuntimeException: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://xxxxxxxxxxxxx: Destination unreachable; nested exception is:
java.net.ConnectException: Connection timed out: connect; No available router to destination]
at oracle.tip.tools.ide.fabric.asbrowser.WeblogicSOAServer.initPartitions(WeblogicSOAServer.java:89)
at oracle.tip.tools.ide.fabric.asbrowser.WeblogicSOAServer.<init>(WeblogicSOAServer.java:68)
at oracle.tip.tools.ide.fabric.asbrowser.ASBrowserHelper.listWeblogicSOAServers(ASBrowserHelper.java:275)
at oracle.tip.tools.ide.fabric.asbrowser.ASBrowserHelper.listSOAServers(ASBrowserHelper.java:201)
at oracle.tip.tools.ide.fabric.asbrowser.SOAServerProvider.listUserObjects(SOAServerProvider.java:54)
at oracle.tip.tools.ide.fabric.asbrowser.SOAServerProvider.listBindingsImpl(SOAServerProvider.java:21)
... 11 more
Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://xxxxxxxxx:7021: Destination unreachable; nested exception is:
java.net.ConnectException: Connection timed out: connect; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:788)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:368)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at oracle.soa.management.internal.facade.ServerManagerImpl.<init>(ServerManagerImpl.java:76)
at oracle.soa.management.internal.facade.ServerManagerFactoryImpl.createServerManager(ServerManagerFactoryImpl.java:28)
at oracle.tip.tools.ide.fabric.asbrowser.WeblogicSOAServer.initPartitions(WeblogicSOAServer.java:85)
... 16 more
Caused by: java.net.ConnectException: t3://xxxxxxxx:7021: Destination unreachable; nested exception is:
java.net.ConnectException: Connection timed out: connect; No available router to destination
at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:353)
... 26 more
Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
java.net.ConnectException: Connection timed out: connect; No available router to destination
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:470)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321)
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:254)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
... 29 more
i worked out with the statements in help file which is as follows
11.6.1 No available router to destination Message is Displayed When Attempting to Connect to the Administration Server from WLST
When trying to connect to the WebLogic Server Administration Server from WLST using localhost as the host name, the following message may be displayed if the listen-address attribute of the Administration Server has been restricted to certain IP addresses:
javax.naming.CommunicationException [Root exception is
java.net.ConnectException : <t3://HOST:PORT> : Destination unreachable;
nested exception is: java.net.ConnectException: Connection refused; No
available router to destination
Workaround
Use either of the following workarounds:
Check that the listen-address attribute of the Administration Server has been set correctly in the domain configuration file. You can either remove the listen-address line or simply comment it out. Oracle recommends that you comment it out in case you need to know the value at a later time. For example, in the domain configuration file:
<server>
<name>AdminServer</name>
<ssl>
</ssl>
<machine>machine_name</machine>
<!-- listen-address>machine_ip_address</listen-address -->
</server>
Use the host name of the Administration Server, instead of localhost, in the WLST connect command.
i removed listen address in config file..but i am still facing with same error
Edited by: 947453 on Jul 25, 2012 7:09 PMHello,
Were you able to resolve this? I am facing the same issue where my JDev is on a separate machine from the SOA server. Where is the "domain configuration file" located? I am running 11.1.1.6. Within JDev all the other options for the Application Server (Deployments, Servers, Web Services) return results quickly. SOA is throwing the error you mention.
Thank you. -
Secure the password of the schema in the application server
Hi,
my application is using one schema, and the users are stored in a table within that schema. When the user run the application, the schema password is not required since it is stored in formsweb.cfg file as userid=username/password@servicename. the problem with this, is that anyone is able to know the schema password by opening the formsweb.cfg.
is there any way to make the password invisible in the application server ?
ThanxHi
1. What is the version of the Oracle Fusion Middleware you are using?
2. Why would the users have access to the formsweb.cfg file?
Please provide the above info to get further assistance.
Regards,
Durbanite -
Various ways to place a File in the Application Server.
Hi all,
What are the various ways to place a file in the application Server.
Please classify them as shown below.
1. Use of ABAP Code.
2. Without the use of ABAP code.
RegardsHi
<b>1. Use of ABAP Code.</b>
by writing code like this
REPORT ZSD_EXCEL_INT_APP.
parameter: file_nm type localfile.
types : begin of it_tab1,
f1(20),
f2(40),
f3(20),
end of it_tab1.
data : it_tab type table of ALSMEX_TABLINE with header line,
file type rlgrap-filename.
data : it_tab2 type it_tab1 occurs 1,
wa_tab2 type it_tab1,
w_message(100) TYPE c.
at selection-screen on value-request for file_nm.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
* PROGRAM_NAME = SYST-REPID
* DYNPRO_NUMBER = SYST-DYNNR
* FIELD_NAME = ' '
STATIC = 'X'
* MASK = ' '
CHANGING
file_name = file_nm
EXCEPTIONS
MASK_TOO_LONG = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
start-of-selection.
refresh it_tab2[].clear wa_tab2.
file = file_nm.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename = file
i_begin_col = '1'
i_begin_row = '1'
i_end_col = '10'
i_end_row = '35'
tables
intern = it_tab
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop at it_tab.
case it_tab-col.
when '002'.
wa_tab2-f1 = it_tab-value.
when '004'.
wa_tab2-f2 = it_tab-value.
when '008'.
wa_tab2-f3 = it_tab-value.
endcase.
at end of row.
append wa_tab2 to it_tab2.
clear wa_tab2.
endat.
endloop.
data : p_file TYPE rlgrap-filename value 'TEST3.txt'.
OPEN DATASET p_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
*--- Display error messages if any.
IF sy-subrc NE 0.
MESSAGE e001(zsd_mes).
EXIT.
ELSE.
*---Data is downloaded to the application server file path
LOOP AT it_tab2 INTO wa_tab2.
TRANSFER wa_tab2 TO p_file.
ENDLOOP.
ENDIF.
*--Close the Application server file (Mandatory).
CLOSE DATASET p_file.
loop at it_tab2 into wa_tab2.
write : / wa_tab2-f1,wa_tab2-f2,wa_tab2-f3.
endloop.
Here is a pseudo code for what you are looking for-
OPEN DATASET P_FLPTH FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF SY-SUBRC eq 0.
LOOP AT LT_TAB INTO LS_TAB.
TRANSFER LS_TAB TO P_FLPTH.
ENDLOOP.
CLOSE DATASET P_FLPTH.
if sy-batch = 'X'.
write:/ 'File uploaded successfully'.
else.
message sXXX with 'File uploaded successfully'.
endif.
Else.
if sy-batch = 'X'.
write:/ 'Error in File upload'.
else.
message sxxx with 'Error in File upload'.
endif.
LEAVE PROGRAM.
ENDIF.
<b>2. Without the use of ABAP code.</b>
CG3Y -
Appl to Presentation server
<b>Reward if useful</b> -
Regarding reading data from a file in the application server.
Hello Everyone,
My question is:
The file in the application server consists of data with header, detail and trail out of which the detail contains the main information. The detail again contains the data in the form of a continuous string and again some spaces corresponding to a single record. I need to split the data in the internal table in such a way so that the first few characters get into field-1 of the target internal table. Again I need to consider the spaces for accessing the data for filling up in field-2. How do I decide on the 'Split' statement and specially when the whole string has to be taken care of as contatining data in a single string format without space and again some data after some spaces corresponding to a single record.
Your help is very much needed. Thanks to all the experts in advance.Hi
This is the sample code I was used for the similar requirement.
DATA: single_line TYPE string .
v_file_listings = pa_filn1.
IF v_file_listings IS INITIAL .
MESSAGE e039 WITH v_file_listings.
ENDIF.
*-- read file, split lines into fields and put data into table
OPEN DATASET v_file_listings FOR INPUT IN TEXT MODE ENCODING NON-UNICODE. "Opening the files
IF sy-subrc EQ 0.
DO.
READ DATASET v_file_listings INTO single_line. "Reading the content of file into line
IF sy-subrc = 0.
IF sy-index > 1. "skip header-line
SPLIT "Split the content of line into work area
single_line
AT k_split
INTO
wa_listings-kschl " Condition type
wa_listings-tabname16 " Condition table name
wa_listings-vkorg " Sales organisation
wa_listings-kunnr " sold-to party numberor ship-to party number
wa_listings-matnr " Material Number
wa_listings-kodatab " Valid-from date
wa_listings-kodatb1. " Valid-to date
APPEND wa_listings TO itab_listings. "Appending Work Area to internal table
ENDIF.
ELSE.
EXIT.
ENDIF.
v_count1 = sy-tabix.
ENDDO.
Regards,
Sreeram -
Can we compare file contents of two files in the Application server?
Hi,
A file is generated daily to the application server. and i need to compare the generated file to the file generated on the previous day and prepare a report.
Can we compare file contents of two generated files present in the Application server?
If there is any alternative, please suggest.
regards
csyes we can compare if the app server is Unix.
cmp compare two binary files and report if different
cmp is silent if the files are the
same;
if they differ, the byte and line number at which the first
difference occurred is reported.
REPORT ZUNIX line-size 400
no standard page heading.
data: unixcom like rlgrap-filename.
unixcom = 'cmp file1 file2'.
data: begin of tabl occurs 500,
line(400),
end of tabl.
data: lines type i.
start-of-selection.
refresh tabl.
call 'SYSTEM' id 'COMMAND' field unixcom
id 'TAB' field tabl[].
"if the files are different then you will some content in tabl
Regards
Viajy Babu Dudla -
Upload and download of excel file in the application server in background
Hi all,
i want to download the excel file from application server into internal table and after processing i have to upload to excel file in the application server in the background mode..
i mean i'll schedule the program in background.
im using FM ALSM_EXCEL_TO_INTERNAL_TABLE its working fine in fore ground but not in back ground.
what method i have to follow ?Hi Ankit,
I think this is not possible to open a Excel-File from the application server because the Excel format before Office 2007 where a binary format (Suffix: .xls). The newer Office file format (Suffix: xlsx) is a zipped XML Format. To read the binary Excel-Format you need an OLE Connection between SAP GUI and Office. But at the application server in background you doesn't have this OLE Connection.
In my opinion you have two possibilities:
1. Convert all files in the CSV format. This file format can be read with open dataset.
2. Upload the files from the presentation server in forground. There are some funktion modules in the standard which can read the xls format. But they have some limits regarding the length of cells content.
My recommendation is solution no. 1. If you know an VBA expert, he can write an Excel-macro which converts all Excel Files in the CSV-Fomat.
Regards
Dirk -
ABAP Trial version u2013 starting the application server
Hi,
I have a problem starting the application server via the management console. After choosing action ->start I have to enter user and password. Do I have to create a new user password combination, use the OS password or try bcuser and minisap? None of these three options worked out. I always get the message 'Start failed: 2 Invalid Credentials'. Or went there something wrong during the installation?
Thanks for your help.
BirgitHey Birgit,
In my case I installed ABAP Trial version (also known as MiniSap) on my local machine (Windows).
When I turn on the machine, my Windows(OS) requires a User/Password (It was configured this way but it is possible you configure to not require a User/Password, it uses a default).
When I instaled the ABAP Trial version, I logged on with a User/Password with administrator rights (it is necessary for installation).
When, in the "Management Console", I start the ABAP (the "NSP" node), it asks me the user and password and I use the OS User/Password that I used to install ABAP Trial (above).
If you are doing the same I don't know why the message "Start failed: 2 Invalid Credentials".
Merry Christmas,
Edited by: Walmir Catunda on Dec 15, 2008 11:34 AM -
Renaming a file on the application server
Hi all,
I create a file on the Application server which I want to rename means a program.
I would like to add the system stamptime at the time the program is running.
sample:
original name:
file.csv
final name:
file_20060626123000.csv
does somebody have an ABAP program to do that ? other ideas?
Thanks in advance,
FedeXThanks for the answers,
I do not what I doing wrong in my sample....
I am using this logical path and logical file in an InfoSpoke..
and I get the error:
"could not open file on application server"
My definitions are:
Logical PATH : Z_PATH_TEST
Syntax Group ->UNIX
<P=DIR_HOME>/<FILENAME>
( I am sure DIR_HOME is set correcty on SAP Directories)
Logical FILE NAME : Z_NAME_TEST
Physical Name :File1_<DATE>.csv
Data Format : ASC
Logical Path: Z_PATH_TEST
What could be wrong here?... Thanks again
FedeX -
How to archive billing docs in PDF format on the application server?
Hi,
I want to archive billing docs in PDF format on the application server.
Formerly on our SAP system, Archivelink was set up to archive these documents to an HTTP content server. Since we no longer have this server, I want to adapt it to simply output the PDFs to a filesystem on the application server. I have tried to reconfigure the content repository (tcode OAC0) without success.
Am I on the right track?
If so, which document area, storage type, etc should I use?Hi Slath,
from DMS point of view you may use the storage category 'DMS_C1_ST' and the content repository 'DMS_C1' as a kind of template. The document area for DMS storage categories has to be maintained as 'DMS'.
Best regards,
Christoph
Maybe you are looking for
-
I find it extremely difficult using the current version of Firefox. Navigating through open pages is cumbersome and at times, closing tabs is not possible. I have to close Firefox and restart. I would like to download an older version of Firefox. Is
-
New 8 Core ( but just 4 for Logic ...obviously )
Dears all, i've purchased a new 8 core. Obviously Logic can "see" only 4 processors. ( Obviously ) Any news about some patches or little update ?? Many thanks in advance -Anton Mac Pro 8 core/ G5 Dual 2x2 /G5 2.3Dualcore/Pbook 1Ghz/Ipod 5th Mac OS
-
Trouble using Yahoo mail accounts on iPad
Hello, I posted to another community as well, and we are working on this with no luck so far: I have yahoo based e-mail accounts. I have them set to keep e-mails on server until I manually delete. This works on my computer and iPhone, but not on th
-
Staging a Test Environment from a Production Environment
I trying create new test environment follow Oracle guide but I always get errors, look like this documentation is not correct Oracle® Application Server Administrator's Guide 10g Release 2 (10.1.2) B13995-08 Is someone have correct guide(documentatio
-
Pacman error: FILENAME exists in filesystem
This comes up quite often, and since users are not using the excellent forum search function, it will be stickied. error: could not prepare transaction error: failed to commit transaction (conflicting files) libname: /insert/file/name/here exists in