Changes to be done in the code while converting appln to web start
Hi All,
I am developing one application using swing, Spring, Hibernate. It is working fine through eclipse. Now I want
this project to be launched via java web start. For that I have to make changes in the code for accessing
resources such as images, files. Also changes have to be made to access the system environment variables.
But there will not be 2 versions. I want something like
if applcaiton running through eclispe
execute this code for images and files
else if application is running though jabva web start i.e. by clciking on jsp
execute this code for images and files
Also spring-beans.xml has the system propery as environment.
<property name="location" value="classpath:application-${environment}.properties" />
but while running though eclipse i have to change it as
<property name="location" value="classpath:application-${jnlp.environment}.properties" />
Now can it be possible to have only one property value for location?
Please help me. If u know any URL which addresses this issues of give some what direction on this matter,
please provide me those also.
Thank and Regards
Deepali.
I think it's much better to make a JSP, Spring Hibernate version of your swing app.
You can even choose JSF as a view layer.
Similar Messages
-
I want to unblock my iPad bur i don remember the code! please any help
i want to unblock my iPad bur i don remember the code! please any help
You have to restore the device within iTunes. You want to use the same computer that you always sync with so that you can restore your app data and settings. You can restore with any other computer, but you will lose everything on the iPad.
IOS: Wrong passcode results in red disabled screen
http://support.apple.com/kb/HT1212?viewlocale=en_US&locale=en_US
This will tell you how to restore
http://support.apple.com/kb/HT1414
If you cannot restore that way, you may have to use recovery mode
http://support.apple.com/kb/ht4097 -
We have installed HCM and CRM modules on Fusion Application 11.1.7 version.
This is 2 node architecture ie IDM components installed in one node and Fusion components installed in another node.
We are able to start the IDM components and Fusion components successfully, but when users are trying to access any task from Fusion application home page, they are getting the below error
A portlet consumer error was received for the task Manage Worker Goal Setting Lookups. Report the error details to the following owning product Goal Management.
An error was received for the task Manage Worker Goal Setting Lookups. This task is identified with the code HRG_MANAGE_WORKER_GOAL_SETTING_LOOKUPS that invokes program /WEB-INF/oracle/apps/fnd/applcore/lookups/publicUi/flow/ManageCommonLookupsTF.xml#ManageCommonLookupsTF of module code fndSetup. Review the consumer and producer logs for more details on this error.This may be related to the other issue regarding "FUSION_APPS_WSM_APPID-KEY" as the logs contains exceptions like:
oracle.wsm.policymanager.PolicyManagerException: WSM-02081 : Failed to login to perform requested action.
Please refer to document Fusion Application Service Account Password Expiration Causes Portlet Producer Errors (1486388.1) for steps on how to verify and set the password. There is also exception:
javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User FUSION_APPS_PROV_PATCH_APPID denied
This is also likely caused by an expired password, please see Fusion Apps Servers Are Not Starting Up - Password Policy Error :9000: GSL_PWDEXPIRED_EXCP :Your Password has expired (1629927.1).
Jani Rautiainen
Fusion Applications Developer Relations
https://blogs.oracle.com/fadevrel/ -
Can't load Stylesheet while runing application on Web Start
I've got an error "WARNING: com.sun.javafx.css.StyleManager$2 run Resource "null" not found" while runing application on Web Start.
It works fine while running on local execution. I've already signed jar files. So, It shoud not have any problem with java security.
I kept css in the jar fie. The code below is used for loading css file.
String stylesheetName = "/theme/default.css";
scene.getStylesheets().add(stylesheetName);There was a guy who had the same problem with me but there was still no solution for this problem yet. Applet and css
Does anyone know how to fix it?Hello User,
Your path is wrong. It can't be good if your css file is inside your jar. (This is not a javaFx problem)
If you pacaked your application like that:
myapp.jar
-----theme
---------default.css
You should try something like this:
scene.getStylesheets().add(getClass().getClassLoader().getResource("/theme/default.css").toString());Niculaiu
Edited by: San Nicula on Jul 27, 2011 12:50 AM -
No option to Enable the Java applet plug-in and Web Start applications
How do I Enable the Java applet plug-in and Web Start applications
Their is no option under java preferences General Tab
The options i get their are
Run appelts
in their own proccess
Within the browser process
(Defaut most compatible)
Under the network tab im told
By default java applets and web start applications use network settings in the system network preferences. Only advanced users should modify these settings
Any ideas on why it is like this?Mac OS 10.6.8
This happend once before when I was running 10.5.8 I fixed it but for the life of me i can't remember how i did it. -
Problem in the code while fetching records and displaying in the screen
Hi,
I have developed a screen which is having various fields, all the records are stored in a ztable,when i enter the records into various i/o fields and press submit pushbutton they are stored in the table now, what i wont is when i enter one record the (primary one) and press enter the corresponding records of that record should be shown in the i/o fields means they should be fetched back from the d/b table and displayed on the screen. For this i Have written a code please see it once.
TABLES : ZFISALDT.
DATA ITAB LIKE ZFISALDT OCCURS 0 WITH HEADER LINE.
ZFISALDT-BILLINGDOCU = ITAB-BILLINGDOCU.
ZFISALDT-SALESDOCU = ITAB-SALESDOCU.
ZFISALDT-FORM402 = ITAB-FORM402.
ZFISALDT-SALESTAXFORM = ITAB-SALESTAXFORM.
ZFISALDT-FREIGHTDOCNO = ITAB-FREIGHTDOCNO.
ZFISALDT-FPARTYNAME = ITAB-FPARTYNAME.
*& Module STATUS_5555 OUTPUT
text
MODULE STATUS_5555 OUTPUT.
SET PF-STATUS 'SALALL'.
SET TITLEBAR 'SAL'.
ENDMODULE. " STATUS_5555 OUTPUT
*& Module USER_COMMAND_5555 INPUT
text
MODULE USER_COMMAND_5555 INPUT.
CASE SY-UCOMM.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'SUB'.
IF ZFISALDT-BILLINGDOCU = ' '
OR ZFISALDT-SALESDOCU = ' '.
MESSAGE 'PLEASE FIRST SUBMIT THE BILLING DOCUMENT NO AND SALES DOCUMENT NO' TYPE 'E'.
ENDIF.
ZFISALDT-BILLINGDOCU = ZFISALDT-BILLINGDOCU.
ZFISALDT-SALESDOCU = ZFISALDT-SALESDOCU.
ZFISALDT-FORM402 = ZFISALDT-FORM402.
ZFISALDT-SALESTAXFORM = ZFISALDT-SALESTAXFORM.
*ZFISALDT-FREIGHTDOCNO = ZFISALDT-FREIGHTDOCNO.
*ZFISALDT-FPARTYNAME = ZFISALDT-FPARTYNAME.
*SUBMIT ITAB.
WHEN ' '. (THIS THE PART OF CODE WHICH IS NOT WORKING)
SELECT * FROM ZFISALDT INTO corresponding fields of TABLE ITAB WHERE BILLINGDOCU = ZFISALDT-BILLINGDOCU.
ITAB-BILLINGDOCU = ZFISALDT-BILLINGDOCU.
ITAB-SALESDOCU = ZFISALDT-SALESDOCU.
ITAB-FORM402 = ZFISALDT-FORM402.
*ZFISALDT-BILLINGDOCU = ITAB-BILLINGDOCU.
*ZFISALDT-BILLINGDOCU = ITAB-BILLINGDOCU.
*ZFISALDT-SALESDOCU = ITAB-SALESDOCU.
*ZFISALDT-FORM402 = ITAB-FORM402.
*ZFISALDT-SALESTAXFORM = ITAB-SALESTAXFORM.
append ITAB. (ALSO USED INSERT BUT NOT WORKING)
WHEN 'ENTER'.
IF ZFISALDT-BILLINGDOCU = ' '
OR ZFISALDT-SALESDOCU = ' '.
MESSAGE 'PLEASE FIRST SUBMIT THE BILLING DOCUMENT NO AND SALES DOCUMENT NO' TYPE 'E'.
ENDIF.
ZFISALDT-FREIGHTDOCNO = ZFISALDT-FREIGHTDOCNO.
ZFISALDT-FPARTYNAME = ZFISALDT-FPARTYNAME.
ZFISALDT-FREIGHTBILLNO = ZFISALDT-FREIGHTBILLNO.
ZFISALDT-FREIGHTDATE = ZFISALDT-FREIGHTDATE.
ZFISALDT-TRUCKNO = ZFISALDT-TRUCKNO.
ZFISALDT-FREIGHTAMOUNT = ZFISALDT-FREIGHTAMOUNT.
ZFISALDT-COMNAGBILL = ZFISALDT-COMNAGBILL.
ZFISALDT-AGENTNAME = ZFISALDT-AGENTNAME.
ZFISALDT-CAGDATE = ZFISALDT-CAGDATE.
ZFISALDT-CMNAGAMOUNT = ZFISALDT-CMNAGAMOUNT.
ZFISALDT-SHIPMENTNAME = ZFISALDT-SHIPMENTNAME.
ZFISALDT-SHIPDOCUNO = ZFISALDT-SHIPDOCUNO.
ZFISALDT-SHIPBILLNO = ZFISALDT-SHIPBILLNO.
ZFISALDT-SHIPBILLDATE = ZFISALDT-SHIPBILLDATE.
ZFISALDT-BLNOGOV = ZFISALDT-BLNOGOV.
ZFISALDT-CHAAGENTNAME = ZFISALDT-CHAAGENTNAME.
ZFISALDT-CHABILL = ZFISALDT-CHABILL.
ZFISALDT-CHADATE = ZFISALDT-CHADATE.
ZFISALDT-CHAAMOUNT = ZFISALDT-CHAAMOUNT.
ZFISALDT-B_L_NO = ZFISALDT-B_L_NO.
ZFISALDT-B_L_NODATE = ZFISALDT-B_L_NODATE.
ZFISALDT-DEPBLICNO = ZFISALDT-DEPBLICNO.
ZFISALDT-LICENCE_DATE = ZFISALDT-LICENCE_DATE.
ZFISALDT-FOC_VALUE = ZFISALDT-FOC_VALUE.
ZFISALDT-DEPB_VALUE = ZFISALDT-DEPB_VALUE.
INSERT ZFISALDT.
CLEAR ZFISALDT.
ENDCASE.
ENDMODULE. " USER_COMMAND_5555 INPUT
This is the code please check it once.
Thanks in advance.Hi Sumeet.
WHEN ' '. " (THIS THE PART OF CODE WHICH IS NOT WORKING)
SELECT * FROM ZFISALDT INTO corresponding fields of TABLE ITAB WHERE BILLINGDOCU = ZFISALDT-BILLINGDOCU.
" here in where condition u r checking with ZFISALDT-BILLINGDOCU, i guess there is no value in that, Once check in debugging mode and proceed further.
Regards,
Aby -
If this code could work on Snow Leopard as well, that would be awesome. I have a code to tell if Java is enable or disabled on any web browser, but it does not detect if the Java Preferences "Enable applet plug-in and Web Start Applications is enabled" is enabled or disabled. Just looking for a specific code to tell if this option is disabled or enabled.
Thank youLaunch Applications/Utilities/Java Preferences.app by double-clicking.
EDIT; But I think you are confusing this with JavaScript which has nothing to do with it. -
What is the recommended way to launch a web-start enabled Java application?
Hello,
I have a simple web-start enabled Java application, which I can launch from a brower by entering :
https://xx.xx.x.xxx/MyApp/launch.html
This method would show me a page. I then had to click on a link to run my application.
I noticed that I could also launch my program by entering :
https://xx.xx.x.xxx/MyApp/launch.jnlp
This method would run my application right away.
I wonder if there is a recommended way to launch/run a web-start enabled Java application?
Thank you,
Akinouser8708553 wrote:
..to directly launch my application and bypass the HTML page, why is there a need to
display the HTML page and make the user do a click?There are a number of advantages to using the web page. Including..
<li> An explanation to the end-user of what the application does (a 'sales pitch').
<li> Provision of screen shots of the app. (more 'sales pitch').
<li> A description of what security environment it requires, and why.
<li> Access to using the deployJava.js* to ensure the end-user actually has Java installed & has a suitable minimum version of Java, before they ever get access to the launch button/link.
* http://download.oracle.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html#deployingApplications -
How to reduce the code while passing.
hi,
I am passing the below statemnt to pass the field name and description to the sub_fieldcat.
since the report has got 100 fields i need to write for all the 100 fields like this, is there any possiblity to pass the field name and the description with less coding
PERFORM SUB_FIELDCAT USING '' 'BUDAT' 'Posting Date' G_COL 'X'.
ADD 1 TO G_COL.
FORM SUB_FIELDCAT USING L_TABNAME TYPE SLIS_TABNAME
L_FNAME TYPE SLIS_FIELDNAME
L_SEL TYPE DD03P-SCRTEXT_L
L_COL TYPE I
L_KEY TYPE C.
I_FIELDCATTAB_WA-REF_TABNAME = L_TABNAME.
I_FIELDCATTAB_WA-FIELDNAME = L_FNAME.
I_FIELDCATTAB_WA-SELTEXT_L = L_SEL.
I_FIELDCATTAB_WA-COL_POS = L_COL.
I_FIELDCATTAB_WA-KEY = L_KEY.
APPEND I_FIELDCATTAB_WA TO I_FIELDCATTAB.
ENDFORM. " SUB_FIELDCATHi Anitha,
1. To the FM
we just need to pass the
internal table Name
( There is no need to use the parameter
I_STRUCTURE_NAME )
I_INTERNAL_TABNAME Is very important.
2. While declaring the internal table,
u can use any number of fields.
But make sure they are
declare using LIKE
eg.
bukrs like t001-bukrs
(do not use type)
3. Rest the FM will take care !
PS:
Important parameters are:
i_program_name,
i_internal_tabname = 'ITAB'
i_inclname = prg
where prg is sy-repid
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = prg
i_internal_tabname = 'ITAB'
i_inclname = prg
CHANGING
ct_fieldcat = alvfc
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
regards,
amit m.
Message was edited by: Amit Mittal
Message was edited by: Amit Mittal -
Change in logic for selecting the Bin while creating Transfer Order
Hi ,
Currently the system follows SAP process of BIN selection which is as mentioned-
With stock removal strategy Partial Pallet Quantity (A), system follows below steps to find the storage bin:
1.SAP always compares the requested amount from the Transfer Order with the largest bin amount available in the stock.
2.If the requested quantity of the transfer order is the same as or larger, the system removes the material from the largest bin amount first.
3.If the requested quantity is smaller, the system removes the material from a storage unit for partial quantities in ascending order.
Now the customer has requested a change which is -
It wants to take in BIN in the FIFO order followed by partial pallet .
Question is - Is this possible ?
Cheers
DishaHello,
May I add something to the discussion.
If you are calling "OMLJ", you see on the left side the secion "Transfer requirements". If the box for "Manual TO creation not allowed" is ticked, you are not able to create the TO's by the manual transactions. Then only the system is allowed to create the TO's, for instance with the report RLAUTA10.
I hope this anweres your question.
Best regards
Uwe Neuman -
HT1688 i changed my passcode and forgot the code, what can i do?
does anyone know who to contact dierectly?
Connect your iPhone to the conputer with which you initialled sync'd with iTunes, and "restore". If you reply that the aforementioned computer is no longer available, we'll infer that you have a stolen iPhone.
-
No tax code while converting PR (EBP-PR) into PO
Hi Al
I am trying to convert a PR (created through EBP) into PO in the backend but the tax code which was determined in the
PR privously within EBP will not be transmitted or determined in the PO. Is this a standard problem?
Since in the PR on the EBP side is the tax code visible. I have looked that via T-code BBP-PD on the EBP side.
I'm lost here so any help is highly appreciated and greatly rewarded
Regards
MarcoHi
SPRO - Financial Accounting (New)->Financial Accounting Global Settings (New)->Tax on Sales/Purchases
SPRO - Financial Accounting (New)->Financial Accounting Global Settings (New)->Withholding Tax
In short you will have to define the tax codes, define Tax code in the info record of materials (ME11 to create).
So as soon as you put the vendor the Tax code can be populated in the PO.
Regards
sam -
Not getting all the layers while converting/exporting from ai to psd
cant fix..need help
Can you please paste the snapshot from the Layers panel from AI (the Layers which are not getting imported).
Regards,
Raghuveer -
Hello Everyone,
If any changes are done in SAP BO Analysis office, then the change can be done in the SAP BW in the respective Targets.
But how can we do the changes in the SAP ECC ? Is it possible to do the changes in the tables ?
Any answer is appreciable
Regards,
KarteekWe are using the "Input ready Bex query", in order to modify the values in "BO Analysis office".
ECC BI BO Analysis office
1 -------------> 1 ----------> 1 ------
|
| (Now Data is changed in Analysis office from 1 to 2)
|
(?) <-------------- 2 <---------- 2 <-----
(Will it be updated in ECC)
(Diagram Explanation)
From ECC we can load the data (Consider Value-1) to SAP BI and from SAP BI we can load the data to BO analysis office.
So, now if we change the data in BO Analysis office (Value-1 changed to Value-2)..
Now the data is changed in SAP BI to Value-2.
So what about the data in ECC ? Whether it is changed or not?
Please provide us a real time business Scenario..
Thanks,
Karteek -
Getting Error In the Routine - While writing Code for the Cross Reference.
Hi,
Getting Error In the Start Routine - While writing Code for the Cross Reference from the Text table ( /BIC/TZMDES with Fields /BIC/ZMDES(Key),TXTSH ) Getting Error as [ E:Field "ZMDES" unknown ].
Transformation : IOBJ ZPRJ3(Source) -> IOBJ ZPRJC ( Target ).
The Source Fields are: 0logsys(Key),zprj3(Key),ZDOM3.
The Target Fields are : 0logsys(Key),zprjc(Key),ZDOM3, UID.
Here i am trying to Update the target Field UID by Comparing the Source Field [ zprj3(Key)] with the Text table ( /BIC/TZMDES ) and update the UID.
The Code is as below:
Global Declarations in the Start Routine:
Types: begin of itabtype,
ZMDES type /BIC/TZMDES-/BIC/ZMDES,
TXT type /BIC/TZMDES-TXTSH,
end of itabtype.
data : itab type standard table of itabtype
with key ZMDES,
wa_itab like line of itab.
Routine Code :
select * from /BIC/TZMDES into corresponding fields of table itab for
all entries in SOURCE_PACKAGE
where ZMDES = SOURCE_PACKAGE-/BIC/ZPRJ3.
READ TABLE itab INTO wa_itab
WITH KEY ZMDES = SOURCE_PACKAGE-/BIC/ZPRJ3
BINARY SEARCH.
IF SY-SUBRC = 0.
RESULT = wa_itab.
CLEAR wa_itab.
The tys_SC_1 structure is :
BEGIN OF tys_SC_1,
InfoObject: 0LOGSYS.
LOGSYS TYPE RSDLOGSYS,
InfoObject: ZPRJ3.
/BIC/ZPRJ3 TYPE /BIC/OIZPRJ3,
InfoObject: ZDOM3.
/BIC/ZDOM3 TYPE /BIC/OIZDOM3,
Field: RECORD.
RECORD TYPE RSARECORD,
END OF tys_SC_1.
TYPES:
tyt_SC_1 TYPE STANDARD TABLE OF tys_SC_1
WITH NON-UNIQUE DEFAULT KEY.
Please suggest with your valuable inputs.
Thanks in AdvanceI have split the code in two.. one for start routine.. other for field routine.. hope this helps
Types: begin of itabtype,
ZMDES type /BIC/TZMDES-/BIC/ZMDES,
TXT type /BIC/TZMDES-TXTSH,
end of itabtype.
data : itab type standard table of itabtype
with key ZMDES,
wa_itab like line of itab.
Start routine
select * from /BIC/TZMDES into corresponding fields of table itab for
all entries in SOURCE_PACKAGE
where ZMDES = SOURCE_PACKAGE-/BIC/ZPRJ3.
Sort itab.
field routine
CLEAR wa_itab.
READ TABLE itab INTO wa_itab
WITH KEY ZMDES = SOURCE_FIELD-/BIC/ZPRJ3
BINARY SEARCH.
IF SY-SUBRC = 0.
RESULT = wa_itab-<field name>
Maybe you are looking for
-
Windows on powerbook for games- What's the best program
Hey guys I need help with some Info I'm trying to install windows XP Pro and I hear bootcamp is the best but I have a 1.5Ghz (17" Powerbook- 64mb graphics) and I don't think it will run! Anyone knows about this for sure? Second, I have virtual pc ins
-
The N900 is restarting itself AGAIN! :(
I am sorry for posting this again but the problem "is back" even that I did the ECHO fix my N900 again is rebooting itself It worked great like for 3 hours but I left alone the phone for 30 minutes (aprox) and when I tried to use it again it rebooted
-
Link to a pdf file that requires a login
I am trying to figure out a way to create a link to a pdf file that requires login/password, but masks it so that the user is not aware that they logged in using credentials. Essentially, I am trying to provide links to Monroney labels, which are onl
-
can i sync my mac like my ipad and phone so when i download to one it downloads to the mac also
-
Alright, some serious problems (WRT54GS)
Alright, here's my problem. I've tried searching many places and haven't really been able to get an answer to help me. I hope someone here can change my luck. Ok, so, I got this WRT54GS just a few days ago. Here's my problem. I tried to install it us