Help!Net8 config exception
I installed the form 6i and report 6i in a P4 pc with win98 2nd edition. When i tried to use the net8 easy config to connect to another machine (win2k+oracle 8.1.6ee), the net8 crashed: the jrew.exe brings on the memeory page error.
does anyboy know how to deal with it?
any suggestion would be greatly appreciated!!!
thanks advanced
ynliuwq
Go to Metalink and look at note 120529.996
Oracle does not support all the products on the Pentium 4 plantform yet.
You do not have to use the Easy config program. You can modify the tnsnames.ora file your self. The Easy config is just a GUI tool that helps you modify the file.
The file locations is normally
$ORACLE_HOME\NET80\ADMIN for Net8
OR
$ORACLE_HOME\NETWORK\ADMIN
null
Similar Messages
-
Net8 Config/Directory Server Problem
I have installed personnal 8i on my Windows 2000 Advanced Server box. I want to test it on this server only, don't want to do any networking, etc. How do I set up the Net8 config for no networking. Do I need to ?
I can get the listener set up and started, but do I need it ?
Every time I try to do anything, I get an error regarding "can't connect to a directory server" I have been trying to use the Net8 config ass't to set it, but can't get that working either. The server does have a host name and an IP address, but does'nt belong to a domain. I don't want to install active directory.
How can I get this to run "stand alone" ??
Thanks in advance for your help.
Greg StahlThe directory server reports all connections, requests and results in the logs/access file (under the instance directory).
All errors are reported in the logs/errors file.
Additional messages can be generated by changing the errorlog level and infolog levels via the Console, or via LDAP. Please refer to the Administration Guide and the Reference Manual for the details.
Regards,
Ludovic. -
Can somebody Pls Help 500 Servlet Exception:
I am rather new to java prog and have the following problem.
How do I resolve?All I knw is that the resource bundle is not been read.Where do i go from there.Help!!!
500 Servlet Exception
java.lang.NullPointerException
at ui.error__jsp._jspService(/SSO/ui/error.jsp:14)
at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
at com.caucho.jsp.Page.subservice(Page.java:485)
at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:179)
at com.caucho.server.http.Invocation.service(Invocation.java:288)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:132)
error.jsp contains the following:
<%@page language="java" session="false" import="com.infy.bbu.sso.common.SSOConstants, java.util.ResourceBundle, com.infy.bbu.sso.utils.SSOResourceManager, com.infy.bbu.sso.config.SSOConfig"%>
<%@ page contentType="text/html; charset=utf-8" %>
<%
String langCode = request.getParameter(SSOConstants.PARAM_LANG);
SSOResourceManager manager = new SSOResourceManager();
if(SSOConfig.isEmpty()) SSOConfig.loadConfig();
ResourceBundle rb = manager.getResourceBundle(application, SSOConfig.get(SSOConstants.SSO_RB_APP_NAME),langCode);
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title><%=rb.getString("SSO_ERROR_PAGE_TITLE")%></title>
<script type='text/javascript' src='javascripts/ssodomain.js'></script>
<script type='text/javascript' src='javascripts/SSOUIProperties_<%=langCode%>.js'></script>
<link rel="stylesheet" href="sso.css">
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="dummy" vspace="0" hspace="0">
<tr bgcolor="#000000">
<td height="22"><img src="images/adminbanner.jpg" width="353" height="52" vspace="0" hspace="0" border="0"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<h1> </h1>
</td>
<td>
<h1><br>
</h1>
<span class="tabletext"> <%= request.getParameter(SSOConstants.PARAM_ERROR_MSG)%><BR>
<BR><a href="INFENG/LoginPage.jsp?<%=SSOConstants.PARAM_LANG%>=<%=langCode%>">Login</a>
</span></td>
</tr>
</table>
</body>
</html>
at com.caucho.server.http.ServletServer.serviceTop(ServletServer.java:937)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:213)
at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:158)
at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
at java.lang.Thread.run(Thread.java:534)
Resin 2.0.5 (built Fri Jan 11 08:29:05 PST 2002)
line 14 is in bold.sorry about that.It's just that I need to resolve
this problem and need whatever help I can get.No. That is no reason for you to multipost.
Do try and think about others sometimes. I mean really. Are you paying for support from this site? No. Then just be fucking patient please. -
Urgent Help Req.: Exception=ORABPEL-11162 Error while reading native data
Hi All,
I am getting below error: Exception=ORABPEL-11162
Error while reading native data.
[Line=6, Col=7|http://forums.oracle.com/forums/] Not enough data available in the input, when trying to read data of length "22" for "element with name PurOrderNum" from the specified position, using "style" as "fixedLength" and "length" as "22".
Ensure that there is enough data from the specified position in the input.
Let me also give you the brief scenario of what I am trying to achieve.
INTERFACE FUNCTIONING:_
I have an interface which reads the records in a file in a chunk through ChunkRead adapter and and after one successful reading if chunk it calls the DB adapter to insert the records in the table.
Now these records are committed and next chunk is read and the process goes on till all the records are read.
After this the API is called which does the processing of these records.
Inserting records in the DB is a XA transaction which means if anything goes wrong while inserting the data, the records which are added earlier are rolled back.
ISSUE:_
Now the issue comes when I do the negative testing. Since my file is based on fixed length schema., I change the length of last record from 15 to 13. (say total are 10 records)
Now what happens is when chunkread tries to read the record of 15 length it gets only 13 characters and hence ignores the records.
But the chunkread reads all other 9 records correctly and sends this to DB adapter which now inserts them correctly in the DB.
But being a global transaction I want that if any record is missing from DB in comparison to those in file then whole transaction should roll back.
So I am unable to make this whole process as global transaction. This is because the ChunkRead adapter inspite of detecting the error doesn’t throw it back.
Moreover if this problem occurs in say next chunk then also I am unable to find out how to rollback the whole transaction. Because the first chunk was correct.
So basically two concerns are there:+
How to detect that chunkread adapter has missed one record?+
Secondly, If it’s detected then how should I rollback the transaction that caused earlier records to enter into database?+
Please let me know if anyone has faced this issue earlyer and how it got resolved. Any pointers regarding this would be of great help.
Also attached is the chunkread log for reference.
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-10-06T09:23:58.466-04:00</TSTZ_ORIGINATING>
<COMPONENT_ID>tip</COMPONENT_ID>
<MSG_TYPE TYPE="TRACE"></MSG_TYPE>
<MSG_LEVEL>16</MSG_LEVEL>
<HOST_ID>usmlrh01.xyz.com</HOST_ID>
<HOST_NWADDR>192.168.245.39</HOST_NWADDR>
<MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
<THREAD_ID>57</THREAD_ID>
<USER_ID>orasoa</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>192.168.245.39:29832:1223297491683:44</UNIQUE_ID><SEQ>130</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>JCA: FileRejector::rejectTextualMessage errList=[oracle.tip.pc.services.translation.xlators.nxsd.ErrorList@a5213b]</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-10-06T09:23:58.466-04:00</TSTZ_ORIGINATING>
<COMPONENT_ID>tip</COMPONENT_ID>
<MSG_TYPE TYPE="TRACE"></MSG_TYPE>
<MSG_LEVEL>16</MSG_LEVEL>
<HOST_ID>usmlrh01.xyz.com</HOST_ID>
<HOST_NWADDR>192.168.245.39</HOST_NWADDR>
<MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
<THREAD_ID>57</THREAD_ID>
<USER_ID>orasoa</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>192.168.245.39:29832:1223297491683:44</UNIQUE_ID><SEQ>130</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>JCA: FileRejector::rejectTextualMessage badCount=[1]</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-10-06T09:23:58.467-04:00</TSTZ_ORIGINATING>
<COMPONENT_ID>tip</COMPONENT_ID>
<MSG_TYPE TYPE="TRACE"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>usmlrh01.xyz.com</HOST_ID>
<HOST_NWADDR>192.168.245.39</HOST_NWADDR>
<MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
<THREAD_ID>57</THREAD_ID>
<USER_ID>orasoa</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>192.168.245.39:29832:1223297491683:44</UNIQUE_ID><SEQ>130</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>JCA: Rejecting message fileName=/rh01/s01/n01/Distributions/B2B/Gentran/In/855/Test.txt, startLine=4, startColumn=1, endLine=-1, endCol=-1, Exception=ORABPEL-11162
Error while reading native data.
[Line=6, Col=7] Not enough data available in the input, when trying to read data of length "22" for "element with name PurOrderNum" from the specified position, using "style" as "fixedLength" and "length" as "22".
Ensure that there is enough data from the specified position in the input.
}</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
PFB the version details :
SOA suite version : 10.1.3.3.1 and JDEV : 10.1.3.3
Edited by: SOA Team on Oct 6, 2008 10:48 PMJust a thought, you could set the terminator for the last field as {eol} instead of length, this means that it should read the last field regardless of the length.
Depending on the logic of Db adapter the error could be traped due to incorrect length.
If the file starts each row with a constant(s), e.g. 01 then you can terminate the previous line on that, this is the better option but relys on the file format.
The other option is a little thing call compensation, ouch. Basically this allows you to back out commited rows but you have to provide all the logic, it is generally something people avoid because of the complexity.
cheers
James -
[Help] Weblogic throws exception under load testing
Hello All,
I have developed an application using struts 1.1 framework and deployed
it on weblogic 8.1. The application works fine. But when we load test
the application, weblogic throws an exception. I am not able to
understand why is weblogic throwing this exception. The exception
doesn't originate from my code
I am using struts 1.1 on BEA weblogic 8.1 on HP-UX 11i.
Please help me ... I will be very gratefull for your help.
Here is the stack trace :
<Jan 15, 2004 10:02:28 PM IST> <Error> <HTTP> <BEA-101020>
<[ServletContext(id=28318025,name=testWebApp,context-path=/testWebApp)]
Servlet failed with Exception java.lang.NullPointerException
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvle
tStubImpl.java:1053)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java
:387)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java
:305)
at
weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(Reques
tDis
patcherImpl.java:382)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bjec
t.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatche
rImp
l.java:286)
at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.jav
a:10
69)
at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProc
esso
r.java:274)
at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestPr
oces
sor.java:455)
at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Tiles
Requ
estProcessor.java:320)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
279)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvle
tStubImpl.java:1053)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java
:387)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java
:305)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(W
ebAppServletContext.java:6310)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bjec
t.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etCo
ntext.java:3622)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java
:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Regards,
Abhishek.Hello All,
I have developed an application using struts 1.1 framework and deployed
it on weblogic 8.1. The application works fine. But when we load test
the application, weblogic throws an exception. I am not able to
understand why is weblogic throwing this exception. The exception
doesn't originate from my code
I am using struts 1.1 on BEA weblogic 8.1 on HP-UX 11i.
Please help me ... I will be very gratefull for your help.
Here is the stack trace :
<Jan 15, 2004 10:02:28 PM IST> <Error> <HTTP> <BEA-101020>
<[ServletContext(id=28318025,name=testWebApp,context-path=/testWebApp)]
Servlet failed with Exception java.lang.NullPointerException
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvle
tStubImpl.java:1053)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java
:387)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java
:305)
at
weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(Reques
tDis
patcherImpl.java:382)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bjec
t.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatche
rImp
l.java:286)
at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.jav
a:10
69)
at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProc
esso
r.java:274)
at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestPr
oces
sor.java:455)
at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Tiles
Requ
estProcessor.java:320)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
279)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvle
tStubImpl.java:1053)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java
:387)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java
:305)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(W
ebAppServletContext.java:6310)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bjec
t.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etCo
ntext.java:3622)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java
:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Regards,
Abhishek. -
Net8 Config failure after installing Oracle 8.1.7 on AIX 4.3.3
Failure on the installed step Net8 Configuration, the message on the Installed log "installAction.log" is :
Starting to execute optional autolaunch configuration tools
Launched configuration tool Net8 Configuration Assistant
Command which is being spawned is /oracle/app/oracle/product/8.1.7/JRE/bin/jre -Duser.dir=/oracle/app/oracle/product/8.1.7/network/jlib -classpath /oracle/app/oracle/product/8.1.7/JRE/lib/i18n.jar:/oracle/app/oracle/product/8.1.7/JRE/lib/rt.jar:/oracle/app/oracle/product/8.1.7/jlib/ewt-3_3_6.jar:/oracle/app/oracle/product/8.1.7/jlib/netcfg.jar:/oracle/app/oracle/product/8.1.7/network/jlib/netcam.jar:/oracle/app/oracle/product/8.1.7/network/jlib/netca.jar:/oracle/app/oracle/product/8.1.7/jlib/help-3_1_8.jar:/oracle/app/oracle/product/8.1.7/jlib/ice-4_06_6.jar:/oracle/app/oracle/product/8.1.7/jlib/share-1_0_8.jar:/oracle/app/oracle/product/8.1.7/jlib/swingall-1_1_1.jar:/oracle/app/oracle/product/8.1.7/network/tools:/oracle/app/oracle/product/8.1.7/jlib/opsclust.jar oracle.net.ca.NetCA /orahome /oracle/app/oracle/product/8.1.7 /instype custom /inscomp client,net8,javavm,server /insprtcl tcp /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile /oracle/app/oracle/product/8.1.7/network/install/netca_typ.rsp
Configuration tool Net8 Configuration Assistant was canceled
Result code for launching of configuration tool is -1
Launched configuration tool Oracle Database Configuration Assistant
Command which is being spawned is /oracle/app/oracle/product/8.1.7/bin/dbassist -responseFile NO_VALUE -createtype custom -numusers NO_VALUE -apptype NO_VALUE -cartridges NO_VALUE -options NO_VALUE -demos NO_VALUE -seedloc /oracle/app/oracle/product/8.1.7/starterdb -sid orcl -orabase /oracle/app/oracle/product/8.1.7 -dbloc /oradata -clususer NO_VALUE -cluspswd *Protected value, not to be logged* -nodeinfo NO_VALUE -gdbName orcl
Configuration tool Oracle Database Configuration Assistant failed
Result code for launching of configuration tool is 1
Error :*** Alert: One or more tools have failed. It is recommended but not required that these tools succeed for this installation. You can now select these tools, read its details to examine why they failed, fix those problems, and retry them. Or, you can click "Next" to continue. ***
User selected: Yes/OK
I start "Net8 Configuration Assistant" manually and get the following error meesage :
$ netasst
Error loading native library: libnjni8.so.
java.lang.UnsatisfiedLinkError: jniGetOracleHome
at
at oracle.net.common.NetGetEnv.getOracleHome(Compiled Code)
at oracle.net.asst.container.NetUtils.getImageDirectory(Compiled Code)
at oracle.net.asst.container.NetApplication.init(Compiled Code)
at oracle.sysman.emSDK.client.appContainer.WebApplication.main(Compiled
Code)
Can anybody tell me what is wrong with it?This is the same problem that we have encountered installing 8.1.7 clients on AIX 4.3.3 and 5.2. However I did successfully install it on one AIX 4.3.3 machine. Comparing the oracle logs there are no differences in the successful and unsuccessful installs until the point netasst hangs. All the machines are definitely set to run the 32 bit kernel.
-
Urgent help with an exception !!
Hi I Use a java class to calculate some data.
This java class is called from a jsp page and first I create a Object from the class (and the constructor method is been called). In this constructor I recive (from the jsp page) a String[][] and other diferent values, but in this method I "copy" the String[][] I have passed to a Double [][] variable (defined like global) and I obtain an exception when the Sting[][] variable contains null vales. But I think I am treating that subject:
JAVA CLASS:
public class Functions_AEMult{
Double [][] datosA;
public Functions_AEMult( String [][] TablaFinal, String Frecuencia, String [] ValoresMult, HttpSession session)
datosA = new Double[TablaFinal.length][2];
for(int i = 0;i< TablaFinal.length;i++)
if(null != TablaFinal[0])
datosA [i][0] = new Double(TablaFinal[i][0]);
if(null != TablaFinal[i][1])
datosA [i][1] = new Double(TablaFinal[i][1]);
The exception It gives me: ( In "[i]Functions_AEMult.java:884" the line is datosA [1] = new Double(TablaFinal[i][(j+1)]); )
type Informe de Excepci�n
mensaje
descripci�n El servidor encontr� un error interno () que hizo que no pudiera rellenar este requerimiento.
excepci�n
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
causa ra�z
java.lang.NullPointerException
java.lang.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:980)
java.lang.Double.valueOf(Double.java:202)
java.lang.Double.<init>(Double.java:277)
analisisEsp.Functions_AEMult.<init>(Functions_AEMult.java:884)
org.apache.jsp.admin.PaleoPlot.show_jsp._jspService(show_jsp.java:928)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
nota La traza completa de la causa de este error se encuentra en los archivos de diario de Apache Tomcat/5.0.28.Some body can help me??
thanks very muchIf you had some code comparing the entries for the String array to null, I would agree with you. But you don't. So you are calling new Double(null) and throwing that exception.Thanks for ur answer DrClap.
when I do...
if(null != TablaFinal[0])
datosA [i][0] = new Double(TablaFinal[i][0]);
if(null != TablaFinal[i][1])
datosA [i][1] = new Double(TablaFinal[i][1]);
I am comparing the entries for the String array to null, No?
Thanks -
Faces config exception - Can't get value from value binding expression:
the menuItem_Department shown property takes value from userRight's session bean object userDetail.
class UserRights{
public boolean mDept = false;
public boolean loggedIn = false;
public boolean admin = false;
//accessors
}now, the shown property picks correct value for #{userDetail.admin} but gives erros on this. any idea how to get around this exception:
Managedbean menuItem_Department could not be created Can't get value from value binding expression: '#{userDetail.mDept}'.
javax.faces.FacesException: Can't get value from value binding expression: '#{userDetail.mDept}' at com.sun.faces.config.ManagedBeanFactory.evaluateValueBindingGet(ManagedBeanFactory.java:903)
at com.sun.faces.config.ManagedBeanFactory.setPropertiesIntoBean(ManagedBeanFactory.java:547)
at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:233)
at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:256)
.. stack tracepointers appreciated.
reagrds
Rabswell, i figured out the problem so thought to share with all aswell.
all i changed was the name of the variable from mDept to dept.
java beans has its own set of rules and naming conventions which i have not read much about but this problem had to do sumthing with that!
just changing the name simply works fine! -
Help:Extension Filters exception
Hi All,
A)I have included the detailed description of the steps followed.As a part of my new assignment i have been asked to upgrade to Tomahawk1.1.3.I am Websphere RAD to build my application.
The application uses custom components <t:inputCalendar> and <tanelTabbedPane>.The application worked properly with Tomahawk1.1.1 but once i have upgraded to Tomahawk1.1.3 i am getting the error message "This portlet is unavailable".
Please note i have used jsf-api.jar(version 1.1) and jsf-impl.jar and not myfaces-all.jar(myfaces-api.jar and myfaces-impl.jar)
B)I have also configured the extension filter in my web.xml file.
<filter>
<filter-name>extensionsFilter</filter-name>
<filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
<init-param>
<param-name>uploadMaxFileSize</param-name>
<param-value>100m</param-value>
<description>Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB</description>
</init-param>
<init-param>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
<description>Set the threshold size - files below this limit are stored in memory, files above this limit are stored on disk.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB</description>
</init-param>
</filter>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
C)But when i run the application i get the exception in the console as:
Nested Exception is java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html.
Please help me trouble shooting.What additional configurations do i need to make this application run.Hi,
Thanks for your reply.
But if i use the servlet declaration the i get the same error:
Caused by: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html
Are there any other alteratives.Is there a problem because i am using jsf-api.jar and jsf-impl.jar instead of myfaces-api and myfaces-impl.jar.
You suggestions are always welcome.
Regards,
Pals -
Help with nullPointer exception
Hi,
I would like some help identifying and error in the code below. Im getting a nullPointer exception at the location specified in the code. Im adding elements to a tableModel. What puzzles me is that the strings I add to the model does contain values. And it does not complain about adding them. Perhaps this is just a simple error, and you more experinced programmars are probably loughing at me ;)
void getTests() {
String[] idNummer = getDirectory(); //gets filenames from a directory
for (int i = 0; i < idNummer.length; i++) {
idNummer[i] = idNummer.substring(idNummer[i].lastIndexOf(dataSeparetor) + 1, idNummer[i].length());
// just sorts out specific parts of the filenames
for (int i = 0; i < idNummer.length; i ++) {
System.out.println(idNummer[i]); //I print the sorted filenames and they not null
testModel.addElement(idNummer[i]); //I add them to the table model
testNr.setModel(testModel); //and gets a nullPoint exception here??I'm sorry, you mean testNr. Don't pay any attention to the above post. it is also declared directly in the class:
public class GUI extends JFrame implements EventListener {
JList testModel;
}and creates an instance here:
public GUI {
testModel = new DefaultListModel();
getTests();
testNr = new JList(testModel);
testNr.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
testNr.setLayoutOrientation(JList.VERTICAL);
testNr.setPreferredSize(new Dimension(80, 80));
testNr.addListSelectionListener(new ListSelectionListener() {
public void valueChanged(ListSelectionEvent event) {
leftPanel.add(testNr, BorderLayout.EAST);
} -
Easy net8 Config Problem in Pentium4 Machine
I am using D2K 6i on P4.I am not able to configure net8 easy config.when i click that option there is no action.
So that i amnot able to server database.
any Ideas?
CyrilYou can modify script file "..\orant\NET80\ADMIN\tnsnames.ora"
LOCAL.WORLD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = DB Server name)(PORT = 1521))
(CONNECT_DATA = (SID = ORCL))
HAFEEZ -
Please review/help WPA config
It seems to be setup ok for 802.1x with WEP re-keying but we are not being assigned an IP address after connection is established. We have confirmed EAP-TLS works through our Radius box using a different AP, the Linksys WRT54G so it seems to be a configuration issue.
We need to setup:
802.1x with WEP Re-keying
802.1x with MD5 authentication. (We have the Radius remote access policy setup for this.)
WPA with 802.1X authentication, 802.1X re-keying
Cisco1200ap#show running-config
Building configuration...
Current configuration : 2390 bytes
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
hostname Cisco1200ap
enable secret 5
username xxxx password xxxx
ip subnet-zero
ip domain name bbn.com
ip name-server 192.168.2.200
aaa new-model
aaa group server radius rad_eap
aaa group server radius rad_mac
aaa group server radius rad_acct
aaa group server radius rad_admin
aaa group server tacacs+ tac_admin
aaa group server radius rad_pmip
aaa group server radius dummy
aaa authentication login eap_methods group rad_eap
aaa authentication login mac_methods local
aaa authorization exec default local
aaa authorization ipmobile default group rad_pmip
aaa accounting network acct_methods start-stop group rad_acct
aaa session-id common
bridge irb
interface Dot11Radio0
no ip address
no ip route-cache
encryption key 1 size 128bit 7
xxxxx transmit-key
encryption key 2 size 128bit 7
xxxxxxxx
encryption key 3 size 128bit 7
xxxxxx
encryption key 4 size 128bit 7
xxxxxx
encryption mode ciphers wep128
broadcast-key change 60
ssid tsunami
authentication open
authentication shared
guest-mode
speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0
rts threshold 2312
station-role root
no cdp enable
bridge-group 1
bridge-group 1 subscriber-loop-control
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
bridge-group 1 spanning-disabled
interface FastEthernet0
no ip address
no ip route-cache
duplex auto
speed auto
bridge-group 1
no bridge-group 1 source-learning
bridge-group 1 spanning-disabled
interface BVI1
ip address 192.168.2.3 255.255.255.0
no ip route-cache
ip http server
ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag/ivory/1100
ip radius source-interface BVI1
radius-server local
nas 192.168.2.200 key 7 02040655
radius-server host 192.168.2.200 auth-port 1812 acct-port 1646 key 7 xxxxxxxx
radius-server attribute 32 include-in-access-req format %h
radius-server authorization permit missing Service-Type
radius-server vsa send accounting
bridge 1 route ipThis document might give you a better idea,
http://www.cisco.com/en/US/partner/products/hw/wireless/ps4570/products_configuration_example09186a00801c40b6.shtml -
Help! NameAlreadyBound Exception, JNDI name conflict
Hi, I am using EJB 3.0 and I really have no idea on using JNDI. I read several queries and answers on this problem but I dont know how to solve it. When i go to ejb-jar.xml, I see very little information. Please help! Urgently needed. Any ideas will do, thanks!
EJB5090: Exception in creating EJB container [javax.naming.NameAlreadyBoundException: Use rebind to override]
appId=ESCM moduleName=ESCM-ejb_jar ejbName=SystemfunctionBean
LDR5012: Jndi name conflict found in [ESCM]. Jndi name [AHL.SystemfunctionRemote] for bean [SystemfunctionBean] is already in use.
LDR5013: Naming exception while creating EJB container:
javax.naming.NameAlreadyBoundException: Use rebind to override
at com.sun.enterprise.naming.TransientContext.doBindOrRebind(TransientContext.java:279)
at com.sun.enterprise.naming.TransientContext.bind(TransientContext.java:219)
at com.sun.enterprise.naming.SerialContextProviderImpl.bind(SerialContextProviderImpl.java:98)
at com.sun.enterprise.naming.LocalSerialContextProviderImpl.bind(LocalSerialContextProviderImpl.java:77)
at com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:372)
at com.sun.enterprise.naming.SerialContext.bind(SerialContext.java:387)
at javax.naming.InitialContext.bind(InitialContext.java:363)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:215)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:168)
at com.sun.ejb.containers.BaseContainer.initializeHome(BaseContainer.java:948)
at com.sun.ejb.containers.StatelessSessionContainer.initializeHome(StatelessSessionContainer.java:220)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:671)
at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:490)
at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:184)
at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:113)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:322)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:216)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:189)
at com.sun.enterprise.server.ApplicationManager.applicationEnabled(ApplicationManager.java:754)
at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:914)
at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:892)
at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:445)
at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
at com.sun.enterprise.admin.server.core.AdminNotificationHelper.sendNotification(AdminNotificationHelper.java:128)
at com.sun.enterprise.admin.server.core.ConfigInterceptor.postInvoke(ConfigInterceptor.java:109)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:97)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:56)
at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:142)
at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:109)
at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:174)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
CORE5021: Application NOT loaded: [ESCM]12/May/2004:16:59:13] SEVERE ( 4516): LDR5012: Jndi name conflict found in [billerCenter_EJBModule]. Jndi name [ejb/Billercenter] for bean [billerCenter] is already in use.
If you look at your deployment descriptor which should be ejb-jar.xml you s hould have more than 1 jndi entries which are identical for more than 1 ejbs .. -
Help identifiying this exception
Hello.
I've been working on a project for a while now, that deals with displaying a set of JPGs from a server, then swapping those images with new images, and displaying those. However, I just came across an exception error that I have never got before and have no clue where to start looking. This is exactly what it says:
Java(TM) Plug-in: Version 1.4.2_01
Using JRE version 1.4.2_01 Java HotSpot(TM) Client VM
Uncaught error fetching image:
java.lang.NullPointerException
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.awt.image.URLImageSource.getDecoder(Unknown Source)
at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
at sun.awt.image.ImageFetcher.run(Unknown Source)Any ideas? Within the function that loads it and everything, I would call gc() to help my memory managemtn. I first thought that perhaps the gc() was deleting it before it would show it. Yet, I took it out, and it still shows up.
Thanks for ANY help or suggestions on where I could start lookingOk, so I have an array of images called img[]. I do the following to add an image to the array:
img[i] = getImage(getCodeBase(), images[current_img+i]);
tracker.addImage(img,0);
so, I added a few lines to check if it was null, like you said
if(img[i] != null) {
g.drawImage(img, 0, 35, this);
Is that what you were referring to, or were you suggesting a different method. And thanks for all the tips guys! Its giving me someplace to start with. -
Help Regarding OutOfMemoryError Exception
Hello,
I am trying to write a small program, which downloads all images returned by a google image search. First when I give a query like "tiger" to search, it downloads the images numbering till 684. The download of images count start from 0. My code proceeds till 684 (the 684 images are downloaded and saved on my desktop). But here the OutOfMemoryError is being thrown my JVM
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
But still there are images that have to be saved by the my program.
Can any please help how to overcome this exception.
Thank you,
ChaitanyaThx a lot for the response. Can you please eloborate the explanation for "downloading the image a bit and then saving it to disk." Below I am providing the code which downloads the image when URL is given.
try{
imageio = ImageIO.read(new URL(allLinks[image]));
image_title = filename_tosave + image + "." + image_setA[image];
img = ImageIO.write(imageio,image_setA[image], new File(image_title)); //intelligent and saves in format it finds.
// image_title = "google_image" + image + ".jpg";
//img = ImageIO.write(imageio,"jpg", new File(image_title)); //saves all formats into only jpg..
}catch(Exception e){
System.out.println("The exception is: " + e + " " +allLinks[image]);
if(img){
System.out.println("The image " + image_title + " has been saved to local disk succesfully.");
allLinks[image] is an array which contains all URL and the above code runs under a for loop.
Please explain how to change the above code as per your explanation.
Thanks in advance,
Chaitanya
Maybe you are looking for
-
IMAP account "standard folders"
I've been following another Mail thread about IMAP folders that highlights my own confusion about the expected behavior while creating & maintaining an IMAP account. Background: I created an AOL IMAP account in Mail, using the settings I found online
-
Error Message after updating to 7.2
Just installed iTunes 7.2 and I get an error message: An unhandled win32 exception occurred in iTunes.ese [3568] Just-In-Time debugging this exception error with the following error: No installed debugger has Just-In-Time debugging enabled. In Visual
-
Is there a way to import photos sent to messages?
Is there a way to import photos sent to an IPhone by text message ?
-
How to add file type fiter in FileUpload component in Java Web Dynpro
Hi All, In FileUpload UI, i want to set file type filter, for example as *.PDF, *.JPG, is that possibel in Java WebDynpro? Thanks a lot! Huang Jia
-
How to determine the if I have iPad 2
How to determine the if I have iPad 2