Startconsole - Exception
After I installed a Solaris 8 OS from scratch, i installed the iPlanet Directory Server. (express setup)
ids_5_0_.tar
To test it, i tried to start the console:
/usr/iplanet/servers/startconsole -D9
Did i made anything wrong ?
Output:
/usr/iplanet/servers/bin/base/jre/bin/java -native -ms8m -mx64m -cp .:./ldapjdk.jar:./base.jar:./jss21.jar:./mcc50.jar:./mcc50_en.jar:./nmclf50.jar:./nmclf50_en.jar -Djava.library.path=/usr/iplanet/servers/lib/jss com.netscape.management.client.console.Console -D 9 -A http://atws2a3c.gud.siemens.at:5104
java.specification.name=Java Platform API Specification
java.version=1.2.2
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
user.timezone=Europe/Paris
java.specification.version=1.2
java.vm.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
user.home=/
os.arch=sparc
java.awt.fonts=
java.vendor.url=http://www.sun.com/
file.encoding.pkg=sun.io
java.sys.class.path=/usr/iplanet/servers/bin/base/jre/lib/rt.jar:/usr/iplanet/servers/bin/base/jre/lib/i18n.jar:/usr/iplanet/servers/bin/base/jre/classes
java.home=/usr/iplanet/servers/bin/base/jre
java.class.path=.:./ldapjdk.jar:./base.jar:./jss21.jar:./mcc50.jar:./mcc50_en.jar:./nmclf50.jar:./nmclf50_en.jar
line.separator=
java.ext.dirs=/usr/iplanet/servers/bin/base/jre/lib/ext
java.io.tmpdir=/var/tmp/
os.name=SunOS
java.vendor=Sun Microsystems Inc.
java.awt.printerjob=sun.awt.motif.PSPrinterJob
java.library.path=/usr/iplanet/servers/lib/jss
java.vm.specification.vendor=Sun Microsystems Inc.
sun.io.unicode.encoding=UnicodeBig
file.encoding=646
java.specification.vendor=Sun Microsystems Inc.
user.name=root
user.language=en
java.vendor.url.bug=http://www.sun.com/solaris/java/1.2support
java.vm.name=Solaris VM
java.vm.specification.name=Java Virtual Machine Specification
java.class.version=46.0
sun.boot.library.path=/usr/iplanet/servers/bin/base/jre/lib/sparc
os.version=5.8
java.vm.info=build Solaris_JDK_1.2.2_05a, native threads, sunwjit
java.vm.version=1.2.2
java.compiler=sunwjit
path.separator=:
user.dir=/usr/iplanet/servers/java
file.separator=/
sun.boot.class.path=/usr/iplanet/servers/bin/base/jre/lib/rt.jar:/usr/iplanet/servers/bin/base/jre/lib/i18n.jar:/usr/iplanet/servers/bin/base/jre/classes
ResourceSet: NOT found loader14526856:com.netscape.management.client.console.versioninfo
Netscape-Console/5.01 B2001.228.1732
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
Font specified in font.properties not found [-urw-itc zapfdingbats-medium-r-normal--*-%d-*-*-p-*-sun-fontspecific]
RemoteImage: NOT found loader14526856:com/netscape/management/nmclf/icons/Error.gif
RemoteImage: Create RemoteImage cache for loader14526856
RemoteImage: NOT found loader14526856:com/netscape/management/nmclf/icons/Inform.gif
RemoteImage: NOT found loader14526856:com/netscape/management/nmclf/icons/Warn.gif
RemoteImage: NOT found loader14526856:com/netscape/management/nmclf/icons/Question.gif
ResourceSet: NOT found loader14526856:com.netscape.management.client.components.components
RemoteImage: NOT found loader14526856:com/netscape/management/client/images/iPlanet16.gif
RemoteImage: NOT found loader14526856:com/netscape/management/client/console/images/login.gif
Exception in thread "main" java.lang.IllegalArgumentException: Width (0) and height (0) must be > 0
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(RuntimeException.java:47)
at java.lang.IllegalArgumentException.<init>(IllegalArgumentException.java:43)
at java.awt.image.SampleModel.<init>(Compiled Code)
at java.awt.image.SinglePixelPackedSampleModel.<init>(Compiled Code)
at java.awt.image.Raster.createPackedRaster(Raster.java:598)
at java.awt.image.Raster.createPackedRaster(Raster.java:412)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:637)
at sun.awt.motif.MComponentPeer.createImage(MComponentPeer.java:363)
at sun.awt.motif.MFramePeer.setIconImage(MFramePeer.java:203)
at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:175)
at sun.awt.motif.MToolkit.createFrame(MToolkit.java:144)
at java.awt.Frame.addNotify(Frame.java:274)
at java.awt.Window.pack(Window.java:259)
at com.netscape.management.client.console.SplashScreen.<init>(Unknown Source)
at com.netscape.management.client.console.Console.<init>(Compiled Code)
at com.netscape.management.client.console.Console.main(Compiled Code)
Hi,
Make shure the adminserv script has been started before proceeding with the startconsole script.The script should be started as root account.Check for the patches if any for the version of ldap server U've installed.
Check the command which U'r using to start the statconsole script usually when U start an executable with execute right set on it with from it's directory location #./startconsole
The command which U've executed is #usr/iplanet/servers/startconsole -D9
Similar Messages
-
I am not able to install or run most of the java based programs on Solaris8
I am getting java.lang.UnsatisfiedLinkError in most of the java dependent programs running on Solaris 8 box. I suspect something wrong with the Java library or files. Can anyone assist please. Thanks in advance.
./startconsole
Exception in thread "main" java.lang.UnsatisfiedLinkError: exception occurred in JNI_OnLoad
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1298)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:53)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1070)
at java.awt.Toolkit.<clinit>(Toolkit.java:1091)
at java.awt.Color.<clinit>(Color.java:188)
at javax.swing.plaf.metal.MetalTheme.<clinit>(MetalTheme.java:27)
at javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(MetalLookAndFeel.java:1031)
at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1036)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:361)
at com.netscape.management.client.console.Console.common_init(Unknown Source)
at com.netscape.management.client.console.Console.<init>(Unknown Source)
at com.netscape.management.client.console.Console.main(Unknown Source)google gave me this
http://www.velocityreviews.com/forums/t126255-answer-to-unsatisfiedlinkerror-jni.html -
StartConsole.sh throw exception
Hi
both startConsole.sh and startWeblogic.sh thow a
java.lang.NoClassDefFoundError: weblogic/Console.
i'm using service pack 5, and think i'm setting all the environment
stuff correctly. but perhaps not.
any idea what exactly it can't find and how to fix it?
thanks.yes. actually i fixed it by a clean install .. heh.
thanks for your help.
Jesse E Tilly wrote:
[email protected] (Peter Carvey) wrote in
<[email protected]>:
Hi
both startConsole.sh and startWeblogic.sh thow a
java.lang.NoClassDefFoundError: weblogic/Console.
i'm using service pack 5, and think i'm setting all the environment
stuff correctly. but perhaps not.
any idea what exactly it can't find and how to fix it?
thanks.
Yeah. The classpath requiring weblogic.Console isn't being
included...which is funny since as installed, startWebLogic.sh and
startConsole.sh have it set properly. HOwever, they are set as relative.
Are you running your these scripts in the weblogic home directory?
Jesse -
WL 51 sp12 - startConsole.sh didn't work with jdk1.3.1.03
hi all,
I'm newbis to SunOs 5-8, solaris 8. According to my client spec. I have installed evol version of WL 51 sp12, jdk1.3.1.03 and some of the required patches. Below are what I did on fewer testing to check whether I had successfully install WL 51.
- I managed to start up the WL and access http://myserver:7001/index.html.
- also managed to --> #java weblogic.Admin t3://localhost:7001 SHUTDOWN system password, VERSION and PING
But I couldn't get this up, "startConsole.sh" The solaris's console prompted a list of message as below. Anyone know how to resolve this problem? Is this because of JDK1.3.1.03?
Problem with constructor javax.swing.plaf.FontUIResource and args {Dialog,0,12} : and types {class java.lang.String,int,int} : java.lang.reflect.InvocationTargetException
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:992)
at javax.swing.UIDefaults$ProxyLazyValue.createValue(UIDefaults.java:658)
at javax.swing.UIDefaults.get(UIDefaults.java:140)
at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:41)
at javax.swing.UIDefaults.getFont(UIDefaults.java:218)
at javax.swing.UIManager.getFont(UIManager.java:451)
at javax.swing.LookAndFeel.installColorsAndFont(LookAndFeel.java:85)
at javax.swing.plaf.basic.BasicPanelUI.installDefaults(BasicPanelUI.java:46)
at javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:37)
at javax.swing.JComponent.setUI(JComponent.java:317)
at javax.swing.JPanel.updateUI(JPanel.java:102)
at javax.swing.JPanel.<init>(JPanel.java:62)
at javax.swing.JPanel.<init>(JPanel.java:92)
at javax.swing.JRootPane.createGlassPane(JRootPane.java:286)
at javax.swing.JRootPane.<init>(JRootPane.java:193)
at javax.swing.JApplet.createRootPane(JApplet.java:112)
at javax.swing.JApplet.<init>(JApplet.java:105)
at weblogic.admin.T3Cnsl.<init>(T3Cnsl.java:359)
at weblogic.admin.T3Cnsl.doMain(T3Cnsl.java:189)
at weblogic.admin.T3Cnsl.main(T3Cnsl.java:140)
at weblogic.admin.ConsoleStarter.startup(ConsoleStarter.java:16)
at weblogic.Console.main(Console.java:41)
null
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:115)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:53)
at java.awt.Font.initializeFont(Font.java:259)
at java.awt.Font.<init>(Font.java:293)
at javax.swing.plaf.FontUIResource.<init>(FontUIResource.java:32)
at com.sun.java.swing.plaf.motif.MotifLookAndFeel.initComponentDefaults(MotifLookAndFeel.java:180)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:57)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:356)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:383)
at weblogic.admin.T3Cnsl.constructorInit(T3Cnsl.java:386)
at weblogic.admin.T3Cnsl.<init>(T3Cnsl.java:362)
at weblogic.admin.T3Cnsl.doMain(T3Cnsl.java:189)
at weblogic.admin.T3Cnsl.main(T3Cnsl.java:140)
at weblogic.admin.ConsoleStarter.startup(ConsoleStarter.java:16)
at weblogic.Console.main(Console.java:41)
Thankyou,
regards,
elvis
scjp
[att1.html]Hi.
JDK 1.3.1_03 isn't yet supported. Try using JDK 1.3.1_01 for both the
server and the console - this should be the version that comes with
WLS. Also make sure you have sp12 in the classpath for the console as
well as the server. If you are still having problems running the
console then you should open a case with support.
elvis wrote:
hi all, I'm newbis to SunOs 5-8, solaris 8. According to my client
spec. I have installed evol version of WL 51 sp12, jdk1.3.1.03 and
some of the required patches. Below are what I did on fewer testing to
check whether I had successfully install WL 51. - I managed to
start up the WL and access http://myserver:7001/index.html.- also
managed to --> #java weblogic.Admin t3://localhost:7001 SHUTDOWN
system password, VERSION and PING But I couldn't get this up,
"startConsole.sh" The solaris's console prompted a list of message as
below. Anyone know how to resolve this problem? Is this because of
JDK1.3.1.03?Problem with constructor javax.swing.plaf.FontUIResource
and args {Dialog,0,12} : and types {class java.lang.String,int,int} :
java.lang.reflect.InvocationTargetException
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:992)
at
javax.swing.UIDefaults$ProxyLazyValue.createValue(UIDefaults.java:658)
at javax.swing.UIDefaults.get(UIDefaults.java:140)
at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:41)
at javax.swing.UIDefaults.getFont(UIDefaults.java:218)
at javax.swing.UIManager.getFont(UIManager.java:451)
at javax.swing.LookAndFeel.installColorsAndFont(LookAndFeel.java:85)
at
javax.swing.plaf.basic.BasicPanelUI.installDefaults(BasicPanelUI.java:46)
at javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:37)
at javax.swing.JComponent.setUI(JComponent.java:317)
at javax.swing.JPanel.updateUI(JPanel.java:102)
at javax.swing.JPanel.<init>(JPanel.java:62)
at javax.swing.JPanel.<init>(JPanel.java:92)
at javax.swing.JRootPane.createGlassPane(JRootPane.java:286)
at javax.swing.JRootPane.<init>(JRootPane.java:193)
at javax.swing.JApplet.createRootPane(JApplet.java:112)
at javax.swing.JApplet.<init>(JApplet.java:105)
at weblogic.admin.T3Cnsl.<init>(T3Cnsl.java:359)
at weblogic.admin.T3Cnsl.doMain(T3Cnsl.java:189)
at weblogic.admin.T3Cnsl.main(T3Cnsl.java:140)
at weblogic.admin.ConsoleStarter.startup(ConsoleStarter.java:16)
at weblogic.Console.main(Console.java:41)
null
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:115)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:53)
at java.awt.Font.initializeFont(Font.java:259)
at java.awt.Font.<init>(Font.java:293)
at javax.swing.plaf.FontUIResource.<init>(FontUIResource.java:32)
at
com.sun.java.swing.plaf.motif.MotifLookAndFeel.initComponentDefaults(MotifLookAndFeel.java:180)
at
javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:57)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:356)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:383)
at weblogic.admin.T3Cnsl.constructorInit(T3Cnsl.java:386)
at weblogic.admin.T3Cnsl.<init>(T3Cnsl.java:362)
at weblogic.admin.T3Cnsl.doMain(T3Cnsl.java:189)
at weblogic.admin.T3Cnsl.main(T3Cnsl.java:140)
at weblogic.admin.ConsoleStarter.startup(ConsoleStarter.java:16)
at weblogic.Console.main(Console.java:41)
Thankyou,
regards,elvisscjp--
Michael Young
Developer Relations Engineer
BEA Support
[att1.html] -
If image file not exist in image path crystal report not open and give me exception error problem
Hi guys my code below show pictures for all employees
code is working but i have proplem
if image not exist in path
crystal report not open and give me exception error image file not exist in path
although the employee no found in database but if image not exist in path when loop crystal report will not open
how to ignore image files not exist in path and open report this is actually what i need
my code below as following
DataTable dt = new DataTable();
string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
using (SqlConnection con = new SqlConnection(connString))
con.Open();
SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
cmd.CommandType = CommandType.StoredProcedure;
SqlDataAdapter da = new SqlDataAdapter();
da.SelectCommand = cmd;
da.Fill(dt);
foreach (DataRow dr in dt.Rows)
FileStream fs = null;
fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
BinaryReader br = new BinaryReader(fs);
byte[] imgbyte = new byte[fs.Length + 1];
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dr["Image"] = imgbyte;
fs.Dispose();
ReportDocument objRpt = new Reports.CrystalReportData2();
objRpt.SetDataSource(dt);
crystalReportViewer1.ReportSource = objRpt;
crystalReportViewer1.Refresh();
and exception error as belowFirst: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
Second : Drag And drop this image Filed Where I want.
private void LoadReport()
frmCheckWeigher rpt = new frmCheckWeigher();
CryRe_DailyBatch report = new CryRe_DailyBatch();
DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
DataTable dt = GetImageRow(table, "Footer.Jpg");
report.SetDataSource(dt);
crv1.ReportSource = report;
crv1.Refresh();
By this Function I merge My Image data into dataTable
private DataTable GetImageRow(DataTable dt, string ImageName)
try
FileStream fs;
BinaryReader br;
if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
else
// if photo does not exist show the nophoto.jpg file
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
// initialise the binary reader from file streamobject
br = new BinaryReader(fs);
// define the byte array of filelength
byte[] imgbyte = new byte[fs.Length + 1];
// read the bytes from the binary reader
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dt.Rows[0]["Image"] = imgbyte;
br.Close();
// close the binary reader
fs.Close();
// close the file stream
catch (Exception ex)
// error handling
MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
return dt;
// Return Datatable After Image Row Insertion
Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP] -
Hi,
We are getting below errors in /nwa/logs. We have our PI (7.11) and Service Registry configured on the same server. And have out CE (7.2) system connected to this service registry. Does any one has similar experience? Please let me know if you have any solution for the same.
SR Log Error
| 11-Nov-11 14:10:45.568
| Method : getClassificationSystems()
| Class : com.sap.esi.uddi.sr.api.ws.ServicesRegistrySiImplBean
| ThreadID : 146
| Message : com.sap.esi.uddi.sr.api.exceptions.SRException: No classification system found for ID 'QName: Namespace= http://uddi.sap.com/classification; Name= ConfigurationFlags'
|
| com.sap.esi.uddi.sr.impl.common.Utility.cs2srException(Utility.java:122)
| com.sap.esi.uddi.sr.impl.ejb.ServicesRegistryBean.getClassificationSystems(ServicesRegistryBean.java:242)
| sun.reflect.GeneratedMethodAccessor1325.invoke(Unknown Source)
| sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| java.lang.reflect.Method.invoke(Method.java:585)
| com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
| com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
| $Proxy1087.getClassificationSystems(Unknown Source)
| com.sap.esi.uddi.sr.api.ws.ServicesRegistrySiImplBean.getClassificationSystems(ServicesRegistrySiImplBean.java:456)
| sun.reflect.GeneratedMethodAccessor1324.invoke(Unknown Source)
| sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| java.lang.reflect.Method.invoke(Method.java:585)
| com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_WS.invoke(Interceptors_WS.java:31)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
| com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
| com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
| com.sap.engine.services.ejb3.webservice.impl.DefaultImplementationContainer.invokeMethod(DefaultImplementationContainer.java:203)
| com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:512)
| com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:486)
| com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:256)
| com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:176)
| com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWithLogging(ServletDispatcherImpl.java:112)
| com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:70)
| SoapServlet.doPost(SoapServlet.java:51)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
| com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:140)
| com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:37)
| com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:486)
| com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
| com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:396)
| com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:385)
| com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
| com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
| com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:84)
| com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
| com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:245)
| com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
| com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
| com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
| com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
| com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
| com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
| com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
| com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
| com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
| com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
| com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
| com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
| com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
| com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
| com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
| com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
| com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
| com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
| com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
| com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
| com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
| com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
| com.sap.engine.core.thread.execution.Executable.run(Executable.java:115)
| com.sap.engine.core.thread.execution.Executable.run(Executable.java:96)
| com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
|Hi,
Refer Error:Service Registyr Configuration PI 7.11
and http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8071b1b8-3c5c-2e10-e7af-8cadbc49d711?QuickLink=index&overridelayout=true
Thanks,
Chandra -
I have an itunes account and an ipod, and when I purchased 2 albums on the computer they synced straight to the ipod. I bought an iphone and used the usb cord from the computer to it to sync the itunes albums to the new phone. Everything transfered, and those were albums I had uploaded (not purchased from the itunes store), except the two albmus I just purchased from the itunes store. They appear on my itunes on the computer and ipod, but not on the iphone. What did I fail to do or did I do incorrectly?
This might sound weird, but here's an idea which worked for me re music that was newly added to itunes and showed up in my ipod but wouldn't play - I simply played the tracks in itunes first, just a second of time or so will do it, not the whole track, then connect the ipod and sync again and this time they played - hope this helps.
-
Get Attribute values from a page and procedure exception handling?
Hi All,
I have created new page with two input attributes not based on any VO. This page is created to capture two values and pass these to an AM method upon pressing OK button. The method in AM will call a procedure with two in parameter expecting the two values captured from the above said page.
I have two questions, first one how to capture the values entered by the page in the controller class and advises me how to handle exceptions when my procedure fails.
I can not use something like this since this page is not based on a VO
String fromName = (String)vo.getCurrentRow().getAttribute("FromName");
Do I have to create a dummy VO like select '' name1, '' name2 from dual?
Thanks for the help.Hi,
Actually you can capture the parameters on the page like this way
String test = (String)pageContext.getParameter("id of the text input bean");
Now in procedure you can take an out parameter which stores the error messages on exception
and return that out parameter in java.
and then you can throw exception on page using OAException class.
Thanks
Gaurav Sharma -
Get the values from Exception class
Hi all ..
In class i have raised one exception
when i catch this exception in my program i m able to get the
error message but i need to get all the parameters that i pass
when i raise the exception ...
i have raised like this
RAISE EXCEPTION TYPE cx_bapi_error
EXPORTING
textid = cx_bapi_error=>cx_bo_error
class_name = 'ZHS_'
log_no = wa_bapi_return-log_no
log_msg_no = wa_bapi_return-log_msg_no
t100_msgid = wa_bapi_return-id
t100_msgno = wa_bapi_return-number
t100_msgv1 = wa_bapi_return-message_v1
t100_msgv2 = wa_bapi_return-message_v2
t100_msgv3 = wa_bapi_return-message_v3
t100_msgv4 = wa_bapi_return-message_v4
STATUS = lt_status
and caught the exception like this in my program
CATCH cx_bapi_error INTO go_error.
gd_text = go_error->get_text( ).
EXIT.
ENDTRY.
in this i m just getting the class name which i have passed in exception
i need all other parameters that i have passed ..
if u have any idea pls let me know ..
Thanks in advance ...Hello Jayakumar
Usually the attributes of standard exception classes are defines as <b>public</b> and <b>read-only</b>. Thus, you should be able to use the following coding:
DATA:
go_error TYPE REF TO cx_bapi_error. " specific exception class !!!
TRY.
RAISE EXCEPTION TYPE cx_bapi_error
EXPORTING
textid = cx_bapi_error=>cx_bo_error
class_name = 'ZHS_'
log_no = wa_bapi_return-log_no
log_msg_no = wa_bapi_return-log_msg_no
t100_msgid = wa_bapi_return-id
t100_msgno = wa_bapi_return-number
t100_msgv1 = wa_bapi_return-message_v1
t100_msgv2 = wa_bapi_return-message_v2
t100_msgv3 = wa_bapi_return-message_v3
t100_msgv4 = wa_bapi_return-message_v4
STATUS = lt_status.
CATCH cx_bapi_error INTO go_error.
gd_text = go_error->get_text( ).
WRITE: go_error->t100_msgid, " perhaps the attributes have different name
go_error->t100_msgno, " check attribute names in SE24
EXIT.
ENDTRY.
Regards
Uwe -
Trying to delete file from trash but get this: The operation can’t be completed because the item “File name” is in use. All other files delete except this one. Please help
Maybe some help here:
http://osxdaily.com/2012/07/19/force-empty-trash-in-mac-os-x-when-file-is-locked -or-in-use// -
hello I'm experiencing some problems with my iMessage and face time. I did with Apple provided me online. I did the steps. Nothing will work, it keeps saying activation turn on Wi-Fi when my Wi-Fi is turned on. As soon as I got this on Christmas. iMessage and FaceTime have not been working. My Apple and ID password are correct. Everything else is working fine. My iOS updates are up to date, everything is fine except FaceTime and iMessage
Did you try everything here?
iOS: Troubleshooting Messages
Using FaceTime and iMessage behind a firewall
iOS: Troubleshooting FaceTime and iMessage activation
FaceTime, Game Center, Messages: Troubleshooting sign in issues
In the future saying your tried the Apple on-line articles does provide us with information as to which ones you found and tried -
Dunning - ST22- Exception in GET_DUNNING_CUSTOMIZING FM.
Hi Experts,
Issue is,
When the user ran the Dunning report on July 16th, (selection criteria is--> July 16th & From customer 1 TO customer 999999999), bcoz of some thing, at CUST_444, the Exception was raised (say, for customers CUST_111, CUST_222, CUST_333, its successful), saying that...ABAP/4 processor: RAISE_EXCEPTION and it stopped there/job cancelled!
So, now, again when the user wants to(subsequent running of dunning report) run the report for customer 1 to 999999999, SAP is blocking CUST_111, CUST_222, CUST_333 reports and saying already printed on July 16th!
ST22- Exception in GET_DUNNING_CUSTOMIZING FM.
So, How to fix it? I guess, we hv to delete the July 16th history report, If so, How to delete it?
thanq.
Message was edited by:
SrikharHi Sheshu,
If u get chance, pls. culd u respond to my other thread, title is,
<i><b>SM 30 -
AUTHORITY-CHECK OBJECT 'XXX' ??</b></i>
search criteria: authority-check object
area: abap general-abap development
time: 7 days.
Pls. clarify my doubts, sent to Roman!
I copied and paste the same code to my requiremetn, after declaring necessory data part, but not working!
if u did not find the thread , pls. let me know!
thanq. -
Hi all,
To quote JLS in verbatim ..."Java floating-point
operators produce no exceptions (�11). An operation
that overflows produces a signed infinity, an
operation that underflows produces a signed zero, and
an operation that has no mathematically definite
result produces NaN."
But I am facing a problem here. The highest value
that can be held by a Double variable is
1.79769313486231570e+308. Any operation resulting in
an overflow of this variable should produce 'infinity'
accodring to the JLS but I am getting a
"EXCEPTION_FLT_OVERFLOW". Does this have something to
do with the OS or the processor?
Here's a simple test program:
public class FloatingPointInexactRulesTest {
public static void main(String[] args) {
// An example of overflow:
double d = 1.79769313486231570e+308;
System.out.print("overflow produces infinity: ");
System.out.println(d + "*1.1==" + d*1.1);
The program's output should have been:
overflow produces infinity: 1.0e+308*1.1==Infinity
but I get a EXCEPTION_FLT_OVERFLOW! Since the JVM cant
violate the semantics of the JLS I think the problem
lies somewhere else(either the OS or the processor). I
am using WIndows2000 as the OS and Intel PIV as the
processor.
Please help me...
--------------EXCEPTION!---------------------
Unexpected Signal : EXCEPTION_FLT_OVERFLOW
(0xc0000091) occurred at PC=0xEFA6C3
Function=[Unknown.]
Library=(N/A)
NOTE: We are unable to locate the function name symbol
for the error
just occurred. Please refer to release
documentation for possible
reason and solutions.
Current Java thread:
Dynamic libraries:
0x00400000 - 0x00407000
C:\j2sdk1.4.2_04\bin\java.exe
0x77F80000 - 0x77FFD000
C:\WINNT\system32\ntdll.dll
0x7C2D0000 - 0x7C332000
C:\WINNT\system32\ADVAPI32.dll
0x7C570000 - 0x7C628000
C:\WINNT\system32\KERNEL32.DLL
0x77D30000 - 0x77D9E000
C:\WINNT\system32\RPCRT4.DLL
0x78000000 - 0x78045000
C:\WINNT\system32\MSVCRT.dll
0x00250000 - 0x002C3000
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\uga1.tmp
0x71710000 - 0x71794000
C:\WINNT\system32\COMCTL32.DLL
0x77F40000 - 0x77F7E000
C:\WINNT\system32\GDI32.dll
0x77E10000 - 0x77E75000
C:\WINNT\system32\USER32.DLL
0x76620000 - 0x76630000
C:\WINNT\system32\MPR.DLL
0x77A50000 - 0x77B3C000
C:\WINNT\system32\OLE32.DLL
0x779B0000 - 0x77A4B000
C:\WINNT\system32\OLEAUT32.DLL
0x75050000 - 0x75058000
C:\WINNT\system32\WSOCK32.DLL
0x75030000 - 0x75044000
C:\WINNT\system32\WS2_32.DLL
0x75020000 - 0x75028000
C:\WINNT\system32\WS2HELP.DLL
0x08000000 - 0x08138000
C:\j2sdk1.4.2_04\jre\bin\client\jvm.dll
0x77570000 - 0x775A0000
C:\WINNT\system32\WINMM.dll
0x10000000 - 0x10007000
C:\j2sdk1.4.2_04\jre\bin\hpi.dll
0x00CE0000 - 0x00CEE000
C:\j2sdk1.4.2_04\jre\bin\verify.dll
0x00CF0000 - 0x00D09000
C:\j2sdk1.4.2_04\jre\bin\java.dll
0x00D10000 - 0x00D1D000
C:\j2sdk1.4.2_04\jre\bin\zip.dll
0x77920000 - 0x77943000
C:\WINNT\system32\imagehlp.dll
0x72A00000 - 0x72A2D000
C:\WINNT\system32\DBGHELP.dll
0x690A0000 - 0x690AB000
C:\WINNT\system32\PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 576K, used 197K
[0x10010000, 0x100b0000, 0x104f0000)
eden
Another exception has been detected while we were
handling last error.
Dumping information about last error:
ERROR REPORT FILE = (N/A)
PC = 0x00efa6c3
SIGNAL = -1073741679
FUNCTION NAME = (N/A)
OFFSET = 0xFFFFFFFF
LIBRARY NAME = (N/A)
Please check ERROR REPORT FILE for further
information, if there is any.
Good bye.
--------------EXCEPTION!---------------------
Thanks a lot.Yeah switching to Linux is a good idea. The firsttime I tried that,
GRUB crashed and I screwed everything else tryingto copy the
bootloader. Before this I had problems accessingthe file system on
Windows via LAN, Samba server is not really theeasiest to use.
Before that I had display problems with wierdmessages like sync out
of range, Init respawning too fast so disabling.......I guess this is just
the tip of an iceberg when it comes to problemswith Linux. It is
sometimes really frustrating.Really? The only problems I recognise are the
automatic chip set
detection for the graphics card. I always let it boot
in 'mode 3', figure
out the exact chip set present in the computer and
only then switch
to 'mode 5' ...Yeah I had all these problems with RH Linux within a span of 2 months.
I solved most of them though(Google is my best friend ;). The problem with the display was coz of horizontal and vertical sync values.
btw, Samba has a nice webbrowser interface; I simply
follow the docs
step by step (I know next to nothing about Samba) and
I'm in business
after typing in all the required stuff ...I had problems with Samba bcoz of the firewall settings and the firewall interface was not comin on properly on the display.
And now there are viruses for Linux too!Never do anything online when logged in as root and
keep your FS
permissions sensible.Yeah. I dont log in to root untill it is really really needed.
An offtopic question (hope no one minds) Is there any book for Linux which is on the same lines of "The Design of the Unix Operating System" by Maurice.J.Bach?. If yes, then pls pls lemme know. I am a big Fan of "The Design of the Unix Operating System".
kind regards,
JosThanks and regards. -
I'm encountering this error and not sure how to fix, I'm quite new to vCenter so please bear with me.
I'm trying out vCenter 5.1 with Update Manager 5.1 right now. No license key has been entered and I still have 50 odd days to try it out.
2 ESXi hosts are being managed by this vCenter, and they're both running ESXi 4.0
I'm looking to use Update Manager to try to upgrade the ESXi 4.0 hosts to ESXi 5.1
I downloaded the image file VMware-VIMSetup-all-5.1.0-799735.iso from VMWare website, and is looking to import it using the Update Manager so I can update the ESXi hosts, but I keep on getting the error:
File name: VMware-VIMSetup-all-5.1.0-799735.iso
Failed to transfer data
Error was: A web exception has occurred during file upload
I tried importing it by using vSphere client to connect to vCenter server both remotely and locally, with firewall disabled.
I've read http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1026602
I've disabled firewall, and there is no anti-virus program on the server. I've also restarted the machine several times, to no avail, I didn't reinstall update manager because the whole Windows and VCenter installations are clean from scratch.
I logged into the vSphere Client using Active Directory credentials, and I've made all Domain Admins (which my account is a member of) part of the administrator group on the vCenter server. I can't log in using admin@System-Domain because it tells me I don't have permissions for it, I still haven't really had the chance to figure out why that is and not sure if that makes a difference.
Also, I'm fairly certain I'm using the right image file, as I've burned some DVD's used that image file to upgrade some other ESXi hosts. Unless there's a special image file I need to download?
I'm at lost on what I can do to make it work. Please advise.
Thanks.The ISO file you mentioned is the one for vCenter Server. What you need is the "VMware-VMvisor-Installer-5.1.0-799733.x86_64.iso" (or VMware-VMvisor-Installer-201210001-838463.x86_64.iso) for the ESXi host.
André -
Exception-Error when excecuting JSP-File in Crystal reports for Eclipse
Hi,
I have created a jsp-File from an rpt-File in Crystal report for Eclipse. When I start the jsp-File on Apache Tomact 5.5 then only errors occurs.
Coud anyone help me?
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 6 in the generated java file
Only a type can be imported. com.crystaldecisions.report.web.viewer.CrystalReportViewer resolves to a package
An error occurred at line: 7 in the generated java file
Only a type can be imported. com.crystaldecisions.reports.sdk.ReportClientDocument resolves to a package
An error occurred at line: 8 in the generated java file
Only a type can be imported. com.crystaldecisions.sdk.occa.report.application.OpenReportOptions resolves to a package
An error occurred at line: 9 in the generated java file
Only a type can be imported. com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase resolves to a package
An error occurred at line: 10 in the generated java file
Only a type can be imported. com.crystaldecisions.sdk.occa.report.reportsource.IReportSource resolves to a package
An error occurred at line: 13 in the jsp file: /Bericht1-viewer.jsp
ReportClientDocument cannot be resolved to a type
10: try catch (ReportSDKExceptionBase e)
60:
An error occurred at line: 58 in the jsp file: /Bericht1-viewer.jsp
e cannot be resolved
55:
56:
57: } catch (ReportSDKExceptionBase e)
60:
61: %>
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.
Apache Tomcat/5.5.26
Bericht1.jsp:
<%@page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer,
com.crystaldecisions.reports.sdk.ReportClientDocument,
com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,
com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%><%
// This sample code calls methods from the JRCHelperSample class, which
// contains examples of how to use the BusinessObjects APIs. You are free to
// modify and distribute the source code contained in the JRCHelperSample class.
try {
String reportName = "Bericht1.rpt";
ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
if (clientDoc == null) {
// Report can be opened from the relative location specified in the CRConfig.xml, or the report location
// tag can be removed to open the reports as Java resources or using an absolute path
// (absolute path not recommended for Web applications).
clientDoc = new ReportClientDocument();
// Open report
clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
// Store the report document in session
session.setAttribute(reportName, clientDoc);
// ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************
// Create the CrystalReportViewer object
CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
// set the reportsource property of the viewer
IReportSource reportSource = clientDoc.getReportSource();
crystalReportPageViewer.setReportSource(reportSource);
// set viewer attributes
crystalReportPageViewer.setOwnPage(true);
crystalReportPageViewer.setOwnForm(true);
// Apply the viewer preference attributes
// Process the report
crystalReportPageViewer.processHttpRequest(request, response, application, null);
// ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************
} catch (ReportSDKExceptionBase e) {
out.println(e);
%>
Thanks
ArnoldAccording to the release notes, for the JRCHelperSample to compile, you must set the target runtime for the project.
To do this, either create a project from scratch that uses the Tomcat 5.5 target runtime, or go to the properties menu and ensure that the target runtime is set to the application server you will be using.
Maybe you are looking for
-
Why "Modify itab index sy-tabix." makes internal table content blank?
We have an internal table itab which looks like to have the following content: A---B---C 1----3---- 2----2---- We would like to get the column C value in this internal table itab by summing Column A and Column B, and then fill C column values into th
-
Request.getParameter in jsp
Hi! in my jsp code , i am reading a value from select box and submitting the form to a jsp page. My jsp reads the selected value of the select box and displays some values. This seems working for me as i am using request.getParamater("my_selectbox_na
-
Text Shifting Up in PDF from HTML
We create our newsletter in HTML and then convert the HTML to a PDF to provide our readers with an easy method of sending it to others or printing it. I know this is far from ideal, but it's what the small nonprofit I work for does. We made some chan
-
Mail error msg - can't open Mail program.
When I click on the Mail icon I get an error message that reads (in part) "...Mail cannot update your mailboxes because your home directory is full." I've run Disk Utility permissions repair, Disk Warrior, and Tech Tools 4. I've restarted the compute
-
I installed windows XP using bootcamp. There is no bootcamp icon in the control panel. How do I get back to OSX?