Trigger a background job immediately after a file is placed in App Server
Hi all,
I have a program ZPGM1 that needs to be executed in background when a file is placed in an application server.
I know i can schedule ZPGM1 to trigger in background after an event say ZEVENT1.
Also i know i raise the event ZEVENT1 using FM BP_EVENT_RAISE but my problem is who would raise the event.
The file is being dropped in application server at random time by 3 party vendor. I need to execute my ZPGM1 immediately after the file is placed in Application Server.
Is ther a way that this can be achieved. Let me know
Thanks
Kajol
You will need to develop a custom, non-SAP "listener" program or a script. This program/script will need to check if the file is present (e.g. by using an OS-level event) and, if so, start SAPEVT.EXE program with corresponding parameters.
SAP Help on raising events externally:
http://help.sap.com/saphelp_nw04s/helpdata/en/fa/096e6b543b11d1898e0000e8322d00/frameset.htm
There is also third-party software available, but it is very expensive:
http://www.redwood.com/
Similar Messages
-
Trigger a background job after executing tcode MMPV
Hi All,
I would like to trigger a background job after executing tcode MMPV. In MMPV, after closing a particular period and entering
new period, the transaction will be saved. After saving, the background job should be triggered. How to do it?
Regards,
VinodDepending what system you are on your best bet would be to create an enhancement point inside a form, that is called after the save has been performed, and raise an event within that form.
Events can be used to trigger background jobs are maintained in transaction SM62.
Cheers. -
What to add to an program code in order to trigger an background job
Hi there
I wander what to add to an program code in order to trigger an event which consequently can trigger an background job
thx in advanceCheck this code:
DATA : v_jobhead LIKE tbtcjob.
DATA : v_jobcount LIKE tbtcjob-jobcount.
DATA : v_eventparm LIKE tbtcjob-eventparm.
DATA : v_flg_released TYPE c.
DATA: e_error.
DATA: running LIKE tbtcv-run.
TYPES: esp1_boolean LIKE boole-boole.
CONSTANTS: esp1_false TYPE esp1_boolean VALUE ' ',
esp1_true TYPE esp1_boolean VALUE 'X'.
CONSTANTS: true TYPE boolean VALUE esp1_true,
false TYPE boolean VALUE esp1_false.
PARAMETERS: v_jobnam LIKE tbtcjob-jobname,
v_report LIKE sy-repid,
v_varian LIKE raldb-variant,
v_uname LIKE sy-uname.
START-OF-SELECTION.
* add the new job
CALL FUNCTION 'JOB_OPEN'
EXPORTING
* delanfrep = 'X'
jobname = v_jobnam
IMPORTING
jobcount = v_jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc <> 0.
e_error = true.
ELSE.
CALL FUNCTION 'JOB_SUBMIT' " or you can use SUBMIT statement as well.
EXPORTING
authcknam = v_uname
jobcount = v_jobcount
jobname = v_jobnam
report = v_report
variant = v_varian
EXCEPTIONS
bad_priparams = 1
bad_xpgflags = 2
invalid_jobdata = 3
jobname_missing = 4
job_notex = 5
job_submit_failed = 6
lock_failed = 7
program_missing = 8
prog_abap_and_extpg_set = 9
OTHERS = 10.
IF sy-subrc <> 0.
e_error = true.
ELSE.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
* EVENT_ID = IC_WWI_WORKPROCESS_EVENT
* EVENT_PARAM = V_EVENTPARM
* EVENT_PERIODIC = 'X'
jobcount = v_jobcount
jobname = v_jobnam
strtimmed = 'X'
IMPORTING
job_was_released = v_flg_released
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc <> 0.
e_error = true.
ELSE.
DO.
CALL FUNCTION 'SHOW_JOBSTATE'
EXPORTING
jobcount = v_jobcount
jobname = v_jobnam
* IMPORTING
* ABORTED =
* FINISHED =
* PRELIMINARY =
* READY =
* running =
* SCHEDULED =
EXCEPTIONS
jobcount_missing = 1
jobname_missing = 2
job_notex = 3
OTHERS = 4.
IF sy-subrc <> 0.
e_error = true.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF running = space.
EXIT.
ENDIF.
ENDDO.
ENDIF.
ENDIF.
ENDIF. -
How to trigger a background job from BADI method.
hi friends,
i need to trigger a background job from the badi method CHANGE_AT_SAVE for the BADI BOM_UPDATE.
for this i think i need to create an event which i should give with parameters during job creation.
can you pls help me solve this issue.
thank u all.Hi Saravanan,
Here is an example of what you have to do.
Regards,
Eric
Reward any helpful sugestion.
*& Form generar_job
FORM generar_job .
Generar Variante
PERFORM generar_variante.
w_fecha = sy-datum + 3.
CALL FUNCTION 'DATE_COMPUTE_DAY'
EXPORTING
date = w_fecha
IMPORTING
day = w_weekday.
Si la fecha cae en sabado o domingo se debe continuar el lunes.
CASE w_weekday.
when '1'.
ADD 2 TO w_fecha.
WHEN '6'.
ADD 2 TO w_fecha.
WHEN '7'.
ADD 1 TO w_fecha.
ENDCASE.
w_jobname = 'ZQM_CIERRE_LOTE_INSPECCION'.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobgroup = 'QUEUE'
jobname = w_jobname
IMPORTING
jobcount = w_jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc EQ 0.
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
authcknam = sy-uname
jobcount = w_jobcount
jobname = w_jobname
report = 'ZQM_CIERRE_LOTE_INSPECCION'
variant = w_var
IMPORTING
step_number = w_stepnum
EXCEPTIONS
bad_priparams = 1
bad_xpgflags = 2
invalid_jobdata = 3
jobname_missing = 4
job_notex = 5
job_submit_failed = 6
lock_failed = 7
program_missing = 8
prog_abap_and_extpg_set = 9
OTHERS = 10.
IF sy-subrc EQ 0.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = w_jobcount
jobname = w_jobname
sdlstrtdt = w_fecha
sdlstrttm = w_hora
IMPORTING
job_was_released = w_rel
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc EQ 0.
IF w_rel EQ 'X'.
WRITE:/ w_jobname, 'FUE LIBERADO. VER SM37.'.
Guardamos los destinatarios
PERFORM destinatarios_job.
Guardamos la información a utilizar al ejecutar el job
PERFORM guardar_datos_job.
ELSE.
WRITE:/ w_jobname, 'NO FUE LIBERADO'.
ENDIF.
ELSE.
WRITE:/ w_jobname, 'NO FUE CERRADO'.
ENDIF.
ELSE.
WRITE:/ w_jobname, 'NO FUE ENVIADO'.
ENDIF.
ELSE.
WRITE:/ w_jobname, 'NO FUE CREADO'.
ENDIF.
ENDFORM. " generar_job -
Execute a background job immediately
Hi everyone,
If a user wants to execute a background job immediately but there is no Background work process available. How u will do?
Regards
GaneshYes, as JIM said, the job will queue until a BTC become available. You can also increase the number of batch processes changing the value of rdisp/wp_no_btc = <Number of processes desired>, or use Operation modes to increase the ammount of batch processes during a specific period of time.
Hope this help!
Juan
Please reward points if helpful -
My facebook icon dissapeared from my iphone 4s immediately after I updated my face book app. I have tryed everything to restore it but nothing worked and I couldn't even download it again because in the settings it says thats its installed and when try to open it it doesn't respond. Has any one experiebced the same thing or does anyone know any idea how to fix this?
Thanks.try
Restart iPhone: Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for phone to restart. -
Need to run the BDC job immediately after XK02 is saved.
Hi all.
I have to trigger a batch job (BDC program) after changing the customer thru xk02 TRANACTION.
I found one exit EXIT_SAPMF02K_001 which checks before saving. But my requirement is job (BDC prog) should run after saving. So I guess its of no use. Do we have any BADI ( method)....?Can you pls let me know how to procede.
If workflow is the solution...
I have run the event traces by transaction code swel & sels, I could not find any event triggering to tigger the workflow ( to perform background task) Do I need to create Change document & BOR for acheiving this thru workflow .
Cheers,
sami.Hi Neha.
Thanks for quik turn around. But I need this z program to run after all changes are done in XK02 because I need to use the changed vendor data in the BDC program. This is the exit which triggers before save, so I couldn't get the changed vendor data from database table to use in z program (BDC).
Hope I am clear.
Cheers,
sami. -
Background job finished but flat file not created in the Background
Dear all,
ZHR_CSD program is scheduled to run daily at 00:01:00. This program is generating the flat file in the folder CSD/HR.
when i schedule this program to run immediately it is generating the flat file.
But when i schedule this program in Background it is not generating flat file .
RegardsHi,
As suggested by Eric, your Z Program is probably using GUI_DOWNLOAD Function Module.
GUI_DOWNLOAD or any other GUI function modules (FM) will only run in foreground, not in Background.
Ask your developer to code that Z Program with OPEN DATASET logic, if its possible.
The Reverse situation is well described in [this thread|Background Job assigment with variant in SM37 , for Textfile uploading], please refer it to get some relative information for the same.
Regards,
Bhavik G. Shroff -
Thru MEB4 the Tax amount and Tax percenatage not trigger in Background Job
Hi,
When I am executing the T.Code- MEB4 (Rebate Settlement) thru Foreground the Vendor Rebate Amount and Tax are showing.
When I am executing in Background job the Tax amount and Tax Percentage are not triggering (Only the Rebate amount only showing) after execution of Background job in when viewing the job display.
Background Job Name: RWMBON01.
Please suggest.Shankar,
Thanks for reply.
If I don't put amount in the basic data tab( MIRO) then it does not allow to "simulate" or "Post". But here I can simulate and Post
I check every thing in WHT Config but I could't found the solution.
I want to tell another thing, we recently went to patch upgrade from Version 4.7 E SP 22 to 4.7 E SP30.
My question, Is the pacth upgrade affects in anyway???
If any suitable answer appreciatable.
Thanks once again for your reply. -
Tcode to trigger a background job
Hi,
Can we create a tcode which triggers a background job?
Ezhil.My User asked for a custom tcode for VF01 which use the copy control from the order and delivery and not allow any manual changes as it is done when the invoice is created in the background.
So he wants a t code trigger the creation of billing in the background.
The most critical requirement is to prevent the user from overriding or changing pricing conditions.
My question is
Is it possible to create a tcode which trigger the background creation?
What shall i tell user?
Ezhil -
How to get trigger-filled-in PK immediately after commit
Hi You Form Experts,
I have two blocks in a form. The two blocks are "linked" by an FK (block2's PK stored in block1's table), but they do not have an exactly "parent-child" relationship. Block1 always has a record and commits first, and there may or may not be a record in block2. So, in the form the two blocks are not joined. And if and when there is a record in block2, I need to update block1 with the block2's PK so that the records are associated.
The problem here is that the PK of block2 is a sequence number and is filled in by a DB-side pre-insert trigger. So, there PK is not available in block2 immediately after the commit.
Is there a way to force a "refresh upon insert" of the PK item of block2 in Forms?
Thank you very much in advance.
ZDcan't u get ur block2 primary key value by:
ON each new_record_Instance of block2
rownum := get_block_property('block2',current_record);
select nvl(max(pk_column))+ rownum into :pk_column
from block2_table;
Thus u can get the next assignable value for block2.
Reply if it works -
How to trigger a Report when a file is placed in Application server
Hi All,
How to triggger a Report and get executed when a new file is placed in the application server.?
It will be helpful if a Navigation is provided for the EVENT.
Thanks in advance
ChakriHi,
Check what is the frequency of the file coming to the application server.
Schedule your program in SM36 giving data and time make it periodic . select the check box Periodic Job
and then select the period values and give the period values as per the frequency of the file coming to app server.
Thanks,
Harini -
Create attachment of a file stored on the app server for mail
Hello All:
I am working on sending a mail with attachemnts (file from the app server), i am aware of numerous solutions posted on the forum ....i am able to create an attachment and send mail. the problem i am facing is the attachment is corrupted . can some one guide me as what i am ding wrong . here's the code
DATA: REC(80) TYPE C.
DATA: L_SIZE TYPE DRAO-ORLN.
DATA: L_LINES TYPE I.
DATA: L_DATA_TAB TYPE TABLE OF RCGREPFILE.
DATA: L_DATA_TAB1 TYPE TABLE OF RCGREPFILE.
DATA: L_DATA_WA TYPE RCGREPFILE.
DATA: N_FILE TYPE RCGIEDIAL-IEFILE.
P_FILE = '/usr/sap/MIE/SYS/global/PDFSpools/30978.pdf'.
N_FILE = P_FILE.
CONCATENATE 'C:temp' RQ2NAME '.pdf' INTO ELPATH.
* Read Data from the App server
OPEN DATASET P_FILE FOR INPUT IN BINARY MODE .
DO.
READ DATASET P_FILE INTO REC.
IF SY-SUBRC NE 0.
EXIT.
ELSE.
L_ANN = REC.
APPEND L_ANN TO T_PDF .
ENDIF.
ENDDO.
CLOSE DATASET P_FILE.
* How do i get the filesize ?
CLEAR L_ANN.
DESCRIBE TABLE T_PDF LINES LIN_TEXT.
LOOP AT T_PDF INTO L_ANN.
APPEND L_ANN TO T_ANN.
ENDLOOP.
* Using this i get the file size
* CALL FUNCTION 'C13Z_RAWDATA_READ'
* EXPORTING
* I_FILE = N_FILE
* IMPORTING
* E_FILE_SIZE = L_SIZE
* E_LINES = L_LINES
* TABLES
* E_RCGREPFILE_TAB = L_DATA_TAB
* EXCEPTIONS
* NO_PERMISSION = 1
* OPEN_FAILED = 2
* OTHERS = 3.
* CLEAR L_ANN.
* DESCRIBE TABLE L_DATA_TAB LINES LIN_TEXT.
* LOOP AT L_DATA_TAB INTO L_DATA_WA.
* L_ANN-LINE = L_DATA_WA-ORBLK.
* APPEND L_ANN TO T_ANN.
* ENDLOOP.
DOC_CHNG-OBJ_NAME = 'URGENT'.
DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
DOC_CHNG-OBJ_DESCR = TEXTS.
DOC_CHNG-SENSITIVTY = 'O'.
* DOC_CHNG-DOC_SIZE = LIN_TEXT * 255.
CLEAR OBJPACK-TRANSF_BIN.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
* OBJPACK-BODY_NUM = LIN_TEXT.
OBJPACK-DOC_TYPE = 'RAW'.
APPEND OBJPACK.
NOMFITXER = ELPATH.
CALL FUNCTION 'SPLIT_FILENAME'
EXPORTING
LONG_FILENAME = NOMFITXER
IMPORTING
PURE_EXTENSION = EXTENSIO.
OBJPACK-TRANSF_BIN = 'X'.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 1.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = LIN_TEXT.
OBJPACK-DOC_TYPE = EXTENSIO.
OBJPACK-OBJ_NAME = RQ2NAME.
CONCATENATE RQ2NAME EXTENSIO
INTO NOMFITXER SEPARATED BY '.'.
OBJPACK-OBJ_DESCR = NOMFITXER.
OBJPACK-DOC_SIZE = L_SIZE * 255.
APPEND OBJPACK.
CALL FUNCTION 'BAPI_USER_GET_DETAIL'
EXPORTING
USERNAME = SY-UNAME
TABLES
RETURN = BAPIRETUR
ADDSMTP = DADESUSER.
READ TABLE BAPIRETUR WITH KEY TYPE = 'E'.
IF SY-SUBRC NE 4.
ELSE.
READ TABLE DADESUSER INDEX 1.
* REMITENT = DADESUSER-E_MAIL.
REMITENT = SY-UNAME.
ENDIF.
TEXTS = 'TEST MAIL'.
APPEND TEXTS.
DESTINATARIS-RECEIVER = SY-UNAME.
DESTINATARIS-REC_TYPE = 'B'.
DESTINATARIS-EXPRESS = 'X'.
* DESTINATARIS-COM_TYPE = 'INT'.
* DESTINATARIS-NOTIF_DEL = 'X'.
* DESTINATARIS-NOTIF_NDEL = 'X'.
APPEND DESTINATARIS.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_CHNG
PUT_IN_OUTBOX = 'X'
SENDER_ADDRESS = REMITENT
* SENDER_ADDRESS_TYPE = 'SMTP'
COMMIT_WORK = ' '
IMPORTING
SENT_TO_ALL = ENVIAT
* NEW_OBJECT_ID =
* SENDER_ID =
TABLES
PACKING_LIST = OBJPACK
* OBJECT_HEADER =
CONTENTS_BIN = T_ANN
CONTENTS_TXT = TEXTS
* CONTENTS_HEX =
* OBJECT_PARA =
* OBJECT_PARB =
RECEIVERS = DESTINATARIS
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8.
Message was edited by: Poornanand Mandalika. Code was formatted using the <b>Code</b> button!!Assuming you are using Apache?
You could place your Word docs in the same folder as your current Apex images directory (or a sub-directory off it) then reference them with a URL of the form http://yourserver/i/sample_word_file.doc. Alternatively you could add a new Alias entry to your dads.conf file (found in your Apache/modplsql/conf directory) to expose the folder on your webserver that contains your Word files via a URL such as http://yourserver/word_docs/
E.g.
Alias /word_docs/ "c:\my_docs\technical_word_docs/"
Andy -
How to deploy a war file from a different app server to the SAP one
Hello,
I hve recieved a war file from Tomcat that needs to be deployed on the SAP Java App server. As far as I know the SDM only allows to deploy ear files. How can I deploy this war to the app server?Hi Roy,
in order to deploy the WAR file you have to wrap an EAR around it. I had the same problem.
You can do this using Netweaver Developer studio.
Perform the following steps:
- Start NWDS
- Create a New Enterprise Application Project
- Create a New Web Module Project (name it like your war file => e.g. your war file is called myApp.war => call your Web Module myApp)
- Edit the application.xml of your Enterprise App if necessary (description, Displayname etc.)
- Link your Web Archive to your application archive (right Mouse click on Application Archive and from the Context Menu choose "Add Modules" => In the list choose your Web Module)
=> You can also perform a right mouse click on your web Module and from the context menu choose "Add to EAR Project" => In the list choose your Enterprise Application!
- Build Web Archive (right mouse click on your Web Module and from the context menu choose "Build Web Archive" => This will create a war file that has the same name as your war file! => If you do not see it try to switch to resource perspective!)
- Build Application archive (right mouse click on Application archive => from the context menu choose "Build Application Archive")
You are done
The EAR file is generated and will be created in your workspace.
Now browse to your workspace. Unpack the EAR using WinZip or any other Archiver program.
Replace the contained war with your war and repack the ear file (You can also use tools like Total Commander to directly replace the war file in the EAR with your war without having to unpack the war). You can also import your war into NWDS and rebuild it so you won't have to replace the WAR in the EAR but as your WAR is already built I would just replace it as described!
You can now deploy the ear file to SAP J2EE
Hope this helps (Reward points for helpful answers are appreciated!)
Cheers -
Issue with lock file in Oracle 10g app server - MDB not running
Hi,
I have Oracle 10g & MQ 6 on my laptop. I generated JNDI bindings for app server-MQ by giving ip address of my machine first. Then i changed it to "localhost" & generated new set of .bindings file.
With this new set i am able to send messages from my program to a queue. I also have an MDB which should listen to the same queue.
However now my mdb is not listening to the queue & i suspect it is due to host address change, - because each time i start the server, i see a lock file created "OracleASRouter_store.lock" - under j2ee\home\persistance. And below is the content of the same -
"O10.1.4.245:/C:/Program Files/Oracle/oc4j_extended_101330/j2ee/home/persistence/"
As per few suggestions on this site, I deleted this file & restated app server, deleted whole content of persistance folder, restarted app server. But each time i see this file created and also see the ip address in log.xml under j2ee\home\log\oc4j
Error message in this log.xml file is
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2007-09-19T11:22:35.265-04:00</TSTZ_ORIGINATING>
<COMPONENT_ID>j2ee</COMPONENT_ID>
<MSG_ID>J2EE EJB-02009</MSG_ID>
<MSG_TYPE TYPE="WARNING"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>IFLEXNY-EXT99</HOST_ID>
<HOST_NWADDR>10.1.4.245</HOST_NWADDR>
<MODULE_ID>ejb.runtime</MODULE_ID>
<THREAD_ID>10</THREAD_ID>
<USER_ID>chetanmi</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.1.4.245:65858:1190215355296:0</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>[STGMQ:STGMQEJB:TestMDB] Unexpected exception by JMS provider: javax.jms.MessageEOFException: initializeConnection.</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[javax.jms.MessageEOFException: initializeConnection
at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1075)
at com.evermind.server.jms.JMSUtils.toJMSException(JMSUtils.java:1155)
at com.evermind.server.jms.TCPJMSRemoteServer.initializeConnection(TCPJMSRemoteServer.java:154)
at com.evermind.server.jms.TCPJMSRemoteServer.initializeConnection(TCPJMSRemoteServer.java:110)
at com.evermind.server.jms.TCPJMSRemoteServer.<init>(TCPJMSRemoteServer.java:68)
at com.evermind.server.jms.EvermindConnection.<init>(EvermindConnection.java:122)
at com.evermind.server.jms.EvermindQueueConnection.<init>(EvermindQueueConnection.java:70)
at com.evermind.server.jms.EvermindQueueConnectionFactory.unprivileged_createQueueConnection(EvermindQueueConnectionFactory.java:101)
at com.evermind.server.jms.EvermindQueueConnectionFactory.access$000(EvermindQueueConnectionFactory.java:44)
at com.evermind.server.jms.EvermindQueueConnectionFactory$1.execute(EvermindQueueConnectionFactory.java:81)
at com.evermind.server.jms.InContainerProxy.doSecureOp(InContainerProxy.java:157)
at com.evermind.server.jms.EvermindQueueConnectionFactory.createQueueConnection(EvermindQueueConnectionFactory.java:78)
at com.evermind.server.jms.EvermindQueueConnectionFactory.createQueueConnection(EvermindQueueConnectionFactory.java:69)
at com.evermind.server.ejb.MessageDrivenConsumer.createNonXAResources(MessageDrivenConsumer.java:567)
at com.evermind.server.ejb.MessageDrivenConsumer.initializeJMSResources(MessageDrivenConsumer.java:491)
at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:208)
at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:358)
at com.evermind.server.jms.JMSRemoteServer.readCheck(JMSRemoteServer.java:678)
at com.evermind.server.jms.JMSRemoteServer.readProtocol(JMSRemoteServer.java:696)
at com.evermind.server.jms.TCPJMSRemoteServer.initializeConnection(TCPJMSRemoteServer.java:134)
... 16 more
]]></SUPPL_DETAIL>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2007-09-19T11:22:35.312-04:00</TSTZ_ORIGINATING>
<COMPONENT_ID>j2ee</COMPONENT_ID>
<MSG_ID>J2EE EJB-02014</MSG_ID>
<MSG_TYPE TYPE="WARNING"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>IFLEXNY-EXT99</HOST_ID>
<HOST_NWADDR>10.1.4.245</HOST_NWADDR>
<MODULE_ID>ejb.runtime</MODULE_ID>
<THREAD_ID>10</THREAD_ID>
<USER_ID>chetanmi</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.1.4.245:65858:1190215355296:0</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>[STGMQ:STGMQEJB:TestMDB] All message consumer threads have terminated due to provider errors, stopping MDB.</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
And my MDB is NOT WORKING. Please let me know how to deal with this.
Your suggestions would be much appreciated.
Regard,
ChetanLine # 127 is creating a new application object using ApplicationFactory.
ApplicationFactory aFactory =
(ApplicationFactory) FactoryFinder.getFactory(
FactoryFinder.APPLICATION_FACTORY);
application = aFactory.getApplication();
The only way that can throw a null pointer is when aFactory is NULL. I really doubt this case because, the same thing is doen in init() of FacesServlet. If it had failed there, the exception should have occured during server startup.
This leaves me more and more confused....I am desperate for some help now :((
Ramesh
Maybe you are looking for
-
All it saids is that "The Wi-Fi network you selected is not providing an internet connection. Change your settings or choose a different network, and when I select Settings, I just get the list of networks. Nothing which was listed up above in the
-
Spry region drop-down list problems in IE
Can someone please help me determine the reason that IE does not display the correct item in a spry region drop-down list when first opening the site. You can see the problem at http://www.minursemap.org/agedistnurse.html. The initial item in the d
-
k7n2delta2 mobo constantly loses date and time settings every time the computer is restarted. Ive changed the battery. but it didnt help. this has been going on since i bought the mobo 2 years ago and i would just adjust it as i needed now im fed up.
-
Background worker doesn't refresh datagrid
I have a simple datagrid and a progressbar as user controls and what I am trying to achive is to load my Customer object and show the progress with a progressbar. Progressbar works and displays remaning percentage but Datagrid isnt refresing everytim
-
Hi solution manager guru's, I have a issue with a shortdump in the managed systems. Solution Manager is trying to connect with SOLMAN_BTC via the trusted connection to the managed system. But SOLMAN_BTC doen't exist in the managed systems and the sho