Generating Debug Info Setting in Weblogic Workshop (.work)
Hi,
I am using Weblogic Workshop ver 8.1.3. I need to set
-g option during java compilation. I am using weblogic workshop (.work) file) for compilation. Could any one tell me what are the setting required for generating debug info while compilation.
Thanx,
Cleophus P.
Hello Cleophus,
What debug information are you looking for ?
In 8.1, Workshop uses a proprietary compiler to compile Workshop resources.
Cheers
Raj
BTW: the latest SP for Workshop 8.1 is Service pack 6
Similar Messages
-
Consuming Weblogic Workshop WebService
Hi,
I am getting an error running the generated client stubs for a weblogic workshop based document style webservice. (I don't have a problem with a rpc style webservice in the same configuration.)
The error is to do with extracting the return string/int and fromElement is reporting a classcast exception. Using tcp monitor I have seen the return message and it seems fins. There is no 'xsi:type' attribute on the return xml element.
Also I can't seem to access the xmlelement value, the return string/int in the debugger watch window. I have casted the element to a node and getValue on the node returns null.
Any help would be appreciated.
JamesHi,
Additional Information
I am able to access the weblogic workshop doc style webservice from VB.NET generated proxy without a problem.
Stack Trace
java.lang.ClassCastException: oracle.xml.parser.v2.XMLText
java.lang.Object oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub.fromElement(org.w3c.dom.Element, java.lang.Class)
WrappedDocLiteralStub.java:473
java.lang.String hello.HelloWorldStub.HelloStr(java.lang.String)
HelloWorldStub.java:97
James -
Error while generating ear using ant script in weblogic workshop 10
In my application I have to create a ear file which should have the war file inside.
I have created the build.xml for both ear application and web application, workshop.xml using weblogic workshop option
File->export->WorkshopAntScripts
I have been using the following command to execute the build.xml in EARApp(ear application)
set the environment variables by running
D:\bea\wlserver_10.0\common\bin\commEnv.cmd
then
D:\Source_Code\EARApp>ant clean build archive -Dworkspace="D:\Source_Code"
I am getting the following error,
Buildfile: build.xml
init.env:
check.versions:
init.typedefs:
init:
clean:
init.env:
check.versions:
init.typedefs:
init:
clean:
[delete] Deleting 53 files from D:\Source_Code\WebApp\.apt_src
[delete] Deleted 14 directories from D:\Source_Code\WebApp\.apt_src
[delete] Deleting 218 files from D:\Source_Code\WebApp\build\classes
[delete] Deleted 42 directories from D:\Source_Code\WebApp\build\classes
[delete] Deleting directory D:\Source_Code\WebApp\build\assembly\.src
[delete] Deleting directory D:\Source_Code\WebApp\build\weboutput
[mkdir] Created dir: D:\Source_Code\WebApp\build\weboutput
init.env:
check.versions:
init.typedefs:
init:
build:
init.env:
check.versions:
init.typedefs:
init:
build:
[apt] [web.content.root]|[D:\Source_Code\WebApp/\WebContent]
[apt] [web.source.roots]|[D:\Source_Code\WebApp/src]
[apt] Compiling 113 source files to D:\Source_Code\WebApp\build\classes
[apt] warning: Annotation types without processors: [java.lang.SuppressWarnings, org.apache.be
ehive.controls.system.jdbc.JdbcControl.ConnectionDataSource, org.apache.beehive.controls.system.jdbc
.JdbcControl.SQL, com.bea.control.annotations.TransactionAttribute]
[apt] 1 warning
[apt] warning: Annotation types without processors: [java.lang.SuppressWarnings]
[apt] 1 warning
[apt] [web.content.root]|[D:\Source_Code\WebApp/\WebContent]
[apt] [web.source.roots]|[D:\Source_Code\WebApp/src]
[apt] Compiling 53 source files to D:\Source_Code\WebApp\build\classes
[apt] warning: Annotation types without processors: [java.lang.SuppressWarnings]
[apt] 1 warning
[javac] Compiling 113 source files to D:\Source_Code\WebApp\build\classes
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] Compiling 53 source files to D:\Source_Code\WebApp\build\classes
[delete] Deleting directory D:\Source_Code\WebApp\build\weboutput
[mkdir] Created dir: D:\Source_Code\WebApp\build\weboutput
[copy] Copying 1 file to D:\Source_Code\WebApp\build\weboutput\WEB-INF
[copy] Copying 1 file to D:\Source_Code\WebApp\build\weboutput\WEB-INF
init.env:
check.versions:
init.typedefs:
init:
stage:
[delete] Deleting directory D:\Source_Code\EARApp\.staging
[mkdir] Created dir: D:\Source_Code\EARApp\.staging
[copy] Copying 7 files to D:\Source_Code\EARApp\.staging
init.env:
check.versions:
init.typedefs:
init:
stage.to.ear:
init.env:
check.versions:
init.typedefs:
init:
stage:
init.env:
check.versions:
init.typedefs:
init:
generated.root.init:
assembly:
[mkdir] Created dir: D:\Source_Code\WebApp\build\assembly\.src
[assemble] Assembly failed - Control Assembly process failed
[assemble] Caused by: info
BUILD FAILED
D:\Source_Code\EARApp\build.xml:189: The following error occurred while executing t
his line:
jar:file:/D:/bea/WLSERV%7e1.0/workshop/lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antl
ib.xml:92: The following error occurred while executing this line:
D:\Source_Code\EARApp\build.xml:201: The following error occurred while executing t
his line:
D:\Source_Code\WebApp\build.xml:351: The following error occurred while executing thi
s line:
D:\Source_Code\WebApp\build.xml:177: The following error occurred while executing thi
s line:
D:\Source_Code\WebApp\build.xml:424: Assembly failed.
Some one help me solve this problem.
Thanks in advance.--> some error on posting please refer to the next post...
From the error logs we can trace it out to the web project's Build.xml file ....I was getting a similar error and by commenting out the following lines in the web project's Build.xml I am able to run the build script correctly and get a EAR file. The lines are
<!--
<assemble
moduleDir="${generated.module.root}"
moduleName="${project.name}"
srcOutputDir="${assembly.src}"
appRootDir="${ear.root}">
<assemblyContext factory="org.apache.beehive.controls.runtime.assembly.WebAppAssemblyContext$Factory" />
<assemblyContext factory="org.apache.beehive.controls.runtime.assembly.AppAssemblyContext$Factory" />
<classpath refid="assembly.classpath" />
<fileset dir="${project.dir}">
<include name="**/*.controls.properties" />
</fileset>
</assemble>
-->
Please check it now, also if any one can let us know the function or role played by the above lines it would be great. Also if there would be any future or unseen problems by commenting out these lines please do let us know...
Thanks
-MiM
Edited by prodigymonish83 at 10/22/2007 5:56 AM -
Error when generating a Web Service from WSDL (Weblogic Workshop)
Hi,
I am using weblogic workshop 10 for implementing web services and its was working fine. But now when I try to generate a web service from WSDL its crashing with the following error;
Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
org.eclipse.core.runtime.CoreException: Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws(JwsFromWsdlBuilder.java:107)
at com.bea.workshop.webservices.ui.wizards.jwsfromwsdl.GenerateJwsFromWsdlWizard$1.execute(GenerateJwsFromWsdlWizard.java:133)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
org.eclipse.core.runtime.CoreException[4]: com.bea.workshop.webservices.core.gen.WebServicesException:
at com.bea.workshop.webservices.core.gen.GenerationScript.runAnt(GenerationScript.java:154)
at com.bea.workshop.webservices.core.gen.GenerationScript.createJWS(GenerationScript.java:98)
at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws0(JwsFromWsdlBuilder.java:135)
at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws(JwsFromWsdlBuilder.java:98)
at com.bea.workshop.webservices.ui.wizards.jwsfromwsdl.GenerateJwsFromWsdlWizard$1.execute(GenerateJwsFromWsdlWizard.java:133)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: org.eclipse.core.runtime.CoreException: Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
at org.eclipse.ant.core.AntRunner.problemLoadingClass(AntRunner.java:445)
at org.eclipse.ant.core.AntRunner.handleInvocationTargetException(AntRunner.java:417)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:362)
at com.bea.workshop.webservices.core.gen.GenerationScript.runAnt(GenerationScript.java:152)
... 8 more
I have checked my ANT_HOME and its pointing to the correct location bea\tools\eclipse32\eclipse\plugins\org.apache.ant_1.6.5 and the AntMain classs is present in this path: org.apache.tools.ant.launch.AntMain
If anyone has any idea on this please suggest a solution.
Thanks in advance
-AKJYes, I assume you are talking about ANT_HOME:
see this Screenshot which shows my current settings
[http://i43.tinypic.com/nbrec6.jpg|http://i43.tinypic.com/nbrec6.jpg]
Regards
-AKJ -
SAP Query Alias Table in Info-set not working
Hi Guys,
I'm having a bit of trouble with a query I'm writing in SQ01.
I am trying to create a standard margin report between two different costing variants that we use.
n order to do so I have had to employ the use of alias tables.
I have named the alias tables KEKO_2 and KEPH_2 accordingly and joined them in the info set with the same joins as the original tables (Left Outer to MARC on MATNR and WERKS)
However, when I have come to test the query in SQ01 I get a runtime error which states the following:
The following syntax error was found in the program
AQA0MASTER_DATA=STANDARDMARGIN :
"Field "KEPH_2-KST001" is unknown. It is neither in one of the specified
tables nor defined by a "DATA" statement . . . . . . . . . ."
But it is in a specified table! My alias table.
How can I make this query work?
Any help would be appreciated.
Thanks in advance.Hi,
This is SAP business one reporting and printing forum. Please find correct forum and repost your question to get quick assistance.
Please close this thread by marking helpful answer.
Thanks & Regards,
Nagarajan -
Default namespace in WebLogic Workshop generated WSDL
Hello there,
I am trying to access a very simple webservice developed in WebLogic Workshop
(say something like HelloWorld.jws) from a ColdFusion application. However, I
get an Axis fault on Coldfusion implying that it could not invoke the required
method. I am running the examples server and the work shop. I noticed that some
of the documentation mention changing the namespace from http://www.openuri.com
to something else.
Does that have to do anything with the service not being able to be invoked or
it could be something else?
Could not perform web service invocation "Hello" because AxisFault faultCode:
{http://xml.apache.org/axis/}Server.userException faultString: java.net.ConnectException:
Connection refused faultActor: null faultDetail: stackTrace: java.net.ConnectException:
Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124) at java.net.Socket.<init>(Socket.java:268)
at java.net.Socket.<init>(Socket.java:95) at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:131)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:175) at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:118) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182) at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
at org.apache.axis.client.Call.invoke(Call.java:2102) at org.apache.axis.client.Call.invoke(Call.java:1851)
at org.apache.axis.client.Call.invoke(Call.java:1777) at org.apache.axis.client.Call.invoke(Call.java:1315)
at org.openuri.www.HelloWorldSoapStub.hello(HelloWorldSoapStub.java:85) at java.lang.reflect.Method.invoke(Native
Method) at coldfusion.xml.rpc.ServiceProxy.invokeImpl(Unknown Source) at coldfusion.xml.rpc.ServiceProxy.invoke(Unknown
Source) at coldfusion.runtime.CfJspPage._invoke(Unknown Source) at coldfusion.tagext.lang.InvokeTag.doEndTag(Unknown
Source) at cfstaffphone22ecfm1540840989.runPage(/www/docs/viper.asce.org/staffphone2.cfm:16)
at coldfusion.runtime.CfJspPage.invoke(Unknown Source) at coldfusion.tagext.lang.IncludeTag.doStartTag(Unknown
Source) at coldfusion.filter.CfincludeFilter.invoke(Unknown Source) at coldfusion.filter.ApplicationFilter.invoke(Unknown
Source) at coldfusion.filter.RequestMonitorFilter.invoke(Unknown Source) at coldfusion.filter.PathFilter.invoke(Unknown
Source) at coldfusion.filter.ExceptionFilter.invoke(Unknown Source) at coldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown
Source) at coldfusion.filter.BrowserFilter.invoke(Unknown Source) at coldfusion.filter.GlobalsFilter.invoke(Unknown
Source) at coldfusion.filter.DatasourceFilter.invoke(Unknown Source) at coldfusion.CfmServlet.service(Unknown
Source) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226) at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) nullSanjeev,
The exception you mentioned about changing the namespace should not cause
the behavior that you are noticing.
The exception that you are receiving states that your ColdFusion application
is not able to access the Workshop Web Service.
Are both coldfusion and Workshop on the same physical machine ?
If they are not on the same machine.
Are you able to access the wsdl via a browser from the machine on which
coldfusion installed ?
The wsdl has an service name tag
- <port name="SimpleTestSoap" binding="s0:SimpleTestSoap">
<soap:address location=http://localhost:7001/Raj/SimpleTest.jws />
</port>
This address location is be default the machine on which this Web Service is
built, and this defaults to localhost:7001.
This entry can be modified by editing the weblogic-jws-config.xml file found
in the WEB-INF/lib folder of the project.
Can you make sure that address location contains the correct address and
also check to see if the Web Service is available via any browser.
Hope this help.
Thanks
Raj Alagumalai
WebLogic Workshop Support
"Sanjeev" <[email protected]> wrote in message
news:[email protected]...
>
Hello there,
I am trying to access a very simple webservice developed in WebLogicWorkshop
(say something like HelloWorld.jws) from a ColdFusion application.However, I
get an Axis fault on Coldfusion implying that it could not invoke therequired
method. I am running the examples server and the work shop. I noticed thatsome
of the documentation mention changing the namespace fromhttp://www.openuri.com
to something else.
Does that have to do anything with the service not being able to beinvoked or
it could be something else?
Could not perform web service invocation "Hello" because AxisFaultfaultCode:
{http://xml.apache.org/axis/}Server.userException faultString:
java.net.ConnectException:
Connection refused faultActor: null faultDetail: stackTrace:java.net.ConnectException:
Connection refused at java.net.PlainSocketImpl.socketConnect(NativeMethod) at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350) atjava.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124) atjava.net.Socket.<init>(Socket.java:268)
at java.net.Socket.<init>(Socket.java:95) atorg.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFact
ory.java:131)
atorg.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:175) at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:118) atorg.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156) atorg.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182) atorg.apache.axis.client.Call.invokeEngine(Call.java:2113)
at org.apache.axis.client.Call.invoke(Call.java:2102) atorg.apache.axis.client.Call.invoke(Call.java:1851)
at org.apache.axis.client.Call.invoke(Call.java:1777) atorg.apache.axis.client.Call.invoke(Call.java:1315)
at org.openuri.www.HelloWorldSoapStub.hello(HelloWorldSoapStub.java:85) atjava.lang.reflect.Method.invoke(Native
Method) at coldfusion.xml.rpc.ServiceProxy.invokeImpl(Unknown Source) atcoldfusion.xml.rpc.ServiceProxy.invoke(Unknown
Source) at coldfusion.runtime.CfJspPage._invoke(Unknown Source) atcoldfusion.tagext.lang.InvokeTag.doEndTag(Unknown
Source) atcfstaffphone22ecfm1540840989.runPage(/www/docs/viper.asce.org/staffphone2.cf
m:16)
at coldfusion.runtime.CfJspPage.invoke(Unknown Source) atcoldfusion.tagext.lang.IncludeTag.doStartTag(Unknown
Source) at coldfusion.filter.CfincludeFilter.invoke(Unknown Source) atcoldfusion.filter.ApplicationFilter.invoke(Unknown
Source) at coldfusion.filter.RequestMonitorFilter.invoke(Unknown Source)at coldfusion.filter.PathFilter.invoke(Unknown
Source) at coldfusion.filter.ExceptionFilter.invoke(Unknown Source) atcoldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown
Source) at coldfusion.filter.BrowserFilter.invoke(Unknown Source) atcoldfusion.filter.GlobalsFilter.invoke(Unknown
Source) at coldfusion.filter.DatasourceFilter.invoke(Unknown Source) atcoldfusion.CfmServlet.service(Unknown
Source) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) atjrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
atjrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226) at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198)
atjrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:
348)
atjrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451
atjrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:29
4)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) null -
Weblogic Workshop for non-WLS work
Hello
I am working on a Java servlet based application to be hosted on Apache Tomcat
server. Can I use Weblogic Workshop to build a Web service and host it under Tomcat?
In other words, is Weblogic Workshop strongly coupled with Weblogic Server platform?
Andi GiriAndi,
WebLogic Workshop is tightly coupled with WebLogic Server. Web services
developed by Workshop use WebLogic server specific functionality and hence
can be hosted only on WebLogic server.
Regards,
Anurag
"Andi Giri" <[email protected]> wrote in message
news:[email protected]..
>
Hello
I am working on a Java servlet based application to be hosted on ApacheTomcat
server. Can I use Weblogic Workshop to build a Web service and host itunder Tomcat?
In other words, is Weblogic Workshop strongly coupled with Weblogic Serverplatform?
>
Andi Giri -
(266758030) Q SYNCH-12 Does Workshop work with WebLogic Server 6.1?
(266758030) Q<SYNCH-12> Does Workshop work with WebLogic Server 6.1? (asked by Noel
Fuentes)
A<SYNCH-12> (by Adam Fitzgerald): No, Web Services in WebLogic Server 6.1 are different
from those available in WebLogic Server 7.0. WebLogic Workshop is a WLS 7.0 tool.Rick,
You may want to look at the Alteon and F5 configuration we have on edocs.
Take a look at the following URLs for a possible solution
http://edocs.bea.com/wls/docs61/cluster/alteon.html#591902
http://edocs.bea.com/wls/docs61/cluster/bigip.html#591902
Chuck Nelson
DRE
BEA Technical Support -
Weblogic workshop 10gR3 - Very slow in building projects and throwing error
Hi All. I am working in a portal project with weblogic 10gR3. I am using 4GB RAM machine with Windows XP and Intel Core2 T5600 processor. Whenever I build my set of projects, workshop takes very long time to build the project and at end of it throws "There was an error running some portal verification, not all validation complete". Please let me know anyone else faced the same issue.
Things tried out by me:
1. new domain
2. workshop restart
3. closing all applications other than workshop to allow more memory space for build process
but nothing helped me on it. Please let me know if someone aware of the fix.
regards.
Nanda
Edited by: Nanda on Jan 27, 2011 2:37 PMHi Nanda -
Are there any exceptions in the Error Log view in Eclipse, or in the <workspace>/.metadata/.log file that seem relevant? Also, which version of 10gR3 is this -- 10.3.0 or 10.3.2? You can check via the Help | About... item -- if it says it's Eclipse 3.5.0, then it's WLP 10.3.2; WLP 10.3.0 will say it's Oracle Workshop for WebLogic 10.3.
How many projects do you have? What types are they? How many artifacts in each (e.g. .portlets, .portal, pageflows, ejbs, etc.)?
You can also turn off Portal verification for now. Go to Window | Preferences | Validation, then uncheck the WebLogic Portal Validator and WebLogic Portal XML Validator boxes and hit Ok. You won't get warnings in the Problems view about .portals and .portlets, but you can see if it's part of the problem. Another general thing that pops up around performance is interaction with an underlying virus scanner -- if possible, try making sure your real-time virus scanner is skipping your project folders and your BEA_HOME.
Greg -
How to import the existing project in the CVS to the weblogic workshop??
Hi,
I have a project in the CVS and I want to work with that project in the weblogic8.1 workshop.
Can anyone help me in importing the existing CVS project/application into the weblogic workshop so that I can check-in, check-out and debug the application.
Thanks in advance
Raj B.Hi,
If you want to rename Development Component (DC) project, here is the procedure..
How to rename local Development Component Projects in Netweaver Developer Studio
Regards,
Uday. -
Authentication error weblogic workshop
Hi ,
I am trying to debugg my application with weblogic workshop but its
giving authentication error. My application is deployed and i can access it
. I am using ant . Actually when i click the debug button it statrts the
build and after successful termination of the build process it opens the
debug view but gives the following error :-
Authentication Failure when connecting to server
Check your weblogic server username and password are correct and that the
user has full admin rights.
I have given the same username and password in workshop that i gave while
configuring my domain. I guess workshop is not able to communicate with the
server . Please help me out. I have spent enough time resolving this.
ThanksThe text of the error message may be incorrect, but the intent of the
message is correct. You cannot use <max-beans-in-free-pool> with a Stateful
session bean. See:
http://e-docs.bea.com/wls/docs81/ejb/DDreference-ejb-jar.html#1114854
Bill
"Rick Jackson" <[email protected]> wrote in message
news:26851318.1105651919423.JavaMail.root@jserv5...
Hello,
I have created a session EJB in Weblogic workshop. In the propertyeditor, I have set the "type" to "Stateful". I have then set the
max-beans-in-free-pool to 1. I build my ejb project, and I get the below
error:
"A Stateless Session Bean cannot have a tag max-beans-in-free-pool". Thisdoesn't make any sense to me since I have specified that it is a "Stateful"
session bean. I am using Weblogic workshop 8.1 sp2 -
Weblogic WorkShop IDE does not start
My weblogic workshop IDE was working until today. When I try opening it up, nothing happens. It doesn't open up or show me any error messages. I don't even know where to begin trouble shooting. Any ideas?
Thanks.
gtata
Edited by gtata at 12/10/2007 3:38 PMI reproduced this problem on my 2 CPU x86 laptop with Solaris 11,
and I think I know what is the root of the problem.
It seems to be a scheduling problem. If I run these "cpu-eating"
programs without setting priority, prstat shows that they get high priority:
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
6449 nikm 1448K 768K run 10 0 0:17:04 50% loop_sqrt_1/1
6637 nikm 1448K 768K cpu0 10 0 0:12:19 49% loop_sqrt_1/1
They both have PRI=10, NICE=0. As a result they do not allow java
to get enough cpu time to start Sun Studio IDE, because it runs with
lower priority: PRI=59, NICE=0
6680 nikm 311M 26M run 59 0 0:00:00 0.0% java/13
If I run these "cpu-eating" programs with a specified low priority,
everything works just fine, and Sun Studio IDE starts without
any problems. Try to run them using "nice -20":
nice -20 loop_sqrt_1 &
nice -20 loop_sqrt_1 &
sunstudio &
Perhaps we shall set priority in the "sunstudio" script to avoid such conflicts.
Thanks,
Nik -
G'day,
I have jsp which I am attempting to write some debug info to the log
using out.println(...) java statement.
My question is how do I make it go to the weblogic log file as opposed
to my html page ?
Any help would be appreciated.
Cheers
Glenn Torepe
Why can't you use ServletContext.log()? I've been using that all the
time.
John Salvo
Nils Winkler wrote:
>
> That will not work. System.out.println will only go to the console
> window, but not to the log file.
>
> You have to use the class weblogic.logging.LogOutputStream. AFAIK this
> class is not documented, but you can use "javap" to get an overview.
> Here's a quick example:
>
> ---
> import weblogic.logging.LogOutputStream;
>
> // in some method
> LogOutputStream los = new LogOutputStream("Test");
>
> los.error("Error in method");
>
> los.close();
> ---
>
> This will log the text "Error in method" to the log file as an error,
> "Test" is used as an additional identifier, like this:
>
> Fri Oct 06 12:17:38 EDT 2000:<E> <Test> Error in method
>
> Hope that helps,
>
> Nils
>
> On 9 Oct 2000 14:29:16 -0800, Dimitri Rakitine <[email protected]>
> wrote:
>
> >Use System.out.println(...);
> >
> >Ian Grosvenor <[email protected]> wrote:
> >> G'day,
> >
> >> I have jsp which I am attempting to write some debug info to the log
> >> using out.println(...) java statement.
> >
> >> My question is how do I make it go to the weblogic log file as opposed
> >> to my html page ?
> >
> >> Any help would be appreciated.
> >
> >> Cheers
> >
> >> Glenn Torepe
> >
> >Dimitri
>
> Nils Winkler
> iXL, Inc.
> [email protected]
-
SUNWspro C++ option to generate debug symbols for GDB
Hi,
I support a set of programs that must be built with SUNWspro 6.2 C++ compiler. When I try to debug these programs via gdb, gdb comlpains that the binaries have no debug symbols found. Is there an option to SUNWspro 6.2 C++ compiler to produce extra debugging symbols suitable for gdb debug sessions? NOTE: these exact binaries are debuggable using dbx, which does not complain about missing debug info. I would like to used gdb, however, if that is possible. Also NOTE: If I compile the whole thing in GCC, then GDB works fine .... bu, by policy, we cannot deploy GCC built niaries into our PROD environment.
Buidl with SUNWSpro 6.2 C++ compiler and debug via gdb. Is that possible?{color:#800000}+{color:#808080}And I feel I must ask why can't you use dbx? Are there any features missing or it is just an unfamiliar environment?+
+{color}+{color:#808080}{color:#0000ff}Very good question. To be frank, I am extremely envious of the modern C++ development environments enjoyed by the Linux/EclipseCDT/GCC community. I can't fully enjoy that environment because by my client's mandate is that I must use the SUNWspro 6.2 CC++ compiler. I can still use Eclipse with CDT 5.0 environment for development. And I can still build, for my own confirmation purposes via GCC, but when I deploy my build to production, I must make the final binary with. And that forces me to use dbx for debugging those builds. And it leaves me left out with all the very, very nice distributed debugging features that come with Eclipse CDT 5.0 (Eclipse CDT has no support for dbx, just gdb, and no support for SUNWspro C++ build chain. just GCC).
Stranded on this point, I use SunStudio11 with its dbx support to distibuted debugging of my production binary builds. It is way, way behind what others are doing with Linux/EclipseCDT/GCC.
In my ideal world, I would develop from Eclipse CDT 5.0 supported by the SUNWspro C++ build chain that would produce gdb-compatible compatible debugging symbols. Then I could take advantage of Eclipse's very nice distributed debugging capabilites.
No offense to SunStuido, but if I could achieve that reality I would no longer be envious of the Linux/MSFT/etc. C++ IDEs.
{color}{color}{color} -
REgarding succesive orders on a bea weblogic workshop
hello
I am working on Bea weblogic workshop.I have workflows which are listening to a channel . Now in my WLI server i have all my workflows .On recieving a message from the channel i set a static boolean value say XX to true , however on recieving another message on the same workflow , when i check for the static boolean XX it gives me results for the false condition. CAn anyone explain whether in workflows in Weblogic Integration the static values set by one order can be read by another .hello
I am working on Bea weblogic workshop.I have workflows which are listening to a channel . Now in my WLI server i have all my workflows .On recieving a message from the channel i set a static boolean value say XX to true , however on recieving another message on the same workflow , when i check for the static boolean XX it gives me results for the false condition. CAn anyone explain whether in workflows in Weblogic Integration the static values set by one order can be read by another .
Maybe you are looking for
-
How can I transfer my old iTunes library to my new one?
Just bought a mac pro this week and need to get all of the stuff off of my old macbook. the main thing is how do i get all that stuff on here so that when i plug my iphone into this computer it won't completely have to reset?
-
i need help because itunes is not upgrading
-
Problem with iWeb 1.1 photos solved... for me, at least
After updating, some of my photo pages were broken. Slideshow wouldn't work and clicking on a photo would not open a larger version. Some pages, however, did work. After hours of trying to figure this all out, I finally narrowed the problem down. If
-
How i can see the calendar appoinments one year ago.
How i can see the appoinments one year old, thanks.
-
"Normal" Network Usage for MacMini Server
I have a 2011 MMS with a Corei7 proc and 16 GB of ram. I also have approximately 30 workstations - all mac. Everything is running Mavericks (server is running server 3.0). All of my users run network accounts. I've noticed what I would consider su