Help find CSS/html error
Hi I hope someone can help i feel i am about to lose the
plot, after quite some strucggle I manages to get this site
working:
http://www.bloominbaglady.com.au/links.html
But today when i went to add content for client, everything
looked fine within dreamweaver but as soon as i previewd in browser
this gap between header and content area appeared.
http://www.citrus-pages.com/Bloom08/links.html
I have no idea what has happened and I have read through the
code line for line and the CSS line for line and I can not spot a
difference.
any idea what could have happened here?? and how do I fix the
site??
The gap appears on all the child pages of that template
whether I have added content or not.
thanks Shontelle
shonts wrote:
> Hi I hope someone can help i feel i am about to lose the
plot, after quite some
> strucggle I manages to get this site working:
>
>
http://www.bloominbaglady.com.au/links.html
>
> But today when i went to add content for client,
everything looked fine within
> dreamweaver but as soon as i previewd in browser this
gap between header and
> content area appeared.
>
http://www.citrus-pages.com/Bloom08/links.html
>
> I have no idea what has happened and I have read through
the code line for
> line and the CSS line for line and I can not spot a
difference.
>
> any idea what could have happened here?? and how do I
fix the site??
>
> The gap appears on all the child pages of that template
whether I have added
> content or not.
That would probably be the default margin/padding on your h1
inside the
'content2' <div>
Zero out and see if the gap goes:
#content2 h1 {
margin: 0;
padding: 0;
Similar Messages
-
Error Message= x Cannot find the HTML help browser installed on your system.
Help! I cannot seem to find the solution for the error message I get when trying to generate a layout in Microsoft HTMl Help (Primary Layout). I am using the trial version, but it didn't seem to be an issue for anyone else in my class that was also using the trial version.
The error message states, "Cannot find the HTML help browser installed on your system."
Thank you!Sounds like a problem with the installation of RoboHelp on those machines. When you install RoboHelp, it installs the necessary files to view a CHM.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Help with displaying errors in jsp using html:errors/
Here is my problem.
In my overridden ActionForm.validate() method, i am returning ActionErrors (as required). When there are input errors in my form submission, the control goes back to the JSP page i used to read user input (so far so good). The JSP page is rendered fine for taking input for the second time but no errors are displayed although i am using the tag <html:errors/>
I tried to find the org.apache.struts.action.ERROR in my request attributes and it is there with the size of 1 (because i am reporting one error, in my sample run). Any idea why <html:errors/> won't display the errors even though they are there??? Here is what i am doing in my ActionForm class:
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
ActionErrors errors = new ActionErrors();
if (this.email == null || this.email.length() < 1) {
errors.add("username", new ActionError
("error.username.required"));
return errors;
Any help is appreciated.First of all, thanks for taking time to look at my message. Here is how my message-resources tag look like in struts-config.xml file:
<message-resources parameter="ApplicationResources"/>
The "ApplicationResources.properties" file exist in the WEB-INF folder of my application and following are the entries in that file that i think are relevant:
errors.header=<h3><font color="red">Validation Error</font></h3>You must correct the following error(s) before proceeding:<ul>
errors.footer=</ul><hr>
error.username.required=<li>Username is required</li>
Is there anything else needed to go into resource file? Or should i put my resource file somewhere else? -
Six error msg about apple aplications that must be closed just when I connect my ipod to computers USB.SyncServer aplication and Mobile device helper is closed.The error relat.show :
AppName: syncserver.exe AppVer: 17.641.14.26 ModName: corefoundation.dll
ModVer: 1.550.54.0 Offset: 00043d08
These happens in both kind of messages that was showing three times each.After this ,Itunes can sinc music videos,photos,but I canot upgrade my ipod!
Detail:copy photo files from ipod to computer works normal.I use panda antivirus but without it in the computer,the problem persists.Yesterday I get the last ITunes,but the problem persists.I unistall anything about apple ,install the new Itunes and the problem remains.
And this problem occurs only after I connect ANY ipod to the computer,open Itunes for hear music,for example,still works OK.I have been battling against the same issue for over 2 weeks now. After tracing what was happening on the machine to find that the crashes we're happening slightly after Apple's program we're identifying the Time Zone of the computer, I had the idea of checking the date/time properties of my Windows XP machine.
I unchecked the box to update the time from a time server (Internet time) and it's seem that this was what was causing itunes and its descendant to crash.
Now it seems it turned back to normal operation.
Please let me know if this fixes it for you as well. -
Used createinstallmedis to make a copy of the Mavericks app for use in a new hard drive install.. Copied find but gave error code 110 and failed to make the flash drive bootable.. Any help in what errror code means?
Did you partition and format the flash drive first? See the following:
Make Your Own Mavericks, Mountain/Lion Installer
After downloading the installer you must first save the Install Mac OS X application. After the installer downloads DO NOT click on the Install button. Go to your Applications folder and make a copy of the installer. Move the copy into your Downloads folder. Now you can click on the Install button. You must do this because the installer deletes itself automatically when it finishes installing.
2. Get a USB flash drive that is at least 8 GBs. Prep this flash drive as follows:
Open Disk Utility in your Utilities folder.
After DU loads select your flash drive (this is the entry with the mfgr.'s ID and size) from the leftside list. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
Select the volume you just created (this is the sub-entry under the drive entry) from the left side list.
Click on the Erase tab in the DU main window.
Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
Click on the Erase button. The format process can take up to an hour depending upon the flash drive size.
Make your own Mavericks flash drive installer using the Mavericks tool:
Mavericks has its own built-in installer maker you use via the Terminal:
You will need a freshly partitioned and formatted USB flash drive with at least 8GBs. Leave the name of the flash drive at the system default, "Untitled." Do not change this name. Open the Terminal in the Utilities folder. Copy this command line after the prompt in the Terminal's window:
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
Press RETURN. Enter your admin password when prompted. It will not be echoed to the screen so be careful to enter it correctly. Press RETURN, again.
Wait for the process to complete which will take quite some time. -
Need help finding errors.
I need help finding the error(s) in my code. I am writing a program to convert decimal to binary. It is not an application. It is more of a blue print for an object.
The Program is:
public class DecimalToBinary
private long decimal;
private long binary;
//Constructor setes the variable decimal and coverts and sets the variable binary
public DecimalToBinary(int decValue)
decimal = (long)decValue;
binary = convert(decValue);
//This method does the actual conversion from decimal to binary
public long convert(long dec)
long remainder = 0; //Start with initial value
String bin = ""; //Start with a blank string
while (dec > 0)
remainder = dec%2; //get remainder
dec /=2; //get the number divided by 2
bin = remainder + bin; //concatenate the remainder to string
return Long.parseLong(bin);
//Accesor methods to get the value of decimal
public long getDecimal()
return decimal;
// Accessor Method to return binary Value
public long getBinary()
return binary;
// To string to represent Object.
public String toString()
String result = "";
result = decimal +"\t\t\t" +binary;
name1.getDecimal()
return result;
The error I am getting is:
DecimalToBinary.java:56: ';' expected
name1.getDecimal()
^
1 error
----jGRASP wedge2: exit code for process is 1.
----jGRASP: operation complete.
I've tried putting the ; in there but it doesn't help and only throws another error.Did you read the error message?
DecimalToBinary.java:56: ';' expected
name1.getDecimal() What is missing? Can you see where on the line of code it has identified that the missing thing is? -
Help finding this error!!
could some one please help me with finding this one error.. i dont understand the problem.. this is the error
C:\dateDiff.java:1: 'class' or 'interface' expected
public static long dateDiff (Date dateX, Date dateY) {
^
1 error
this is the code
public static long dateDiff (Date dateX, Date dateY) {
long difference = reducePrecision(dateX, Calendar.DAY_OF_MONTH).getTime() -
reducePrecision(dateY, Calendar.DAY_OF_MONTH).getTime();
long daysBetween = (difference + MILLIS_IN_DAY / 2) / MILLIS_IN_DAY;
return daysBetween;
private static Date reducePrecision (Date date, int maxPrecision) {
Calendar cal = Calendar.getInstance();
cal.setTime(date);
switch (maxPrecision) {
case Calendar.YEAR:
cal.set(Calendar.MONTH, 0);
case Calendar.MONTH:
cal.set(Calendar.DAY_OF_MONTH, 1);
case Calendar.DAY_OF_MONTH:
cal.set(Calendar.HOUR_OF_DAY, 0);
case Calendar.HOUR:
cal.set(Calendar.MINUTE, 0);
cal.set(Calendar.AM_PM, Calendar.AM);
case Calendar.HOUR_OF_DAY:
cal.set(Calendar.MINUTE, 0);
case Calendar.MINUTE:
cal.set(Calendar.SECOND, 0);
case Calendar.SECOND:
cal.set(Calendar.MILLISECOND, 0);
break;
default:
throw new IllegalArgumentException(
"Unsupported maxPrecision: " + maxPrecision);
return cal.getTime();The start of a class definition must begin with a class declaration (package and import statements notwithstanding). Example:public class DateUtil {
// your class members
} -
Help! Problem with Struts tag html:errors/
Hi everybody,
In my JSP page called addUser.jsp, i have the different Struts Tag
<html:errors/>
<html:form action="/addUser" focus="firstName">
</html:form>
I have of course the ApplicationResources.properties file with differents Struts properties:
errors.footer=</ul><hr>
errors.header=<h3><font color="red">Validation Error</font></h3>You must correct the following error(s) before proceeding:<ul>
errors.ioException=I/O exception rendering error messages: {0}
and an other one:
error.fieldsNeeded=<font color="#FF0000">Some fields are missing.</font>
when I call the addUser form, my JSP page display:
null Some fields are missing. null
Have u any suggestion about my prob?
tx a lot
s.Hi,
can u post the java code where u are actually adding the error to the action errors. may be there is something wrong with that. I dont see any problem with the jsp or the applicationsResources.properties.
Thanks
Latha -
I have a JSP file,and I use <html:errors> in this page,but it raise error,my code is follows:
<%@ taglib uri="/WEB-INF/struts-form.tld" prefix="html" %>
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<html:errors/>
<html:form method="post" action="log.do">
<html:text property="abc" /><html:errors property="abc"/>
</html:form> and my Form is follows:
public ActionErrors validate(ActionMapping mapping,HttpServletRequest request) {
ActionErrors errors = new ActionErrors();
if(abc!=null && abc.length()>0){
errors.add("abc",new ActionError(" error.abc.required"));
return errors;
} When I run it,it raise following error:
org.apache.jasper.JasperException: /index.jsp(8,15) Attribute property invalid for tag errors according to TLD
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service (JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java :802)
org.apache.struts.action.ActionServlet.processValidate(ActionServlet.java:2149)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1565)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java :510)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
I have looked up <html:errors> API,I find it have property attribute:
property Name of the property for which error messages should be displayed. If not specified, all error messages (regardless of property) are displayed. (RT EXPR)
Why raise above error when I use <html:errors property="abc"/> ? How to do with it?
Thanks in advance!Maybe this piece of code might help you
<tr>
<td align="center"><logic:messagesPresent>
<html:messages id="error">
<span id="error"><li><%=error%></li></span>
</html:messages>
</logic:messagesPresent>
<span id="error"><c:out value="${errorsNolog}"/></span>
</td>
</tr> -
Cannot find the HTML browser installed on your system
Guys forgive me if you have answered this before, I have
tried a search of previous issues TNA.
I have reloaded R/H 6 to my laptop (with full admin rights
set against my user name) everything except works except generating
in Microsoft HTML Help I get the following error when I click
Finish: cannot find the HTML browser installed on your system
Any ideas welcome. With thanks, JHi JayRichard
You might try the following.
Inside RoboHelp HTML, click Tools > Options...
Click the Tool Locations tab
At the bottom of the dialog should be an area listing
"Browser paths". You should see one for Internet Explorer and one
for Netscape. Try clicking the little file folder icon to the right
of one of them. (Whichever browser you are using)
Navigate to and select the executable file for the browser.
Mine for Internet Explorer says:
D:\Program Files\...\iexplore.exe (The full path is
D:\Program Files\Internet Explorer\iexplore.exe
Dismiss the dialogs by clicking the Open and OK buttons until
they are all gone.
Keep us posted on whether this helps... Rick -
Endash and curly quote HTML errors
I inherited a large knowledge base at my job that was using
RoboHelp x5. It hadn't been worked on for more than a year when I
started, so the first thing I did was upgrade to RoboHelp 7. (I am
a total Robohelp beginner; been learning on my own since starting
her in Jan. 08) The first time I generated an output and published
the knowledge base in 7, we began to discover the project is
riddled with <&endash;> and <”> HTML
errors. RH x5 version read the endash and curly quotes fine and
displayed the characters.
What can I do now? Is there a global find and replace? What's
also weird is that the endash looks OK in the RoboHelp viewer. The
curly quote does show up wrong in the RH viewer as
<”r;>.
Any help or insight would be much appreciated. Thanks!Thanks for your response, Peter. Don't see the patch you
mention -- could you point me to it? I may not be able to use it
tho, b/c have made lots of edits and updates to our knowledge base
so I can't go back to the old R5 copy at this point.
If not, I will try the Helpware FAR. In looking at their
site, am not sure how it works: do I apply it to the output file or
the RH project files.
Thanks! -
Previously I was using OSX 10.8 and Web Disk was working great.
Since I upgraded to OSX 10.9 Web Disk Dont Attach to my compputer and give me this ERROR:
FInder got an error: Network file permission error.
When I got this ERROR first time I searched GOOGLE and found this link: http://cammodude.blogspot.no/
And I did:
To force all connections to be SMB1:
Open A terminal window
paste in the following line followed by the return key(should be all on one line):
echo "[default]" >> ~/Library/Preferences/nsmb.conf; echo "smb_neg=smb1_only" >> ~/Library/Preferences/nsmb.conf
What the command does:
Creates a file called nsmb.conf in your home directory at the path ~/Library/Preferences/nsmb.conf.
Adds directives to force SMB connections to use the SMB1 protocol. This is slower but stable.
Then I could use Web Disk on OSX 10.9 after executing this command in Terminal.
But now I restarted my Macbook and now Im NOT able to connect to Web Disk and get the same ERROR.
FInder got an error: Network file permission error
After trying 100 times it attaches 1 time but then show this ERROR:
Can't get <<class cdis>> "my.server.com/2078" of application "Finder".
If this happen then I can see the files in Finder and see the Contents and Size of files but if I open a PHP file in BBEdit then it shows BLANK.. But actually it is NOT blank.
Now Im stuck How can I solve this? All help is highly appericated..
Thank you so much...Hi,
Make sure to chmod the app, something like this :
chmod -Rf 777 secure_site_WebDisk.app
(in my case the CPanel provided the app for my OSx version.) -
I have a lot of files in Corel Painter 8's RIFF format. I want to write a script that opens a file and somehow forces Corel Painter 8 to save the file as a GIF. GUI scripting may be some help with the latter; now I am concentrating on finding RIFF files and opening them in Corel Painter 8.
I have a script that does a depth-first search of the folders starting at some root folder, using the Finder application to do the file-system stuff. It creates a list with
set docs to every document file of pages_folder whose file type = "RIFF"
as it loops through folders it adds to the list like this:
set more_documents to every document file of a_folder whose file type = "RIFF"
set docs to docs & more_documents
My naîve mental model is that docs is a list of document-file objects. Next I have a loop that attempts to strip out files for which a GIF file already exists (and is no older than the RIFF document). This works by deleting non-matching items like so:
if not isgifneeded then
set docs to items 1 thru (i - 1) of docs & items (i + 1) thru (length of docs) of docs
end if
Finally it tries to open one of the files in Corel Painter 8 using the Finder:
open item 1 of docs using "Corel Painter 8"
This does not work. I get an error message
Finder got an error: Can't get item 1 of {document file "bar" of folder "foo" of folder "blah" of folder "pdc" of folder "Users" of startup disk, ... }."
It lists all of the files. (The error message appears in a sheet that extends off the bottom of the screen!) They are identified in the message as document-file objects. The curly braces are, I believe, the AppleScript notation for a list. I expect to be able to obtain the first element of a list with ‘item 1 of xs’. My assumption is that the Finder’s open command would expect a document file object, or at least would be able to cope with being asked to open a document. What am I missing here?
PowerBook 12" without mini-DVI Mac OS X (10.4.7)Hi Damian and welcome to Apple Discussions!
One suggestion: try
tell application "Finder" to open item 1 of docs
(without 'using "Corel Painter 8"')
As far as the Finder is concerned, "Corel Painter 8" is just a string of characters. And telling the Finder to open a file is just the same as double-clicking it: the Finder knows which app to use - as long as these are native Corel Painter 8 docs.
Hope this helps,
H -
I need help with CSS and floating
Okay, I know I need to get up on CSS and get rid of tables in
my sites.
However, I'm running up against a problem, and after banging
my head
against it for a while, I realize I need help. I've stripped
this down
so as to only show the area where I'm having difficulty.
What I want is a page that has everything down the center,
taking up no
more than 750 pixels and no more than 550 pixels of width. No
problem there.
After the header and the top content, I'd like to have two
"columns",
each in it's own separately-colored box. I would like the
right-side
column/box to be a static size, while the left-side
column/box sizes
dynamically.
Where I'm having problems is that when one column is boxed,
it's fine,
but whenever I wrap each column in its own box, the
fixed-size box
either jumps below or above the other box (depending on which
one has
been floated and which order the div's appear in the code).
Here are the links:
CSS:
http://www.afice.org/stylesheet/floatmestyles.css
ex 1:
http://www.afice.org/floatme1.html
ex 2:
http://www.afice.org/floatme2.html
Before sending, I took a look again, just to see if I was
missing
anything. I did notice that it doesn't seem to be that the
box is
jumping down so much as it is that it's getting written over.
Anyway, sorry for the long-winded explanation. I hope I've
managed to
explain what I'm trying to do well enough that someone can
tell me where
I'm going wrong.
Thanks,
--KevinDo you want something like this:
http://www.pmob.co.uk/temp/spointfooter.htm
You will need to look at the code to see how it was done.
Otherwise, there are different examples here on Pauls' site:
http://www.pmob.co.uk/temp/3colfixedtest_4.htm
Nadia
Adobe� Community Expert : Dreamweaver
http://www.csstemplates.com.au
- CSS Templates | Free Templates
http://www.perrelink.com.au
- Web Dev
http://www.DreamweaverResources.com
- Dropdown Menu Templates|Tutorials
http://www.adobe.com/devnet/dreamweaver/css.html
"Kevin D-R" <[email protected]> wrote in
message
news:[email protected]...
> Okay, I know I need to get up on CSS and get rid of
tables in my sites.
> However, I'm running up against a problem, and after
banging my head
> against it for a while, I realize I need help. I've
stripped this down so
> as to only show the area where I'm having difficulty.
>
> What I want is a page that has everything down the
center, taking up no
> more than 750 pixels and no more than 550 pixels of
width. No problem
> there.
>
> After the header and the top content, I'd like to have
two "columns", each
> in it's own separately-colored box. I would like the
right-side column/box
> to be a static size, while the left-side column/box
sizes dynamically.
>
> Where I'm having problems is that when one column is
boxed, it's fine, but
> whenever I wrap each column in its own box, the
fixed-size box either
> jumps below or above the other box (depending on which
one has been
> floated and which order the div's appear in the code).
>
> Here are the links:
>
> CSS:
http://www.afice.org/stylesheet/floatmestyles.css
>
> ex 1:
http://www.afice.org/floatme1.html
>
> ex 2:
http://www.afice.org/floatme2.html
>
> Before sending, I took a look again, just to see if I
was missing
> anything. I did notice that it doesn't seem to be that
the box is jumping
> down so much as it is that it's getting written over.
>
> Anyway, sorry for the long-winded explanation. I hope
I've managed to
> explain what I'm trying to do well enough that someone
can tell me where
> I'm going wrong.
>
> Thanks,
>
> --Kevin -
Need help in analysing the error in JasperReportIntegration Test Applicatio
Our DBA installed Jasper Reports Integration kit Version 1.1.0.0 in our test environment. Apex version is 3.2.1.00.12. Oracle database is 11g and Apache Tomcat is 7.0.26
I was able to bring up the Jasper Reports Integration test application. When I navigate to "Report Tester" tab, changed the JasperReportIntegration URL to the correct localhost and then cklick the "Show report (directly)" button, I got this message:
Jun 12, 2012 11:41:58 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [ReportWrapper] in context with path [JasperReportsIntegration] threw exception [Servlet execution threw an exception] with root cause
Throwable occurred: java.lang.NoClassDefFoundError: net.sf.jasperreports.engine.util.JRStyledTextParser (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:140)
at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:121)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:77)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:87)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:57)
at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:142)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:52)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:417)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:247)
at de.oc.integration.jasper.webapp.ReportWrapper.service(ReportWrapper.java:318)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
at java.lang.Thread.run(Thread.java:736)
Can anyone help me understand this error and let me know if this message is caused by installing the jasper report integration kit incorrectly?
Thanks.
Edited by: bratz69 on Jun 12, 2012 7:35 PMHi Dietmar,
Thanks for your reply.
There's no jasperreports-fonts-3.7.4.jar file in the webapps/JasperReportsIntegration/WEB-INF/lib folder. The only font file available is jasperreports-fonts-4.5.0.jar. I've downloaded the 3.7.40 jar file and saved it in the same folder without deleting the 4.5.0.jar. I tried to run the Test application again and still give me the same error.
Jun 13, 2012 3:58:26 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [ReportWrapper] in context with path [JasperReportsIntegration] threw exception [Servlet execution threw an exception] with root cause
Throwable occurred: java.lang.NoClassDefFoundError: net.sf.jasperreports.engine.util.JRStyledTextParser (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:140)
at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:121)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:77)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:87)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:57)
at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:142)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:52)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:417)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:247)
at de.oc.integration.jasper.webapp.ReportWrapper.service(ReportWrapper.java:318)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
at java.lang.Thread.run(Thread.java:736)
I also tried the suggestion from the link provided by Nick. However, the syntax is for SUN environment and we are using IBM so I searched the equivalent of that command in IBM. Our DBA added the Java system property in the startup script by adding these 2 lines. But it errored out on the first 2 lines. I'm not sure if I do have the right syntax.
java.version=1.4
java.awt.headless=true
----- Error
27) ./startup.sh
./startup.sh[25]: java.version=1.4: not found
./startup.sh[26]: java.awt.headless=true: not found
Using CATALINA_BASE: /dbfupg/apache-tomcat-7.0.26
Using CATALINA_HOME: /dbfupg/apache-tomcat-7.0.26
Using CATALINA_TMPDIR: /dbfupg/apache-tomcat-7.0.26/temp
Using JRE_HOME: /usr/java6/jre
Using CLASSPATH: /dbfupg/apache-tomcat-7.0.26/bin/bootstrap.jar:/dbfupg/apache-tomcat-7.0.26/bin/tomcat-juli.jar
----- Start up script
27) cat startup.sh
#!/bin/sh
java.version=1.4
java.awt.headless=true
os400=false
case "`uname`" in
OS400*) os400=true;;
esac
# resolve links - $0 may be a softlink
PRG="$0"
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`/"$link"
fi
done
PRGDIR=`dirname "$PRG"`
EXECUTABLE=catalina.sh
# Check that target executable exists
if $os400; then
# -x will Only work on the os400 if the files are:
# 1. owned by the user
# 2. owned by the PRIMARY group of the user
# this will not work if the user belongs in secondary groups
eval
else
if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then
echo "Cannot find $PRGDIR/$EXECUTABLE"
echo "The file is absent or does not have execute permission"
echo "This file is needed to run this program"
exit 1
fi
fi
exec "$PRGDIR"/"$EXECUTABLE" start "$@"
BTW, Thanks for the update on the new version.
Thanks!
Edited by: bratz69 on Jun 13, 2012 4:48 PM
Maybe you are looking for
-
One CTS+ for multiple landscapes?
We have about 15 landscapes (ECC, R3, CRM, BI, PI, etc.) Each landscape has its own single SLD. We want to configure ONLY one CTS+ on an SM7.0 to handle all of the change request management for the 15 landscapes. Is this possible? Thanks!
-
NAT overload is not working when i configure Double NAT for VPN
I have Cisco 2921 router with OS version 15.1(4)M1. the router is configured for NAT overload and working fine, i have site to site VPN tunnel with peer with normal NAT translation. now we need to configure Double NAT on the VPN tunnel as we need to
-
How do i put music from my iPad on to my new computer that has no music?
i got a new computer and all my music is on my iPad but alot of it is downloaded stuff and i dont know how to get the music from my iPad to my iTunes on my new computer? help my computer is like an HP somthing
-
Can we hide column in a query depending upon the variable selected
Hi all, let us say my report have 10 column. now i am giving user option to select the values (let us say 'a' or 'b') columns must be displayed depending upon the value selected by user .. for example if user has selected 'a' then first five columns
-
Why the error in one, but not the other
Why does this code Generate the error: Complex object types cannot be converted to simple values. The expression has requested a variable or an intermediate expression result as a simple value, however, the result cannot be converted to a simple valu