SJWS SP3 - Not including some jars from war file
I have a problem when deploying my application using the new Java Web Server SP3 that when my application is deployed my weblogic.jar and j2ee.jar are not included in the classpath that is created.
I have turned on finest detail logging and it does not say why these jar files are not being included in the path.
They are in the war files lib dir just like all the other jars(about 14 of them).
The only way I can get the app to run under SJWS is to add these other two files manualy to the classpath in the server.xml file.
This app runs fine under JRun 4.0 with no issues.
Why is this server dropping these jars and not even telling me it did it? What can I do to make it include these files in the proper classpath?
Thx
Here are the log entries.
finer: WebappLoader[/vc]: WEB3107: Deploy WAR /WEB-INF/lib/weblogic.jar to
C:\Sun\WebServer6.1\https-mis-lt-23974.corporate\webapps\XXXXXXX\WEB-INF\lib\weblogic.jar
finer: WebappLoader[/vc]: WEB3107: Deploy JAR /WEB-INF/lib/j2ee.jar to
C:\Sun\WebServer6.1\https-mis-lt-23974.corporate\webapps\XXXXXXX\WEB-INF\lib\j2ee.jarAs you can see it see's the two jar files from my WAR file.
But when I try and run the app, have a look at the CLASSPATH it created. The two jar's are missing. WHY??????????????
info: for host 127.0.0.1 trying to GET /vc/login/jsp/login_redirect.jsp, service
-j2ee reports: WEB2798: [] ServletContext.log(): WEB4077: Classpath from the ser
vlet context is:
C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/NetComponents.jar;
C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/aseclient.jar;
C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/client.jar;
C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/dbswing.jar;
C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/dx.jar;
C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/xxx-xxxxtags.jar;
C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/xxx-xxxxxtags.jar;
C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/internetbeans.jar;
C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/jbcl.jar;
C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/jcert.jar;
C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/jnet.jar;
C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/log4j.jar;
C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/regexp.jar;
C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/xerces.jar;
/C:/Sun/WebServer6.1/bin/https/jar/webserv-rt.jar;/C:/j2sdk1.4.2_04/lib/tools.jar;
/C:/Sun/WebServer6.1/bin/https/jar/webserv-ext.jar;
/C:/Sun/WebServer6.1/bin/https/jar/webserv-jstl.jar;
/C:/Sun/WebServer6.1/bin/https/jar/ktsearch.jar;
/C:/app/XXXXXXX/;
/C:/j2sdk1.4.2_04/jre/lib/ext/dnsns.jar;
/C:/j2sdk1.4.2_04/jre/lib/ext/ldapsec.jar;
/C:/j2sdk1.4.2_04/jre/lib/ext/localedata.jar;
/C:/j2sdk1.4.2_04/jre/lib/ext/sunjce_provider.jar
Similar Messages
-
I am wanting to print my iCal calendar, as use it for bookings but not include entries calendar from other people who I've synced with.
GACU,
OK, now I think I understand your problem.
If it is your calendar that is being shared with other users who have been granted editing priviliges, you will not be able to exclude those events from printing. -
Downloaded iOS7 on my 4S. Mostly went well, but sometimes screens lock up (especially text, but also Settings). Find I cannot access and send texts sometimes, plus do not receive some texts from others (group messages real problem). Any work around? And related problem: Getting told can not connect to network when trying to sign on with Apple ID to launch Facetime and Messages.
I've restarted several times. If I restore from backup, unfortunately the backup was done after iOS7 downloaded. Now, am I wrong that "restore as new" will essentially wipe me out? If so, and having backup, you're saying essentially start over and then backup?
-
JSP is not updated after redeploying new war file
Hi
I have a simple code change in JSP in a war file. When I redeploy the war file, I do not see modified JSP. Very strange.
I am using Weblogic 8.1 and copying new war file under Admin/upload folder.
Thank you
RMHere are the steps:
1. Modify JSP
2. Run ant to create new war file
3. Copy war file to Weblogic's Admin/upload/web_module_name folder
Redeploy Application from console or restarting admin and appserver does not seem to unjar modified war file into Admin/upload and Stage folders. Can someone tell me how to force weblogic to take this new war file to deploy into Stage area? -
Help please. Iphone was Backed up yesterday. But today's backup didn't finish. Now, I have a file (marked today) but it will not allow a restore from said file. And yesterday's is gone. What the hello do I do? IS there anyway to get my sms back post restore/update?
The problem is absolutely not Reader. The problem is that FireFox has stepped in front of Reader and handles all the PDF stuff - wrongly in your case. FireFox is DESIGNED to take over PDF files. But it is not capable of doing IRS forms!
To start with go back to IE for these forms. When you save them to disk DO NOT DOUBLE CLICK ON THEM until this is fixed. Just open the in the normal way - start Adobe Reader and use Open from the File menu. -
Do not include some lines in Subtotals and totals in ALV
Hello All,
I am printing a report with all sale order details and Quantities( delveered ,conformed etc..) iam doing subtotals based on the material and Plant.
In this if the document date is less than the SY-DATUM, we should not include the quantity into the subtotals and totals, Only the orders wiht doc date GQ to Sy-datum then display them..
As of now I am using ALV grid display and doing the sums by
l_wa_fcat-do_sum = c_x. (field catalog) for the whole colom) but i want to avoid sum row from tehe calculation based on the condition.
<b>Do we have any way to achive this, like if we want to have separate color for a purticular Cell then we add an extra field in outout table and we link this field with layout-coltab_fieldname in the same way or any other way if we have</b>.
I will be thankfull to if you can provide me your valuable suggesstions on this. it is very urgent. I am trying in all the ways from my side.Hi,
see this code,
Complete code for the ALV grid example
This example shows and ALV grid with flights. After selecting a line a change button can be pushed to display a change screen. After the changes have been saved, the ALV grid screen is displayed again, and the grid is updated with the changes.
The example shows:
How to setup the ALV grid
How to ste focus to the grid
How to set the title of the grid
How to allow a user to save and reuse a grid layout (Variant)
How to customize the ALV grid toolbar
Refresh the grid
Set and get row selection and read line contents
Make and exception field (Traffic light)
Coloring a line
Steps:
Create screen 100 with the ALV grid. Remember to include an exit button
Add a change button to the ALV grid toolbar
Create screen 200 the Change screen
The screens:
The code:
REPORT sapmz_hf_alv_grid .
Type pool for icons - used in the toolbar
TYPE-POOLS: icon.
TABLES: zsflight.
To allow the declaration of o_event_receiver before the
lcl_event_receiver class is defined, decale it as deferred in the
start of the program
CLASS lcl_event_receiver DEFINITION DEFERRED.
G L O B A L I N T E R N A L T A B L E S
*DATA: gi_sflight TYPE STANDARD TABLE OF sflight.
To include a traffic light and/or color a line the structure of the
table must include fields for the traffic light and/or the color
TYPES: BEGIN OF st_sflight.
INCLUDE STRUCTURE zsflight.
Field for traffic light
TYPES: traffic_light TYPE c.
Field for line color
types: line_color(4) type c.
TYPES: END OF st_sflight.
TYPES: tt_sflight TYPE STANDARD TABLE OF st_sflight.
DATA: gi_sflight TYPE tt_sflight.
G L O B A L D A T A
DATA: ok_code LIKE sy-ucomm,
Work area for internal table
g_wa_sflight TYPE st_sflight,
ALV control: Layout structure
gs_layout TYPE lvc_s_layo.
Declare reference variables to the ALV grid and the container
DATA:
go_grid TYPE REF TO cl_gui_alv_grid,
go_custom_container TYPE REF TO cl_gui_custom_container,
o_event_receiver TYPE REF TO lcl_event_receiver.
DATA:
Work area for screen 200
g_screen200 LIKE zsflight.
Data for storing information about selected rows in the grid
DATA:
Internal table
gi_index_rows TYPE lvc_t_row,
Information about 1 row
g_selected_row LIKE lvc_s_row.
C L A S S E S
CLASS lcl_event_receiver DEFINITION.
PUBLIC SECTION.
METHODS:
handle_toolbar FOR EVENT toolbar OF cl_gui_alv_grid
IMPORTING
e_object e_interactive,
handle_user_command FOR EVENT user_command OF cl_gui_alv_grid
IMPORTING e_ucomm.
ENDCLASS.
CLASS lcl_event_receiver IMPLEMENTATION
CLASS lcl_event_receiver IMPLEMENTATION.
METHOD handle_toolbar.
Event handler method for event toolbar.
CONSTANTS:
Constants for button type
c_button_normal TYPE i VALUE 0,
c_menu_and_default_button TYPE i VALUE 1,
c_menu TYPE i VALUE 2,
c_separator TYPE i VALUE 3,
c_radio_button TYPE i VALUE 4,
c_checkbox TYPE i VALUE 5,
c_menu_entry TYPE i VALUE 6.
DATA:
ls_toolbar TYPE stb_button.
Append seperator to the normal toolbar
CLEAR ls_toolbar.
MOVE c_separator TO ls_toolbar-butn_type..
APPEND ls_toolbar TO e_object->mt_toolbar.
Append a new button that to the toolbar. Use E_OBJECT of
event toolbar. E_OBJECT is of type CL_ALV_EVENT_TOOLBAR_SET.
This class has one attribute MT_TOOLBAR which is of table type
TTB_BUTTON. The structure is STB_BUTTON
CLEAR ls_toolbar.
MOVE 'CHANGE' TO ls_toolbar-function.
MOVE icon_change TO ls_toolbar-icon.
MOVE 'Change flight' TO ls_toolbar-quickinfo.
MOVE 'Change' TO ls_toolbar-text.
MOVE ' ' TO ls_toolbar-disabled.
APPEND ls_toolbar TO e_object->mt_toolbar.
ENDMETHOD.
METHOD handle_user_command.
Handle own functions defined in the toolbar
CASE e_ucomm.
WHEN 'CHANGE'.
PERFORM change_flight.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMETHOD.
ENDCLASS.
S T A R T - O F - S E L E C T I O N.
START-OF-SELECTION.
SET SCREEN '100'.
*& Module USER_COMMAND_0100 INPUT
MODULE user_command_0100 INPUT.
CASE ok_code.
WHEN 'EXIT'.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Module STATUS_0100 OUTPUT
MODULE status_0100 OUTPUT.
DATA:
For parameter IS_VARIANT that is sued to set up options for storing
the grid layout as a variant in method set_table_for_first_display
l_layout TYPE disvariant,
Utillity field
l_lines TYPE i.
After returning from screen 200 the line that was selected before
going to screen 200, should be selected again. The table gi_index_rows
was the output table from the GET_SELECTED_ROWS method in form
CHANGE_FLIGHT
DESCRIBE TABLE gi_index_rows LINES l_lines.
IF l_lines > 0.
CALL METHOD go_grid->set_selected_rows
EXPORTING
it_index_rows = gi_index_rows.
CALL METHOD cl_gui_cfw=>flush.
REFRESH gi_index_rows.
ENDIF.
Read data and create objects
IF go_custom_container IS INITIAL.
Read data from datbase table
PERFORM get_data.
Create objects for container and ALV grid
CREATE OBJECT go_custom_container
EXPORTING container_name = 'ALV_CONTAINER'.
CREATE OBJECT go_grid
EXPORTING
i_parent = go_custom_container.
Create object for event_receiver class
and set handlers
CREATE OBJECT o_event_receiver.
SET HANDLER o_event_receiver->handle_user_command FOR go_grid.
SET HANDLER o_event_receiver->handle_toolbar FOR go_grid.
Layout (Variant) for ALV grid
l_layout-report = sy-repid. "Layout fo report
Setup the grid layout using a variable of structure lvc_s_layo
Set grid title
gs_layout-grid_title = 'Flights'.
Selection mode - Single row without buttons
(This is the default mode
gs_layout-sel_mode = 'B'.
Name of the exception field (Traffic light field) and the color
field + set the exception and color field of the table
gs_layout-excp_fname = 'TRAFFIC_LIGHT'.
gs_layout-info_fname = 'LINE_COLOR'.
LOOP AT gi_sflight INTO g_wa_sflight.
IF g_wa_sflight-paymentsum < 100000.
Value of traffic light field
g_wa_sflight-traffic_light = '1'.
Value of color field:
C = Color, 6=Color 1=Intesified on, 0: Inverse display off
g_wa_sflight-line_color = 'C610'.
ELSEIF g_wa_sflight-paymentsum => 100000 AND
g_wa_sflight-paymentsum < 1000000.
g_wa_sflight-traffic_light = '2'.
ELSE.
g_wa_sflight-traffic_light = '3'.
ENDIF.
MODIFY gi_sflight FROM g_wa_sflight.
ENDLOOP.
Grid setup for first display
CALL METHOD go_grid->set_table_for_first_display
EXPORTING i_structure_name = 'SFLIGHT'
is_variant = l_layout
i_save = 'A'
is_layout = gs_layout
CHANGING it_outtab = gi_sflight.
*-- End of grid setup -
Raise event toolbar to show the modified toolbar
CALL METHOD go_grid->set_toolbar_interactive.
Set focus to the grid. This is not necessary in this
example as there is only one control on the screen
CALL METHOD cl_gui_control=>set_focus EXPORTING control = go_grid.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0200 INPUT
MODULE user_command_0200 INPUT.
CASE ok_code.
WHEN 'EXIT200'.
LEAVE TO SCREEN 100.
WHEN'SAVE'.
PERFORM save_changes.
ENDCASE.
ENDMODULE. " USER_COMMAND_0200 INPUT
*& Form get_data
FORM get_data.
Read data from table SFLIGHT
SELECT *
FROM zsflight
INTO TABLE gi_sflight.
ENDFORM. " load_data_into_grid
*& Form change_flight
Reads the contents of the selected row in the grid, ans transfers
the data to screen 200, where it can be changed and saved.
FORM change_flight.
DATA:l_lines TYPE i.
REFRESH gi_index_rows.
CLEAR g_selected_row.
Read index of selected rows
CALL METHOD go_grid->get_selected_rows
IMPORTING
et_index_rows = gi_index_rows.
Check if any row are selected at all. If not
table gi_index_rows will be empty
DESCRIBE TABLE gi_index_rows LINES l_lines.
IF l_lines = 0.
CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
EXPORTING
textline1 = 'You must choose a line'.
EXIT.
ENDIF.
Read indexes of selected rows. In this example only one
row can be selected as we are using gs_layout-sel_mode = 'B',
so it is only ncessary to read the first entry in
table gi_index_rows
LOOP AT gi_index_rows INTO g_selected_row.
IF sy-tabix = 1.
READ TABLE gi_sflight INDEX g_selected_row-index INTO g_wa_sflight.
ENDIF.
ENDLOOP.
Transfer data from the selected row to screenm 200 and show
screen 200
CLEAR g_screen200.
MOVE-CORRESPONDING g_wa_sflight TO g_screen200.
LEAVE TO SCREEN '200'.
ENDFORM. " change_flight
*& Form save_changes
Changes made in screen 200 are written to the datbase table
zsflight, and to the grid table gi_sflight, and the grid is
updated with method refresh_table_display to display the changes
FORM save_changes.
DATA: l_traffic_light TYPE c.
Update traffic light field
Update database table
MODIFY zsflight FROM g_screen200.
Update grid table , traffic light field and color field.
Note that it is necessary to use structure g_wa_sflight
for the update, as the screen structure does not have a
traffic light field
MOVE-CORRESPONDING g_screen200 TO g_wa_sflight.
IF g_wa_sflight-paymentsum < 100000.
g_wa_sflight-traffic_light = '1'.
C = Color, 6=Color 1=Intesified on, 0: Inverse display off
g_wa_sflight-line_color = 'C610'.
ELSEIF g_wa_sflight-paymentsum => 100000 AND
g_wa_sflight-paymentsum < 1000000.
g_wa_sflight-traffic_light = '2'.
clear g_wa_sflight-line_color.
ELSE.
g_wa_sflight-traffic_light = '3'.
clear g_wa_sflight-line_color.
ENDIF.
MODIFY gi_sflight INDEX g_selected_row-index FROM g_wa_sflight.
Refresh grid
CALL METHOD go_grid->refresh_table_display.
CALL METHOD cl_gui_cfw=>flush.
LEAVE TO SCREEN '100'.
ENDFORM. " save_changes -
Safari is not showing some images from web properly
Hi. Since last week some pictures from web are not showing properly on safari & mail apps.
Whenever I go to websites with relatively many images, some of the images are only showing top halves and the bottom halves are solid black.
This has never happened before.
As it was so annoying, I've tried deleting safari history, cookies, and web data, and I also tried network reset.
None of them worked.
What's weird is that this issue doesn't happen when I'm using wifi, but happens when I use LTE.
My signal dots are full 5, and LTE is still faster than my wifi.
what can I try next?You can fix the issue temporarily by going to Settings > Safari > Clear History and Website Data. Note that this will log out of any website you were logged in to, and will clear your browsing history (if you use suggested websites from your history when going to new pages), but it will reset the cache containing the incorrect images.
Another way to fix this issue temporarily is to use Settings > Safari > Advanced > Website Data and swipe to delete only those domains that have incorrect images. This does the equivalent of clearing website data, but only for the specific site removed. Note that images are frequently served from different domains than the host site, so you must clear the domains where the images are stored. Also, this page doesn't have a way to filter the list, so you must look through it manually, which is why I don't suggest it as the first option.
BTW, the majority of posts reporting this issue appear to be AT&T customers. -
Class not found error when jar in war file
I am using Java Creator 2 and have a project. The required libraries have been added to the library manager and the "package" checkbox has been checked. This means they will be added to the deployment.
After deployment, I check the war file and it contains the proper libraries. However, when I run it by using the "run main project" option from the menu there is ClassNotFound exception. The class that cannot be found is in one of the jars in the war file. As I said, I have checked this war file after deployment and it contains the jar.
Only thing I can think of is that another classloader is being used. Incidentally, (I hope), the missing class file is related to hibernate. During the creation of the Hibernate session factory, it cannot find this file. But hibernate should have nothing to do with it. The fact is a class file cannot be found even though it is in a jar contained in the war file.
Any ideas?Did you read the tutorial from Creator?
David
http://www.pricerunner.com/forum/viewtopic.php?t=1659 -
Not receiving some emails from specific sender.
Hi.I just started getting the problem of not receiving some emails. I have not had this problem with the sender until yesterday. My sender is sending me emails from gmail, some with attachments and some without, to my comcast email and it's not getting through. It is just one specific sender that I know of. I narrowed it down to my comcast account because I had the sender send myself the email to my comcast address and cc me on my gmail address. I received it on my gmail account but not my comcast account. I use Outlook for comcast but I even checked the webmail on comcast with nothing there. I checked the spam folder also and it's not there. Please help, these are important emails. Thank you.
Same issue, as far as I know it is just 1 person. But I have no way of knowing. I also had them CC my Gmail and it went through to Gmail but not my comcast. I then had them use a secondary comcast email and it didn't go through. Comcast seems to be blocking this person for some unexplained reason. It's frustrating and so far has cost me $525 because they thought I was ignoring them. They are using my Gmail until I get it straightened out, so the financial loss shouldn't increase, I just hope others aren't having the same problem and I don't know about it.
-
Can not transffer some songs from itunes to ipod
I have down loaded some hindi song from net , I am trying to transfer song from itune to ipod but can not can some one help me?
Are you using a 1st or second generation shuffle and what format are the songs that won't move? Some formats that play in iTunes are not compatible with the 1st generation iPod shuffle, Aiff and Apple Lossless for instance. Apple Lossless is not supported on the 2nd generation shuffle:
iPod shuffle: Compatible audio formats
iPod shuffle 2nd generation - Technical specs
Some songs in iTunes won't copy to iPod -
WLS does not handle reusable jar with tag-files?
I want to encapsulate some tag-files in a re-usable jar that can be included in multiple applications. According to all the documentation that I've found what I need to do is create a jar file containing:
META-INF/taglib.tld
META-INF/tags/myTag.tag
where the taglib.tld contains (among other things):
<uri>myTag</uri>
<tag-file>
<name>someName</name>
<path>META-INF/tags/myTag.tag</path>
</tag-file>
Then I am supposed to take that jar file and put it in my web application under WEB-INF/lib,
and in my index.jsp I can refer to <%@taglib prefix="myt" uri="myTag">
However when I do this (on wls 12c) the application seems to deploy ok but when I try to access index.jsp I get:
weblogic.servlet.jsp.CompilationException: Failed to compile JSP /index.jsp
index.jsp:14:4: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
<%@taglib prefix="tags" uri="myt" %>
Related facts:
1. When I deploy these projects in Glassfish it works . as I expected based on the documentation with no errors.
2. If I copy the tag files and tld with no modification directly into the web application as:
<my web app>/WEB-INF/taglib.tld
and <my web app>/META-INF/tags/myTag.tag
then it does work. However, that prevents me from packaging the tag-files as a re-usable jar.
(Facts 1 & 2 seem to imply that the files are correct and that WebLogic is not handling the jar correctly?)
3. I've seen suggestions that there needs to be a <taglib> entry in web.xml. I have tried this and...
- the text I've seen on the web generates an error. It seems to need to be within a <jsp-config> entry in web.xml.
- even with this I still get the same error.
Does anyone have a suggestion for how to get Weblogic to handle tag-files inside a re-usable jar?
Do you have an example jar you can point me to just to see that it works on my system?
Is there some special configuration needed by Weblogic to tell it to handle this construct?
And finally, the error message is saying that one of two things is wrong:
Either:
A) it cannot find the referenced taglib file, or
B) the tld file failed to compile.
Is there any way for me to find out which of these is happening? The error messages in WLS do not seem to give any more info, so I cannot easily distinguish between these possibilities.
Thanks for your assistance.After 3 days of seeing this error, immediately after posting this request the problem disappeared. Sigh.
So for now this problem is closed. If it comes back I'll re-post. -
Finding taglib's from war files
Within a war file, I have a jsp which lies within a directory called /phase1 underneath the document root,
containing the line:
<%@ taglib uri="../xlab-taglib.tld" prefix="xlab" %> (1)
which is saying that the taglib is in the directory above, which is the document root. So when
xlab-taglib.tld is in the document root, everything works fine on JRun & Tomcat, but on Weblogic,
I get this error:
Fri Jan 05 13:52:13 GMT 2001:<I> <ServletContext-geneExp> looking for taglib uri ../xlab-taglib.tld as resource /WEB-INF/../xlab-taglib.tld in Web Application root:
Fri Jan 05 13:52:13 GMT 2001:<E> <ServletContext-geneExp> Cannot find resource '../xlab-taglib.tld' in document root 'D:\weblogic\myserver\geneExp.war'
Fri Jan 05 13:52:13 GMT 2001:<E> <ServletContext-geneExp> Cannot find resource '/WEB-INF/../xlab-taglib.tld' in document root 'D:\weblogic\myserver\geneExp.war'
Fri Jan 05 13:52:13 GMT 2001:<I> <ServletContext-geneExp> looking for taglib uri ../xlab-taglib.tld as resource ../xlab-taglib.tld in Web Application root:
So for some reason weblogic starts looking for the tag-lib from /WEB-INF, whereas Tomcat & JRun
both start from the directory that the calling jsp is in (/phase1).
(In fact, either way you end up at the document root, but weblogic doesn't seem to like the fact that I'm
trying to go up a level from WEB-INF).
If I change the line (1) to:
<%@ taglib uri="xlab-taglib.tld" prefix="xlab" %> (2)
and put xlab-taglib.tld under /WEB-INF, then (on weblogic) the error is eliminated, but Tomcat and
JRun then both fail because they're looking in the document root for the tag-lib, but now it's in WEB-INF.
I've also tried including several variations of the taglib element in the web.xml file, e.g.:
<taglib>
<taglib-uri>../</taglib-uri>
<taglib-location>xlab-taglib.tld</taglib-location>
</taglib>
or
<taglib>
<taglib-uri></taglib-uri>
<taglib-location>xlab-taglib.tld</taglib-location>
</taglib>
(or not including it at all), but none of these variations seem to make any difference on either
webserver.
Does anyone know how to solve this?
Thanks,
Steve Hargreaves
Within a war file, I have a jsp which lies within a directory called /phase1 underneath the document root,
containing the line:
<%@ taglib uri="../xlab-taglib.tld" prefix="xlab" %> (1)
which is saying that the taglib is in the directory above, which is the document root. So when
xlab-taglib.tld is in the document root, everything works fine on JRun & Tomcat, but on Weblogic,
I get this error:
Fri Jan 05 13:52:13 GMT 2001:<I> <ServletContext-geneExp> looking for taglib uri ../xlab-taglib.tld as resource /WEB-INF/../xlab-taglib.tld in Web Application root:
Fri Jan 05 13:52:13 GMT 2001:<E> <ServletContext-geneExp> Cannot find resource '../xlab-taglib.tld' in document root 'D:\weblogic\myserver\geneExp.war'
Fri Jan 05 13:52:13 GMT 2001:<E> <ServletContext-geneExp> Cannot find resource '/WEB-INF/../xlab-taglib.tld' in document root 'D:\weblogic\myserver\geneExp.war'
Fri Jan 05 13:52:13 GMT 2001:<I> <ServletContext-geneExp> looking for taglib uri ../xlab-taglib.tld as resource ../xlab-taglib.tld in Web Application root:
So for some reason weblogic starts looking for the tag-lib from /WEB-INF, whereas Tomcat & JRun
both start from the directory that the calling jsp is in (/phase1).
(In fact, either way you end up at the document root, but weblogic doesn't seem to like the fact that I'm
trying to go up a level from WEB-INF).
If I change the line (1) to:
<%@ taglib uri="xlab-taglib.tld" prefix="xlab" %> (2)
and put xlab-taglib.tld under /WEB-INF, then (on weblogic) the error is eliminated, but Tomcat and
JRun then both fail because they're looking in the document root for the tag-lib, but now it's in WEB-INF.
I've also tried including several variations of the taglib element in the web.xml file, e.g.:
<taglib>
<taglib-uri>../</taglib-uri>
<taglib-location>xlab-taglib.tld</taglib-location>
</taglib>
or
<taglib>
<taglib-uri></taglib-uri>
<taglib-location>xlab-taglib.tld</taglib-location>
</taglib>
(or not including it at all), but none of these variations seem to make any difference on either
webserver.
Does anyone know how to solve this?
Thanks,
Steve Hargreaves
-
Class file missing from war file deployment
I have a web application that is being deployed to a war file. I have deployed several times successfully. Then with the latest changes, there is a class file that does not get included into the war file. It does get compiled and does exist in the project directory.
The class file is in a seperate project from the project where the war file deployment profile is; however both projects are in the same workspace.
There are several other classes in the project that contains the missing class file that does get included in the war file. I don't see anywhere in the profile where these files are selected individually.
I'm at a loss as to how to fix this problem other than add the file after deployment.
Appreciate any help or ideas...
Keith...Hi Keith,
You may want to follow this thread....
class object missing from ear file
Brigette -
Aperture is not displaying some images quoting 'unsupported file format'.
I have tried to update, reboot, restart aperture, reprocess, move files and viewed the file in finder which is still not responsive. They are from a Nikon D3100 which has been working fine, even images from the same imort have worked correctly but the majority of them have not.I have successfully imported other files since without a problem, I see there have been some issues with people and tried some of the methods mentioned, anyone with some help there?
Please pardon the intrusion…
Hi, Léonie!
Congratulations on advancing to Level 6!
At the Water Cooler in the Level 6+ Lounge, we are throwing virtual confetti in celebration of your attainment of Level 6-dom. Would you care to join us at the Water Cooler?
Towards the bottom of the index on the Apple Support Communities Home Page you soon will find the Lounge link available to you. It should work for you within the next 24 hours if all goes as it should.
Hope to see you there soon! -
Running Oracle Reports via a client using system.exec call from war file
Hi all,
I am trying to deploy a war file application to a J2EE 10.1.3 application server. The deployment successfully completes. However testing the application fails.
When testing, the application reveals that calling a Oracle Reports 6i client (using a cmd line exec) from the war file returns application errors. The errors we get from executing the call below (using debug statements), creates this error:
OperatingSystemCmd: cmd = D:\Oracle\Dev6i\BIN\rwcli60 MODULE="CLTMLST" USERID="<userid>/<pwd>@<db>" DESTYPE="FILE" DESFORMAT="PDF" DESNAME="<path>\<pdf filename>.PDF" PARAMFORM="NO" BACKGROUND="NO" SERVER="r6i.world" TOLERANCE=0 ADVCODE="<param>"
OperatingSystemCmd: Command returned 3
WrsRunReport: Done executing report
WrsRunReport: Error running report Return code 3
Error on Screen is REP-0178 : Cannot connect to reports service.
However running the same command from a operating system command prompt in windows reveals that the command runs successfully.
Is there any particular OC4J J2EE settings that are required to get this statement to run properly?
Any help is most appreciative.
Cheers
RodneyHi All,
From much research and experimenting to get this to work I looked at the java.lang.Runtime class and noticed that seperate processes can be started using this very important Java class.
The first thing that I experimented with was in regards to seeing the environment OC4J runs against. Using the java.lang.Runtime class I executed a standard "cmd /c set" command in my Windows environment, and noticed that Oracle Application Server uses its own environment and not a standard windows login environment for its OC4J containers. Apache Tomcat on the other hand uses the standard user login environment.
So to get the application to be able to work properly we needed to override the particular environment the process needed to be able to get it to work. There is a exec command which allows you to override completely the environment for a process you would like to run. This method call does not in any way shape or form change the standard OC4J environment. This was done by executing the same "set" but with the overriden environment. Note that no environment variables from the OC4J container are carried into this new environment.
Cheers
Rodney
Maybe you are looking for
-
Sales Order transfer from CRM to R3
Hi experts, I'm working on SAP CRM system (release 6.0). I'm trying to transfer a business transaction, a sales order, from CRM to R3 but, when I go to the transaction "SMW01" in order to check the BDOCS, I face this errors: - "No authorization for m
-
Rebate Volume Postings and Subsequent File Production
Vendors are set up in SAP as suppliers and given a certain number range . We call these the purchasing vendors. The purchasing vendor represents a very big company (like ABCD) that has manufacturing plants all across regions with head offices in one
-
Using dbms_alert in Jdeveloper
Hello! I need check signal from OracleDatabase in my application on the JSP Page. How I can using dbms_alert package for my JSP page? Thanks.
-
Problem in External Debugging for the Web service if SAML is Configured
Hi All, I am facing a problem . I will tell you the exact process : 1. I have provided a external breakpoint in the ERP system. 2 . SAML is configured on both Consumer as well as Provider side. 3. try to execute the process Remotely, I am not ge
-
How can I delete game centre accounts? I can' t download apps anymore
Ended up with three accounts due to changing server, can no longer download apps or buy games, how can I delete useless accounts, please help