Is AuthenticatorImpl(RequiredModelMBean base) deprecated in WLS8.1?
Hi ,
I’m implementing custom SSPI ( Authenticator,IdentiotyuAssertor, Authorizer,RoleMapper)
in weblogic 8.1. The WebLogicMBeanMaker generated 3 files from the mbean definition
files (i.e. .xml file).
The files generated are
· SampleAuthenticatorImpl.java
· SampleAuthenticatorMBean.java
· SampleAuthenticatorMBI.java
The same generated for the other providers (Authorizer,IdentityAsserter, RoleMapper)
also.
When I look into the SampleAuthenticatorImpl there were two constructors
1. public SampleAuthenticatorImpl (weblogic.management.commo.CommoMBeanInstance
base)
throws MBeanException
2. public SampleAuthenticatorImpl
(javax.management.modelmbean.RequiredModelMBean base)
throws MBeanException
And it says SampleAuthenticatorImpl (javax.management.modelmbean.RequiredModelMBean
base) method is deprecated and Replaced by SampleAuthenticatorImpl (weblogic.management.commo.CommoMBeanInstance
base).
When I look into the Weblogic server 8.1 API. There is only one constructor present
(i.e. AuthenticatorImpl (RequiredModelMBean base)) and this is not deprecated.
And it’s the same for other providers also.
Note: In Weblogic 7.0 SSPI there was only one constructor for each provider. (ex.
AuthenticatorImpl (RequiredModelMBean base))
This is the error message I got when I run the weblogic server.
####<Nov 13, 2003 4:59:37 PM GMT+05:30> <Critical> <WebLogicServer> <sathyams>
<examplesServer> <main> <<WLS Kernel>> <> <BEA-000364> <Server failed during initialization.
Exception:javax.management.RuntimeOperationsException: RuntimeException thrown
by the invoke method of the Dynamic MBean
java.lang.ClassCastException
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1166)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:765)
at weblogic.management.commo.WebLogicMBeanLoader.processLoading(WebLogicMBeanLoader.java:149)
at weblogic.management.commo.WebLogicMBeanLoader.doLoad(WebLogicMBeanLoader.java:205)
at weblogic.management.commo.WebLogicMBeanLoader.loadMBeans(WebLogicMBeanLoader.java:216)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.getDefaultRealm(SecurityServiceManagerDelegateImpl.java:335)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealms(SecurityServiceManagerDelegateImpl.java:723)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDelegateImpl.java:873)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:719)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:820)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342)
at weblogic.Server.main(Server.java:32)
Could some one tell me how to go about this problem? Waiting for the early reply.
Best regards,
Sathya.
"Sathya" <[email protected]> wrote in message
news:[email protected]...
>
Hi ,
I'm implementing custom SSPI ( Authenticator,IdentiotyuAssertor,Authorizer,RoleMapper)
in weblogic 8.1. The WebLogicMBeanMaker generated 3 files from the mbeandefinition
files (i.e. .xml file).
The files generated are
· SampleAuthenticatorImpl.java
· SampleAuthenticatorMBean.java
· SampleAuthenticatorMBI.java
The same generated for the other providers (Authorizer,IdentityAsserter,RoleMapper)
also.
When I look into the SampleAuthenticatorImpl there were two constructors
1. public SampleAuthenticatorImpl(weblogic.management.commo.CommoMBeanInstance
base)
throws MBeanException
2. public SampleAuthenticatorImpl
(javax.management.modelmbean.RequiredModelMBean base)
throws MBeanException
And it says SampleAuthenticatorImpl(javax.management.modelmbean.RequiredModelMBean
base) method is deprecated and Replaced by SampleAuthenticatorImpl(weblogic.management.commo.CommoMBeanInstance
base).
When I look into the Weblogic server 8.1 API. There is only oneconstructor present
(i.e. AuthenticatorImpl (RequiredModelMBean base)) and this is notdeprecated.
And it's the same for other providers also.
Note: In Weblogic 7.0 SSPI there was only one constructor for eachprovider. (ex.
AuthenticatorImpl (RequiredModelMBean base))
This is the error message I got when I run the weblogic server.
####<Nov 13, 2003 4:59:37 PM GMT+05:30> <Critical> <WebLogicServer><sathyams>
<examplesServer> <main> <<WLS Kernel>> <> <BEA-000364> <Server failedduring initialization.
Exception:javax.management.RuntimeOperationsException: RuntimeExceptionthrown
by the invoke method of the Dynamic MBean
java.lang.ClassCastException
atjavax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.jav
a:1166)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
atweblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerI
mpl.java:765)
atweblogic.management.commo.WebLogicMBeanLoader.processLoading(WebLogicMBeanLo
ader.java:149)
atweblogic.management.commo.WebLogicMBeanLoader.doLoad(WebLogicMBeanLoader.jav
a:205)
atweblogic.management.commo.WebLogicMBeanLoader.loadMBeans(WebLogicMBeanLoader
.java:216)
atweblogic.security.service.SecurityServiceManagerDelegateImpl.getDefaultRealm
(SecurityServiceManagerDelegateImpl.java:335)
atweblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealm
s(SecurityServiceManagerDelegateImpl.java:723)
atweblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(Secu
rityServiceManagerDelegateImpl.java:873)
atweblogic.security.service.SecurityServiceManager.initialize(SecurityServiceM
anager.java:719)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:820)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342)
at weblogic.Server.main(Server.java:32)
Could some one tell me how to go about this problem? Waiting for the earlyreply.
>
I would ask in the weblogic.developer.interest.management newsgroup. The OAM
team owns the commo mbean stuff.
Similar Messages
-
Masthead modification in NW 7.30
Hello,
I must to modify com.sap.portal.navigation.masthead in Portal 7.30; I did it in Portal 7.0 and it works, but I can not do it into Portal 7.30...
Steps:
- Download com.sap.portal.navigation.masthead sources from the server 7.30
- Import com.sap.portal.navigation.masthead.war into NWDS 7.30 (with the corresponding .ear creation)
- Modify portalapp.xml
Right now, I'm trying to deploy app, but the system gives me errors in .jsp files:
Can not find the tag library descriptor for "prt:taglib:tlframework" light_HeaderiView.jsp /diba.com.portal.navigation.masthead/WebContent/WEB-INF/jsp line 16 JSP Problem
Can not find the tag library descriptor for "prt:taglib:tlhtmlb" HeaderiView.jsp /diba.com.portal.navigation.masthead/WebContent/WEB-INF/jsp line 17 JSP Problem
componentRequest cannot be resolved LogInRedirect.jsp /diba.com.portal.navigation.masthead/WebContent/WEB-INF/jsp line 7 JSP Problem
ILAFService cannot be resolved HeaderiView.jsp /diba.com.portal.navigation.masthead/WebContent/WEB-INF/jsp line 228 JSP Problem
The errors becomes from the libraries, I guess... the system can't resolve:
<%@ page import = "java.util.ResourceBundle" %>
<%@ page import = "com.sapportals.portal.prt.service.laf.*" %>
<%@ page import = "com.sapportals.portal.prt.service.license.ILicenseService"%>
<%@ page import = "com.sapportals.admin.wizardframework.util.ILocaleListService"%>
<%@ page import = "com.sapportals.portal.navigation.*" %>
<%@ page import="com.sapportals.portal.pcd.gl.PcdAccess"%>
<%@ page import="com.sapportals.portal.pcd.gl.WriteProtectInfo"%>
<%@ taglib uri = "prt:taglib:tlhtmlb" prefix="hbj" %>
I tried to add some libraries, but I can not find the corresponding libraries... any idea??
Thanks!Hi
I am also trying to do the same and stuck while determining the required DCs. I could locate some of the DCs:
com.sapportals.htmlb (FRAMEWORK-EXT)
tc/epbc/prt/api (EP-BASIS-API)
tc/epbc/prt/lib/api (EP-BASIS-API)
tc/ep/admin/api (EP-RUNTIME)
tc/ep/navigation/api (EP-RUNTIME)
tc/epbc/ume/ep5/deprecated (EP-BASIS) --- (deprecated. Instead can use tc/kmc/wpc/wpcfacade - KMC-WPC)
tc/je/usermanagement/api (ENGINEFACADE)
However even after including these DCs, i am getting error for statement
<%@ page import = "com.sapportals.portal.prt.service.laf.*" %>
Have you resolved your issue? Can you tell me what DCs have you defined as required DCs??
thanks
Deepak -
Hi,
when I run this applet with deprection I get the following warnings, I have also got an error with the mouseDragged, How do I solve these. I hope the code isn't too long for you to understand.
macnero
javac -deprecation precess2.java
C:Java_Progs>javac -deprecation precess2.java
precess2.java:28: precess2 should be declared abstract; it does not define mouseDragged(java.awt.event.MouseEvent) in precess2
public class precess2 extends Applet implements Runnable, ActionListener, MouseListener, MouseMotionListener
^
precess2.java:97: warning: size() in java.awt.Component has been deprecated
d=size(); // method below.
^
precess2.java:154: warning: suspend() in java.lang.Thread has been deprecated
t.suspend();
^
precess2.java:158: warning: resume() in java.lang.Thread has been deprecated
t.resume();
^
precess2.java:162: warning: stop() in java.lang.Thread has been deprecated
t.stop();
^
1 error
4 warnings
import java.applet.Applet;
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.awt.geom.*;
public class precess2 extends Applet implements Runnable, ActionListener, MouseListener, MouseMotionListener
Dimension offDimension,d;
Image offImage;
Graphics offGraphics;
int tipLength=16;
int tipWidth=10;
int time=0;
int Hfield=20;
int mx=100;
int my=50;
int tip1x=100;
int tip1y=50;
int tip2x=100;
int tip2y=50;
int set=0;
double freq=(2.0*3.1415/2000.);
double damp=0.0001;
double sinPhi=0;
double cosPhi=1;
Thread t;
Button b1, b2, b3, b4, b5, b6, b7;
int[] hArrowXpoints =
{100, 100+tipWidth/2, 100-tipWidth/2};
int[] hArrowYpoints = {50-Hfield,
50-Hfield+tipLength,
50-Hfield+tipLength};
int[] mArrowXpoints =
{100, 100+tipWidth/2, 100-tipWidth/2};
int[] mArrowYpoints = {50,
50+tipLength,
50+tipLength};
public void init()
setLayout(new BorderLayout(10,10));
Panel p1 = new Panel();
p1.setLayout(new GridLayout(7,1));
b1 = new Button("Increase H");
b2 = new Button("Decrease H");
b3 = new Button("More Damping");
b4 = new Button("Less Damping");
b5 = new Button("Pause");
b6 = new Button("Resume");
b7 = new Button("Finish");
p1.add(b1);
p1.add(b2);
p1.add(b3);
p1.add(b4);
p1.add(b5);
p1.add(b6);
p1.add(b7);
add("East", p1);
t=new Thread(this);
t.start();
addMouseListener(this);
addMouseMotionListener(this);
public void paint(Graphics g)
d=size();
update(g);
public void mouseDragged(MouseEvent e, int mDx, int mDy)
if(mDx<200)
time=0;
set=0;
sinPhi=(mDx-100)/Math.sqrt
((mDx-100)*(mDx-100)
+(150-mDy)*(150-mDy));
cosPhi=(150-mDy)/Math.sqrt
((mDx-100)*(mDx-100)
+(150-mDy)*(150-mDy));
repaint();
//return true;
public void mouseReleased(MouseEvent e, int mDx, int mDy)
set=1;
//return true;
public void actionListener(ActionEvent e, Object o)
if (o.equals("Increase H"))
freq = freq*1.1;
Hfield = Hfield+2;
else if (o.equals("Decrease H"))
freq = freq*0.9;
Hfield = Hfield-2;
else if (o.equals("More Damping"))
damp = damp*1.1;
else if (o.equals("Less Damping"))
damp = damp*0.9;
else if (o.equals("Pause"))
t.suspend();
else if (o.equals("Resume"))
t.resume();
else if (o.equals("Finish"))
t.stop();
hArrowYpoints[0] = 50-Hfield;
hArrowYpoints[1] = 50-Hfield+tipLength;
hArrowYpoints[2] = 50-Hfield+tipLength;
//return true;
public void run()
while(true)
int a = (int) (100*sinPhi*(Math.exp(time*damp*(-1)))*
(Math.cos(time*freq)));
int b = (int) (50*sinPhi*(Math.exp(time*damp*(-1)))*
(Math.sin(time*freq)));
mx= 100+a;
my= (int) (150-100*Math.sqrt(1-(sinPhi)*(sinPhi)*
Math.exp((-2)*time*damp))-b);
// Now calculate the vertices for the triangular vector tip
tip1x=mx+(int)(((100-mx)*tipLength+(tipWidth/2)*(my-150))/
Math.sqrt((my-150)*(my-150)+(mx-100)*(mx-100)));
tip2x=mx+(int)(((100-mx)*tipLength-(tipWidth/2)*(my-150))/
Math.sqrt((my-150)*(my-150)+(mx-100)*(mx-100)));
tip1y=my+(int)(((150-my)*tipLength-(tipWidth/2)*(mx-100))/
Math.sqrt((my-150)*(my-150)+(mx-100)*(mx-100)));
tip2y=my+(int)(((150-my)*tipLength+(tipWidth/2)*(mx-100))/
Math.sqrt((my-150)*(my-150)+(mx-100)*(mx-100)));
mArrowXpoints[0] = mx;
mArrowXpoints[1] = tip1x;
mArrowXpoints[2] = tip2x;
mArrowYpoints[0] = my;
mArrowYpoints[1] = tip1y;
mArrowYpoints[2] = tip2y;
if (set!=0)
repaint();
time=time+1;
public void update(Graphics g)
if((offGraphics ==null)
||(d.width !=offDimension.width)
|| (d.height != offDimension.height))
offDimension=d;
offImage=createImage(d.width, d.height);
offGraphics=offImage.getGraphics();
offGraphics.setColor(getBackground());
offGraphics.fillRect(0,0, d.width, d.height);
offGraphics.setColor(Color.blue);
offGraphics.drawLine(100, 150, 100, (50-Hfield));
offGraphics.fillPolygon(hArrowXpoints, hArrowYpoints, 3);
offGraphics.setColor(Color.red);
offGraphics.drawLine(100, 150, mx, my);
offGraphics.fillPolygon(mArrowXpoints, mArrowYpoints, 3);
if( mx > 90-tipWidth/2 && mx < 110+tipWidth/2
&& my < (int) (150-100*Math.sqrt(1-(sinPhi)*(sinPhi)*
Math.exp((-2)*time*damp))))
offGraphics.setColor(Color.blue);
offGraphics.drawLine(100, 150, 100, (50-Hfield));
offGraphics.fillPolygon(hArrowXpoints, hArrowYpoints, 3);
g.drawImage(offImage, 0, 0, this);
}I believe that interrupt replaces suspend... though interrupt, from what I have read, behaves more like a suggestion.... Although I could be way way off base... Again, my personal choice is to have some method (stop() can't be used... kill() die() done() work!) that sets the "running" boolean to false. This breaks the while loop...
So a
while(true)
becomes
while(running)
and
die()
{running=false;}
re-starting is actually re-threading... ie, creating a new Thread variable (or re-assigning the old one) and starting it.
if you had a "int count" that was 30 when 'stopped'.... rethreading
(ie...
if (t==null){t=new Thread(this); t.start();}
SHOULD keep int at 30 when it starts, assuming that it is not 0'd out at the beginning..
So...
while(running)
count++;
Would start where it was topped the next time rethreaded, because the Object still has a variable count with the value of 30...
~Dave -
Problems with Document base that does not exist
I'm using Tomcat to run a Java servlet. Within my "Output - Apache Tomcat 6.0.14" window, I see the following.
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14\bin\jupload.4.sourceforge.net\build\web does not exist or is not a readable directory
This path no longer exists and it is not part of the project. How do you fix the problem? I did a search of "jupload.4"; nothing was found. I looked through some web.xml and context.xml file in the project. The path is not there.
Here is the entire window content.
Using CATALINA_BASE: C:\Documents and Settings\esharris\.netbeans\6.0\apache-tomcat-6.0.14_base
Using CATALINA_HOME: C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14
Using CATALINA_TMPDIR: C:\Documents and Settings\esharris\.netbeans\6.0\apache-tomcat-6.0.14_base\temp
Using JRE_HOME: C:\Program Files\Java\jdk1.6.0_04
Feb 19, 2008 9:45:28 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_04\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\product\10.2.0\client_2\BIN;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Perl\bin;c:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Support Tools\;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Rational\common;C:\Program Files\QuickTime\QTSystem\
Feb 19, 2008 9:45:29 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8084
Feb 19, 2008 9:45:29 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3208 ms
Feb 19, 2008 9:45:29 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 19, 2008 9:45:29 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
Feb 19, 2008 9:45:32 AM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14\bin\jupload.4.sourceforge.net\build\web does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:141)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3944)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4113)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Feb 19, 2008 9:45:32 AM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
Feb 19, 2008 9:45:32 AM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Feb 19, 2008 9:45:32 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [jupload.4.sourceforge.net] startup failed due to previous errors
Feb 19, 2008 9:45:32 AM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[jupload.4.sourceforge.net] has not been started
Feb 19, 2008 9:45:37 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8084
Feb 19, 2008 9:45:37 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Feb 19, 2008 9:45:37 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/99 config=null
Feb 19, 2008 9:45:37 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 8557 ms
Feb 19, 2008 9:45:47 AM edu.stanford.smi.protege.plugin.PluginUtilities findPluginsDirectory
WARNING: Plugins directory not found: C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14\bin\plugins
Feb 19, 2008 9:45:56 AM edu.stanford.smi.protegex.owl.repository.impl.LocalFolderRepository update
WARNING: [Local Folder Repository] The specified file must be a directory. (C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14\bin\plugins\edu.stanford.smi.protegex.owl)
Feb 19, 2008 9:45:56 AM edu.stanford.smi.protegex.owl.repository.util.RepositoryFileManager loadRepositoriesFromURI
WARNING: [Repository Manager] Could not find repository file: file:/C:/Program%20Files/Apache%20Software%20Foundation/Apache%20Tomcat%206.0.14/bin/RepositoryViewer/web/newspaperswc.repository
Feb 19, 2008 9:45:56 AM edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser loadTriples
INFO: Loading triples
Feb 19, 2008 9:45:56 AM edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser loadTriples
INFO: Start processing ontology: file:/C:/Program%20Files/Apache%20Software%20Foundation/Apache%20Tomcat%206.0.14/bin/RepositoryViewer/web/newspaperswc.owl Time: Tue Feb 19 09:45:56 EST 2008
Feb 19, 2008 9:45:57 AM edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser loadTriples
INFO: [ProtegeOWLParser] Completed triple loading after 1109 ms
Feb 19, 2008 9:45:57 AM edu.stanford.smi.protegex.owl.model.triplestore.impl.TripleChangePostProcessor log
INFO: [TripleChangePostProcessor] Completed lists after 0 ms
Feb 19, 2008 9:45:57 AM edu.stanford.smi.protegex.owl.model.triplestore.impl.TripleChangePostProcessor log
INFO: [TripleChangePostProcessor] Completed anonymous classes after 0 ms
Feb 19, 2008 9:45:57 AM edu.stanford.smi.protegex.owl.model.triplestore.impl.TripleChangePostProcessor log
INFO: [TripleChangePostProcessor] Completed deprecated classes after 0 ms
Feb 19, 2008 9:45:57 AM edu.stanford.smi.protegex.owl.model.triplestore.impl.TripleChangePostProcessor log
INFO: [TripleChangePostProcessor] Completed properties after 0 ms
Feb 19, 2008 9:45:57 AM edu.stanford.smi.protegex.owl.model.triplestore.impl.TripleChangePostProcessor log
INFO: [TripleChangePostProcessor] Completed named classes after 0 ms
Feb 19, 2008 9:45:57 AM edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser loadTriples
INFO: ... Loading completed after 1159 ms
Edited by: esharris on Feb 19, 2008 7:18 AMHas the phone been set up with your Apple ID? To find out if the phone has been used with another Apple ID, check the current Activation Lock status of a device by visiting icloud.com/activationlock from any Mac or PC.
-
[Solved] Deprecated warnings while updating linux
Today while updating linux to its 3.6.10-1 version I got these warnings.
>>> Updating module dependencies. Please wait ...
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
==> Building image from preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.6.10-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
==> WARNING: Hook 'pata' is deprecated. Replace it with 'block' in your config
-> Running build hook: [block]
==> WARNING: Hook 'scsi' is deprecated. Replace it with 'block' in your config
-> Running build hook: [block]
==> WARNING: Hook 'sata' is deprecated. Replace it with 'block' in your config
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [usbinput]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.6.10-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
==> WARNING: Hook 'pata' is deprecated. Replace it with 'block' in your config
-> Running build hook: [block]
==> WARNING: Hook 'scsi' is deprecated. Replace it with 'block' in your config
-> Running build hook: [block]
==> WARNING: Hook 'sata' is deprecated. Replace it with 'block' in your config
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [usbinput]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
I'm already using only systemd . Where should I replace the hooks with block?
Last edited by tokoro (2012-12-15 19:28:16)Into the Pit wrote:
Have a look at your
/etc/mkinitcpio.conf.pacnew
and merge those files.
Thanks, that solved it. Last time I ignored a deprecated warning, it came back to haunt me. -
Weren't these parameters deprecated in 11g ?
Version : 11.2.0.3
Platform : RHEL 5.8
All our 11.2 DBs (RAC & Single Instance) still seems to have background_dump_dest, core_dump_dest and user_dump_dest parameters set.
I was under the impression that these parameters were replaced by diagnostic_dest. We have diagnostic_dest set too.
These DBs are created as per the standard build ie. Created according to the instructions by our engineering team which apparently are bight guys.
Is this expected behaviour?
SQL> select * From v$version where rownum < 3;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
SQL> show parameter background_dump_dest
NAME TYPE VALUE
background_dump_dest string /u01/app/oracle/global/diag/rdbms/SMFC/SMFC3/trace
SQL>
SQL>
SQL> show parameter core_dump_dest
NAME TYPE VALUE
core_dump_dest string /u01/app/oracle/global/admin/SMFC/cdump
SQL>
SQL> show parameter diagnostic_dest
NAME TYPE VALUE
diagnostic_dest string /u01/app/oracle/global
BTW.Where is the preview button which we had in our earlier Forum interface ?The diagnostic_dest parameter specifies the base for the directory structure that contains all diagnostic files, and that structure cannot be changed. For example, the location for the alert log is $DIAGNOSTIC_DEST/rdbms/<database_name>/<instance_name>/trace, which is where the background_dump_Dest is set to. You can set it to something else, and you will a little stub alert log that says, in effect, "I'm not using this":
c:\tmp\bdd>cat alert_orcl112.log
Dump file c:\tmp\bdd\alert_orcl112.log
Tue Jun 11 08:43:58 2013
ORACLE V11.2.0.3.0 - 64bit Production vsnsta=0
vsnsql=16 vsnxtr=3
Windows NT Version V6.2
CPU : 4 - type 8664, 2 Physical Cores
Process Affinity : 0x0x0000000000000000
Memory (Avail/Total): Ph:5489M/8071M, Ph+PgF:6009M/9287M
Tue Jun 11 08:43:58 2013
WARNING: The background_dump_dest init.ora parameter has been deprecated.
WARNING: Please remove the background_dump_dest parameter from the init.ora file.
WARNING: The diagnostic_dest init.ora parameter now determines the location of the diagnostic data
WARNING: The new location for the background logs and traces is c:\app\oracle\diag\rdbms\orcl112\orcl112\trace
c:\tmp\bdd>
Message was edited by: JohnWatson
Sorry about formatting, I haven't sussed [code] tag yet. -
Stop the deprecated madness bring back image data bindings to!!!
I have used dreamweaver since it was from macromedia, all the companys i worked for had dreamweaver, now that i decided to get my own for home and not use the company version things get worse and worse since this creative cloud bulls.... why is the only features use full on dreamweaver been deprecated?? i really cant understand why hate so much the customers that use it for dynamic building, whats the point always shooting us in the head, do you guys know how frsutrated we get when you first bought interkat then change it to the addt then it was deprecated, so dreamweaver was left with a few options for dynamic database producing, now its been removed and we are gived an extension that totalys sucks more than 50% of the features that we had with any other version are lost, example when trying to insert an image i have to do it all manually coding because now we dont have any more to pick dynamic images no databindings for that wtf....Dreamweaver is becoming just an expensive CSS editing tool with for that i can just use bootstrap and any other editor, using dreamweaver we are suppose to save time when developing websites, for a static site we can even use open office writer and save it has html.
Please stop the madness on taking out of the game dynamic options i have spent so much money on other extensions would hate to loss money again like i did with interkat, please listen to use stop itHello David,
I understand your analysis, but I also share the "ranters" one.
Like you have said, Adobe is a business.
But we are too.
Now tell me why should we pay that high a price for DW, when we can get a free editor like Netbeans with more or less all the features needed in web design/web development ? If we have to hand-code database connections ourselves, we are better off with Netbeans for instance, which allows step-by-step debugging, to boot. Server Behaviors and DW's extensibilty is (was?) the gem of DW. Take this out, and for many of us professionals, DW loses its appeal.
Like xadesadex stated, Sever Behaviors are not just a visual tool, it is a huge time-saver for building custom web sites, which many of us -- in this era of heavy frameworks, bloated CMS and other bootstraps -- still do on a daily basis. How fast can you build forms for CRUD functionnality without DW's Server Behaviors? And if you extend DW with your own code, you can even save more time. Take the late Fireworks : what would it be without John Dunning's and Aaron Beall's extensions? Haft-less productive a tool...
But in this removal, Adobe takes not only the risk to lose that fraction (how big/small?) of customers who use Server Behaviors on a daily basis, they also take the risk that another fraction of customers will leave because Adobe are presently giving a strong signal that what DW can enable them to do today, DW will not necessarily enable them to do in the future. In today's market, it takes a huge amount of time to learn a new software, change one's worflow and be productive again, as you know. But now, Adobe stubbornly refuse to answer the many ranting/protesting/unhappy posts about this removal, which destroys an indispensable asset for any business: trust from customers...
Adobe is a business, but we are too.
Removing this and that feature will end up closing the gap beetween DW and its competitors, some of which are free. And there will come a time when we will stop asking/ranting/being unhappy and take time to change our workflow and... software.
And the removal of Server Behaviors is a huge step in this direction.
Regards,
Xavier Pitel
mydreamweaverextensions.com -
Hi All,
My web application has been running great all these years with WebLogic 7.0 SP2. I am upgrading it to Weblogic 8.1 SP4.
Few classes have the following code snippet:
throw new weblogic.utils.AssertionError("impossible case: " + idx);
Here idx is int.
This code snippet never gave any trouble with WebLogic 7.0 SP2. Now when I am building the application with WebLogic 8.1 SP4 and JDK 1.4, it gives the following warning at the build time:
[javac] warning: weblogic.utils.AssertionError in weblogic.utils has been deprecated
[javac] throw new weblogic.utils.AssertionError("impossible case: " + idx);
I am trying to identify, if this class has been deprecated in WebLogic 8.1, then what is the alternative class which I can use?
I searched in all BEA documentations, but did not get any reference.
Can some one help me, if you know about it.
I would highly appreciate it.
Thanks,
Ashish.Hi,
As you are using WLS8.1 It means your JDK will be JDK1.4 and there is a Bug already available with JDK1.4 for the Same issue ... Please find the below link:
http://bugs.sun.com/bugdatabase/view_bug.do;:YfiG?bug_id=4705373 (For Sun JDK1.4)
AND
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6373059 (For Sun JDK 1.5.0_05)
Please try to switch to JRockit JDK.
Thanks
Jay SenSharma
http://weblogic-wonders.com/weblogic (WebLogic Wonders Are Here) -
Cluster 3.2 SUNW.LogicalHostname deprecated? bug?
Just wondering if this is normal for Cluster 3.2 The LogicalHostame/Virtual interface is tagged as DEPRECATED when it is configured. I was wondering why the real IP on the base interface is not DEPRECATED and the virtual should not be, so that the virtual would be used as a source IP for outbound traffic.
Is there any way to change this behaviour in cluster?
nxge3: flags=9000843 UP,BROADCAST,RUNNING,MULTICAST,IPv4,NOFAILOVER mtu 1500 index 3
inet 10.10.10.81 netmask ffffff00 broadcast 10.10.10.255
groupname sc_ipmp1
ether 0:14:4f:66:2a:6b
nxge3:1: flags=1040843 UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4 mtu 1500 index 3
inet 10.10.10.73 netmask ffffff00 broadcast 10.10.10.255I do agree that this could cause problems if applications are not cluster aware, but I would like the option. Right now the application (oracle) is setup with dependancies on the logical hostname so it will fail over when the address does.
It still does not make sense that they set the logical IP as deprecated when the default system behaviour produces the same effect. -
Dear all,
My webdynpro dc's have dependencies to deprecated dc's:
- tc/bl/jfrc/api
- tc/bl/exception/lib
I replaced the tc/bl/jrfc/api with tc/bl/jco/api (via CTRL+1) and this seems to be ok.
The other one, tc/bl/exception/lib , it has the info that it should be provided by the SUN JSDK now, so I removed it. When i try to build a webdynpro component that has a webservice model defined, i get a build errors with the cause: cannot access com.sap.exception.BaseRuntimeException .
Is there an alternative dependency for this, or do i need to continue using the deprecated dependency?
My NWDS studio version is the following:
SAP NetWeaver Developer Studio
SAP Enhancement Package 1 for SAP NetWeaver Developer Studio 7.1 SP03 PAT0005
Build id: 200910262203
SDK version i'm using is:Hi Joren
Try any of the following DCs below for Exceptions and "com.sap.base.technology.facade" for JCO:
<dependency>
<dc-ref>
<name>com.sap.base.technology.facade</name>
<vendor>sap.com</vendor>
</dc-ref>
<pp-ref>api</pp-ref>
<at-build-time/>
</dependency>
<dependency>
<dc-ref>
<name>engine.application.facade</name>
<vendor>sap.com</vendor>
</dc-ref>
<pp-ref>api</pp-ref>
<at-build-time/>
</dependency>
<dependency>
<dc-ref>
<name>com.sap.base.sld.facade</name>
<vendor>sap.com</vendor>
</dc-ref>
<pp-ref>api</pp-ref>
<at-build-time/>
</dependency>
In general I'd recommend you forget about the deprecations and continue with the DCs you have right now
BR, Siarhei -
Security - Password Expiration with Form Base Authentication
Hi everbody,
I have configured the security of my application and this works
fine.
I configured the roles and match roles with groups defined in my
LDAP
I used the form base authentication. Perfect, but now I configure in
LDAP
that the user password can be expired, and the user can change password.
My problem is when the user try to log at my application and the
password was expired, I need to allow that user change the password
( showing another pag, and ask about the new password).
Nowadays when the user try to log and the password was expired the
page that I have set for my login error page (form base authentication)
is call, this page is call if the user is invalid or the password is
invalid too.
I have try to get the exception at this page using :
String codeObj =
req.getAttribute("javax.servlet.error.status_code");
String messageObj =
req.getAttribute("javax.servlet.error.message");
String typeObj =
req.getAttribute("javax.servlet.error.exception_type");
But all of this String are null. It's independent if the user is
invalid or the password or either if the password was expired.
I always get this null Strings. But if the person isn't authorized I
call another pag and at this time I can get the code, message
and the exception type
So my question is how can I treat this ? how can I get this kind of
exception ?
I also make a java application that only try to connect with Ldap,
and if the password is expired
I can get the com.netscape.LDAPExpection with code 45 and message
Invalid Credential.
Is it impossible to get this exception in my actual solution ? I
need to make one component for that ?
Someone can help me ?
Any tip will be good !!
Thanks
Daniela Pistelli Gomes
Technical Consultant
Summa Technologies
http://www.summa-tech.comHi Robert,
thanks very much for ur pointers on the AuthFilter class.. will try that out.
Robert Greig <[email protected]> wrote:
Stephen wrote:
I am using WLS 6.1 and tried using a custom filter to intercept theauthentication
request submitted from a FORM BASE jsp (using the j_security_checkform).
However, no matter what i've tried, it is always the authenticationpart that
gets executed before the filter.
Any idea how could I intercept the request before the j_security_checkservlet
calls the security provider for authentication?There is a (now deprecated) class weblogic.servlet.security.AuthFilter.
I haven't used it because it is deprecated but I think it does what
you're after.
In my apps, I make the FORM auth submit to my own servlet which can then
do what j_security_check does (most although not all is accessible
through public APIs).
Robert -
EJB Exception : getEnvironment is deprecated
(Note : this question has been posted in 81beta.server.ejb also)
Hi All,
I am getting EJB Exception while deploying my ear file which contains a simple
stateless session bean (jar module) and a jsp accessing the SSB. (WLS 8.1)
Here is my code snippet that looks up SSB.
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
ht.put(Context.PROVIDER_URL,"t3://192.168.66.39:7001");
try { Context ctx = new InitialContext(ht);
DemoHome1 d1 = (DemoHome1)ctx.lookup("java:comp/env/ejb1");
Demo1 demo = d1.create();
String str1 = demo.demoSelect();
System.out.println("Result from DemoBean : " + str1); }
Here is my <ejb-ref> element in web.xml
<ejb-ref>
<ejb-ref-name>ejb1</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>ejb.demo.DemoHome1</home>
<remote>ejb.demo.Demo1</remote>
<ejb-link>../Demo.jar#DemoBean</ejb-link>
</ejb-ref>
And the exception is here
<Jul 17, 2003 10:24:45 AM IST> <Error> <HTTP> <BEA-101019> <[ServletContext(id=5950347,name=sampletest,context-path=/sampletest)]
Servlet failed with IOException java.rmi.RemoteException: EJB Exception: ; nested
exception is: java.lang.RuntimeException: [EJB:010183]javax.ejb.EJBContext.getEnvironment
is deprecated in EJB 1.1. EJB 1.1 compliant containers are not required to implement
this method. Use java:comp/env instead. at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:103)
at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(BaseEJBHome.java:304)
at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:140) at
weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObject.java:70)
at ejb.demo.DemoBean_c3ndjf_EOImpl.demoSelect(DemoBean_c3ndjf_EOImpl.java:28)
at jsp_servlet.__sampletest._jspService(__sampletest.java:144) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:431)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97) at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
Caused by: java.lang.RuntimeException: [EJB:010183]javax.ejb.EJBContext.getEnvironment
is deprecated in EJB 1.1. EJB 1.1 compliant containers are not required to implement
this method. Use java:comp/env instead. at weblogic.ejb20.internal.BaseEJBContext.getEnvironment(BaseEJBContext.java:279)
at ejb.demo.DemoBean1.setSessionContext(DemoBean1.java:48) at ejb.demo.DemoBean_c3ndjf_Impl.setSessionContext(DemoBean_c3ndjf_Impl.java:111)
at weblogic.ejb20.manager.StatelessManager.createBean(StatelessManager.java:267)
at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:157)
at weblogic.ejb20.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:109)
at weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.java:140)
at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:130) ...
15 more
>
Anybody faced the same kind of problem and have an idea about the solution? Please.
Thanks PremaThanks for your Help, Rob.
Problem because of ctx.getEnvironment() in my setSessionContext()
Thanks
Prema
Rob Woollen <[email protected]> wrote:
The error is coming from your EJB, not a webapp. Somewhere in your EJB,
you're calling EJBContext.getEnvironment.
-- Rob
Prema wrote:
Rob Woollen <[email protected]> wrote:
Your EJB called the EJB 1.0! method EJBContext.getEnvironment. As
the
exception mentions, wee don't implement that method anymore and throw
a
RuntimeException.
You should be using java:/comp/env to get to environment properties.
-- Rob
Prema wrote:
(Note : this question has been posted in 81beta.server.ejb also)
Hi All,
I am getting EJB Exception while deploying my ear file which containsa simple
stateless session bean (jar module) and a jsp accessing the SSB. (WLS8.1)
Here is my code snippet that looks up SSB.
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
ht.put(Context.PROVIDER_URL,"t3://192.168.66.39:7001");
try { Context ctx = new InitialContext(ht);
DemoHome1 d1 = (DemoHome1)ctx.lookup("java:comp/env/ejb1");
Demo1 demo = d1.create();
String str1 = demo.demoSelect();
System.out.println("Result from DemoBean : " + str1); }
Here is my <ejb-ref> element in web.xml
<ejb-ref>
<ejb-ref-name>ejb1</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>ejb.demo.DemoHome1</home>
<remote>ejb.demo.Demo1</remote>
<ejb-link>../Demo.jar#DemoBean</ejb-link>
</ejb-ref>
And the exception is here
<Jul 17, 2003 10:24:45 AM IST> <Error> <HTTP> <BEA-101019> <[ServletContext(id=5950347,name=sampletest,context-path=/sampletest)]
Servlet failed with IOException java.rmi.RemoteException: EJB Exception:; nested
exception is: java.lang.RuntimeException: [EJB:010183]javax.ejb.EJBContext.getEnvironment
is deprecated in EJB 1.1. EJB 1.1 compliant containers are not requiredto implement
this method. Use java:comp/env instead. at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:103)
at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(BaseEJBHome.java:304)
at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:140)at
weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObject.java:70)
at ejb.demo.DemoBean_c3ndjf_EOImpl.demoSelect(DemoBean_c3ndjf_EOImpl.java:28)
at jsp_servlet.__sampletest._jspService(__sampletest.java:144) at
weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:431)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178) atweblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
Caused by: java.lang.RuntimeException: [EJB:010183]javax.ejb.EJBContext.getEnvironment
is deprecated in EJB 1.1. EJB 1.1 compliant containers are not requiredto implement
this method. Use java:comp/env instead. at weblogic.ejb20.internal.BaseEJBContext.getEnvironment(BaseEJBContext.java:279)
at ejb.demo.DemoBean1.setSessionContext(DemoBean1.java:48) at ejb.demo.DemoBean_c3ndjf_Impl.setSessionContext(DemoBean_c3ndjf_Impl.java:111)
at weblogic.ejb20.manager.StatelessManager.createBean(StatelessManager.java:267)
at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:157)
at weblogic.ejb20.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:109)
at weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.java:140)
at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:130)...
15 more
Anybody faced the same kind of problem and have an idea about the
solution?
Please.
Thanks Prema
Hi,
I tried using JNDI name directly.
DemoHome1 d1 = (DemoHome1) ctx.lookup("DemoBean");
//DemoBean is my JNDI name
It is still displaying same error. What's wrong ? What's the exactway of
looking up an ejb from a web module in WLS 8.1 ?
Thanks in advance
Prema
> -
Modprobe.d alsa-base vs alsa vs alsa_local vs sound
In attempting to try different options towards getting my Mac Pro's headphone output working, I have read many, many webpages referencing modprobe.d with .conf files using different names such as "alsa-base", "alsa", "alsa_local" and "sound".
My understanding of modprobe is that it will sweep up any *.conf files in /etc/modprobe.d and attempt to interpret them. The file name does not matter, as long as it ends with .conf.
Is this correct or is there something magic about the file names "alsa-base.conf", "alsa.conf", etcetera?It's been deprecated for a few years. The Arch news feed is great with changes like this: https://www.archlinux.org/news/new-modu … -location/
The modprobe.d manpage and the kernel modules wiki are good sources for information on these issues as well. -
Relational schema and difference berween relational schame and data base schema ?
Hi ,
Am new to Database
Can u help me to understand relational schema and data base schema ?
thanksHi Neil,
I'm not good with the relational schema, which is being deprecated. Given your results though, you might try
doing a count of distinct GIDs in the index table and compare it with the number of distinct geometries to make sure
your index is complete.
Also, if you have quadtree indexes at the same level in both Object-relational and relational then you can compare the
number of index entries in both models.
Hope this helps,
Dan -
Deprecated math operator ^ ?
I was using Cold Fusion MX7, and now I'm on CF8.
This week someone told me that I had a problem with one of my
calculation, it use to be giving the good result but now it is not
giving good result. The only thing I can see is that the math
operator ^ is deprecated in CF8, is there something that replace
it???> the math operator ^ is deprecated in CF8,
Cite?
It certainly doesn't say anything like that in the docs:
http://livedocs.adobe.com/coldfusion/8/htmldocs/Expressions_03.html
{quote}
^
Exponentiation: Return the result of a number raised to a
power (exponent).
Use the caret character (^) to separate the number from the
power; for
example, 2^3 is 8. Real and negative numbers are allowed for
both the base
and the exponent. However, any expression that equates to an
imaginary
number, such -1^.5 results in the string "-1.#IND. ColdFusion
does not
support imaginary or complex numbers.
{quote}
But anyway, if something is deprecated, it still works same
as it ever did,
it's simply flagged for obsolescence. So even if the ^
operator was
deprecated, there'd be no difference in how it worked before
and after
deprecation.
CF seldom deprecates things, and even when deprecated, things
are seldom
actually obsoleted. A good example is the parameterExists()
function: it's
be deprecated since (at least) CF5. It's still there and
functional in CF8
though.
> <cfset mtp = #rem# * 100 * ( (1 - ((1+
(#tme#/100))^-#duree#) ) ) / #tme#>
Well you don't need those pound signs in there, but having
them just makes
your code look untidy, it doesn't actually impact anything.
What kind of differences in results are you seeing?
Adam
Maybe you are looking for
-
Hello I have a dataset that was created at design time but - after I run the app, it randomly creates a table based on The Users name since I do not know the users name before had, the table is not part of my existing dataset (I actually used an inse
-
Usage of Object Cache for Java in J2EE apps
Hi, we are investigating on whether we can use the Object Cache for Java (OCS4J) for our requirements. The question we have come across is: What is the designated way of integration for the Object cache to fit into the J2EE environment? Unfortunately
-
Pricing Procedure query.
Dear expert, My client want to maintain VAT calculation by adding some zcondition in pricing procedure.I don't want to add in TAXINN.Is there is any other way to achieved it.
-
Hello everyone, We are implementing CRM 4.0, EP 60 SP13 and we have a requirement to perform a custom freight calculation when creating a sales order. We will need to call a custom rfc on our ECC system. Can someone point me in the right direction as
-
Trouble installing SAP Netweaver 7.0
Hi Everyone, I am getting this error while trying to install SAP Netweaver 7.0 ABAP Trial version. The following Registry keys exist under My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\SAP\SAP DBTech IndepPrograms: E:\sapdb\programs IndepData: E:\sapdb\dat